Constructor
new ConditionalNode( condNode : Node, ifNode : Node, elseNode : Node )
Constructs a new conditional node.
| condNode |
The node that defines the condition. |
| ifNode |
The node that is evaluate when the condition ends up |
| elseNode |
The node that is evaluate when the condition ends up Default is |
Properties
Methods
.getNodeType( builder : NodeBuilder ) : string
This method is overwritten since the node type is inferred from the if/else nodes.
| builder |
The current node builder. |
- Overrides: Node#getNodeType
- Returns: The node type.