VirtualMachine class

The virtual machine is actually just a set of listeners that are combined and called when a command is received Because I'm a terrible programmer we have a cyclc dependency here - could be broken with a VM interface but I'm lazy today

Implementers
Available extensions

Constructors

VirtualMachine()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildMacro(Identifier start, Identifier end, DeferredCallback callback) → void

Available on VirtualMachine, provided by the MacroBuilderApi extension

defer(int seenValueCount, DeferredCallback callback) → void

Available on VirtualMachine, provided by the DeferredExecution extension

defer a call until we've seen enough values go past
deferUntil(String delimiter, DeferredCallback callback) → void

Available on VirtualMachine, provided by the DeferredExecution extension

duplicate() → dynamic

Available on VirtualMachine, provided by the StackApi extension

eval(dynamic value) → dynamic
hasListener(Type listener) bool
infix(DartFunction callback, {int rhsValueCount = 1, int lhsValueCount = 1}) → void

Available on VirtualMachine, provided by the DeferredExecution extension

loadStdLib() → void

Available on VirtualMachine, provided by the StdLib extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop() → dynamic

Available on VirtualMachine, provided by the DartSimpleApi extension

pop() → dynamic

Available on VirtualMachine, provided by the StackApi extension

popListener() ValueListener
popScope() → void

Available on VirtualMachine, provided by the DictionaryApi extension

push(dynamic value) → void

Available on VirtualMachine, provided by the DartSimpleApi extension

push(dynamic value) → void

Available on VirtualMachine, provided by the StackApi extension

pushListener(ValueListener listener) → void
pushScope(Dictionary parentScope) → void

Available on VirtualMachine, provided by the DictionaryApi extension

removeListener(ValueListener listener) bool
rotate(int depth, int steps) → dynamic

Available on VirtualMachine, provided by the StackApi extension

scope() Dictionary

Available on VirtualMachine, provided by the DictionaryApi extension

set(String key, dynamic value, bool shadows) → void

Available on VirtualMachine, provided by the DictionaryApi extension

swap() → dynamic

Available on VirtualMachine, provided by the StackApi extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) → dynamic

Available on VirtualMachine, provided by the DictionaryApi extension

operator []=(String key, dynamic value) → void

Available on VirtualMachine, provided by the DictionaryApi extension