val mod_mknoloc : 'a -> 'a option Location.locval deriver : stringval raise_errorf : ?sub:Location.error list -> ?loc:Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> 'aval argn : int -> stringval attr_int_encoding : Parsetree.attributes -> [> `Int | `String ]val attr_string : string -> string -> Parsetree.attributes -> stringval attr_key : string -> Parsetree.attributes -> stringval attr_name : string -> Parsetree.attributes -> stringval attr_ser : Parsetree.attributes -> Parsetree.expression optionval attr_desu : Parsetree.attributes -> Parsetree.expression optionval attr_default : Parsetree.attributes -> Parsetree.expression option
type options = {is_strict : bool; |
want_meta : bool; |
want_exn : bool; |
}
val parse_options : (string * Parsetree.expression) list -> optionsval poly_fun : string Location.loc list -> Parsetree.expression -> Parsetree.expressionval type_add_attrs : Parsetree.core_type -> Parsetree.attribute list -> Parsetree.core_typeval ser_expr_of_typ : Parsetree.core_type -> Parsetree.expressionval ser_expr_of_only_typ : Parsetree.core_type -> Parsetree.expressionval desu_fold : path:string list -> (Parsetree.expression list -> Parsetree.expression) -> Parsetree.core_type list -> Parsetree.expressionval desu_expr_of_typ : path:string list -> Parsetree.core_type -> Parsetree.expressionval desu_expr_of_only_typ : path:string list -> Parsetree.core_type -> Parsetree.expressionval wrap_runtime : Parsetree.expression -> Parsetree.expressionval ser_type_of_decl : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.core_typeval ser_str_of_record : string -> Parsetree.label_declaration list -> Parsetree.expressionval ser_str_of_type : options:(string * Parsetree.expression) list -> path:string list -> Parsetree.type_declaration -> Parsetree.structure_item list * Parsetree.value_binding list * Parsetree.structure_item listval ser_str_of_type_ext : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_extension -> Parsetree.structure_item listval error_or : Parsetree.core_type -> Parsetree.core_typeval desu_type_of_decl_poly : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.core_type -> Parsetree.core_typeval desu_type_of_decl : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.core_typeval desu_str_of_record : is_strict:bool -> error:(string list -> Parsetree.expression) -> path:string list -> (Parsetree.expression -> Parsetree.expression) -> Parsetree.label_declaration list -> Parsetree.expressionval desu_str_of_type : options:(string * Parsetree.expression) list -> path:string list -> Parsetree.type_declaration -> Parsetree.structure_item list * Parsetree.value_binding list * Parsetree.structure_item listval desu_str_of_type_ext : options:(string * Parsetree.expression) list -> path:string list -> Parsetree.type_extension -> Parsetree.structure_item listval ser_sig_of_type : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.signature_item listval ser_sig_of_type_ext : options:'a -> path:'b -> 'c -> 'd listval desu_sig_of_type : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.signature_item listval desu_sig_of_type_ext : options:'a -> path:'b -> 'c -> 'd listval yojson_str_fields : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.structure_item listval yojson_sig_fields : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.signature_item listval str_of_type : options:(string * Parsetree.expression) list -> path:string list -> Parsetree.type_declaration -> Parsetree.structure_item list * Parsetree.value_binding list * Parsetree.structure_item listval str_of_type_to_yojson : options:(string * Parsetree.expression) list -> path:string list -> Parsetree.type_declaration -> Parsetree.structure_item list * Parsetree.value_binding list * Parsetree.structure_item listval str_of_type_of_yojson : options:(string * Parsetree.expression) list -> path:string list -> Parsetree.type_declaration -> Parsetree.structure_item list * Parsetree.value_binding list * Parsetree.structure_item listval str_of_type_ext : options:(string * Parsetree.expression) list -> path:string list -> Parsetree.type_extension -> Parsetree.structure_item listval sig_of_type : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.signature_item listval sig_of_type_to_yojson : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.signature_item listval sig_of_type_of_yojson : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.signature_item listval sig_of_type_ext : options:'a -> path:'b -> 'c -> 'd listval structure : (options:'a -> path:'b -> 'c -> Parsetree.structure_item list * Parsetree.value_binding list * Parsetree.structure_item list) -> options:'a -> path:'b -> 'c -> Parsetree.structure_item listval on_str_decls : (options:'a -> path:'b -> 'c -> 'd list * 'e list * 'f list) -> options:'a -> path:'b -> 'c list -> 'd list * 'e list * 'f listval on_sig_decls : (options:'a -> path:'b -> 'c -> 'd list) -> options:'a -> path:'b -> 'c list -> 'd list