aboutsummaryrefslogtreecommitdiffhomepage
path: root/intf/constrexpr.ml
diff options
context:
space:
mode:
Diffstat (limited to 'intf/constrexpr.ml')
-rw-r--r--intf/constrexpr.ml7
1 files changed, 6 insertions, 1 deletions
diff --git a/intf/constrexpr.ml b/intf/constrexpr.ml
index 5b51953bb..695c8fcb9 100644
--- a/intf/constrexpr.ml
+++ b/intf/constrexpr.ml
@@ -15,6 +15,11 @@ open Decl_kinds
(** [constr_expr] is the abstract syntax tree produced by the parser *)
+type universe_decl_expr = (lident list, glob_constraint list) gen_universe_decl
+
+type ident_decl = lident * universe_decl_expr option
+type name_decl = lname * universe_decl_expr option
+
type notation = string
type explicitation =
@@ -137,7 +142,7 @@ type constr_pattern_expr = constr_expr
type with_declaration_ast =
| CWith_Module of Id.t list Loc.located * qualid Loc.located
- | CWith_Definition of Id.t list Loc.located * constr_expr
+ | CWith_Definition of Id.t list Loc.located * universe_decl_expr option * constr_expr
type module_ast_r =
| CMident of qualid