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 ->
  Migrate_parsetree.Ast_405.Location.t ->
  Migrate_parsetree.Ast_405.Parsetree.expression list ->
  Migrate_parsetree.Ast_405.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 -> Migrate_parsetree.Ast_405.Ast_mapper.mapper