| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
open Globnames |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
type production_position = |
| 16 |
| BorderProd of Constrexpr.side * Gramlib.Gramext.g_assoc option |
| 17 |
| InternalProd |
| 18 |
|
| 19 |
type production_level = |
| 20 |
| NextLevel |
| 21 |
| NumLevel of int |
| 22 |
| DefaultLevel |
| 23 |
|
| 24 |
val production_level_eq : production_level -> production_level -> bool |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
type ('custom,'a) constr_entry_key_gen = |
| 29 |
| ETIdent |
| 30 |
| ETName |
| 31 |
| ETGlobal |
| 32 |
| ETBigint |
| 33 |
| ETBinder of bool |
| 34 |
| ETConstr of 'custom Constrexpr.notation_entry_gen * Notation_term.notation_binder_kind option * 'a |
| 35 |
| ETPattern of bool * int option |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
type constr_entry_key = |
| 40 |
(CustomName.t, production_level * production_position) constr_entry_key_gen |
| 41 |
|
| 42 |
val constr_entry_key_eq : constr_entry_key -> constr_entry_key -> bool |
| 43 |
|
| 44 |
val constr_entry_key_eq_ignore_binder_kind : constr_entry_key -> constr_entry_key -> bool |
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
type 'custom simple_constr_prod_entry_key = |
| 49 |
('custom, production_level) constr_entry_key_gen |
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
type binder_target = ForBinder | ForTerm |
| 54 |
|
| 55 |
type binder_entry_kind = ETBinderOpen | ETBinderClosed of constr_prod_entry_key option * (bool * string) list |
| 56 |
|
| 57 |
and constr_prod_entry_key = |
| 58 |
| ETProdIdent |
| 59 |
| ETProdName |
| 60 |
| ETProdGlobal |
| 61 |
| ETProdBigint |
| 62 |
| ETProdOneBinder of bool |
| 63 |
| ETProdConstr of Constrexpr.notation_entry * (production_level * production_position) |
| 64 |
| ETProdPattern of int |
| 65 |
| ETProdConstrList of Constrexpr.notation_entry * (production_level * production_position) * (bool * string) list |
| 66 |
| ETProdBinderList of binder_entry_kind |
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
type 'a user_symbol = |
| 71 |
| Ulist1 of 'a user_symbol |
| 72 |
| Ulist1sep of 'a user_symbol * string |
| 73 |
| Ulist0 of 'a user_symbol |
| 74 |
| Ulist0sep of 'a user_symbol * string |
| 75 |
| Uopt of 'a user_symbol |
| 76 |
| Uentry of 'a |
| 77 |
| Uentryl of 'a * int |
| 78 |
|
| 79 |
type ('a,'b,'c) ty_user_symbol = |
| 80 |
| TUlist1 : ('a,'b,'c) ty_user_symbol -> ('a list,'b list,'c list) ty_user_symbol |
| 81 |
| TUlist1sep : ('a,'b,'c) ty_user_symbol * string -> ('a list,'b list,'c list) ty_user_symbol |
| 82 |
| TUlist0 : ('a,'b,'c) ty_user_symbol -> ('a list,'b list,'c list) ty_user_symbol |
| 83 |
| TUlist0sep : ('a,'b,'c) ty_user_symbol * string -> ('a list,'b list,'c list) ty_user_symbol |
| 84 |
| TUopt : ('a,'b,'c) ty_user_symbol -> ('a option, 'b option, 'c option) ty_user_symbol |
| 85 |
| TUentry : ('a, 'b, 'c) Genarg.ArgT.tag -> ('a,'b,'c) ty_user_symbol |
| 86 |
| TUentryl : ('a, 'b, 'c) Genarg.ArgT.tag * int -> ('a,'b,'c) ty_user_symbol |