package tyxml-ppx

  1. Overview
  2. Docs
PPX that allows to write TyXML documents with the HTML syntax

Install

Dune Dependency

Authors

Maintainers

Sources

tyxml-4.4.0.tbz
sha256=516394dd4a5c31726997c51d66aa31cacb91e3c46d4e16c7699130e204042530
sha512=d5f2187f8410524cec7a14b28e8950837070eb0b6571b015dd06076c2841eb7ccaffa86d5d2307eaf1950ee62f9fb926477dac01c870d9c1a2f525853cb44d0c

doc/tyxml-ppx.internal/Tyxml_ppx/index.html

Module Tyxml_ppx

TyXML ppx library.

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

type lang =
  1. | Html
  2. | Svg
val markup_to_expr : lang -> Migrate_parsetree.Ast_408.Location.t -> Migrate_parsetree.Ast_408.Parsetree.expression list -> Migrate_parsetree.Ast_408.Parsetree.expression

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

val mapper : _ -> _ -> Migrate_parsetree.Ast_408.Ast_mapper.mapper
OCaml

Innovation. Community. Security.