Declaration
public abstract Token ParseToken(
LexReader reader
)
Summary
Parses the next token of a specific kind from the lex reader. Implementations must do one of the following:
- return null if the reader does not appear to contain this kind of token at the current location - while leaving the reader where it is
- return a parsed token instance, advancing the reader to just after the parsed token
- throw a LexException with a detailed description of the problem