package js_of_ocaml-ppx_deriving_json

  1. Overview
  2. Docs
val deriver : string
val runtimename : string
val rt : string -> Parsetree.expression
val lexer_ident : string -> string
val lexbuf_t : Parsetree.core_type
val lexer : string -> Parsetree.expression
val var_ptuple : string list -> Parsetree.pattern
val map_loc : ('a -> 'b) -> 'a Location.loc -> 'b Location.loc
val suffix_lid : Longident.t Location.loc -> suffix:string -> Parsetree.expression
val suffix_decl : Parsetree.type_declaration -> suffix:string -> Parsetree.expression
val suffix_decl_p : Parsetree.type_declaration -> suffix:string -> Parsetree.pattern
val fresh_vars : ?acc:string list -> int -> string list
val label_of_constructor : string Location.loc -> Longident.t Location.loc
val check_record_fields : Parsetree.label_declaration list -> unit
val pattern_of_record : Parsetree.label_declaration list -> Parsetree.pattern
val write_tuple_contents : string list -> Parsetree.core_type list -> tag:int -> poly:bool -> Parsetree.expression
val write_body_of_tuple_type : Parsetree.core_type list -> arg:Parsetree.expression -> poly:bool -> tag:int -> Parsetree.expression
val write_poly_case : Parsetree.row_field -> arg:string -> poly:bool -> Parsetree.case
val write_body_of_type : Parsetree.core_type -> arg:string -> poly:bool -> Parsetree.expression
val write_of_type : Parsetree.core_type -> poly:bool -> Parsetree.expression
val write_body_of_record : tag:int -> Parsetree.label_declaration list -> Parsetree.expression
val write_of_record : ?tag:int -> 'a -> Parsetree.label_declaration list -> Parsetree.expression
val recognize_case_of_constructor : int -> 'a list -> Parsetree.case
val recognize_body_of_poly_variant : Parsetree.row_field list -> loc:Location.t -> Parsetree.expression
val tag_error_case : ?typename:string -> unit -> Parsetree.case
val maybe_tuple_type : Parsetree.core_type list -> Parsetree.core_type
val read_body_of_tuple_type : ?decl:Parsetree.type_declaration -> Parsetree.core_type list -> Parsetree.expression
val write_case : (int * int * Parsetree.case list) -> Parsetree.constructor_declaration -> int * int * Parsetree.case list
val read_case : ?decl:Parsetree.type_declaration -> (int * int * Parsetree.case list) -> Parsetree.constructor_declaration -> int * int * Parsetree.case list
val read_with_tag_sig_of_decl : Parsetree.type_declaration -> Parsetree.signature_item
val register_for_expr : string -> (Parsetree.core_type -> Parsetree.expression) -> unit