|
Decaf Compiler
|
Single token. More...
#include <token.h>
Public Attributes | |
| TokenType | type |
| Type of the token. | |
| char | text [256] |
| Raw text of the token. | |
| int | line |
| Source line number. | |
| struct Token * | next |
| Pointer to next token (used to store in a list) | |
Single token.
Allocate with Token_new and de-allocate with Token_free.