public class LexerSource extends Source
| Constructor and Description |
|---|
LexerSource(Reader r,
boolean ppvalid) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getColumn()
Returns the current column number within this Source.
|
int |
getLine()
Returns the current line number within this Source.
|
Token |
token()
Returns the next Token parsed from this input stream.
|
public LexerSource(Reader r, boolean ppvalid)
public int getLine()
Sourcepublic int getColumn()
Sourcepublic Token token() throws IOException, LexerException
Sourcetoken in class SourceIOExceptionLexerExceptionTokenpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class SourceIOException