Jai_Lexer module

Token

structSource

One token: its type, where it starts (l0, c0, line and column) and ends (l1, c1), and its value. Read ident_value for an identifier, integer_value or float64_value for a number (check value_flags), string_value for a string.

Fields

l0: s32
c0: s32
l1: s32
c1: s32
value_flags: Value_Flags
ident_is_backticked: := false

See also