Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Tyxml_ppx

module Tyxml_ppx : sig..end

TyXML ppx library.

This is the documentation for the internal ppx library. Documentation for the ppx itself is available here.

type lang =  | Html | Svg
val markup_to_expr : 
  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 : 'a -> 'b -> Ast_mapper.mapper