public class Lexer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Lexer.State |
| Modifier and Type | Field and Description |
|---|---|
protected Lexer.State |
state |
protected Token |
token |
| Constructor and Description |
|---|
Lexer(java.io.PushbackReader in) |
protected Token token
protected Lexer.State state
protected void filter()
throws LexerException,
java.io.IOException
LexerExceptionjava.io.IOExceptionpublic Token peek() throws LexerException, java.io.IOException
LexerExceptionjava.io.IOExceptionpublic Token next() throws LexerException, java.io.IOException
LexerExceptionjava.io.IOExceptionprotected Token getToken() throws java.io.IOException, LexerException
java.io.IOExceptionLexerExceptionprotected void unread(Token token) throws java.io.IOException
java.io.IOException