Constructor
new ReferenceElementNode( referenceNode : ReferenceBaseNode, indexNode : Node )
Constructs a new reference element node.
| referenceNode |
The reference node. |
| indexNode |
The index node that defines the element access. |
Properties
.isReferenceElementNode : boolean (readonly)
This flag can be used for type testing.
Default is true.
.isReferenceElementNode : boolean (readonly)
This flag can be used for type testing.
Default is true.
.referenceNode : ReferenceBaseNode
Similar to ReferenceBaseNode#reference, an additional property references to the current node.
Default is null.
.referenceNode : ReferenceNode
Similar to ReferenceNode#reference, an additional property references to the current node.
Default is null.
Methods
.getNodeType() : string
This method is overwritten since the node type is inferred from the uniform type of the reference node.
- Overrides: ArrayElementNode#getNodeType
- Returns: The node type.
.getNodeType() : string
This method is overwritten since the node type is inferred from the uniform type of the reference node.
- Overrides: ArrayElementNode#getNodeType
- Returns: The node type.