1Depend(3) OCaml library Depend(3)
2
3
4
6 Depend - Module dependencies.
7
9 Module Depend
10
12 Module Depend
13 : sig end
14
15
16 Module dependencies.
17
18 Warning: this module is unstable and part of Compiler_libs .
19
20
21
22
23
24 module String : (module Misc.Stdlib.String)
25
26
27
28
29 type map_tree =
30 | Node of String.Set.t * bound_map
31
32
33
34
35 type bound_map = map_tree String.Map.t
36
37
38
39
40
41 val make_leaf : string -> map_tree
42
43
44
45
46 val make_node : bound_map -> map_tree
47
48
49
50
51 val weaken_map : String.Set.t -> map_tree -> map_tree
52
53
54
55
56 val free_structure_names : String.Set.t ref
57
58
59
60
61 val pp_deps : string list ref
62
63 dependencies found by preprocessing tools
64
65
66
67 val open_module : bound_map -> Longident.t -> bound_map
68
69
70
71
72 val add_use_file : bound_map -> Parsetree.toplevel_phrase list -> unit
73
74
75
76
77 val add_signature : bound_map -> Parsetree.signature -> unit
78
79
80
81
82 val add_implementation : bound_map -> Parsetree.structure -> unit
83
84
85
86
87 val add_implementation_binding : bound_map -> Parsetree.structure ->
88 bound_map
89
90
91
92
93 val add_signature_binding : bound_map -> Parsetree.signature ->
94 bound_map
95
96
97
98
99
100
101OCamldoc 2021-07-22 Depend(3)