Constructor
new MathNode( method : string, aNode : Node, bNode : Node, cNode : Node )
Constructs a new math node.
| method |
The method name. |
| aNode |
The first input. |
| bNode |
The second input. Default is |
| cNode |
The third input. Default is |
Properties
.isMathNode : boolean (readonly)
This flag can be used for type testing.
Default is true.
.method : string
The method name.
Methods
.getInputType( builder : NodeBuilder ) : string
The input type is inferred from the node types of the input nodes.
| builder |
The current node builder. |
- Returns: The input type.
.getNodeType( builder : NodeBuilder ) : string
The selected method as well as the input type determine the node type of this node.
| builder |
The current node builder. |
- Overrides: TempNode#getNodeType
- Returns: The node type.