aboutsummaryrefslogtreecommitdiff
path: root/src/tac2print.mli
blob: ddd599641d32c19972483a484b26e94c4a260273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

open Pp
open Names
open Tac2expr

(** {5 Printing types} *)

type typ_level =
| T5_l
| T5_r
| T2
| T1
| T0

val pr_typref : type_constant -> std_ppcmds
val pr_glbtype_gen : ('a -> string) -> typ_level -> 'a glb_typexpr -> std_ppcmds
val pr_glbtype : ('a -> string) -> 'a glb_typexpr -> std_ppcmds

(** {5 Printing expressions} *)

val pr_constructor : ltac_constructor -> std_ppcmds
val pr_projection : ltac_projection -> std_ppcmds
val pr_glbexpr_gen : exp_level -> glb_tacexpr -> std_ppcmds
val pr_glbexpr : glb_tacexpr -> std_ppcmds

(** {5 Utilities} *)

val int_name : unit -> (int -> string)
(** Create a function that give names to integers. The names are generated on
    the fly, in the order they are encountered. *)