package ppx_deriving_jsoo

  1. Overview
  2. Docs
type options = {
  1. case : bool;
  2. remove_prefix : bool option;
  3. recursive : bool option;
  4. mut : bool;
  5. debug : bool;
  6. modules : (string * string) list option;
  7. enum : [ `string | `int ] option;
  8. remove_undefined : bool;
}
val options : options
val get_bool : string -> Ppxlib.expression -> bool
val get_construct_pair : string -> Ppxlib.expression -> string * string
val get_enum : Ppxlib.expression -> [> `int | `string ] option
val get_options : Ppxlib.expression -> options option
val filter : Ppxlib.type_declaration list -> options option
val process : loc:Astlib.Location.t -> ?kind:[< `all | `conv | `typ all ] -> rec_flag:Ppxlib.rec_flag -> case:bool -> rm_prefix:bool option -> recursive:bool option -> mut:bool -> ?modules:(string * string) list -> ?enum:[ `int | `string ] -> ?remove_undefined:bool -> Ppxlib.type_declaration list -> Astlib.Ast_500.Parsetree.structure_item list
val derive_str : ?loc:Ppxlib.Location.t -> ?kind:[< `all | `conv | `typ all ] -> string -> Ppxlib.structure -> Astlib.Ast_500.Parsetree.structure_item list
val main : unit -> unit
OCaml

Innovation. Community. Security.