package ppx_deriving

  1. Overview
  2. Docs
Type-driven code generation for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving-v5.0.tbz
sha256=838782b8ea0c2c684a93617e44f1c0f606805bc470730be80c6efb7689cd7f3a
sha512=0ef22b1a463d8395fd31568bffc59081cd6bf0435ad74d466e5d453b7a6b76d13b9726aa377c1b6733aa9e631f659819d3284791023fd20d9af5eba4f62532c1

doc/ppx_deriving_enum/Ppx_deriving_enum/index.html

Module Ppx_deriving_enum

val deriver : string
val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> 'a
val parse_options : (string * Ppxlib.Parsetree.expression) list -> unit
val attr_value : Ppxlib.attributes -> int option
val mappings_of_type : Ppxlib.Parsetree.type_declaration -> [> `Polymorphic | `Regular ] * (int * Migrate_parsetree__Migrate_parsetree_versions.OCaml_408.Ast.Asttypes.label Migrate_parsetree__Migrate_parsetree_versions.OCaml_408.Ast.Asttypes.loc) list
val str_of_type : options:(string * Ppxlib.Parsetree.expression) list -> path:'a -> Ppxlib.Parsetree.type_declaration -> Migrate_parsetree__Migrate_parsetree_versions.OCaml_408.Ast.Parsetree.value_binding list
val sig_of_type : options:(string * Ppxlib.Parsetree.expression) list -> path:'a -> Ppxlib.Parsetree.type_declaration -> Migrate_parsetree__Migrate_parsetree_versions.OCaml_408.Ast.Parsetree.signature_item list
OCaml

Innovation. Community. Security.