diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2018-05-20 22:23:02 +0200 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2018-05-27 15:18:08 +0200 |
commit | 311e87f261b5e7f1dca61ac19d9b7b695b411ce0 (patch) | |
tree | ba75b995a5b9a58b76d016f46adc934dfe9e29ba /vernac/ppvernac.mli | |
parent | b2f746e41abf53fc481f90804ba4d70edd73fc86 (diff) |
[api] [parsing] Move Egram* to `vernac/`
The extension mechanism is specific to metasyntax and vernacinterp,
thus it makes sense to place them next to each other.
We also fix the META entry for the `grammar` camlp5 plugin.
Diffstat (limited to 'vernac/ppvernac.mli')
-rw-r--r-- | vernac/ppvernac.mli | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vernac/ppvernac.mli b/vernac/ppvernac.mli new file mode 100644 index 000000000..4aa24bf5d --- /dev/null +++ b/vernac/ppvernac.mli @@ -0,0 +1,26 @@ +(************************************************************************) +(* * The Coq Proof Assistant / The Coq Development Team *) +(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) +(* <O___,, * (see CREDITS file for the list of authors) *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(* * (see LICENSE file for the text of the license) *) +(************************************************************************) + +(** This module implements pretty-printers for vernac_expr syntactic + objects and their subcomponents. *) + +val pr_set_entry_type : ('a -> Pp.t) -> 'a Extend.constr_entry_key_gen -> Pp.t + +(** Prints a fixpoint body *) +val pr_rec_definition : (Vernacexpr.fixpoint_expr * Vernacexpr.decl_notation list) -> Pp.t + +(** Prints a vernac expression without dot *) +val pr_vernac_expr : Vernacexpr.vernac_expr -> Pp.t + +(** Prints a "proof using X" clause. *) +val pr_using : Vernacexpr.section_subset_expr -> Pp.t + +(** Prints a vernac expression and closes it with a dot. *) +val pr_vernac : Vernacexpr.vernac_control -> Pp.t |