Uses of Interface
org.antlr.runtime.TokenStream
-
Packages that use TokenStream Package Description org.antlr.runtime org.antlr.runtime.debug org.antlr.runtime.tree -
-
Uses of TokenStream in org.antlr.runtime
Classes in org.antlr.runtime that implement TokenStream Modifier and Type Class Description classBufferedTokenStreamBuffer all input tokens but do on-demand fetching of new tokens from lexer.classCommonTokenStreamThe 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).classLegacyCommonTokenStreamThe 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).classTokenRewriteStreamUseful for dumping out the input stream after doing some augmentation or other manipulations.classUnbufferedTokenStreamA 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 TokenStream Modifier and Type Field Description TokenStreamParser. inputMethods in org.antlr.runtime that return TokenStream Modifier and Type Method Description TokenStreamParser. getTokenStream()Methods in org.antlr.runtime with parameters of type TokenStream Modifier and Type Method Description voidParser. setTokenStream(TokenStream input)Set the token stream and reset the parserConstructors in org.antlr.runtime with parameters of type TokenStream Constructor Description Parser(TokenStream input)Parser(TokenStream input, RecognizerSharedState state) -
Uses of TokenStream in org.antlr.runtime.debug
Classes in org.antlr.runtime.debug that implement TokenStream Modifier and Type Class Description classDebugTokenStreamFields in org.antlr.runtime.debug declared as TokenStream Modifier and Type Field Description TokenStreamDebugTokenStream. inputMethods in org.antlr.runtime.debug that return TokenStream Modifier and Type Method Description TokenStreamDebugTreeNodeStream. getTokenStream()Methods in org.antlr.runtime.debug with parameters of type TokenStream Modifier and Type Method Description ObjectDebugTreeAdaptor. errorNode(TokenStream input, Token start, Token stop, RecognitionException e)Constructors in org.antlr.runtime.debug with parameters of type TokenStream Constructor Description DebugParser(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 TokenStream Modifier and Type Field Description protected TokenStreamTreeFilter. originalTokenStreamprotected TokenStreamTreeRewriter. originalTokenStreamprotected TokenStreamBufferedTreeNodeStream. tokensIF this tree (root) was created from a token stream, track it.protected TokenStreamCommonTreeNodeStream. tokensIf this tree (root) was created from aTokenStream, track it.Methods in org.antlr.runtime.tree that return TokenStream Modifier and Type Method Description TokenStreamBufferedTreeNodeStream. getTokenStream()TokenStreamCommonTreeNodeStream. getTokenStream()TokenStreamTreeNodeStream. 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 TokenStream Modifier and Type Method Description ObjectBaseTreeAdaptor. errorNode(TokenStream input, Token start, Token stop, RecognitionException e)create tree node that holds the start and stop tokens associated with an error.ObjectTreeAdaptor. errorNode(TokenStream input, Token start, Token stop, RecognitionException e)Return a tree node representing an error.voidBufferedTreeNodeStream. setTokenStream(TokenStream tokens)voidCommonTreeNodeStream. setTokenStream(TokenStream tokens)Constructors in org.antlr.runtime.tree with parameters of type TokenStream Constructor Description CommonErrorNode(TokenStream input, Token start, Token stop, RecognitionException e)
-