aboutsummaryrefslogtreecommitdiff
path: root/interp/notation.mli
diff options
context:
space:
mode:
authorMaxime Dénès2017-05-17 09:13:31 +0200
committerMaxime Dénès2017-05-17 09:13:31 +0200
commit772de8aba675731ed8d476ea0bc628ee21751dc8 (patch)
tree6ef31ae010cf7afc1d016a3e5b992f600cb99eab /interp/notation.mli
parent5360ec8ff56c44e96c56965be78e6f2538963a57 (diff)
parente4ca8679e6700cfd6563890eb7d9e4ee59bede57 (diff)
Merge PR#630: [interp] [ast] Make raw_cases_pattern_expr private + small cleanup
Diffstat (limited to 'interp/notation.mli')
-rw-r--r--interp/notation.mli4
1 files changed, 3 insertions, 1 deletions
diff --git a/interp/notation.mli b/interp/notation.mli
index 2e92a00a8c..300480ff1c 100644
--- a/interp/notation.mli
+++ b/interp/notation.mli
@@ -85,8 +85,10 @@ val declare_string_interpreter : scope_name -> required_module ->
val interp_prim_token : Loc.t -> prim_token -> local_scopes ->
glob_constr * (notation_location * scope_name option)
+
+(* This function returns a glob_const representing a pattern *)
val interp_prim_token_cases_pattern_expr : Loc.t -> (global_reference -> unit) -> prim_token ->
- local_scopes -> raw_cases_pattern_expr * (notation_location * scope_name option)
+ local_scopes -> glob_constr * (notation_location * scope_name option)
(** Return the primitive token associated to a [term]/[cases_pattern];
raise [No_match] if no such token *)