Uses of Class
org.antlr.v4.runtime.misc.Pair
-
Packages that use Pair Package Description org.antlr.v4.runtime org.antlr.v4.runtime.atn org.antlr.v4.runtime.misc -
-
Uses of Pair in org.antlr.v4.runtime
Fields in org.antlr.v4.runtime declared as Pair Modifier and Type Field Description protected Pair<TokenSource,CharStream>
Lexer. _tokenFactorySourcePair
protected static Pair<TokenSource,CharStream>
CommonToken. EMPTY_SOURCE
An emptyPair
which is used as the default value ofCommonToken.source
for tokens that do not have a source.protected Pair<TokenSource,CharStream>
CommonToken. source
This is the backing field forCommonToken.getTokenSource()
andCommonToken.getInputStream()
.Fields in org.antlr.v4.runtime with type parameters of type Pair Modifier and Type Field Description protected Deque<Pair<ParserRuleContext,Integer>>
ParserInterpreter. _parentContextStack
This stack corresponds to the _parentctx, _parentState pair of locals that would exist on call stack frames with a recursive descent parser; in the generated function for a left-recursive rule you'd see: private EContext e(int _p) throws RecognitionException { ParserRuleContext _parentctx = _ctx; // Pair.a int _parentState = getState(); // Pair.b ...Methods in org.antlr.v4.runtime with parameters of type Pair Modifier and Type Method Description CommonToken
CommonTokenFactory. create(Pair<TokenSource,CharStream> source, int type, String text, int channel, int start, int stop, int line, int charPositionInLine)
Symbol
TokenFactory. create(Pair<TokenSource,CharStream> source, int type, String text, int channel, int start, int stop, int line, int charPositionInLine)
This is the method used to create tokens in the lexer and in the error handling strategy.Constructors in org.antlr.v4.runtime with parameters of type Pair Constructor Description CommonToken(Pair<TokenSource,CharStream> source, int type, int channel, int start, int stop)
-
Uses of Pair in org.antlr.v4.runtime.atn
Methods in org.antlr.v4.runtime.atn that return Pair Modifier and Type Method Description protected Pair<ATNConfigSet,ATNConfigSet>
ParserATNSimulator. splitAccordingToSemanticValidity(ATNConfigSet configs, ParserRuleContext outerContext)
Walk the list of configurations and split them according to those that have preds evaluating to true/false. -
Uses of Pair in org.antlr.v4.runtime.misc
Methods in org.antlr.v4.runtime.misc that return types with arguments of type Pair Modifier and Type Method Description List<Pair<K,V>>
MultiMap. getPairs()
-