diff options
| author | Regis-Gianas | 2014-10-30 23:15:37 +0100 |
|---|---|---|
| committer | Regis-Gianas | 2014-11-04 22:51:35 +0100 |
| commit | 28a69fcd2b9d890a8242e6f1287a38abb07d8956 (patch) | |
| tree | fbeaa906fa2a2081e5af910590ed0f0f7d20e597 | |
| parent | 903f0d09c3be90a09303b549a711caef747fc11a (diff) | |
Ppvernac: Publish new rich pretty-printer.
Ppconstr: Fix a typo in comments.
| -rw-r--r-- | printing/ppconstr.mli | 2 | ||||
| -rw-r--r-- | printing/ppvernac.mli | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/printing/ppconstr.mli b/printing/ppconstr.mli index a4c262b92c..d2877edc50 100644 --- a/printing/ppconstr.mli +++ b/printing/ppconstr.mli @@ -15,7 +15,7 @@ include Ppconstrsig.Pp (** The rich pretty-printers produce {!Pp.std_ppcmds} that are interpreted as annotated strings. The annotations can be - retrieved using {!RichPp.rich_pp}. Their definitions is + retrieved using {!RichPp.rich_pp}. Their definitions are located in {!Ppannotation.t}. Please refer to {!RichPp} to know what are the requirements over diff --git a/printing/ppvernac.mli b/printing/ppvernac.mli index 0a8324bf82..616fc73454 100644 --- a/printing/ppvernac.mli +++ b/printing/ppvernac.mli @@ -6,4 +6,19 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) +(** This module implements pretty-printers for vernac_expr syntactic + objects and their subcomponents. *) + +(** The default pretty-printers produce {!Pp.std_ppcmds} that are + interpreted as raw strings. *) include Ppvernacsig.Pp + +(** The rich pretty-printers produce {!Pp.std_ppcmds} that are + interpreted as annotated strings. The annotations can be + retrieved using {!RichPp.rich_pp}. Their definitions are + located in {!Ppannotation.t}. + + Please refer to {!RichPp} to know what are the requirements over + [Indexer.index] behavior. *) +module RichPp (Indexer : sig val index : Ppannotation.t -> string end) + : Ppvernacsig.Pp |
