![]() |
Zen
A cross-platform functional programming language
|
The token data returned by the lexer. More...
#include <Token.hpp>
Public Attributes | |
| int | id |
| Token id. | |
| char | svalue [MaxTokenSize] |
| Token text. | |
| char * | lvalue |
| Token text, if length > MaxTokenSize. | |
| bool | hidden |
| Whether token should be passed to parser. | |
| int | line |
| Line number of token. | |
| int | col |
| Column number of token. | |
The token data returned by the lexer.
This is the data that gets passed to the parser. This is because the parser expects plain C struct without even a default ctor.