VM

private class
system.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

_tick (): Void static
close (): Void native
dumpManagedNatives (): Void native
getExecutingVM (): VM static native
getStackSize (): Number native
isJIT (): Boolean static native
open (): Void native
tick (): Void native

Constructor

VM ()

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

_tick (): Void

static



close (): Void

native



dumpManagedNatives (): Void

native



getExecutingVM (): VM

static native



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.

getStackSize (): Number

native



getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

isJIT (): Boolean

static native



open (): Void

native



tick (): Void

native



toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.