aboutsummaryrefslogtreecommitdiff
path: root/tactics/tacenv.mli
diff options
context:
space:
mode:
Diffstat (limited to 'tactics/tacenv.mli')
-rw-r--r--tactics/tacenv.mli21
1 files changed, 21 insertions, 0 deletions
diff --git a/tactics/tacenv.mli b/tactics/tacenv.mli
new file mode 100644
index 0000000000..8fada39209
--- /dev/null
+++ b/tactics/tacenv.mli
@@ -0,0 +1,21 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2012 *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+open Names
+open Tacexpr
+
+(** This module centralizes the various ways of registering tactics. *)
+
+type alias = KerName.t
+(** Type of tactic alias, used in the [TacAlias] node. *)
+
+val register_alias : alias -> DirPath.t -> glob_tactic_expr -> unit
+(** Register a tactic alias. *)
+
+val interp_alias : alias -> (DirPath.t * glob_tactic_expr)
+(** Recover the the body of an alias. *)