StackNode

Last modified: Jun 30, 2024

Stack is a helper for Nodes that need to produce stack-based code instead of continuous flow. They are usually needed in cases like If, Else.

Constructor

new StackNode(parent?)
ParameterTypeDefault Value
parent?null | StackNodenull

Constructs a new stack node.

AccessorType

Properties

PropertyTypeDefault Value
nodesArray<Node>
outputNodenull | Node
parentnull | StackNode
_currentCondConditionalNode
_expressionNodeNode
_currentNodeNode
isStackNodeboolean
MethodType

Extends

Node

stack

TSL function for creating a stack node.

ParameterTypeDefault Value
parent?StackNode

Returns

StackNode