package coqide-server

  1. Overview
  2. Docs
The Rocq Prover, XML protocol server

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.2.0.tar.gz
sha256=a45280ab4fbaac7540b136a6b073b4a6db15739ec1e149bded43fa6f4fc25f20

doc/coqide-server.protocol/Xml_printer/index.html

Module Xml_printerSource

Sourcetype t
Sourcetype target =
  1. | TChannel of out_channel
  2. | TBuffer of Buffer.t
Sourceval make : target -> t
Sourceval print : t -> xml -> unit

Print the xml data structure to a source into a compact xml string (without any user-readable formatting ).

Sourceval to_string : xml -> string

Print the xml data structure into a compact xml string (without any user-readable formatting ).

Sourceval to_string_fmt : xml -> string

Print the xml data structure into an user-readable string with tabs and lines break between different nodes.

Sourceval pcdata_to_string : string -> string

Print PCDATA as a string by escaping XML entities.