aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel
diff options
context:
space:
mode:
authorGravatar bertot <bertot@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-02-09 08:18:03 +0000
committerGravatar bertot <bertot@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-02-09 08:18:03 +0000
commit3c992f8540afd7f76eb90a29301e143c465bf280 (patch)
tree6e9d602f643825bf139525a4b5c2d10caf708af4 /toplevel
parent9e7ff8ddb63d870e0d8e99d1049abc4d5502a471 (diff)
exported several functions that are used in the graphical interface pcoq.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1363 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel')
-rw-r--r--toplevel/vernacentries.mli9
1 files changed, 9 insertions, 0 deletions
diff --git a/toplevel/vernacentries.mli b/toplevel/vernacentries.mli
index 3ae29f09a..801eb83eb 100644
--- a/toplevel/vernacentries.mli
+++ b/toplevel/vernacentries.mli
@@ -22,3 +22,12 @@ val show_node : unit -> unit
(* This function can be used by any command that want to observe terms
in the context of the current goal, as for instance in pcoq *)
val get_current_context_of_args : vernac_arg list -> Proof_type.enamed_declarations * Environ.env
+
+(* This function is used to transform a qualified identifier into a
+ global reference, with a nice error message in case of failure.
+ It is used in pcoq. *)
+val global : Coqast.loc -> qualid -> global_reference;;
+
+(* this function is used to analyse the extra arguments in search commands.
+ It is used in pcoq. *)
+val inside_outside : vernac_arg list -> dir_path list * bool;;