|
libmya 0.1.0
Library to parse Mya language.
|
Struct for a Mya token. More...
#include <token.h>

Data Fields | |
| token_type_t | type |
| Token type. | |
| unsigned int | line |
| Token line inside the module. | |
| unsigned int | column |
| Column of the token position on the line. | |
| long long int | value |
| Integer value of the token. | |
| dstring_t | lexeme |
| Lexeme of the token. | |
| unsigned int token::column |
| token_type_t token::type |
| long long int token::value |
Integer value of the token.
On TK_NUMBERS, it's the number value. On TK_OPERATOR, it's the operator identification (operator_t). On TK_KEYWORD, it's the keyword identification (keyword_t).