Package | Description |
---|---|
org.antlr.v4.runtime |
Modifier and Type | Interface and Description |
---|---|
interface |
CharStream
A source of characters for an ANTLR lexer.
|
interface |
TokenStream
|
Modifier and Type | Class and Description |
---|---|
class |
ANTLRFileStream
This is an
ANTLRInputStream that is loaded from a file all at once
when you construct the object. |
class |
ANTLRInputStream
|
class |
BufferedTokenStream
Buffer all input tokens but do on-demand fetching of new tokens from lexer.
|
class |
CommonTokenStream
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 |
UnbufferedCharStream
Do not buffer up the entire char stream.
|
class |
UnbufferedTokenStream<T extends Token> |
Modifier and Type | Method and Description |
---|---|
abstract IntStream |
Recognizer.getInputStream() |
IntStream |
RecognitionException.getInputStream()
Gets the input stream which is the symbol source for the recognizer where
this exception was thrown.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Recognizer.setInputStream(IntStream input) |
void |
Parser.setInputStream(IntStream input) |
void |
Lexer.setInputStream(IntStream input)
Set the char stream and reset the lexer
|
Constructor and Description |
---|
RecognitionException(Recognizer<?,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
RecognitionException(String message,
Recognizer<?,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
Copyright © 1992-2013 ANTLR. All Rights Reserved.