aboutsummaryrefslogtreecommitdiff
path: root/interp/constrintern.mli
diff options
context:
space:
mode:
authorEnrico Tassi2021-03-19 14:29:07 +0100
committerEnrico Tassi2021-04-07 19:59:46 +0200
commitd3963fc6b6dad5a0cf79815f31b2035ca8b3de25 (patch)
tree2ba6b35deb5f7ba096662205a99fb942455ef878 /interp/constrintern.mli
parenteec8ba3a0e807e8de038eb0feaf5db003f423e62 (diff)
[abbreviation] allow the user to set arguments scope
Diffstat (limited to 'interp/constrintern.mli')
-rw-r--r--interp/constrintern.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/interp/constrintern.mli b/interp/constrintern.mli
index 7c1e658ff1..379bd61070 100644
--- a/interp/constrintern.mli
+++ b/interp/constrintern.mli
@@ -147,6 +147,10 @@ val interp_constr_pattern :
env -> evar_map -> ?expected_type:typing_constraint ->
constr_pattern_expr -> constr_pattern
+(** Returns None if it's a syndef not bound to a name, raises an error
+ if not existing *)
+val intern_reference : qualid -> GlobRef.t option
+
(** Returns None if not a reference or a syndef not bound to a name *)
val intern_name_alias :
constr_expr -> (GlobRef.t * Glob_term.glob_level list option) option