| Package | Description |
|---|---|
| org.antlr.v4.runtime |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CharStream
A source of characters for an ANTLR lexer.
|
interface |
TokenStream
|
interface |
UnicodeCharStream |
| Modifier and Type | Class and Description |
|---|---|
class |
ANTLRFileStream
Deprecated.
as of 4.7 Please use
CharStreams interface. |
class |
ANTLRInputStream
Deprecated.
as of 4.7 Please use
CharStreams interface. |
class |
BufferedTokenStream
This implementation of
TokenStream loads tokens from a
TokenSource on-demand, and places the tokens in a buffer to provide
access to any previous token by index. |
class |
CodePointCharStream
Alternative to
ANTLRInputStream which treats the input
as a series of Unicode code points, instead of a series of UTF-16
code units. |
class |
CommonTokenStream
This class extends
BufferedTokenStream with functionality to filter
token streams to tokens on a particular channel (tokens where
Token.getChannel() returns a particular value). |
class |
UnbufferedCharStream
Do not buffer up the entire char stream.
|
class |
UnbufferedTokenStream |
| 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.
|
| Constructor and Description |
|---|
RecognitionException(Recognizer<Token,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
RecognitionException(String message,
Recognizer<Token,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
Copyright © 1992–2024 Daniel Sun. All rights reserved.