Array Executor
class ArrayExecutor(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
Array Executor
Constructors
ArrayExecutor
Link copied to clipboard
fun ArrayExecutor(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 Array Executor with runtime operations defined inside.
Functions
execute2DArrayMethodCall
Link copied to clipboard
fun execute2DArrayMethodCall(node: MethodCallNode, ds: Array2DValue): ExecValue
Content copied to clipboard
executeArrayElem
Link copied to clipboard
fun executeArrayElem(node: ArrayElemNode, identifier: AssignLHS, subtitleExpression: Boolean): ExecValue
Content copied to clipboard
executeArrayElemAssignment
Link copied to clipboard
fun executeArrayElemAssignment(arrayElemNode: ArrayElemNode, assignedValue: ExecValue): ExecValue
Content copied to clipboard
executeArrayMethodCall
Link copied to clipboard
fun executeArrayMethodCall(node: MethodCallNode, ds: ArrayValue): ExecValue
Content copied to clipboard
executeConstructor
Link copied to clipboard
open override fun executeConstructor(node: ConstructorNode, dsUID: String, assignLHS: AssignLHS): ExecValue
Content copied to clipboard
executeInternalArrayMethodCall
Link copied to clipboard
fun executeInternalArrayMethodCall(node: InternalArrayMethodCallNode): 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