1
(************************************************************************)
2
(* v * The Coq Proof Assistant / The Coq Development Team *)
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
4
(* \VV/ **************************************************************)
5
(* // * This file is distributed under the terms of the *)
6
(* * GNU Lesser General Public License Version 2.1 *)
7
(************************************************************************)
9
(*i $Id: pptactic.mli 11309 2008-08-06 10:30:35Z herbelin $ i*)
22
val pr_or_var : ('a -> std_ppcmds) -> 'a or_var -> std_ppcmds
23
val pr_or_metaid : ('a -> std_ppcmds) -> 'a or_metaid -> std_ppcmds
24
val pr_and_short_name : ('a -> std_ppcmds) -> 'a and_short_name -> std_ppcmds
25
val pr_or_by_notation : ('a -> std_ppcmds) -> 'a or_by_notation -> std_ppcmds
27
type 'a raw_extra_genarg_printer =
28
(constr_expr -> std_ppcmds) ->
29
(constr_expr -> std_ppcmds) ->
30
(tolerability -> raw_tactic_expr -> std_ppcmds) ->
33
type 'a glob_extra_genarg_printer =
34
(rawconstr_and_expr -> std_ppcmds) ->
35
(rawconstr_and_expr -> std_ppcmds) ->
36
(tolerability -> glob_tactic_expr -> std_ppcmds) ->
39
type 'a extra_genarg_printer =
40
(Term.constr -> std_ppcmds) ->
41
(Term.constr -> std_ppcmds) ->
42
(tolerability -> glob_tactic_expr -> std_ppcmds) ->
45
(* if the boolean is false then the extension applies only to old syntax *)
46
val declare_extra_genarg_pprule :
47
('c raw_abstract_argument_type * 'c raw_extra_genarg_printer) ->
48
('a glob_abstract_argument_type * 'a glob_extra_genarg_printer) ->
49
('b typed_abstract_argument_type * 'b extra_genarg_printer) -> unit
51
type grammar_terminals = string option list
53
(* if the boolean is false then the extension applies only to old syntax *)
54
val declare_extra_tactic_pprule :
55
string * argument_type list * (int * grammar_terminals) -> unit
57
val exists_extra_tactic_pprule : string -> argument_type list -> bool
60
(constr_expr -> std_ppcmds) ->
61
(constr_expr -> std_ppcmds) ->
62
(tolerability -> raw_tactic_expr -> std_ppcmds) ->
63
(Libnames.reference -> std_ppcmds) -> constr_expr generic_argument ->
67
(constr_expr -> std_ppcmds) -> (constr_expr -> std_ppcmds) ->
68
(tolerability -> raw_tactic_expr -> std_ppcmds) -> int ->
69
string -> raw_generic_argument list -> std_ppcmds
72
(rawconstr_and_expr -> std_ppcmds) -> (rawconstr_and_expr -> std_ppcmds) ->
73
(tolerability -> glob_tactic_expr -> std_ppcmds) -> int ->
74
string -> glob_generic_argument list -> std_ppcmds
77
(open_constr -> std_ppcmds) -> (open_constr -> std_ppcmds) ->
78
(tolerability -> glob_tactic_expr -> std_ppcmds) -> int ->
79
string -> typed_generic_argument list -> std_ppcmds
81
val pr_ltac_constant : Nametab.ltac_constant -> std_ppcmds
83
val pr_raw_tactic : env -> raw_tactic_expr -> std_ppcmds
85
val pr_raw_tactic_level : env -> tolerability -> raw_tactic_expr -> std_ppcmds
87
val pr_glob_tactic : env -> glob_tactic_expr -> std_ppcmds
89
val pr_tactic : env -> Proof_type.tactic_expr -> std_ppcmds
91
val pr_hintbases : string list option -> std_ppcmds
93
val pr_auto_using : ('constr -> std_ppcmds) -> 'constr list -> std_ppcmds
96
('constr -> std_ppcmds) ->
97
('constr -> std_ppcmds) -> 'constr bindings -> std_ppcmds