module Duktape::API::Push

Direct including types

Defined in:

duktape/api/push.cr

Instance Method Summary

Instance Method Detail

def <<(value : Bool) #

[View source]
def <<(value : Int::Signed) #

[View source]
def <<(value : Int::Unsigned) #

[View source]
def <<(value : String) #

[View source]
def <<(value : Nil) #

[View source]
def <<(value : Float) #

[View source]
def push_array #

[View source]
def push_bare_array #

[View source]
def push_bare_object #

[View source]
def push_boolean(value : Bool) #

[View source]
def push_buffer(size : Int, resizable = false) #

[View source]
def push_context_dump #

[View source]
def push_current_function #

[View source]
def push_current_thread #

[View source]
def push_dynamic_buffer(size : Int) #

[View source]
def push_error_object(err : Int32, msg : String) #

[View source]
def push_error_object(err : LibDUK::Err, msg : String) #

[View source]
def push_external_buffer #

[View source]
def push_false #

[View source]
def push_fixed_buffer(size : Int) #

[View source]
def push_global_object #

[View source]
def push_global_proc(name : String, nargs : Int32 = 0, &block : LibDUK::Context -> Int32) #

Experimental


[View source]
def push_global_stash #

[View source]
def push_heap_stash #

[View source]
def push_heapptr(ptr : Pointer(Void)) #

[View source]
def push_int(value : Int) #

[View source]
def push_lstring(str : String, len : Int) #

[View source]
def push_nan #

[View source]
def push_new_target #

[View source]
def push_null #

[View source]
def push_number(value : Float) #

[View source]
def push_object #

[View source]
def push_pointer(ptr : Pointer(Void)) #

[View source]
def push_proc(nargs : Int32 = 0, &block : LibDUK::Context -> Int32) #

Experimental


[View source]
def push_proxy #

[View source]
def push_string(str : String) #

[View source]
def push_this #

[View source]
def push_thread #

[View source]
def push_thread_new_globalenv #

[View source]
def push_thread_stash(target_ctx : LibDUK::Context) #

[View source]
def push_thread_stash(target_ctx : Duktape::Context) #

[View source]
def push_true #

[View source]
def push_uint(value : UInt8 | UInt16 | UInt32 | UInt64) #

[View source]
def push_undefined #

[View source]