Debian Codegraph @

printing/pputils.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 open Names
12 open Genarg
13
14 val pr_located : ('a -> Pp.t) -> 'a Loc.located -> Pp.t
15 val pr_ast : ('a -> Pp.t) -> 'a CAst.t -> Pp.t
16 (** Prints an object surrounded by its commented location *)
17
18 val pr_lident : lident -> Pp.t
19 val pr_lname : lname -> Pp.t
20 val pr_or_var : ('a -> Pp.t) -> 'a Locus.or_var -> Pp.t
21 val pr_or_by_notation : ('a -> Pp.t) -> 'a Constrexpr.or_by_notation -> Pp.t
22
23 val pr_raw_generic : Environ.env -> Evd.evar_map -> ?level:Constrexpr.entry_relative_level ->
24 rlevel generic_argument -> Pp.t
25 val pr_glb_generic : Environ.env -> Evd.evar_map -> ?level:Constrexpr.entry_relative_level ->
26 glevel generic_argument -> Pp.t
27
28 (* The comments interface is imperative due to the printer not
29 threading it, this could be solved using a better data
30 structure. *)
31 val beautify_comments : ((int * int) * string) list ref
32 val extract_comments : int -> string list