aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/ssr/ssrprinters.mli
blob: f23106826526b1488e1af6aad2c4245cda9c5706 (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
38
39
40
41
42
43
44
45
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2017     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

(* This file is (C) Copyright 2006-2015 Microsoft Corporation and Inria. *)

open Ssrast

val pp_term :
  Goal.goal Evd.sigma -> EConstr.constr -> Pp.t

val pr_spc : unit -> Pp.t
val pr_bar : unit -> Pp.t
val pr_list : 
  (unit -> Pp.t) -> ('a -> Pp.t) -> 'a list -> Pp.t

val pp_concat :
  Pp.t ->
  ?sep:Pp.t -> Pp.t list -> Pp.t

val xInParens : ssrtermkind
val xWithAt : ssrtermkind
val xNoFlag : ssrtermkind
val xCpattern : ssrtermkind

val pr_term :
  ssrtermkind * (Glob_term.glob_constr * Constrexpr.constr_expr option) ->
  Pp.t

val pr_hyp : ssrhyp -> Pp.t

val prl_constr_expr : Constrexpr.constr_expr -> Pp.t
val prl_glob_constr : Glob_term.glob_constr -> Pp.t

val pr_guarded :
  (string -> int -> bool) -> ('a -> Pp.t) -> 'a -> Pp.t

val pr_occ : ssrocc -> Pp.t

val ppdebug : Pp.t Lazy.t -> unit