package js_of_ocaml-compiler

  1. Overview
  2. Docs
Compiler from OCaml bytecode to JavaScript

Install

Dune Dependency

Authors

Maintainers

Sources

js_of_ocaml-4.1.0.tbz
sha256=91793f29a5af3deaba3f7d35ceab11e739cfe0a5cc30556f6201461a6d4236ef
sha512=43f91c1f37939dfc894558a23a8ca163e6f316db442bdd0a5909bd095f5b0eb596d0943883452f4b78641da71222a775476877ea9ba0500583700d1fb35e04a5

doc/js_of_ocaml-compiler.runtime/Jsoo_runtime/Js/index.html

Module Jsoo_runtime.JsSource

Sourcetype t
Sourcetype 'a js_array = t
Sourcetype ('a, 'b) meth_callback = t
Sourceval string : string -> t
Sourceval to_string : t -> string
Sourceval bytestring : string -> t
Sourceval to_bytestring : t -> string
Sourceval bool : bool -> t
Sourceval to_bool : t -> bool
Sourceval array : 'a array -> t
Sourceval to_array : t -> 'a array
Sourceval number_of_float : float -> t
Sourceval float_of_number : t -> float
Sourceval typeof : t -> t
Sourceval instanceof : t -> t -> bool
Sourceval debugger : unit -> unit
Sourceval get : t -> t -> t
Sourceval set : t -> t -> t -> unit
Sourceval delete : t -> t -> unit
Sourceval call : t -> t -> t array -> t
Sourceval fun_call : t -> t array -> t
Sourceval meth_call : t -> string -> t array -> t
Sourceval new_obj : t -> t array -> t
Sourceval new_obj_arr : t -> t js_array -> t
Sourceval obj : (string * t) array -> t
Sourceval equals : t -> t -> bool
Sourceval pure_expr : (unit -> 'a) -> 'a
Sourceval eval_string : string -> 'a
Sourceval js_expr : string -> 'a
Sourceval pure_js_expr : string -> 'a
Sourceval callback_with_arguments : (t js_array -> 'b) -> ('c, t js_array -> 'b) meth_callback
Sourceval callback_with_arity : int -> ('a -> 'b) -> ('c, 'a -> 'b) meth_callback
Sourceval meth_callback : ('b -> 'a) -> ('b, 'a) meth_callback
Sourceval meth_callback_with_arity : int -> ('b -> 'a) -> ('b, 'a) meth_callback
Sourceval meth_callback_with_arguments : ('b -> t js_array -> 'a) -> ('b, t js_array -> 'a) meth_callback
Sourceval wrap_callback : ('a -> 'b) -> ('c, 'a -> 'b) meth_callback
Sourceval wrap_meth_callback : ('a -> 'b) -> ('a, 'b) meth_callback
OCaml

Innovation. Community. Security.