Constructor
(private) new _StackFrame(warpMode)
Parameters:
Name | Type | Description |
---|---|---|
warpMode |
boolean | Whether this level of the stack is warping |
Members
executionContext :Object
A context passed to block implementations.
Type:
- Object
isLoop :boolean
Whether this level of the stack is a loop.
Type:
- boolean
justReported :Any
Reported value from just executed block.
Type:
- Any
params :Object
Procedure parameters.
Type:
- Object
reported :Object
Persists reported inputs during async block.
Type:
- Object
reporting :string
The active block that is waiting on a promise.
Type:
- string
waitingReporter :string
Name of waiting reporter.
Type:
- string
warpMode :boolean
Whether this level is in warp mode. Is set by some legacy blocks and "turbo mode"
Type:
- boolean
Methods
(static) create(warpMode) → {_StackFrame}
Create or recycle a stack frame object.
Parameters:
Name | Type | Description |
---|---|---|
warpMode |
boolean | Enable warpMode on this frame. |
Returns:
The clean stack frame with correct warpMode setting.
- Type
- _StackFrame
(static) release(stackFrame)
Put a stack frame object into the recycle bin for reuse.
Parameters:
Name | Type | Description |
---|---|---|
stackFrame |
_StackFrame | The frame to reset and recycle. |
reset() → {_StackFrame}
Reset all properties of the frame to pristine null and false states. Used to recycle.
Returns:
this
- Type
- _StackFrame
reuse(warpModenullable) → {_StackFrame}
Reuse an active stack frame in the stack.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
warpMode |
boolean |
<nullable> |
defaults to current warpMode |
Returns:
this
- Type
- _StackFrame