public class LexerSource extends Source
| Constructor and Description |
|---|
LexerSource(java.io.Reader r,
boolean ppvalid) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getColumn()
Returns the column number of the last read character in this source.
|
int |
getLine()
Returns the line number of the last read character in this source.
|
protected static java.io.BufferedReader |
toBufferedReader(java.io.Reader r) |
Token |
token()
Returns the next Token parsed from this input stream.
|
error, getName, getPath, iterator, setListener, skipline, warningpublic LexerSource(java.io.Reader r, boolean ppvalid)
@Nonnull protected static java.io.BufferedReader toBufferedReader(@Nonnull java.io.Reader r)
public int getLine()
public int getColumn()
public Token token() throws java.io.IOException, LexerException
Sourcetoken in class Sourcejava.io.IOExceptionLexerExceptionToken