VM
Description
The VM class represents a virtual machine in LoomScript.
API overview
Constructor
VM
()
Attributes
Public attributes
| onReload: NativeDelegate |
native
Delegate that is called whenever the VM has reloaded |
| ticks: TickDelegate |
static
Delegate that is called whenever the main VM ticks |
Functions
Public functions
| close (): Void |
native Close the VM (internal) |
| dumpManagedNatives (): Void |
native Print a report showing information about all allocated native structures |
| getExecutingVM (): VM |
static native Return a reference to the currently executing VM |
| getStackSize (): Number |
native Return the depth of the underlying Lua stack (internal) |
| isJIT (): Boolean |
static native True when we are executing under the JIT |
| open (): Void |
native Open the VM (internal) |
Constructor
VM ()
Attributes
Functions
dumpManagedNatives (): Void
native
Print a report showing information about all allocated native structures.
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |