Readonly
$containerThe container node in the AST; every node except the root node has a container.
Optional
Readonly
$containerIn case $containerProperty
is an array, the array index is stored here.
Optional
Readonly
$containerThe property of the $container
node that contains this node. This is either a direct reference or an array.
Optional
Readonly
$cstThe Concrete Syntax Tree (CST) node of the text range from which this node was parsed.
Optional
Readonly
$documentThe document containing the AST; only the root node has a direct reference to the document.
Readonly
$typeEvery AST node has a type corresponding to what was specified in the grammar declaration.
Optional
dataOptional
inferredOptional
return
A node in the Abstract Syntax Tree (AST).