lua.ast.Node
Fields
| Name | Type | Description |
|---|---|---|
type | integer | The node type, see lua.parser.NODE_*. |
line | integer | The line where the node starts, 1 for hand-made nodes is fine. |
Subclasses
lua.ast.Assignment, lua.ast.Binary, lua.ast.Boolean, lua.ast.Break, lua.ast.Call, lua.ast.CallStatement, lua.ast.Chunk, lua.ast.Continue, lua.ast.Do, lua.ast.Function, lua.ast.FunctionDeclaration, lua.ast.GenericFor, lua.ast.Goto, lua.ast.Identifier, lua.ast.If, lua.ast.Index, lua.ast.Label, lua.ast.Local, lua.ast.LocalFunction, lua.ast.Member, lua.ast.MethodCall, lua.ast.Nil, lua.ast.Number, lua.ast.NumericFor, lua.ast.Paren, lua.ast.Repeat, lua.ast.Return, lua.ast.String, lua.ast.Table, lua.ast.TableField, lua.ast.Unary, lua.ast.Vararg, lua.ast.While