|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A lexer should implement this interface.
Method Summary | |
Token |
getNextToken()
Returns the next token. |
void |
reset(java.io.Reader reader,
int yyline,
int yychar,
int yycolumn)
Closes the current input stream, and resets the scanner to read from a new input stream. |
Method Detail |
public Token getNextToken() throws java.io.IOException
java.io.IOException
- i/o exceptionpublic void reset(java.io.Reader reader, int yyline, int yychar, int yycolumn) throws java.io.IOException
reader
- The new input.yyline
- The line number of the first token.yychar
- The position (relative) of the first token.yycolumn
- The position (relative to the line) of the first token.
java.io.IOException
- occurs while switching readers.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |