|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TokenStream | |
|---|---|
| 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 | |
|---|---|
class |
CommonTokenStream
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 |
TokenRewriteStream
Useful for dumping out the input stream after doing some augmentation or other manipulations. |
| Fields in org.antlr.runtime declared as TokenStream | |
|---|---|
TokenStream |
Parser.input
|
| Methods in org.antlr.runtime that return TokenStream | |
|---|---|
TokenStream |
Parser.getTokenStream()
|
| Methods in org.antlr.runtime with parameters of type TokenStream | |
|---|---|
void |
Parser.setTokenStream(TokenStream input)
Set the token stream and reset the parser |
| Constructors in org.antlr.runtime with parameters of type TokenStream | |
|---|---|
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 | |
|---|---|
class |
DebugTokenStream
|
| Fields in org.antlr.runtime.debug declared as TokenStream | |
|---|---|
TokenStream |
DebugTokenStream.input
|
| Methods in org.antlr.runtime.debug that return TokenStream | |
|---|---|
TokenStream |
DebugTreeNodeStream.getTokenStream()
|
| Methods in org.antlr.runtime.debug with parameters of type TokenStream | |
|---|---|
java.lang.Object |
DebugTreeAdaptor.errorNode(TokenStream input,
Token start,
Token stop,
RecognitionException e)
|
| Constructors in org.antlr.runtime.debug with parameters of type TokenStream | |
|---|---|
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 | |
|---|---|
protected TokenStream |
UnBufferedTreeNodeStream.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 TokenStream | |
|---|---|
TokenStream |
UnBufferedTreeNodeStream.getTokenStream()
|
TokenStream |
TreeNodeStream.getTokenStream()
If the tree associated with this stream was created from a TokenStream, you can specify it here. |
TokenStream |
CommonTreeNodeStream.getTokenStream()
|
| Methods in org.antlr.runtime.tree with parameters of type TokenStream | |
|---|---|
java.lang.Object |
BaseTreeAdaptor.errorNode(TokenStream input,
Token start,
Token stop,
RecognitionException e)
create tree node that holds the start and stop tokens associated with an error. |
java.lang.Object |
TreeAdaptor.errorNode(TokenStream input,
Token start,
Token stop,
RecognitionException e)
Return a tree node representing an error. |
void |
UnBufferedTreeNodeStream.setTokenStream(TokenStream tokens)
|
void |
CommonTreeNodeStream.setTokenStream(TokenStream tokens)
|
| Constructors in org.antlr.runtime.tree with parameters of type TokenStream | |
|---|---|
CommonErrorNode(TokenStream input,
Token start,
Token stop,
RecognitionException e)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||