Package | Description |
---|---|
org.antlr.grammar.v3 | |
org.antlr.runtime | |
org.antlr.runtime.debug |
Constructor and Description |
---|
ActionAnalysis(CharStream input) |
ActionAnalysis(CharStream input,
RecognizerSharedState state) |
ActionTranslator(CharStream input) |
ActionTranslator(CharStream input,
RecognizerSharedState state) |
ANTLRv3Lexer(CharStream input) |
ANTLRv3Lexer(CharStream input,
RecognizerSharedState state) |
Modifier and Type | Class and Description |
---|---|
class |
ANTLRFileStream
This is a char buffer stream that is loaded from a file
all at once when you construct the object.
|
class |
ANTLRInputStream
A kind of ReaderStream that pulls from an InputStream.
|
class |
ANTLRReaderStream
Vacuum all input from a Reader and then treat it like a StringStream.
|
class |
ANTLRStringStream
A pretty quick CharStream that pulls all data from an array
directly.
|
Modifier and Type | Field and Description |
---|---|
protected CharStream |
CommonToken.input |
protected CharStream |
Lexer.input
Where is the lexer drawing characters from?
|
Modifier and Type | Method and Description |
---|---|
CharStream |
Lexer.getCharStream() |
CharStream |
ClassicToken.getInputStream() |
CharStream |
Token.getInputStream()
From what character stream was this token created? You don't have to
implement but it's nice to know where a Token comes from if you have
include files etc...
|
CharStream |
CommonToken.getInputStream() |
Modifier and Type | Method and Description |
---|---|
void |
Lexer.setCharStream(CharStream input)
Set the char stream and reset the lexer
|
void |
ClassicToken.setInputStream(CharStream input) |
void |
Token.setInputStream(CharStream input) |
void |
CommonToken.setInputStream(CharStream input) |
Constructor and Description |
---|
CommonToken(CharStream input,
int type,
int channel,
int start,
int stop) |
Lexer(CharStream input) |
Lexer(CharStream input,
RecognizerSharedState state) |
Modifier and Type | Method and Description |
---|---|
CharStream |
RemoteDebugEventSocketListener.ProxyToken.getInputStream() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteDebugEventSocketListener.ProxyToken.setInputStream(CharStream input) |
Copyright © 2020. All rights reserved.