Script
Represents the root node of a Loreline script AST.
Instance Members
Array of top-level declarations in the script.
Converts the script to a JSON representation.
| Returns |
Description |
| Dynamic |
Dynamic object containing all script data |
eachExcludingImported(handleNode: Function): Void
| Name |
Type |
handleNode |
Function |
each(handleNode: Function): Void
| Name |
Type |
handleNode |
Function |
Creates a new script root node.
| Name |
Type |
Description |
id |
NodeId |
The node id of this script |
pos |
Position |
Position in source where this script starts |
body |
Array<AstNode> |
Array of top-level declarations |