public class Lexer extends 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(PushbackReader in) |
protected Token token
protected Lexer.State state
public Lexer(PushbackReader in)
protected void filter()
throws LexerException,
IOException
LexerExceptionIOExceptionpublic Token peek() throws LexerException, IOException
LexerExceptionIOExceptionpublic Token next() throws LexerException, IOException
LexerExceptionIOExceptionprotected Token getToken() throws IOException, LexerException
IOExceptionLexerExceptionprotected void unread(Token token) throws IOException
IOExceptionCopyright © 2021 Soot OSS. All rights reserved.