From 2077172910ed7c2bcd26e1f6d74a0ed5f4e629fb Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 8 Jun 2005 03:20:06 +0000 Subject: optional graph of dependencies (doesn't handle methods yet) --- perl_checker.src/global_checks.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl_checker.src/global_checks.mli') diff --git a/perl_checker.src/global_checks.mli b/perl_checker.src/global_checks.mli index 2e60613..197ba3e 100644 --- a/perl_checker.src/global_checks.mli +++ b/perl_checker.src/global_checks.mli @@ -7,6 +7,7 @@ type state = { methods : (string, (pos * variable_used ref * prototype option) list) Hashtbl.t ; global_vars_used : ((context * string * string) * pos) list ref ; packages_being_classes : (string, unit) Hashtbl.t ; + packages_dependencies : (string * string, unit) Hashtbl.t ; } val default_per_files : unit -> (string, per_file) Hashtbl.t @@ -20,3 +21,5 @@ val get_methods_available : state -> state val read_packages_from_cache : (string, per_file) Hashtbl.t -> string -> unit val write_packages_cache : (string, per_file) Hashtbl.t -> string -> unit + +val generate_package_dependencies_graph : (string * string, unit) Hashtbl.t -> string -> unit -- cgit v1.2.1