lua.ast
Namespace lua.ast.
Classes & types
type
lua.ast.Assignment
a, b.c, d[ e ] = 1, 2, 3
type
lua.ast.Binary
type
lua.ast.Boolean
type
lua.ast.Break
type
lua.ast.Call
type
lua.ast.CallStatement
f() or a:b() as a statement.
type
lua.ast.Chunk
type
lua.ast.Continue
continue.
type
lua.ast.Do
type
lua.ast.Function
type
lua.ast.FunctionDeclaration
function a.b:c() end, for methods target is the Member of the method name and func.is_method is true.
type
lua.ast.GenericFor
for k, v in iterators do end
type
lua.ast.Goto
LuaJIT goto label.
type
lua.ast.Identifier
type
lua.ast.If
type
lua.ast.IfClause
if / elseif branch.
type
lua.ast.Index
object[ key ]
type
lua.ast.Label
LuaJIT ::name::.
type
lua.ast.Local
local a, b = 1, 2
type
lua.ast.LocalFunction
local function name() end
type
lua.ast.Member
object.name
type
lua.ast.MethodCall
object:method( arguments )
type
lua.ast.Nil
type
lua.ast.Node
type
lua.ast.Number
type
lua.ast.NumericFor
for i = start, limit, step do end
type
lua.ast.Paren
( expression ), truncates multiple values to one.
type
lua.ast.Repeat
type
lua.ast.Return
type
lua.ast.String
type
lua.ast.Table
type
lua.ast.TableField
kind is "list" for { value }, "named" for { name = value } and "index" for { [ key ] = value }.
type
lua.ast.Unary
type
lua.ast.Vararg
type
lua.ast.While