package js_of_ocaml-compiler

  1. Overview
  2. Docs
module Debug : sig ... end
type one = {
  1. code : Code.program;
  2. cmis : Stdlib.StringSet.t;
  3. debug : Debug.t;
}
module Toc : sig ... end
val read_primitives : Toc.t -> in_channel -> string list
val from_exe : ?includes:string list -> ?toplevel:bool -> ?exported_unit:string list -> ?dynlink:bool -> ?debug:bool -> in_channel -> one
val from_cmo : ?includes:string list -> ?toplevel:bool -> ?debug:bool -> Cmo_format.compilation_unit -> in_channel -> one
val from_cma : ?includes:string list -> ?toplevel:bool -> ?debug:bool -> Cmo_format.library -> in_channel -> one
val from_channel : in_channel -> [ `Cmo of Cmo_format.compilation_unit | `Cma of Cmo_format.library | `Exe ]
val from_string : string array -> string -> Code.program * Debug.t
val predefined_exceptions : unit -> Code.program
OCaml

Innovation. Community. Security.