|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Lexer
A lexer should implement this interface.
| Method Summary | |
|---|---|
Token |
getNextToken()
Returns the next token. |
void |
reset(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 |
|---|
Token getNextToken()
throws IOException
IOException
void reset(Reader reader,
int yyline,
int yychar,
int yycolumn)
throws IOException
reader - The new input.yyline - The line number of the first token.yychar - The position (relative to the start of the stream) of the first token.yycolumn - The position (relative to the line) of the first token.
IOException - if an IOExecption occurs while switching readers.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||