package ppx_jsobject_conv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val mk_index : loc:Ppxlib.Location.t -> Base.Int.t -> Ppxlib_ast__.Import.Parsetree.expression * Ppxlib_ast__.Import.Parsetree.expression
val mk_err_expander : loc:Migrate_parsetree__Migrate_parsetree_versions.OCaml_405.Ast.Location.t -> Ppx_core.Light.expression -> Ppx_core.Light.expression
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 eok : loc:Warnings.loc -> Ppxlib_ast__.Import.Parsetree.expression -> Ppxlib_ast__.Import.Parsetree.expression
val err_simple : loc:Warnings.loc -> Base.String.t -> Ppxlib_ast__.Import.Parsetree.expression
val err_var : loc:Ppxlib.Location.t -> Base.String.t -> Ppx_core.Light.expression -> Ppxlib_ast__.Import.Parsetree.expression
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 std_type_of_jsobject : Ppx_core.Light.Longident.t Ppx_core.Light.Asttypes.loc -> [> `Fold of Ppxlib_ast__.Import.Parsetree.expression | `FullStop of Ppxlib_ast__.Import.Parsetree.expression ]
val type_of_jsobject : (string * (Ppx_core.Light.expression * 'a)) list -> Ppx_core.Light.core_type -> Fun_or_match.t
val tuple_of_jsobject : loc:Ppx_core.Light.location -> (string * (Ppx_core.Light.expression * 'a)) list -> Ppx_core.Light.core_type list -> Fun_or_match.t
val variant_of_jsobject : loc:Ppx_core.Light.location -> (string * (Ppx_core.Light.expression * 'a)) list -> Ppx_core.Light.row_field list -> Fun_or_match.t
val sum_of_jsobject : loc:Ppxlib.Location.t -> (string * (Ppx_core.Light.expression * 'a)) list -> Ppxlib_ast__.Import.Parsetree.constructor_declaration list -> Fun_or_match.t
val mk_unary_cons : loc:Ppx_core.Light.Location.t -> (string * (Ppx_core.Light.expression * 'a)) list -> Ppx_core.Light.constructor_declaration -> Ppxlib_ast__.Import.Parsetree.expression -> string -> Ppxlib_ast__.Import.Parsetree.expression * Fun_or_match.t
val sum_of_jsobject_as_tagless : loc:Ppxlib.Location.t -> (string * (Ppx_core.Light.expression * 'a)) list -> Ppxlib_ast__.Import.Parsetree.constructor_declaration list -> Fun_or_match.t
val sum_of_jsobject_as_enum : loc:Ppxlib.Location.t -> Ppxlib_ast__.Import.Parsetree.constructor_declaration list -> Fun_or_match.t
val sum_of_jsobject_as_object : loc:Ppxlib.Location.t -> (string * (Ppx_core.Light.expression * 'a)) list -> Ppxlib_ast__.Import.Parsetree.constructor_declaration list -> Fun_or_match.t
val sum_of_jsobject_as_array : loc:Ppxlib.Location.t -> (string * (Ppx_core.Light.expression * 'a)) list -> Ppxlib_ast__.Import.Parsetree.constructor_declaration list -> Fun_or_match.t
val mk_rec_details : (string * (Ppx_core.Light.expression * 'a)) list -> Ppx_core.Light.label_declaration -> (Ocaml_common.Longident.t Ppxlib_ast__.Import.Asttypes.loc * Ppxlib_ast__.Import.Parsetree.expression) * (Ppx_core.Light.pattern * Ppx_core.Light.expression * Ppx_core.Light.expression)
val td_of_jsobject : 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