|
Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
|
Represents a single token extracted by the lexer. More...
#include <lexer.h>
Public Attributes | |
| LumaTokenType | type_ |
| const char * | value |
| int | line |
| int | col |
| int | length |
| int | whitespace_len |
Represents a single token extracted by the lexer.
| int Token::col |
Column number of token
| int Token::length |
Length of the token text
| int Token::line |
Line number of token
| LumaTokenType Token::type_ |
Token type
| const char* Token::value |
Pointer to token text start
| int Token::whitespace_len |
Leading whitespace length before token