package js_of_ocaml-compiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type def =
  1. | Phi of Code.Var.Set.t
  2. | Expr of Code.expr
  3. | Param
type info = {
  1. info_defs : def array;
  2. info_known_origins : Code.Var.Set.t Code.Var.Tbl.t;
  3. info_maybe_unknown : bool Code.Var.Tbl.t;
  4. info_possibly_mutable : bool array;
}
val get_approx : info -> (Code.Var.Set.elt -> 'b) -> 'b -> ('b -> 'b -> 'b) -> Code.Var.Tbl.key -> 'b
val the_def_of : info -> Code.prim_arg -> Code.expr option
val the_const_of : info -> Code.prim_arg -> Code.constant option
val the_string_of : info -> Code.prim_arg -> string option
val the_native_string_of : info -> Code.prim_arg -> string option
val the_int : info -> Code.prim_arg -> int32 option
val update_def : info -> Code.Var.t -> Code.expr -> unit
val f : ?skip_param:bool -> Code.program -> Code.program * info