Module Parsing0.Depend

Module dependencies.

Warning: this module is unstable and part of compiler-libs.

module String = Misc.Stdlib.String;
type map_tree =
  1. | Node(String.Set.t, bound_map)
;
and bound_map = String.Map.t(map_tree);
let make_leaf: string => map_tree;
let make_node: bound_map => map_tree;
let weaken_map: String.Set.t => map_tree => map_tree;
let free_structure_names: ref(String.Set.t);
let pp_deps: ref(list(string));

dependencies found by preprocessing tools

let open_module: bound_map => Longident.t => bound_map;
let add_use_file: bound_map => list(Parsetree.toplevel_phrase) => unit;
let add_signature: bound_map => Parsetree.signature => unit;
let add_implementation: bound_map => Parsetree.structure => unit;
let add_implementation_binding: bound_map => Parsetree.structure => bound_map;
let add_signature_binding: bound_map => Parsetree.signature => bound_map;