Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
medusa
master
Engine
Glue
QuickJS
SequentialContainer
Medusa
API
Eval
QuickJS
Function
QuickJS
Get
QuickJS
Set
QuickJS
Binding
Context
QuickJS
Runtime
QuickJS
Value
QuickJS
QuickJS
Built with Crystal 1.10.0
2023-10-22 21:08:04 UTC
class
Medusa::
Context
Medusa::Context
Reference
Object
Included Modules
Medusa::API::Eval
Medusa::API::Function
Medusa::API::Get
Medusa::API::Set
Defined in:
medusa/context.cr
Constructors
.new
(rt : QuickJS::JSRuntime)
Instance Method Summary
#to_unsafe
: Pointer(Void)
Instance methods inherited from module
Medusa::API::Set
set_property_str(this_obj : QuickJS::JSValue, prop : String, val : QuickJS::JSValue) : LibC::Int
set_property_str
Instance methods inherited from module
Medusa::API::Get
get_exception : Value
get_exception
,
get_global_object : Value
get_global_object
,
get_property_str(object : Value, prop : String)
get_property_str
Instance methods inherited from module
Medusa::API::Function
new_c_function(function_pointer : QuickJS::JSCFunction, name : String, length : LibC::Int) : Value
new_c_function
,
new_c_function_pointer(procedure : Proc(QuickJS::JSContext, QuickJS::JSValue, LibC::Int, Pointer(QuickJS::JSValue), QuickJS::JSValue)) : QuickJS::JSCFunction
new_c_function_pointer
Instance methods inherited from module
Medusa::API::Eval
eval_string(input : String, eval_flag : QuickJS::Flag =
QuickJS
::
Flag
::
STRICT
) : Value
eval_string
Instance methods inherited from module
Medusa::API::Get
get_exception : Value
get_exception
,
get_global_object : Value
get_global_object
,
get_property_str(object : Value, prop : String)
get_property_str
Constructor Detail
def self.
new
(rt : QuickJS::JSRuntime)
#
[
View source
]
Instance Method Detail
def
to_unsafe
: Pointer(Void)
#
[
View source
]