Constructor
new LoopNode( params : Array.<any> )
Constructs a new loop node.
params |
Depending on the loop type, array holds different parameterization values for the loop. |
Methods
.getNodeType( builder : NodeBuilder ) : string
This method is overwritten since the node type is inferred based on the loop configuration.
builder |
The current node builder. |
- Overrides: Node#getNodeType
- Returns: The node type.
.getProperties( builder : NodeBuilder ) : Object
Returns properties about this node.
builder |
The current node builder. |
- Returns: The node properties.
.getVarName( index : number ) : string
Returns a loop variable name based on an index. The pattern is
0 = i, 1= j, 2= k and so on.
index |
The index. |
- Returns: The loop variable name.