Debian Codegraph @

dev/top_printers.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 (** Printers for the OCaml toplevel. *)
12
13 val pp : Pp.t -> unit
14 val pP : Pp.t -> unit (* with surrounding box *)
15
16 val ppexninfo : Exninfo.info -> unit
17
18 val pp_as_format : Pp.t -> unit
19
20 val ppfuture : 'a Future.computation -> unit
21
22 val ppid : Names.Id.t -> unit
23 val ppmbid : Names.MBId.t -> unit
24 val ppdir : Names.DirPath.t -> unit
25 val ppmp : Names.ModPath.t -> unit
26 val ppcon : Names.Constant.t -> unit
27 val ppproj : Names.Projection.t -> unit
28 val ppprojrepr : Names.Projection.Repr.t -> unit
29 val ppkn : Names.KerName.t -> unit
30 val ppmind : Names.MutInd.t -> unit
31 val ppind : Names.inductive -> unit
32
33 val ppseff : Safe_typing.private_constants -> unit
34
35 val ppuint63 : Uint63.t -> unit
36
37 val ppsp : Libnames.full_path -> unit
38 val ppqualid : Libnames.qualid -> unit
39
40 val ppscheme : 'a Ind_tables.scheme_kind -> unit
41
42 val pprecarg : Declarations.recarg -> unit
43 val ppwf_paths : Declarations.recarg Rtree.t -> unit
44
45 val pr_evar : Evar.t -> Pp.t
46 val ppevar : Evar.t -> unit
47
48 (* Multiple printers for Constr.t *)
49 val ppconstr : Constr.t -> unit (* by Termops printer *)
50 val ppconstr_univ : Constr.t -> unit
51
52 val pp_constr_parray : Constr.t Parray.t -> unit
53 val pp_fconstr_parray : CClosure.fconstr Parray.t -> unit
54
55 (* Extern as type *)
56 val pptype : Constr.types -> unit
57
58 val ppeconstr : EConstr.constr -> unit (* Termops printer *)
59 val ppconstr_expr : Constrexpr.constr_expr -> unit
60 val ppglob_constr : 'a Glob_term.glob_constr_g -> unit
61 val pppattern : Pattern.constr_pattern -> unit
62 val ppfconstr : CClosure.fconstr -> unit
63 val pphconstr : HConstr.t -> unit
64 val pplift : Esubst.lift -> unit
65 val ppfsubst : CClosure.fconstr Esubst.subs -> unit
66
67 val ppnumtokunsigned : NumTok.Unsigned.t -> unit
68 val ppnumtokunsignednat : NumTok.UnsignedNat.t -> unit
69
70 val ppintset : Int.Set.t -> unit
71 val ppidset : Names.Id.Set.t -> unit
72
73 val pridmap : (Names.Id.Map.key -> 'a -> Pp.t) -> 'a Names.Id.Map.t -> Pp.t
74 val ppidmap : (Names.Id.Map.key -> 'a -> Pp.t) -> 'a Names.Id.Map.t -> unit
75
76 val pridmapgen : 'a Names.Id.Map.t -> Pp.t
77 val ppidmapgen : 'a Names.Id.Map.t -> unit
78
79 val printmapgen : 'a Int.Map.t -> Pp.t
80 val ppintmapgen : 'a Int.Map.t -> unit
81
82 val ppmpmapgen : 'a Names.ModPath.Map.t -> unit
83 val ppdpmapgen : 'a Names.DirPath.Map.t -> unit
84 val ppconmapenvgen : 'a Names.Cmap_env.t -> unit
85 val ppmindmapenvgen : 'a Names.Mindmap_env.t -> unit
86
87 val prididmap : Names.Id.t Names.Id.Map.t -> Pp.t
88 val ppididmap : Names.Id.t Names.Id.Map.t -> unit
89
90 val prconstrunderbindersidmap :
91 (Names.Id.t list * EConstr.constr) Names.Id.Map.t -> Pp.t
92 val ppconstrunderbindersidmap :
93 (Names.Id.t list * EConstr.constr) Names.Id.Map.t -> unit
94
95 val ppevarsubst :
96 (Constr.t * Constr.t option * Names.Id.Map.key) list Names.Id.Map.t -> unit
97
98 val ppunbound_ltac_var_map :
99 'a Genarg.generic_argument Names.Id.Map.t -> unit
100
101 val pr_closure : Ltac_pretype.closure -> Pp.t
102 val pr_closed_glob_constr_idmap :
103 Ltac_pretype.closed_glob_constr Names.Id.Map.t -> Pp.t
104 val pr_closed_glob_constr : Ltac_pretype.closed_glob_constr -> Pp.t
105 val ppclosure : Ltac_pretype.closure -> unit
106 val ppclosedglobconstr : Ltac_pretype.closed_glob_constr -> unit
107 val ppclosedglobconstridmap :
108 Ltac_pretype.closed_glob_constr Names.Id.Map.t -> unit
109
110 val ppglobal : Names.GlobRef.t -> unit
111
112 val ppconst :
113 Names.KerName.t * (Constr.constr, 'a) Environ.punsafe_judgment -> unit
114 val ppvar : Names.Id.t * Constr.constr -> unit
115
116 val genppj : ('a -> Pp.t * Pp.t) -> 'a -> Pp.t
117 val ppj : EConstr.unsafe_judgment -> unit
118
119 val ppsubst : Mod_subst.substitution -> unit
120 val ppdelta : Mod_subst.delta_resolver -> unit
121
122 val pp_idpred : Names.Id.Pred.t -> unit
123 val pp_cpred : Names.Cpred.t -> unit
124 val pp_transparent_state : TransparentState.t -> unit
125
126 val pp_estack_t : Reductionops.Stack.t -> unit
127 val pp_state_t : Reductionops.state -> unit
128
129 val ppmetas : Unification.Metaset.t -> unit
130 val ppmetamap : Unification.Meta.t -> unit
131 val ppevm : Evd.evar_map -> unit
132 val ppevmall : Evd.evar_map -> unit
133
134 val pr_existentialset : Evar.Set.t -> Pp.t
135 val ppexistentialset : Evar.Set.t -> unit
136
137 val ppexistentialfilter : Evd.Filter.t -> unit
138
139 val ppclenv : Clenv.clausenv -> unit
140
141 val ppgoal : Proofview.Goal.t -> unit
142 val ppgoal_with_state : Proofview_monad.goal_with_state -> unit
143
144 val pphintdb : Hints.Hint_db.t -> unit
145 val ppproofview : Proofview.proofview -> unit
146
147 val pproof : Proof.t -> unit
148
149 (* Universes *)
150 val ppuni : Univ.Universe.t -> unit
151 val ppuni_level : Univ.Level.t -> unit (* raw *)
152 val ppqvar : Sorts.QVar.t -> unit
153 val ppesorts : EConstr.ESorts.t -> unit
154 val pperelevance : EConstr.ERelevance.t -> unit
155 val prlev : Univ.Level.t -> Pp.t (* with global names (does this work?) *)
156 val ppqvarset : Sorts.QVar.Set.t -> unit
157 val ppqset : Sorts.Quality.Set.t -> unit
158 val ppuniverse_set : Univ.Level.Set.t -> unit
159 val ppuniverse_instance : UVars.Instance.t -> unit
160 val ppuniverse_einstance : EConstr.EInstance.t -> unit
161 val ppuniverse_context : UVars.UContext.t -> unit
162 val ppaucontext : UVars.AbstractContext.t -> unit
163 val ppuniverse_subst : UnivSubst.universe_subst -> unit
164 val ppuniverse_opt_subst : UState.universe_opt_subst -> unit
165 val pppoly_flags : PolyFlags.t -> unit
166 val ppqvar_subst : Sorts.Quality.t Sorts.QVar.Map.t -> unit
167 val ppuniverse_level_subst : UVars.universe_level_subst -> unit
168 val ppustate : UState.t -> unit
169 val ppconstraints : Univ.UnivConstraints.t -> unit
170 val ppqconstraints : Sorts.ElimConstraints.t -> unit
171 val ppuniverseconstraints : UnivProblem.Set.t -> unit
172 val ppuniverse_context_future : UVars.UContext.t Future.computation -> unit
173 val ppuniverses : UGraph.t -> unit
174 val ppqualities : QGraph.t -> unit
175 val ppelim_constraints : Sorts.ElimConstraints.t -> unit
176
177 val pp_partialfsubst : (CClosure.fconstr, Sorts.Quality.t, Univ.Universe.t) Partial_subst.t -> unit
178 val pp_partialsubst : (EConstr.constr, Sorts.Quality.t, Univ.Universe.t) Partial_subst.t -> unit
179
180 val ppnamedcontextval : Environ.named_context_val -> unit
181 val ppenv : Environ.env -> unit
182 val ppglobenv : GlobEnv.t -> unit
183 val ppenvwithcst : Environ.env -> unit
184
185 val pptac : Ltac_plugin.Tacexpr.glob_tactic_expr -> unit
186
187 val ppobj : Libobject.obj -> unit
188
189 (* Some super raw printers *)
190 val cast_kind_display : Constr.cast_kind -> string
191 val constr_display : Constr.constr -> unit
192 val econstr_display : EConstr.constr -> unit
193 val print_pure_constr : Constr.types -> unit
194 val print_pure_econstr : EConstr.types -> unit
195
196 val pploc : Loc.t -> unit
197
198 val pp_argument_type : Genarg.argument_type -> unit
199 val pp_generic_argument : 'a Genarg.generic_argument -> unit
200
201 val prgenarginfo : Geninterp.Val.t -> Pp.t
202 val ppgenarginfo : Geninterp.Val.t -> unit
203
204 val ppgenargargt : ('a, 'b, 'c) Genarg.ArgT.tag -> unit
205
206 val ppist : Geninterp.interp_sign -> unit
207
208 val raw_string_of_ref : ?loc:Loc.t -> Names.Id.Set.t -> Names.GlobRef.t -> Libnames.qualid
209 val short_string_of_ref : ?loc:Loc.t -> Names.Id.Set.t -> Names.GlobRef.t -> Libnames.qualid