aboutsummaryrefslogtreecommitdiffhomepage
path: root/ltac/tacentries.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ltac/tacentries.mli')
-rw-r--r--ltac/tacentries.mli8
1 files changed, 8 insertions, 0 deletions
diff --git a/ltac/tacentries.mli b/ltac/tacentries.mli
index 3cf0bc5cc..b60d8f478 100644
--- a/ltac/tacentries.mli
+++ b/ltac/tacentries.mli
@@ -19,3 +19,11 @@ val add_ml_tactic_notation : ml_tactic_name ->
Tacexpr.raw_tactic_expr Egramml.grammar_prod_item list list -> unit
val register_ltac : bool -> Vernacexpr.tacdef_body list -> unit
+
+(** {5 Adding tactic quotations} *)
+
+val create_ltac_quotation : string ->
+ ('grm Loc.located -> raw_tactic_arg) -> ('grm Pcoq.Gram.entry * int option) -> unit
+(** [create_ltac_quotation name f e] adds a quotation rule to Ltac, that is,
+ Ltac grammar now accepts arguments of the form ["name" ":" "(" <e> ")"], and
+ generates an argument using [f] on the entry parsed by [e]. *)