Module Oug_analyze


module Oug_analyze: sig .. end
Top module to build graph from ocaml typedtrees ans signatures.


Analysing .ml and .mli files



type ocaml_options = {
   includes : string list;
   nolabels : bool;
   pp : string option;
   rectypes : bool;
}
val default_ocaml_options : ocaml_options
val analyze_ml : ocaml_options -> string -> Oug_mod.t
val analyze_mli : ocaml_options -> string -> Oug_mod.t
val analyze_all_impl_files : ocaml_options -> string list -> Oug_mod.t

Handling graphs


val gather_graphs : ?data:[ `Raw ] Oug_data.t -> Oug_mod.t list -> [ `Raw ] Oug_data.t
Gather module graphs into one graph.
data : can be used to give a starting graph.
val load_ouf : string -> Oug_mod.t
Load a module graph from a file.
val store_ouf : string -> Oug_mod.t -> unit
Store a module graph into a file.

Parsing filter language


val parse_filter : string -> Oug_lang.filter
Build a filter from the given string.
Raises Oug_lang.Parse_error in case of parsing error.
val parse_phrases : string -> Oug_lang.phrase list
Same as Oug_analyze.parse_filter but parses language phrases.