|
Gymbo
|
Structure representing a token. More...
#include <tokenizer.h>

Public Attributes | |
| TokenKind | kind |
| Token kind. More... | |
| Token * | next |
| Pointer to the next token in the sequence. More... | |
| float | val |
| If kind is TOKEN_NUM, its value. More... | |
| char * | str |
| Token string. More... | |
| int | len |
| Token length. More... | |
| int | var_id |
| Variable ID. More... | |
Structure representing a token.
| int gymbo::Token::len |
Token length.
| Token* gymbo::Token::next |
Pointer to the next token in the sequence.
| char* gymbo::Token::str |
Token string.
| float gymbo::Token::val |
If kind is TOKEN_NUM, its value.
| int gymbo::Token::var_id |
Variable ID.