package ppx_jsobject_conv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val mk_type : Ppxlib_ast__.Import.Parsetree.type_declaration -> Ppxlib_ast__.Import.Parsetree.core_type
val mk_ref_type : Ppxlib_ast__.Import.Parsetree.type_declaration -> Ppxlib_ast__.Import.Parsetree.core_type
val name_of_tdname : string -> string
val name_of_td : Ppx_core.Light.type_declaration -> string
val name_of_te : Ppx_core.Light.type_extension -> string
val full_name_of_te : Ppx_core.Light.type_extension -> string
val jsobject_of_std_type : Ppx_core.Light.Longident.t Ppx_core.Light.Ast_builder.Default.Located.t -> [> `Fold of Ppxlib_ast__.Import.Parsetree.expression | `FullStop of Ppxlib_ast__.Import.Parsetree.expression ]
val jsobject_of_type : (string * (Ppx_core.Light.Parsetree.expression * Ppx_core.Light.Parsetree.pattern)) list -> Ppx_core.Light.core_type -> Fun_or_match.t
val jsobject_of_tuple : loc:Ppx_core.Light.location -> (string * (Ppx_core.Light.Parsetree.expression * Ppx_core.Light.Parsetree.pattern)) list -> Ppx_core.Light.core_type list -> Ppx_core.Light.case
val jsobject_of_variant : loc:Ppx_core.Light.location -> (string * (Ppx_core.Light.Parsetree.expression * Ppx_core.Light.Parsetree.pattern)) list -> Ppx_core.Light.row_field list -> Fun_or_match.t
val jsobject_of_sum : (string * (Ppx_core.Light.Parsetree.expression * Ppx_core.Light.Parsetree.pattern)) list -> Ppx_core.Light.constructor_declaration list -> Fun_or_match.t
val mk_rec_patt : OrigLocation.t -> (Ocaml_common.Longident.t Location.loc * Ppxlib_ast__.Import.Parsetree.pattern) list -> Base.String.t -> (Ocaml_common.Longident.t Location.loc * Ppxlib_ast__.Import.Parsetree.pattern) list
val mk_rec_conv : loc:Ppx_core.Light.location -> (string * (Ppx_core.Light.Parsetree.expression * Ppx_core.Light.Parsetree.pattern)) list -> Ppx_core.Light.label_declaration list -> Ppxlib_ast__.Import.Parsetree.pattern * Ppxlib_ast__.Import.Parsetree.expression
val jsobject_of_record : loc:Ppx_core.Light.location -> (string * (Ppx_core.Light.Parsetree.expression * Ppx_core.Light.Parsetree.pattern)) list -> Ppx_core.Light.label_declaration list -> Fun_or_match.t
val jsobject_of_td : Ppx_core.Light.type_declaration -> Ppxlib_ast__.Import.Parsetree.value_binding list
val str_type_decl : loc:Warnings.loc -> path:'a -> (Ppx_core.Light.Asttypes.rec_flag * Ppx_core.Light.type_declaration list) -> Ppxlib_ast__.Import.Parsetree.structure_item list
val sig_type_decl : loc:'a -> path:'b -> ('c * Ppxlib_ast__.Import.Parsetree.type_declaration list) -> Ppxlib_ast__.Import.Parsetree.signature_item list
val str_type_ext : loc:Ppx_core.Light.Location.t -> path:'a -> Ppx_core.Light.type_extension -> Ppxlib_ast__.Import.Parsetree.structure_item list