Skip to content

lexer

KW_BOOL

pub char* KW_BOOL = "bool";

KW_CHAR

pub char* KW_CHAR = "char";

KW_FN

pub char* KW_FN = "fn";

KW_INT

pub char* KW_INT = "int";

KW_STRUCT

pub char* KW_STRUCT = "struct";

KW_VOID

pub char* KW_VOID = "void";

RESTART_LINE_COUNT

pub char* RESTART_LINE_COUNT = "![[jnc_restart_line_count]]";

get_next_token

pub fn get_next_token(void* self)

Lexer__new

pub fn Lexer__new()

Lexer_drop

pub fn Lexer_drop(void* self)

Lexer_peek

pub fn Lexer_peek(void* self)

Lexer_token

pub fn Lexer_token(void* self)