package js_of_ocaml-compiler

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

Install

Dune Dependency

Authors

Maintainers

Sources

js_of_ocaml-5.7.2.tbz
sha256=d76f0748dbef45b68f5f6b66f1da2d7a462de64f1cd2932aa0740388e667793c
sha512=4d84f20eb60f9a61b82d8bf9d686ad0d44852addc0a3ffc553d124e488796ec2945bf38311922e57eec739a88346be200289055c56b90b3a22ae4354a073b38c

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 number_of_int32 : int32 -> t
Sourceval int32_of_number : t -> int32
Sourceval number_of_nativeint : nativeint -> t
Sourceval nativeint_of_number : t -> nativeint
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 strict_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 : ('b -> 'a) -> ('b, 'a) meth_callback
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.