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.yyInputtoken in interface JavaParser.yyInputpublic boolean advance()
throws java.io.IOException
JavaParser.yyInputadvance in interface JavaParser.yyInputIOException - on input error.public java.lang.Object value()
JavaParser.yyInputvalue in interface JavaParser.yyInput