Uses of Interface
org.antlr.runtime.TokenStream
Packages that use TokenStream
Package
Description
-
Uses of TokenStream in org.antlr.grammar.v3
Constructors in org.antlr.grammar.v3 with parameters of type TokenStreamModifierConstructorDescriptionANTLRv3Parser
(TokenStream input) ANTLRv3Parser
(TokenStream input, RecognizerSharedState state) -
Uses of TokenStream in org.antlr.runtime
Classes in org.antlr.runtime that implement TokenStreamModifier and TypeClassDescriptionclass
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.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 a token stream, 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 a TokenStream, 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)