Uses of Interface
org.antlr.v4.runtime.TokenStream
- 
Packages that use TokenStream Package Description org.antlr.v4.runtime org.antlr.v4.runtime.atn 
- 
- 
Uses of TokenStream in org.antlr.v4.runtimeClasses in org.antlr.v4.runtime that implement TokenStream Modifier and Type Class Description classBufferedTokenStreamThis implementation ofTokenStreamloads tokens from aTokenSourceon-demand, and places the tokens in a buffer to provide access to any previous token by index.classCommonTokenStreamThis class extendsBufferedTokenStreamwith functionality to filter token streams to tokens on a particular channel (tokens whereToken.getChannel()returns a particular value).classUnbufferedTokenStream<T extends Token>Fields in org.antlr.v4.runtime declared as TokenStream Modifier and Type Field Description protected TokenStreamParser. _inputThe input stream.protected TokenStreamTokenStreamRewriter. tokensOur source streamMethods in org.antlr.v4.runtime that return TokenStream Modifier and Type Method Description TokenStreamParser. getInputStream()TokenStreamParser. getTokenStream()TokenStreamTokenStreamRewriter. getTokenStream()Methods in org.antlr.v4.runtime with parameters of type TokenStream Modifier and Type Method Description voidParser. setTokenStream(TokenStream input)Set the token stream and reset the parser.Constructors in org.antlr.v4.runtime with parameters of type TokenStream Constructor Description NoViableAltException(Parser recognizer, TokenStream input, Token startToken, Token offendingToken, ATNConfigSet deadEndConfigs, ParserRuleContext ctx)Parser(TokenStream input)ParserInterpreter(String grammarFileName, Collection<String> tokenNames, Collection<String> ruleNames, ATN atn, TokenStream input)Deprecated.ParserInterpreter(String grammarFileName, Vocabulary vocabulary, Collection<String> ruleNames, ATN atn, TokenStream input)TokenStreamRewriter(TokenStream tokens)
- 
Uses of TokenStream in org.antlr.v4.runtime.atnFields in org.antlr.v4.runtime.atn declared as TokenStream Modifier and Type Field Description protected TokenStreamParserATNSimulator. _inputTokenStreamDecisionEventInfo. inputThe input token stream which is being parsed.Methods in org.antlr.v4.runtime.atn with parameters of type TokenStream Modifier and Type Method Description intParserATNSimulator. adaptivePredict(TokenStream input, int decision, ParserRuleContext outerContext)intProfilingATNSimulator. adaptivePredict(TokenStream input, int decision, ParserRuleContext outerContext)protected intParserATNSimulator. execATN(DFA dfa, DFAState s0, TokenStream input, int startIndex, ParserRuleContext outerContext)Performs ATN simulation to compute a predicted alternative based upon the remaining input, but also updates the DFA cache to avoid having to traverse the ATN again for the same input sequence.protected intParserATNSimulator. execATNWithFullContext(DFA dfa, DFAState D, ATNConfigSet s0, TokenStream input, int startIndex, ParserRuleContext outerContext)StringParserATNSimulator. getLookaheadName(TokenStream input)protected NoViableAltExceptionParserATNSimulator. noViableAlt(TokenStream input, ParserRuleContext outerContext, ATNConfigSet configs, int startIndex)Constructors in org.antlr.v4.runtime.atn with parameters of type TokenStream Constructor Description AmbiguityInfo(int decision, ATNConfigSet configs, BitSet ambigAlts, TokenStream input, int startIndex, int stopIndex, boolean fullCtx)Constructs a new instance of theAmbiguityInfoclass with the specified detailed ambiguity information.ContextSensitivityInfo(int decision, ATNConfigSet configs, TokenStream input, int startIndex, int stopIndex)Constructs a new instance of theContextSensitivityInfoclass with the specified detailed context sensitivity information.DecisionEventInfo(int decision, ATNConfigSet configs, TokenStream input, int startIndex, int stopIndex, boolean fullCtx)ErrorInfo(int decision, ATNConfigSet configs, TokenStream input, int startIndex, int stopIndex, boolean fullCtx)Constructs a new instance of theErrorInfoclass with the specified detailed syntax error information.LookaheadEventInfo(int decision, ATNConfigSet configs, int predictedAlt, TokenStream input, int startIndex, int stopIndex, boolean fullCtx)Constructs a new instance of theLookaheadEventInfoclass with the specified detailed lookahead information.PredicateEvalInfo(int decision, TokenStream input, int startIndex, int stopIndex, SemanticContext semctx, boolean evalResult, int predictedAlt, boolean fullCtx)Constructs a new instance of thePredicateEvalInfoclass with the specified detailed predicate evaluation information.
 
-