class type jsobj =Encapsulation of Javascript values.object..end
method eval : string -> jsobjInvalidType if the value is not an object.method get : string -> jsobjInvalidType
if the value is not an object.method set : string -> jsobj -> unitInvalidType
if the value is not an object.method get_idx : int -> jsobjInvalidType
if the value is not an object.method set_idx : int -> jsobj -> unitInvalidType
if the value is not an object.method new_child : ?proto:jsobj ->
?active:jsobj active -> unit -> jsobjInvalidType if the value is not an object.method new_object : ?proto:jsobj ->
?active:jsobj active -> unit -> jsobjInvalidType if the value is not an object.method new_object_gen : ?proto:jsobj ->
?parent:jsobj ->
?active:jsobj active -> unit -> jsobjInvalidType if the value is not an object.method lambda : ?name:string ->
(jsobj -> jsobj array -> jsobj) ->
jsobj
A side effect of calling this method is to register the
closure in a global table (of the current runtime).
Only a call to destroy_runtime will free this table.
method string : string -> jsobjmethod int : int -> jsobjmethod bool : bool -> jsobjmethod _true : jsobjmethod _false : jsobjmethod null : jsobjmethod void : jsobjmethod float : float -> jsobjmethod array : jsobj array -> jsobj
method is_object : boolmethod is_bool : boolmethod is_int : boolmethod is_null : boolmethod is_void : boolmethod is_string : boolmethod is_number : boolmethod is_float : boolmethod is_array : boolmethod get_int : intInvalidType is the value is not an integer.method get_bool : boolInvalidType is the value is not a boolean.method get_string : stringInvalidType is the value is not a string.method get_float : floatInvalidType is the value is not a double.method to_string : stringmethod to_object : jsobjmethod to_bool : boolmethod to_float : floatmethod to_int : int
method destroy_runtime : unitmethod new_context : ?active:jsobj active -> unit -> jsobjmethod version : intmethod set_version : int -> unit