- All Superinterfaces:
ILexToken
- All Known Implementing Classes:
Lexer.LexToken
- Enclosing class:
Lexer
public static interface Lexer.IPLexToken
extends ILexToken
An interface used for punctuation tokens that can be retrieved from the parser input.
-
-
Method Summary
A short word characterizing the class of token (e.g.
The lexical position of the token
-
-
Method Details
-
pos
The lexical position of the token
- Specified by:
pos in interface ILexToken
-
kind
A short word characterizing the class of token (e.g. "numeral", "symbol").
- Specified by:
kind in interface ILexToken