jon.recoil.org

Module Depend

Module dependencies.

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

module String = Misc.Stdlib.String
type map_tree =
  1. | Node of String.Set.t * Depend.bound_map
val make_leaf : string -> Depend.map_tree
val free_structure_names : String.Set.t Stdlib.ref

Collect free module identifiers in the a.s.t.

val pp_deps : string list Stdlib.ref

Dependencies found by preprocessing tools.

val add_use_file : Depend.bound_map -> Parsetree.toplevel_phrase list -> unit
val add_signature : Depend.bound_map -> Parsetree.signature -> unit
val add_implementation : Depend.bound_map -> Parsetree.structure -> unit
val add_implementation_binding : Depend.bound_map -> Parsetree.structure -> Depend.bound_map
val add_signature_binding : Depend.bound_map -> Parsetree.signature -> Depend.bound_map