class Wren::VM
- Wren::VM
- Reference
- Object
Defined in:
wren/vm.crConstructors
Instance Method Summary
- #bind(klass)
- #bind_class(klass : String, mod : String = "main", &block : LibWren::ForeignMethodFn)
- #bind_method(klass : String, static? : Bool, signature : String, mod : String = "main", &block : LibWren::ForeignMethodFn)
- #call(klass : String, signature : String, args = [] of Value, mod = "main") : Value
- #call(handle : Pointer(LibWren::Handle), signature : String, args = [] of Value, static = false, mod = "main") : Value
- #call(value : Value, signature : String, args = [] of Value, static = false, mod = "main") : Value
- #config : Config
- #construct(klass : String, signature : String, args = [] of Value, mod = "main") : Pointer(LibWren::Handle)
- #finalize
- #get_slot(slot : Int32) : Value
- #interpret(mod : String = "main", & : Proc(String)) : LibWren::InterpretResult
- #interpret(script : String, mod : String = "main") : LibWren::InterpretResult
- #set_slot(slot : Int32, value : Value)
- #set_slots(args : Array(Value), start : Int32 = 0)
Constructor Detail
Instance Method Detail
def bind_class(klass : String, mod : String = "main", &block : LibWren::ForeignMethodFn)
#
def bind_method(klass : String, static? : Bool, signature : String, mod : String = "main", &block : LibWren::ForeignMethodFn)
#
def call(handle : Pointer(LibWren::Handle), signature : String, args = [] of Value, static = false, mod = "main") : Value
#
def call(value : Value, signature : String, args = [] of Value, static = false, mod = "main") : Value
#
def construct(klass : String, signature : String, args = [] of Value, mod = "main") : Pointer(LibWren::Handle)
#