diff options
| author | herbelin | 2005-05-17 12:43:22 +0000 |
|---|---|---|
| committer | herbelin | 2005-05-17 12:43:22 +0000 |
| commit | ddc83ed89cd6671cfa6b5bf2d0ce1fb74ad206c1 (patch) | |
| tree | e909215081d80bd77413cf51ceff915fe22d8af2 /parsing/pptactic.mli | |
| parent | b748569d82f5d8e886ac9f928c7fa1af5d422ce7 (diff) | |
Extension de Tactic Notation pour permettre d'tendre et de faire rffrence aux niveaux syntaxiques des tacticielles
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7029 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/pptactic.mli')
| -rw-r--r-- | parsing/pptactic.mli | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/parsing/pptactic.mli b/parsing/pptactic.mli index 532664274d..3738c57bb9 100644 --- a/parsing/pptactic.mli +++ b/parsing/pptactic.mli @@ -15,6 +15,7 @@ open Pretyping open Proof_type open Topconstr open Rawterm +open Ppextend val pr_or_var : ('a -> std_ppcmds) -> 'a or_var -> std_ppcmds val pr_or_metaid : ('a -> std_ppcmds) -> 'a or_metaid -> std_ppcmds @@ -22,15 +23,15 @@ val pr_and_short_name : ('a -> std_ppcmds) -> 'a and_short_name -> std_ppcmds val pr_located : ('a -> std_ppcmds) -> 'a Util.located -> std_ppcmds type 'a raw_extra_genarg_printer = - (constr_expr -> std_ppcmds) -> (raw_tactic_expr -> std_ppcmds) -> + (constr_expr -> std_ppcmds) -> (tolerability -> raw_tactic_expr -> std_ppcmds) -> 'a -> std_ppcmds type 'a glob_extra_genarg_printer = - (rawconstr_and_expr -> std_ppcmds) -> (glob_tactic_expr -> std_ppcmds) -> + (rawconstr_and_expr -> std_ppcmds) -> (tolerability -> glob_tactic_expr -> std_ppcmds) -> 'a -> std_ppcmds type 'a extra_genarg_printer = - (Term.constr -> std_ppcmds) -> (glob_tactic_expr -> std_ppcmds) -> + (Term.constr -> std_ppcmds) -> (tolerability -> glob_tactic_expr -> std_ppcmds) -> 'a -> std_ppcmds (* if the boolean is false then the extension applies only to old syntax *) @@ -44,7 +45,7 @@ type grammar_terminals = string option list (* if the boolean is false then the extension applies only to old syntax *) val declare_extra_tactic_pprule : bool -> string -> - argument_type list * (string * grammar_terminals) -> unit + argument_type list * (int * grammar_terminals) -> unit val pr_match_pattern : ('a -> std_ppcmds) -> 'a match_pattern -> std_ppcmds @@ -58,27 +59,28 @@ val pr_tactic : Proof_type.tactic_expr -> std_ppcmds val pr_glob_generic: (rawconstr_and_expr -> std_ppcmds) -> (rawconstr_and_expr -> std_ppcmds) -> - (glob_tactic_expr -> std_ppcmds) -> + (tolerability -> glob_tactic_expr -> std_ppcmds) -> glob_generic_argument -> std_ppcmds val pr_raw_generic : (constr_expr -> std_ppcmds) -> (constr_expr -> std_ppcmds) -> - (raw_tactic_expr -> std_ppcmds) -> + (tolerability -> raw_tactic_expr -> std_ppcmds) -> (Libnames.reference -> std_ppcmds) -> (constr_expr, raw_tactic_expr) generic_argument -> std_ppcmds val pr_raw_extend: (constr_expr -> std_ppcmds) -> (constr_expr -> std_ppcmds) -> - (raw_tactic_expr -> std_ppcmds) -> string -> - raw_generic_argument list -> std_ppcmds + (tolerability -> raw_tactic_expr -> std_ppcmds) -> int -> + string -> raw_generic_argument list -> std_ppcmds val pr_glob_extend: (rawconstr_and_expr -> std_ppcmds) -> (rawconstr_and_expr -> std_ppcmds) -> - (glob_tactic_expr -> std_ppcmds) -> string -> - glob_generic_argument list -> std_ppcmds + (tolerability -> glob_tactic_expr -> std_ppcmds) -> int -> + string -> glob_generic_argument list -> std_ppcmds val pr_extend : (Term.constr -> std_ppcmds) -> (Term.constr -> std_ppcmds) -> - (glob_tactic_expr -> std_ppcmds) -> string -> closed_generic_argument list -> std_ppcmds + (tolerability -> glob_tactic_expr -> std_ppcmds) -> int -> + string -> closed_generic_argument list -> std_ppcmds |
