| 1 |
open! Base |
| 2 |
open! Ppxlib |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
module To_lift : sig |
| 8 |
type 'a t = { to_lift : 'a } [@@unboxed] |
| 9 |
end |
| 10 |
|
| 11 |
val default : (label_declaration, expression To_lift.t) Attribute.t |
| 12 |
val drop_default : (label_declaration, expression To_lift.t option) Attribute.t |
| 13 |
val drop_if : (label_declaration, expression To_lift.t) Attribute.t |
| 14 |
val drop_default_equal : (label_declaration, unit) Attribute.t |
| 15 |
val drop_default_compare : (label_declaration, unit) Attribute.t |
| 16 |
val drop_default_sexp : (label_declaration, unit) Attribute.t |
| 17 |
val omit_nil : (label_declaration, unit) Attribute.t |
| 18 |
val option : (label_declaration, unit) Attribute.t |
| 19 |
val list : (label_declaration, unit) Attribute.t |
| 20 |
val array : (label_declaration, unit) Attribute.t |
| 21 |
val bool : (label_declaration, unit) Attribute.t |
| 22 |
val opaque : (core_type, unit) Attribute.t |
| 23 |
val list_variant : (constructor_declaration, unit) Attribute.t |
| 24 |
val list_exception : (type_exception, unit) Attribute.t |
| 25 |
val list_poly : (row_field, unit) Attribute.t |
| 26 |
val allow_extra_fields_td : (type_declaration, unit) Attribute.t |
| 27 |
val allow_extra_fields_cd : (constructor_declaration, unit) Attribute.t |
| 28 |
val invalid_attribute : loc:Location.t -> (_, _) Attribute.t -> string -> 'a |
| 29 |
val fail_if_allow_extra_field_cd : loc:Location.t -> constructor_declaration -> unit |
| 30 |
val fail_if_allow_extra_field_td : loc:Location.t -> type_declaration -> unit |
| 31 |
val grammar_any : (core_type, string option) Attribute.t |
| 32 |
val grammar_custom : (core_type, expression) Attribute.t |
| 33 |
val tag_type : (core_type, (expression * expression) list) Attribute.t |
| 34 |
val tag_ld : (label_declaration, (expression * expression) list) Attribute.t |
| 35 |
val tag_cd : (constructor_declaration, (expression * expression) list) Attribute.t |
| 36 |
val tag_poly : (row_field, (expression * expression) list) Attribute.t |
| 37 |
val tags_type : (core_type, expression) Attribute.t |
| 38 |
val tags_ld : (label_declaration, expression) Attribute.t |
| 39 |
val tags_cd : (constructor_declaration, expression) Attribute.t |
| 40 |
val tags_poly : (row_field, expression) Attribute.t |