This module uses cache management to create temporary variables if the node is used more than once to prevent duplicate calculations.
The class acts as a base class for many other nodes types.
Constructor
new TempNode(nodeType?)| Parameter | Type | Default Value |
|---|---|---|
| nodeType? | null | string | null |
Constructs a temp node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| isTempNode | boolean | — | |
| Method | Type | |
|---|---|---|
| hasDependencies | (builder: NodeBuilder) => boolean | |
| build | (builder: any, output: any) => any | |
Extends
Node