Module Ppx_message_templates

PPX rewriter for Message Templates

val name : string
val find_error_context : string -> string -> string option

Find position of error in template string for better error reporting

val format_parse_error : string -> string -> string

Create helpful error message for template parse errors

val expand : ctxt:Ppxlib.Expansion_context.Extension.t -> string -> Ppxlib.expression
val extension : Ppxlib.Extension.V3.t
val rule : Ppxlib.Context_free.Rule.t