From 4a268c0ddd21d4e8e07495c362757c4c6f477fcc Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Mon, 21 Jul 2014 16:52:52 +0200 Subject: Unifying locate code, also making it more powerful: it is now able to find any prefix of the given qualid. --- library/nametab.mli | 2 ++ 1 file changed, 2 insertions(+) (limited to 'library/nametab.mli') diff --git a/library/nametab.mli b/library/nametab.mli index 1289a6745..eb2cecc59 100644 --- a/library/nametab.mli +++ b/library/nametab.mli @@ -113,6 +113,7 @@ val locate_all : qualid -> global_reference list val locate_extended_all : qualid -> extended_global_reference list val locate_extended_all_tactic : qualid -> ltac_constant list val locate_extended_all_dir : qualid -> global_dir_reference list +val locate_extended_all_modtype : qualid -> module_path list (** Mapping a full path to a global reference *) @@ -143,6 +144,7 @@ val full_name_module : qualid -> DirPath.t val path_of_syndef : syndef_name -> full_path val path_of_global : global_reference -> full_path val dirpath_of_module : module_path -> DirPath.t +val path_of_modtype : module_path -> full_path val path_of_tactic : ltac_constant -> full_path (** Returns in particular the dirpath or the basename of the full path -- cgit v1.2.3