public class Scanner extends JavaLexer implements JavaParser.yyInput
Constructor and Description |
---|
Scanner(java.io.Reader reader) |
Modifier and Type | Method and Description |
---|---|
boolean |
advance()
move on to next token.
|
int |
token()
classifies current token.
|
java.lang.Object |
value()
associated with current token.
|
public int token()
JavaParser.yyInput
token
in interface JavaParser.yyInput
public boolean advance() throws java.io.IOException
JavaParser.yyInput
advance
in interface JavaParser.yyInput
IOException
- on input error.public java.lang.Object value()
JavaParser.yyInput
value
in interface JavaParser.yyInput