Debian Codegraph @

tactics/gentactic.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Coq Proof Assistant / The Coq 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 open Names
12
13 (** Generic tactic expressions.
14 Internally implemented using [Genarg]. *)
15
16 type raw_generic_tactic
17
18 type glob_generic_tactic
19
20 val of_raw_genarg : Genarg.raw_generic_argument -> raw_generic_tactic
21 (** The genarg must have registrations for all the following APIs. *)
22
23 val of_glob_genarg : Genarg.glob_generic_argument -> glob_generic_tactic
24 (** The genarg must have registrations for all the following APIs
25 except those operating at the "raw" level. *)
26
27 val print_raw : Environ.env -> Evd.evar_map -> ?level:Constrexpr.entry_relative_level ->
28 raw_generic_tactic -> Pp.t
29
30 val print_glob : Environ.env -> Evd.evar_map -> ?level:Constrexpr.entry_relative_level ->
31 glob_generic_tactic -> Pp.t
32
33 val subst : Mod_subst.substitution -> glob_generic_tactic -> glob_generic_tactic
34
35 val intern : ?strict:bool -> Environ.env -> ?ltacvars:Id.Set.t -> raw_generic_tactic -> glob_generic_tactic
36 (** [strict] is default true *)
37
38 val interp : ?lfun:Geninterp.Val.t Id.Map.t -> glob_generic_tactic -> unit Proofview.tactic
39
40 val wit_generic_tactic : raw_generic_tactic Genarg.vernac_genarg_type
41
42 val to_raw_genarg : raw_generic_tactic -> Genarg.raw_generic_argument
43 (** For serlib *)