package cconv-ppx

  1. Overview
  2. Docs
module AH = Ast_helper
module AC = Ast_convenience
val deriver : string
val raise_errorf : ?sub:Location.error list -> ?loc:Location.t -> ('a, unit, string, 'b) format4 -> 'a
val encode_prefix : [> `Prefix of string ]
val decode_prefix : [> `Prefix of string ]
val argn : int -> string
val attr_encoder : Parsetree.attributes -> Parsetree.expression option
val attr_decoder : Parsetree.attributes -> Parsetree.expression option
val attr_ignore : Parsetree.attributes -> bool
val attr_default : Parsetree.attributes -> Parsetree.expression option
val attr_string : string -> string -> Parsetree.attributes -> string
val attr_key : string -> Parsetree.attributes -> string
val fold_right_i : (int -> 'a -> 'b -> 'b) -> 'a list -> 'b -> 'b
val extract_pcd_args_tuple_values : loc:Location.t -> Parsetree.constructor_arguments -> Parsetree.core_type list
val contains_record_variant : Parsetree.constructor_declaration list -> bool
val encode_of_typ : self:(string * bool ref) option -> Parsetree.core_type -> Parsetree.expression
val encode_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.value_binding list
val encode_sig_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.signature_item list
val decode_of_typ : self:(string * bool ref) option -> Parsetree.core_type -> Parsetree.expression
val decode_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.value_binding list
val decode_sig_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.signature_item list
val str_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.value_binding list
val sig_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.signature_item list