org.sablecc.php4.lexer
Class Lexer
Object
org.sablecc.php4.lexer.Lexer
- Direct Known Subclasses:
- PhpLexer
- public class Lexer
- extends Object
Constructor Summary |
Lexer(PushbackReader in)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token
protected Token token
state
protected Lexer.State state
Lexer
public Lexer(PushbackReader in)
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