Uses of Interface
org.antlr.runtime.TokenStream
Packages that use TokenStream
Package
Description
-
Uses of TokenStream in org.antlr.grammar.v3
Methods in org.antlr.grammar.v3 with parameters of type TokenStreamModifier and TypeMethodDescriptionstatic ANTLRParser
ANTLRParser.createParser
(TokenStream input) ANTLRParser.grammar_Adaptor.errorNode
(TokenStream input, Token start, Token stop, RecognitionException e) Constructors in org.antlr.grammar.v3 with parameters of type TokenStreamModifierConstructorDescriptionANTLRParser
(TokenStream input) ANTLRParser
(TokenStream input, RecognizerSharedState state) ANTLRv3Parser
(TokenStream input) ANTLRv3Parser
(TokenStream input, RecognizerSharedState state) GrammarASTErrorNode
(TokenStream input, Token start, Token stop, RecognitionException e) -
Uses of TokenStream in org.antlr.runtime
Classes in org.antlr.runtime that implement TokenStreamModifier and TypeClassDescriptionclass
Buffer all input tokens but do on-demand fetching of new tokens from lexer.class
The most common stream of tokens where every token is buffered up and tokens are filtered for a certain channel (the parser will only see these tokens).class
The most common stream of tokens is one where every token is buffered up and tokens are prefiltered for a certain channel (the parser will only see these tokens and cannot change the filter channel number during the parse).class
Useful for dumping out the input stream after doing some augmentation or other manipulations.class
A token stream that pulls tokens from the code source on-demand and without tracking a complete buffer of the tokens.Fields in org.antlr.runtime declared as TokenStreamMethods in org.antlr.runtime that return TokenStreamMethods in org.antlr.runtime with parameters of type TokenStreamModifier and TypeMethodDescriptionvoid
Parser.setTokenStream
(TokenStream input) Set the token stream and reset the parserConstructors in org.antlr.runtime with parameters of type TokenStreamModifierConstructorDescriptionParser
(TokenStream input) Parser
(TokenStream input, RecognizerSharedState state) -
Uses of TokenStream in org.antlr.runtime.debug
Classes in org.antlr.runtime.debug that implement TokenStreamFields in org.antlr.runtime.debug declared as TokenStreamMethods in org.antlr.runtime.debug that return TokenStreamMethods in org.antlr.runtime.debug with parameters of type TokenStreamModifier and TypeMethodDescriptionDebugTreeAdaptor.errorNode
(TokenStream input, Token start, Token stop, RecognitionException e) Constructors in org.antlr.runtime.debug with parameters of type TokenStreamModifierConstructorDescriptionDebugParser
(TokenStream input, DebugEventListener dbg) DebugParser
(TokenStream input, DebugEventListener dbg, RecognizerSharedState state) Create a normal parser except wrap the token stream in a debug proxy that fires consume events.DebugParser
(TokenStream input, RecognizerSharedState state) DebugTokenStream
(TokenStream input, DebugEventListener dbg) -
Uses of TokenStream in org.antlr.runtime.tree
Fields in org.antlr.runtime.tree declared as TokenStreamModifier and TypeFieldDescriptionprotected TokenStream
TreeFilter.originalTokenStream
protected TokenStream
TreeRewriter.originalTokenStream
protected TokenStream
BufferedTreeNodeStream.tokens
IF this tree (root) was created from a token stream, track it.protected TokenStream
CommonTreeNodeStream.tokens
If this tree (root) was created from aTokenStream
, track it.Methods in org.antlr.runtime.tree that return TokenStreamModifier and TypeMethodDescriptionBufferedTreeNodeStream.getTokenStream()
CommonTreeNodeStream.getTokenStream()
TreeNodeStream.getTokenStream()
If the tree associated with this stream was created from aTokenStream
, you can specify it here.Methods in org.antlr.runtime.tree with parameters of type TokenStreamModifier and TypeMethodDescriptionBaseTreeAdaptor.errorNode
(TokenStream input, Token start, Token stop, RecognitionException e) create tree node that holds the start and stop tokens associated with an error.TreeAdaptor.errorNode
(TokenStream input, Token start, Token stop, RecognitionException e) Return a tree node representing an error.void
BufferedTreeNodeStream.setTokenStream
(TokenStream tokens) void
CommonTreeNodeStream.setTokenStream
(TokenStream tokens) Constructors in org.antlr.runtime.tree with parameters of type TokenStreamModifierConstructorDescriptionCommonErrorNode
(TokenStream input, Token start, Token stop, RecognitionException e) -
Uses of TokenStream in org.antlr.tool
Classes in org.antlr.tool that implement TokenStream