class type jsobj =Encapsulation of Javascript values.object
..end
method eval : string -> jsobj
InvalidType
if the value is not an object.method get : string -> jsobj
InvalidType
if the value is not an object.method set : string -> jsobj -> unit
InvalidType
if the value is not an object.method get_idx : int -> jsobj
InvalidType
if the value is not an object.method set_idx : int -> jsobj -> unit
InvalidType
if the value is not an object.method new_child : ?proto:jsobj ->
?active:jsobj active -> unit -> jsobj
InvalidType
if the value is not an object.method new_object : ?proto:jsobj ->
?active:jsobj active -> unit -> jsobj
InvalidType
if the value is not an object.method new_object_gen : ?proto:jsobj ->
?parent:jsobj ->
?active:jsobj active -> unit -> jsobj
InvalidType
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 -> jsobj
method int : int -> jsobj
method bool : bool -> jsobj
method _true : jsobj
method _false : jsobj
method null : jsobj
method void : jsobj
method float : float -> jsobj
method array : jsobj array -> jsobj
method is_object : bool
method is_bool : bool
method is_int : bool
method is_null : bool
method is_void : bool
method is_string : bool
method is_number : bool
method is_float : bool
method is_array : bool
method get_int : int
InvalidType
is the value is not an integer.method get_bool : bool
InvalidType
is the value is not a boolean.method get_string : string
InvalidType
is the value is not a string.method get_float : float
InvalidType
is the value is not a double.method to_string : string
method to_object : jsobj
method to_bool : bool
method to_float : float
method to_int : int
method destroy_runtime : unit
method new_context : ?active:jsobj active -> unit -> jsobj
method version : int
method set_version : int -> unit