class Medusa::Context

Included Modules

Defined in:

medusa/context.cr

Constructors

Instance Method Summary

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]