The class generates the code of a given node but returns another node in the output.
This can be used to call a method or node that does not return a value, i.e.
type void on an input where returning a value is required. Example:
Constructor
new BypassNode(outputNode, callNode)| Parameter | Type | Default Value |
|---|---|---|
| outputNode | Node | — |
| callNode | Node | — |
Constructs a new bypass node.
| Accessor | Type | Modifiers |
|---|---|---|
| get type | string | static |
| Method | Type | Modifiers |
|---|---|---|
| getNodeType | (builder: any) => string | — |
| generate | (builder: any) => null | string | Node | — |
Extends
Node| Parameter | Type | Default Value |
|---|---|---|
| outputNode | Node | — |
| callNode | Node | — |
Returns
BypassNode