type 'context t
Names are organized by context. For instance contexts can be: expressions, patterns, types, ...
val create : kind:Ppx_core__.Import.string ‑> current_file:Ppx_core__.Import.string ‑> string_of_context:('context ‑> Ppx_core__.Import.string Ppx_core__.Import.option) ‑> 'context t
- kind
is a description of the things registered. For instance: "extension",
"attribute", ...
current_file
is where this function is called. Must be __FILE__
.string_of_context
: human readable description of a contextval register : kind:[ `Attribute | `Extension ] ‑> 'context t ‑> 'context ‑> Ppx_core__.Import.string ‑> Ppx_core__.Import.unit
val spellcheck : 'context t ‑> 'context ‑> ?white_list:Ppx_core__.Import.string Ppx_core__.Import.list ‑> Ppx_core__.Import.string ‑> Ppx_core__.Import.string Ppx_core__.Import.option
val raise_errorf : 'context t ‑> 'context ‑> ?white_list:Ppx_core__.Import.string Ppx_core__.Import.list ‑> (Ppx_core__.Import.string ‑> 'a, Ppx_core__.Import.unit, Ppx_core__.Import.string, 'c) Ppx_core__.Import.format4 ‑> Ppx_core__.Import.string Ppx_core.Loc.t ‑> 'a