package ppx_deriving

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving-v5.2.1.tbz
sha256=e96b5fb25b7632570e4b329e22e097fcd4b8e8680d1e43ef003a8fbd742b0786
sha512=f28cd778a2d48ababa53f73131b25229a11b03685610d020b7b9228b1e25570891cd927b37475aeda49be72debaf5f2dda4c1518a0965db7a361c0ebe325a8d2

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 * Ppxlib_ast__Versions.OCaml_412.Ast.Asttypes.label Ppxlib_ast__Versions.OCaml_412.Ast.Asttypes.loc) list
val str_of_type : options:(string * Ppxlib.Parsetree.expression) list -> path:'a -> Ppxlib.Parsetree.type_declaration -> Migrate_parsetree.Ast_412.Parsetree.value_binding list
val sig_of_type : options:(string * Ppxlib.Parsetree.expression) list -> path:'a -> Ppxlib.Parsetree.type_declaration -> Migrate_parsetree.Ast_412.Parsetree.signature_item list
OCaml

Innovation. Community. Security.