| Package | Description |
|---|---|
| org.antlr.runtime | |
| org.antlr.runtime.debug |
| 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 |
Lexer.input
Where is the lexer drawing characters from?
|
protected CharStream |
CommonToken.input |
| Modifier and Type | Method and Description |
|---|---|
CharStream |
Lexer.getCharStream() |
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() |
CharStream |
ClassicToken.getInputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
Lexer.setCharStream(CharStream input)
Set the char stream and reset the lexer
|
void |
Token.setInputStream(CharStream input) |
void |
CommonToken.setInputStream(CharStream input) |
void |
ClassicToken.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 © 1992-2013 ANTLR. All Rights Reserved.