Js_of_ocaml_compiler.Flow
type info = {
info_defs : def array; |
info_known_origins : Code.Var.Set.t Code.Var.Tbl.t; |
info_maybe_unknown : bool Code.Var.Tbl.t; |
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_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