Stack Executor
class StackExecutor(variables: MutableMap<String, ExecValue>, linearRepresentation: MutableList<ManimInstr>, frame: VirtualMachine.Frame, stylesheet: Stylesheet, animationSpeeds: ArrayDeque<Double>, dataStructureBoundaries: MutableMap<String, BoundaryShape>, variableNameGenerator: VariableNameGenerator, codeTextVariable: String, locallyCreatedDynamicVariables: MutableSet<String>) : DataStructureExecutor
Content copied to clipboard
Stack Executor
Constructors
StackExecutor
Link copied to clipboard
fun StackExecutor(variables: MutableMap<String, ExecValue>, linearRepresentation: MutableList<ManimInstr>, frame: VirtualMachine.Frame, stylesheet: Stylesheet, animationSpeeds: ArrayDeque<Double>, dataStructureBoundaries: MutableMap<String, BoundaryShape>, variableNameGenerator: VariableNameGenerator, codeTextVariable: String, locallyCreatedDynamicVariables: MutableSet<String>)
Content copied to clipboard
Creates a new StackExecutor with runtime operations defined inside for the binary tree.
Functions
executeConstructor
Link copied to clipboard
open override fun executeConstructor(node: ConstructorNode, dsUID: String, assignLHS: AssignLHS): ExecValue
Content copied to clipboard
executeStackMethodCall
Link copied to clipboard
fun executeStackMethodCall(node: MethodCallNode, ds: StackValue, insideMethodCall: Boolean, isExpression: Boolean): ExecValue
Content copied to clipboard
Properties
animationSpeeds
Link copied to clipboard
codeTextVariable
Link copied to clipboard
dataStructureBoundaries
Link copied to clipboard
open override val dataStructureBoundaries: MutableMap<String, BoundaryShape>
Content copied to clipboard
frame
Link copied to clipboard
linearRepresentation
Link copied to clipboard
locallyCreatedDynamicVariables
Link copied to clipboard
stylesheet
Link copied to clipboard
variableNameGenerator
Link copied to clipboard
variables
Link copied to clipboard