Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
medusa
master
Glue
QuickJS
SequentialContainer
Medusa
API
Eval
QuickJS
Function
QuickJS
Binding
Constants
Context
QuickJS
Engine
QuickJS
Exceptions
InternalException
RuntimeException
QuickJS
TypeException
Runtime
QuickJS
ValueWrapper
QuickJS
Generated using Crystal 1.14.0
2024-12-03 13:58:30 UTC
class
Medusa::
Context
Medusa::Context
Reference
Object
Included Modules
Medusa::API::Eval
Medusa::API::Function
Defined in:
medusa/context.cr
Constructors
.new
(runtime : QuickJS::JSRuntime)
Instance Method Summary
#finalize
#to_unsafe
: Pointer(Void)
Instance methods inherited from module
Medusa::API::Function
new_c_function(function_pointer : QuickJS::JSCFunction, name : String, length : LibC::Int) : ValueWrapper
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
, etag : String =
"<input>"
) : ValueWrapper
eval_string
Constructor Detail
def self.
new
(runtime : QuickJS::JSRuntime)
#
[
View source
]
Instance Method Detail
def
finalize
#
[
View source
]
def
to_unsafe
: Pointer(Void)
#
[
View source
]