CharStream
, IntStream
ANTLRInputStream
public class ANTLRReaderStream extends ANTLRStringStream
Modifier and Type | Field | Description |
---|---|---|
static int |
INITIAL_BUFFER_SIZE |
|
static int |
READ_BUFFER_SIZE |
charPositionInLine, data, lastMarker, line, markDepth, markers, n, name, p
EOF
Constructor | Description |
---|---|
ANTLRReaderStream() |
|
ANTLRReaderStream(Reader r) |
|
ANTLRReaderStream(Reader r,
int size) |
|
ANTLRReaderStream(Reader r,
int size,
int readChunkSize) |
Modifier and Type | Method | 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, toString
public static final int READ_BUFFER_SIZE
public static final int INITIAL_BUFFER_SIZE
public ANTLRReaderStream()
public ANTLRReaderStream(Reader r) throws IOException
IOException
public ANTLRReaderStream(Reader r, int size) throws IOException
IOException
public ANTLRReaderStream(Reader r, int size, int readChunkSize) throws IOException
IOException
public void load(Reader r, int size, int readChunkSize) throws IOException
IOException
Copyright © 1992–2018 ANTLR. All rights reserved.