| 程序包 | 说明 |
|---|---|
| org.antlr.v4.runtime |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
CharStream
A source of characters for an ANTLR lexer.
|
interface |
TokenStream
|
interface |
UnicodeCharStream |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ANTLRFileStream
已过时。
as of 4.7 Please use
CharStreams interface. |
class |
ANTLRInputStream
已过时。
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract IntStream |
Recognizer.getInputStream() |
IntStream |
RecognitionException.getInputStream()
Gets the input stream which is the symbol source for the recognizer where
this exception was thrown.
|
| 构造器和说明 |
|---|
RecognitionException(Recognizer<Token,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
RecognitionException(String message,
Recognizer<Token,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
Copyright © 1992–2022 Daniel Sun. All rights reserved.