pair of variable name and attribute.
block of statements.
return statement must be optionally placed at the end of the block.
Internal data for binary operation
lua boolean literal value
unnamed function
function call. prefix(args) or prefix:method(args).
just identifier
lua numeric literal value
lua string literal value
table constructor, a list of fields
table[index], table.index
Internal data for unary operation
...
function name.
a sequence of identifiers separated by dots, and an optional colon followed by an identifier.
e.g. a.b.c:d
parameter list for named & anonymous function definition
struct that holds parser data, DFA tables
return statement
range of a token in the source code
string with span information.
l0, l1, l2 = r0, r1, r2.
variadic ... can be used in both l and r
break statement
do - end statements block
else-if fragment for if statements
for statement with start, end, step.
for statement with generic expressions.
function definition statement.
local function definition statement.
Goto statement
if statement
label definition
local variable declaration.
repeat statement
while statement
table field constructor [key] = value
table field constructor name = value
table field constructor value
Token classification and metadata.
lazy tokenize iterator.