public class ANTLRReaderStream extends ANTLRStringStream
| Modifier and Type | Field and Description |
|---|---|
static int |
INITIAL_BUFFER_SIZE |
static int |
READ_BUFFER_SIZE |
charPositionInLine, data, lastMarker, line, markDepth, markers, n, name, pEOF| Constructor and Description |
|---|
ANTLRReaderStream() |
ANTLRReaderStream(Reader r) |
ANTLRReaderStream(Reader r,
int size) |
ANTLRReaderStream(Reader r,
int size,
int readChunkSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
load(Reader r,
int size,
int readChunkSize) |
consume, getCharPositionInLine, getLine, getSourceName, index, LA, LT, mark, release, reset, rewind, rewind, seek, setCharPositionInLine, setLine, size, substring, toStringpublic static final int READ_BUFFER_SIZE
public static final int INITIAL_BUFFER_SIZE
public ANTLRReaderStream()
public ANTLRReaderStream(Reader r) throws IOException
IOExceptionpublic ANTLRReaderStream(Reader r, int size) throws IOException
IOExceptionpublic ANTLRReaderStream(Reader r, int size, int readChunkSize) throws IOException
IOExceptionpublic void load(Reader r, int size, int readChunkSize) throws IOException
IOExceptionCopyright © 1992-2013 ANTLR. All Rights Reserved.