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()
Source
public int getColumn()
Source
public Token token() throws IOException, LexerException
Source
token
in class Source
IOException
LexerException
Token
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Source
IOException