|
Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
|
Lexer state object for scanning source code. More...
#include <lexer.h>

Public Attributes | |
| ArenaAllocator * | arena |
| const char * | src |
| const char * | current |
| int | line |
| int | col |
Lexer state object for scanning source code.
| ArenaAllocator* Lexer::arena |
Arena allocator for token storage
| int Lexer::col |
Current column number
| const char* Lexer::current |
Current scanning position in source
| int Lexer::line |
Current line number
| const char* Lexer::src |
Pointer to the source code string