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.3.0.tbz
sha256=6e1bd76b184eb8bf43550138fa1e14f03b5761187ff38891179a36bdddbdbfc3
md5=fd834a567f813bf447cab5f4c3a723e2

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_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 : _ -> _ -> Migrate_parsetree.Ast_405.Ast_mapper.mapper
OCaml

Innovation. Community. Security.