You can search for identifiers within the package.
in-package search v0.2.0
tiny_languages.javascript
Js_value
type value =
| Undefined
| Null
| Bool of bool
| Number of float
| String of string
| Object of obj
and obj = {
id : int;
mutable props : (string * value ref) list;
kind : kind;
mutable proto : obj option;
}
and kind =
| Plain
| Array of items
| Closure of closure
| Host_function of string * this:value -> value list -> value
| Host_object of host
| Regexp of Js_regexp.t
and host = {
class_name : string;
get : string -> value;
set : string -> value -> unit;
show : unit -> string;
and items = {
mutable elements : value array;
mutable length : int;
and closure = {
func : Js_ast.func;
scope : scope;
this : value option;
and scope = {
vars : (string, binding) Hashtbl.t;
parent : scope option;
and binding = {
mutable value : value;
constant : bool;
exception Throw of value
val new_object : unit -> obj
val new_array : value list -> obj
val host_function : string -> (this:value -> value list -> value) -> value
val host_object : host -> value
val get_own : obj -> string -> value option
val set_own : obj -> string -> value -> unit
val keys : obj -> string list
val array_items : obj -> value list
val error : string -> string -> value
val throw : string -> string -> 'a
val typeof : value -> string
val truthy : value -> bool
val to_primitive : value -> value
val to_string : value -> string
val to_number : value -> float
val strict_equal : value -> value -> bool
val display : value -> string
val to_json : value -> string option