Node

Represents a single usable thing in the given script

Members

Functions

block
Block block()

Equivalent to .value!Block

children
Node[] children()

Gets all children of a block

key
string key()

Gets the key of an assignment

opApply
int opApply(int delegate(Node) dg)

equivalent to looping over node.children

opIndex
Node opIndex(size_t i)

Should be equivalent to node.children[i]

toString
string toString()
Undocumented in source.
type
NodeType type()

Returns a NodeType that corresponds to the type

value
T value()

Gets the value of an assignment or the value of a value

value_
Variant value_()
Undocumented in source.

Meta