package ppx_deriving_jsoo

  1. Overview
  2. Docs
val i_project : loc:Astlib.Location.t -> int -> int -> Astlib.Ast_500.Parsetree.expression
val pexp_fun_rec : Ppxlib.expression -> string list -> Ppxlib.expression
val eapplys : string list -> Ppxlib.expression -> Ppxlib.expression
val param_name : Ppxlib.core_type -> string
val add_params_fun : Ppxlib.expression -> (Ppxlib.core_type * 'a) list -> Ppxlib.expression
val mconv : ?acc:(Common.conv * (string * string)) list -> 'a -> 'b -> ('a, 'b) Common.conv0
val conv_map : (int -> 'a -> ('b, 'c) Common.conv0) -> 'a list -> 'b list * 'c list * (Common.conv * (string * string)) list
val ml_type_to_conv : loc:Ppxlib.Location.t -> ?opt:string -> ?number:bool -> ?modules:(string * string) list -> string -> 'a list -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0
val add_expr0 : ?modules:(string * string) list -> loc:Astlib.Location.t -> name:string -> (Astlib.Ast_500.Parsetree.expression * Astlib.Ast_500.Parsetree.expression) -> Astlib.Ast_500.Parsetree.value_binding list * (string * string)
val enum_variant : ?typ:[ `int | `string ] -> ?camel:bool -> ?snake:bool -> Ppxlib.row_field list -> (Ppxlib.label * (Astlib.Ast_500.Parsetree.expression * Astlib.Ast_500.Parsetree.pattern)) list * Ppxlib.label option
val enum_constructor : ?rm_prefix:bool -> ?typ:[ `int | `string ] -> ?camel:bool -> ?snake:bool -> Ppxlib.constructor_declaration list -> (string * (Astlib.Ast_500.Parsetree.expression * Astlib.Ast_500.Parsetree.pattern)) list * string option
val enum_expr : loc:Astlib.Location.t -> ?fallback:string -> ?kind:[< `Construct | `Variant Variant ] -> ?typ:[< `int | `string string ] -> (string * (Astlib.Ast_500.Parsetree.expression * Astlib.Ast_500.Parsetree.pattern)) list -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0
type remember_item = ([ `RCase of string Ppxlib.loc * (Ppxlib.expression -> Ppxlib.expression) | `RVal of string Ppxlib.loc * [ `Case | `Readonly | `Readwrite | `Writeonly | `Optdef ] * Ppxlib.override_flag * (Ppxlib.expression -> Ppxlib.expression) ], Ppxlib.expression -> Ppxlib.expression -> Ppxlib.expression) Common.conv0
type remember = (add:Ppxlib.value_binding list -> remember_item) list * string list
val remember_table : (string, remember) Stdlib.Hashtbl.t
val remember_fields : string -> remember -> unit
val get_remember_fields : string -> remember option
module FDMap : sig ... end
val inherit_fields : (Ppxlib.Longident.t, (Ppxlib.expression -> Ppx_js.field_desc list) * string list) Stdlib.Hashtbl.t
val expr_of_core : params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> ?opt:string -> ?meth_callback:bool -> ?callback:bool -> ?array_tup:bool -> ?number:bool -> ?assoc:bool -> ?conv:Common.conv -> ?modules:(string * string) list -> ?enum:[ `int | `string ] -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> Ppxlib.core_type -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0
val arrows_to_array : params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> ?opt:string -> ?meth_start:bool -> ?callback_start:bool -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> Ppxlib.core_type -> Astlib.Ast_500.Parsetree.expression list * Astlib.Ast_500.Parsetree.expression list * Ppx_js.Arg.t list * Ppx_js.Arg.t list * Astlib.Ast_500.Parsetree.expression * Astlib.Ast_500.Parsetree.expression * (Common.conv * (string * string)) list
val callback_expr : loc:Ppxlib.Location.t -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> ?opt:string -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> (Ppxlib.core_type * Ppxlib.core_type) -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0
val meth_callback_expr : loc:Ppxlib.Location.t -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> ?opt:string -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> (Ppxlib.core_type * Ppxlib.core_type) -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0
val function_expr : loc:Ppxlib.location -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> ?opt:string -> ?meth_callback:bool -> ?callback:bool -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> (Ppxlib.core_type * Ppxlib.core_type) -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0
val tuple_expr : loc:Ppxlib.location -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> ?callback:bool -> ?meth_callback:bool -> ?number:bool -> ?assoc:bool -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> Ppxlib.core_type list -> (Ppxlib.expression, Ppxlib.expression) Common.conv0
val array_tuple_expr : loc:Ppxlib.location -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> ?number:bool -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> Ppxlib.core_type list -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0
val case_expr : ?case_:bool -> loc:Astlib.Location.t -> name:string -> ?name_js:string -> add:Ppxlib.value_binding list -> ?prop:string -> ?kind:[ `Construct | `Variant ] -> ?local:bool -> ?singleton:bool -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0 -> string option -> remember_item
val variant_expr0 : ?case:bool -> ?remember:bool -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> loc:Ppxlib.Location.t -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> Ppxlib.row_field list -> (Ppxlib.expression -> Ppx_js.field_desc list, Astlib.Ast_500.Parsetree.expression -> Ppxlib.expression) Common.conv0
val variant_expr : ?case:bool -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> loc:Ppxlib.location -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> Ppxlib.row_field list -> (Ppxlib.expression, Ppxlib.expression) Common.conv0
val object_expr : ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> name:Ppxlib.label -> loc:Ppxlib.location -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> Ppxlib.object_field list -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0
val add_field_desc_params : ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> loc:Astlib.Location.t -> names:string list -> Ppxlib.core_type list -> Ppx_js.field_desc -> Ppx_js.field_desc
val field_expr : meth:bool -> case:bool -> inherit_:bool -> loc:Ppxlib.location -> name:Ppxlib.label -> name_js:string -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> ignore_:bool -> mutable_:Ppxlib.mutable_flag -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?prop:string -> ?opt:string -> ?callback:bool -> ?meth_callback:bool -> ?array_tup:bool -> ?number:bool -> ?assoc:bool -> ?enum:[ `int | `string ] -> ?remove_undefined:bool -> pexp_to: (loc:Astlib.Location.t -> Astlib.Ast_500.Parsetree.expression -> Ppxlib.Longident.t Ppxlib.loc -> Astlib.Ast_500.Parsetree.expression) -> Ppxlib.core_type -> bool * (Astlib.Ast_500.Parsetree.expression -> Ppx_js.field_desc list, Astlib.Ast_500.Parsetree.expression -> Ppxlib.Longident.t Ppxlib.loc * Ppxlib.expression) Common.conv0
val field_of_label_declaration : ?rm_prefix:int -> ?mut:bool -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> Ppxlib.label_declaration -> bool * (Astlib.Ast_500.Parsetree.expression -> Ppx_js.field_desc list, Astlib.Ast_500.Parsetree.expression -> Ppxlib.Longident.t Ppxlib.loc * Ppxlib.expression) Common.conv0
val record_expr : ?rm_prefix:bool -> ?modules:(string * string) list -> loc:Ppxlib.Location.t -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> ?local:string -> ?mut:bool -> ?name:string -> ?camel:bool -> ?snake:bool -> ?singleton:bool -> ?remove_undefined:bool -> Ppxlib.label_declaration list -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0
val field_of_constructor_declaration : ?rm_prefix:int -> ?case:bool -> ?mut:bool -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?singleton:bool -> ?remove_undefined:bool -> params: (Astlib.Ast_500.Parsetree.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> Ppxlib.constructor_declaration -> remember_item
val constructor_variant_expr : ?rm_prefix:bool -> ?case:bool -> ?mut:bool -> ?modules:(string * string) list -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> loc:Ppxlib.Location.t -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> Ppxlib.constructor_declaration list -> (Astlib.Ast_500.Parsetree.expression, Astlib.Ast_500.Parsetree.expression) Common.conv0
val declaration_of_manifest : ?case:bool -> ?modules:(string * string) list -> ?enum:[ `int | `string ] -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> name:Ppxlib.label -> Ppxlib.core_type -> Common.conv
val declaration_of_type_kind : ?rm_prefix:bool -> ?case:bool -> ?mut:bool -> ?modules:(string * string) list -> ?enum:[ `int | `string ] -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> loc:Ppxlib.Location.t -> name:Ppxlib.label -> params: (Ppxlib.core_type * (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity)) list -> Ppxlib.type_kind -> Ppxlib.core_type option -> Common.conv
val conv_expressions : ?rm_prefix:bool -> ?case:bool -> ?mut:bool -> ?modules:(string * string) list -> ?enum:[ `int | `string ] -> ?camel:bool -> ?snake:bool -> ?remove_undefined:bool -> Ppxlib.type_declaration -> (Ppxlib.expression, Ppxlib.expression) Common.conv0
val conv_signatures : ?modules:(string * string) list -> is_class_type:bool -> Ppxlib.type_declaration -> Astlib.Ast_500.Parsetree.core_type * Astlib.Ast_500.Parsetree.core_type * Astlib.Ast_500.Parsetree.core_type
OCaml

Innovation. Community. Security.