wren-port ~master (2021-12-18T14:20:14.6369696)
Dub
Repo
WrenVM
wren
vm
Undocumented in source.
@
nogc
struct
WrenVM {
ObjClass
*
boolClass
;
ObjClass
*
classClass
;
ObjClass
*
fiberClass
;
ObjClass
*
fnClass
;
ObjClass
*
listClass
;
ObjClass
*
mapClass
;
ObjClass
*
nullClass
;
ObjClass
*
numClass
;
ObjClass
*
objectClass
;
ObjClass
*
rangeClass
;
ObjClass
*
stringClass
;
ObjFiber
*
fiber
;
ObjMap
*
modules
;
ObjModule
*
lastModule
;
size_t
bytesAllocated
;
size_t
nextGC
;
Obj
*
first
;
Obj
**
gray
;
int
grayCount
;
int
grayCapacity
;
Obj
*[
WREN_MAX_TEMP_ROOTS
]
tempRoots
;
int
numTempRoots
;
WrenHandle
*
handles
;
Value
*
apiStack
;
WrenConfiguration
config
;
struct
Compiler
via
import
wren
.
compiler
:
Compiler
;
;
Compiler
*
compiler
;
SymbolTable
methodNames
;
}
Members
Variables
apiStack
Value
*
apiStack
;
Undocumented in source.
boolClass
ObjClass
*
boolClass
;
Undocumented in source.
bytesAllocated
size_t
bytesAllocated
;
Undocumented in source.
classClass
ObjClass
*
classClass
;
Undocumented in source.
compiler
Compiler
*
compiler
;
Undocumented in source.
config
WrenConfiguration
config
;
Undocumented in source.
fiber
ObjFiber
*
fiber
;
Undocumented in source.
fiberClass
ObjClass
*
fiberClass
;
Undocumented in source.
first
Obj
*
first
;
Undocumented in source.
fnClass
ObjClass
*
fnClass
;
Undocumented in source.
gray
Obj
**
gray
;
Undocumented in source.
grayCapacity
int
grayCapacity
;
Undocumented in source.
grayCount
int
grayCount
;
Undocumented in source.
handles
WrenHandle
*
handles
;
Undocumented in source.
lastModule
ObjModule
*
lastModule
;
Undocumented in source.
listClass
ObjClass
*
listClass
;
Undocumented in source.
mapClass
ObjClass
*
mapClass
;
Undocumented in source.
methodNames
SymbolTable
methodNames
;
Undocumented in source.
modules
ObjMap
*
modules
;
Undocumented in source.
nextGC
size_t
nextGC
;
Undocumented in source.
nullClass
ObjClass
*
nullClass
;
Undocumented in source.
numClass
ObjClass
*
numClass
;
Undocumented in source.
numTempRoots
int
numTempRoots
;
Undocumented in source.
objectClass
ObjClass
*
objectClass
;
Undocumented in source.
rangeClass
ObjClass
*
rangeClass
;
Undocumented in source.
stringClass
ObjClass
*
stringClass
;
Undocumented in source.
tempRoots
Obj
*[
WREN_MAX_TEMP_ROOTS
]
tempRoots
;
Undocumented in source.
Meta
Source
See Implementation
wren
vm
aliases
Primitive
WrenBindForeignClassFn
WrenBindForeignMethodFn
WrenErrorFn
WrenFinalizerFn
WrenForeignMethodFn
WrenLoadModuleCompleteFn
WrenLoadModuleFn
WrenReallocateFn
WrenResolveModuleFn
WrenWriteFn
enums
WrenErrorType
WrenInterpretResult
WrenType
functions
wrenAbortFiber
wrenCall
wrenCollectGarbage
wrenCompileSource
wrenDeclareVariable
wrenDefineVariable
wrenEnsureSlots
wrenFinalizeForeign
wrenFindVariable
wrenFreeVM
wrenGetClass
wrenGetListCount
wrenGetListElement
wrenGetMapContainsKey
wrenGetMapCount
wrenGetMapValue
wrenGetModuleVariable
wrenGetSlotBool
wrenGetSlotBytes
wrenGetSlotCount
wrenGetSlotDouble
wrenGetSlotForeign
wrenGetSlotHandle
wrenGetSlotString
wrenGetSlotType
wrenGetUserData
wrenGetVariable
wrenHasModule
wrenHasVariable
wrenInitConfiguration
wrenInsertInList
wrenInterpret
wrenMakeCallHandle
wrenMakeHandle
wrenNewVM
wrenPopRoot
wrenPushRoot
wrenReallocate
wrenReleaseHandle
wrenRemoveMapValue
wrenSetListElement
wrenSetMapValue
wrenSetSlotBool
wrenSetSlotBytes
wrenSetSlotDouble
wrenSetSlotHandle
wrenSetSlotNewForeign
wrenSetSlotNewList
wrenSetSlotNewMap
wrenSetSlotNull
wrenSetSlotString
wrenSetUserData
manifest constants
WREN_MAX_TEMP_ROOTS
static functions
bindForeignClass
bindMethod
callForeign
captureUpvalue
checkArity
closeUpvalues
compileInModule
createClass
createForeign
defaultReallocate
endClass
findForeignMethod
getModule
getModuleVariable
importModule
methodNotFound
resolveModule
runInterpreter
runtimeError
setSlot
validateApiSlot
validateSuperclass
wrenCallFunction
wrenGetClassInline
wrenIsFalsyValue
wrenIsLocalName
structs
WrenConfiguration
WrenForeignClassMethods
WrenLoadModuleResult
WrenVM