aboutsummaryrefslogtreecommitdiff
path: root/interp/syntax_def.mli
diff options
context:
space:
mode:
Diffstat (limited to 'interp/syntax_def.mli')
-rw-r--r--interp/syntax_def.mli24
1 files changed, 24 insertions, 0 deletions
diff --git a/interp/syntax_def.mli b/interp/syntax_def.mli
new file mode 100644
index 0000000000..77873f8f67
--- /dev/null
+++ b/interp/syntax_def.mli
@@ -0,0 +1,24 @@
+(************************************************************************)
+(* * The Coq Proof Assistant / The Coq Development Team *)
+(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *)
+(* <O___,, * (see CREDITS file for the list of authors) *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(* * (see LICENSE file for the text of the license) *)
+(************************************************************************)
+
+open Names
+open Notation_term
+
+(** Syntactic definitions. *)
+
+type syndef_interpretation = (Id.t * subscopes) list * notation_constr
+
+val declare_syntactic_definition : bool -> Id.t ->
+ Flags.compat_version option -> syndef_interpretation -> unit
+
+val search_syntactic_definition : ?loc:Loc.t -> KerName.t -> syndef_interpretation
+
+val search_filtered_syntactic_definition : ?loc:Loc.t ->
+ (syndef_interpretation -> 'a option) -> KerName.t -> 'a option