package js_of_ocaml-compiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Fragment : sig ... end
val reset : unit -> unit
val parse_file : string -> Fragment.t list
val parse_string : string -> Fragment.t list
val parse_builtin : Builtins.File.t -> Fragment.t list
val load_files : target_env:Target_env.t -> string list -> unit
val load_fragments : target_env:Target_env.t -> filename:string -> Fragment.t list -> unit
type state
type always_required = {
  1. filename : string;
  2. program : Javascript.program;
  3. requires : string list;
}
type output = {
  1. runtime_code : Javascript.program;
  2. always_required_codes : always_required list;
}
val init : unit -> state
val resolve_deps : ?linkall:bool -> state -> Stdlib.StringSet.t -> state * Stdlib.StringSet.t
val get_provided : unit -> Stdlib.StringSet.t
val all : state -> string list
val origin : name:string -> string option
OCaml

Innovation. Community. Security.