DataStructureExecutor

interface DataStructureExecutor

Abstract Data Structure Executor. Maintains the runtime operations of a data structure.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
executeConstructor
Link copied to clipboard
abstract fun executeConstructor(node: ConstructorNode, dsUID: String, assignLHS: AssignLHS): ExecValue
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

animationSpeeds
Link copied to clipboard
abstract val animationSpeeds: ArrayDeque<Double>
: Animation speeds deque maintaining speeds at different points of execution.
codeTextVariable
Link copied to clipboard
abstract val codeTextVariable: String
: Python identifier of code block.
dataStructureBoundaries
Link copied to clipboard
abstract val dataStructureBoundaries: MutableMap<String, BoundaryShape>
: Map from data structure identifier it's shape boundary.
frame
Link copied to clipboard
abstract val frame: VirtualMachine.Frame
: Frame executor is in.
linearRepresentation
Link copied to clipboard
abstract val linearRepresentation: MutableList<ManimInstr>
: Reference to linear representation list being constructed.
locallyCreatedDynamicVariables
Link copied to clipboard
abstract val locallyCreatedDynamicVariables: MutableSet<String>
stylesheet
Link copied to clipboard
abstract val stylesheet: Stylesheet
: Stylesheet object provided by user for styling.
variableNameGenerator
Link copied to clipboard
abstract val variableNameGenerator: VariableNameGenerator
: Top level VariableNameGenerator.
variables
Link copied to clipboard
abstract val variables: MutableMap<String, ExecValue>
: Map from identifier of a variable in frame to its current execution value.

Inheritors

ArrayExecutor
Link copied to clipboard
BinaryTreeExecutor
Link copied to clipboard
StackExecutor
Link copied to clipboard