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 classLexer.State
-
Field Summary
Fields Modifier and Type Field Description protected Lexer.Statestateprotected Tokentoken
-
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:
LexerExceptionIOException
-
peek
public Token peek() throws LexerException, IOException
- Throws:
LexerExceptionIOException
-
next
public Token next() throws LexerException, IOException
- Throws:
LexerExceptionIOException
-
getToken
protected Token getToken() throws IOException, LexerException
- Throws:
IOExceptionLexerException
-
unread
protected void unread(Token token) throws IOException
- Throws:
IOException
-
-