Package soot.jimple.parser.lexer
Class Lexer
- java.lang.Object
-
- soot.jimple.parser.lexer.Lexer
-
public class Lexer extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Lexer.State
-
Field Summary
Fields Modifier and Type Field Description protected Lexer.State
state
protected Token
token
-
Constructor Summary
Constructors Constructor Description Lexer(PushbackReader in)
Lexer(IPushbackReader in)
-
-
-
Field Detail
-
token
protected Token token
-
state
protected Lexer.State state
-
-
Constructor Detail
-
Lexer
public Lexer(PushbackReader in)
-
Lexer
public Lexer(IPushbackReader in)
-
-
Method Detail
-
filter
protected void filter() throws LexerException, IOException
- Throws:
LexerException
IOException
-
peek
public Token peek() throws LexerException, IOException
- Throws:
LexerException
IOException
-
next
public Token next() throws LexerException, IOException
- Throws:
LexerException
IOException
-
getToken
protected Token getToken() throws IOException, LexerException
- Throws:
IOException
LexerException
-
unread
protected void unread(Token token) throws IOException
- Throws:
IOException
-
-