VirtualMachine

class VirtualMachine(program: ProgramNode, symbolTableVisitor: SymbolTableVisitor, statements: MutableMap<Int, StatementNode>, fileLines: List<String>, stylesheet: Stylesheet, returnBoundaries: Boolean)

Virtual Machine

Constructors

VirtualMachine
Link copied to clipboard
fun VirtualMachine(program: ProgramNode, symbolTableVisitor: SymbolTableVisitor, statements: MutableMap<Int, StatementNode>, fileLines: List<String>, stylesheet: Stylesheet, returnBoundaries: Boolean = false)
Creates a new virtual machine

Types

Frame
Link copied to clipboard
inner class Frame(pc: Int, finalLine: Int, variables: MutableMap<String, ExecValue>, depth: Int, showMoveToLine: Boolean, stepInto: Boolean, mostRecentlyUpdatedQueue: LinkedList<Int>, displayedDataMap: MutableMap<Int, Pair<String, ExecValue>>, updateVariableState: Boolean, hideCode: Boolean, functionNamePrefix: String, localDataStructures: MutableSet<String>)
Frame

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
runProgram
Link copied to clipboard
fun runProgram(): Pair<ExitStatus, List<ManimInstr>>
toString
Link copied to clipboard
open fun toString(): String