A token is an instance of a `Terminal`. Tokens carry post-processed terminals, as well as their position in the text.
Constructor | Description |
|
|
Instance member | Description |
Full Usage:
this.Data
Returns: obj
|
The object the `PostProcessor` created for this token.
|
Full Usage:
this.IsEOF
Returns: bool
|
Whether the token signifies that input ended. When this property is set to true, the `Token.Symbol` and `Token.Data` properties have undefined values.
|
|
The `Position` of the token in the input string.
|
|
The `Terminal` whose instance is this token.
|
Static member | Description |
|