package tyxml

  1. Overview
  2. Docs

TyXML ppx library.

This is the documentation for the internal ppx library. Documentation for the ppx itself is available <<a_manual chapter="ppx"|here>>.

val markup_to_expr : Ppx_common.lang -> Location.t -> Parsetree.expression list -> Parsetree.expression

Given the payload of a %html ... or %svg ... expression, converts it to a TyXML expression representing the markup contained therein.

val mapper : string list -> Ast_mapper.mapper
OCaml

Innovation. Community. Security.