| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
open Names |
| 12 |
open Glob_term |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
type notation_constr = |
| 23 |
|
| 24 |
| NRef of GlobRef.t * glob_instance option |
| 25 |
| NVar of Id.t |
| 26 |
| NApp of notation_constr * notation_constr list |
| 27 |
| NProj of (Constant.t * glob_instance option) * notation_constr list * notation_constr |
| 28 |
| NHole of glob_evar_kind |
| 29 |
| NGenarg of Genarg.glob_generic_argument |
| 30 |
| NList of Id.t * Id.t * notation_constr * notation_constr * bool |
| 31 |
|
| 32 |
| NLambda of Name.t * notation_constr option * notation_constr |
| 33 |
| NProd of Name.t * notation_constr option * notation_constr |
| 34 |
| NBinderList of Id.t * Id.t * notation_constr * notation_constr * bool |
| 35 |
| NLetIn of Name.t * notation_constr * notation_constr option * notation_constr |
| 36 |
| NCases of Constr.case_style * notation_constr option * |
| 37 |
(notation_constr * (Name.t * (inductive * Name.t list) option)) list * |
| 38 |
(cases_pattern list * notation_constr) list |
| 39 |
| NLetTuple of Name.t list * (Name.t * notation_constr option) * |
| 40 |
notation_constr * notation_constr |
| 41 |
| NIf of notation_constr * (Name.t * notation_constr option) * |
| 42 |
notation_constr * notation_constr |
| 43 |
| NRec of glob_fix_kind * Id.t array * |
| 44 |
(Name.t * notation_constr option * notation_constr) list array * |
| 45 |
notation_constr array * notation_constr array |
| 46 |
| NSort of glob_sort |
| 47 |
| NCast of notation_constr * Constr.cast_kind option * notation_constr |
| 48 |
| NInt of Uint63.t |
| 49 |
| NFloat of Float64.t |
| 50 |
| NString of Pstring.t |
| 51 |
| NArray of notation_constr array * notation_constr * notation_constr |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
type scope_name = string |
| 61 |
|
| 62 |
type tmp_scope_name = scope_name |
| 63 |
|
| 64 |
type subscopes = tmp_scope_name list * scope_name list |
| 65 |
|
| 66 |
type extended_subscopes = Constrexpr.notation_entry_relative_level * subscopes |
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
type notation_binder_kind = |
| 72 |
|
| 73 |
| AsIdent |
| 74 |
|
| 75 |
| AsName |
| 76 |
|
| 77 |
| AsAnyPattern |
| 78 |
|
| 79 |
| AsStrictPattern |
| 80 |
|
| 81 |
type notation_binder_source = |
| 82 |
|
| 83 |
| NtnBinderParsedAsConstr of notation_binder_kind |
| 84 |
|
| 85 |
| NtnBinderParsedAsSomeBinderKind of notation_binder_kind |
| 86 |
|
| 87 |
| NtnBinderParsedAsBinder |
| 88 |
|
| 89 |
type notation_var_instance_type = |
| 90 |
| NtnTypeConstr |
| 91 |
| NtnTypeConstrList |
| 92 |
| NtnTypeBinder of notation_binder_source |
| 93 |
| NtnTypeBinderList of notation_binder_source |
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
type notation_var_internalization_type = |
| 99 |
| NtnInternTypeAny of scope_name option |
| 100 |
| NtnInternTypeOnlyBinder |
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
type notation_var_binders = Id.Set.t |
| 108 |
|
| 109 |
|
| 110 |
type 'a interpretation_gen = (Id.t * 'a) list * notation_constr |
| 111 |
type interpretation = (extended_subscopes * notation_var_binders * notation_var_instance_type) interpretation_gen |
| 112 |
|
| 113 |
type forgetfulness = { forget_ltac : bool; forget_volatile_cast : bool } |
| 114 |
|
| 115 |
type reversibility_status = |
| 116 |
| APrioriReversible |
| 117 |
| Forgetful of forgetfulness |
| 118 |
| NonInjective of Id.t list |
| 119 |
|
| 120 |
type notation_interp_env = { |
| 121 |
ninterp_var_type : notation_var_internalization_type Id.Map.t; |
| 122 |
ninterp_rec_vars : Id.t Id.Map.t; |
| 123 |
} |