module Duktape::API::Stack

Direct including types

Defined in:

duktape/api/stack.cr

Instance Method Summary

Instance Method Detail

def check_stack(extra : Int32) #

[View source]
def check_stack_top(top : Int32) #

[View source]
def copy(from : Int32, to : Int32) #

[View source]
def dup(from : Int32) #

[View source]
def dup_top #

[View source]
def empty? #

[View source]
def get_top #

[View source]
def get_top_index #

[View source]
def insert(to : Int32) #

[View source]
def is_valid_index(index : LibDUK::Index) #

[View source]
def normalize_index(index : LibDUK::Index) #

[View source]
def pull(from : LibDUK::Index) #

[View source]
def remove(index : LibDUK::Index) #

[View source]
def replace(to : Int32) #

[View source]
def require_normalize_index(index : LibDUK::Index) #

[View source]
def require_stack(extra : Int32) #

[View source]
def require_stack_top(top : Int32) #

[View source]
def require_top_index #

[View source]
def require_valid_index(index : LibDUK::Index) #

[View source]
def set_top(index : LibDUK::Index) #

[View source]
def swap(idx_1 : Int32, idx_2 : Int32) #

[View source]
def swap_top(idx : Int32) #

[View source]
def valid_index?(index : LibDUK::Index) #

[View source]