aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide/coq.mli
blob: e96d03ae1bffdabe5196f5211e10fd0985c705c0 (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
open Names
open Term
open Environ
open Evd

val version : unit -> string

val init : unit -> unit 
val interp : string -> Util.loc * Vernacexpr.vernac_expr
val interp_last : Util.loc * Vernacexpr.vernac_expr -> unit

val is_tactic : Vernacexpr.vernac_expr -> bool

(* type hyp = (identifier * constr option * constr) * string *)

type hyp = env * evar_map * 
           ((identifier*string) * constr option * constr) * (string * string)
type concl = env * evar_map * constr * string
type goal = hyp list * concl

val get_current_goals : unit -> goal list

val print_no_goal : unit -> string

val process_exn : exn -> string*((int*int) option)

type word_class = Normal | Kwd | Reserved

val word_class : string -> word_class

type reset_info = NoReset | Reset of Names.identifier * bool ref

val compute_reset_info : Vernacexpr.vernac_expr -> reset_info
val reset_initial : unit -> unit
val reset_to : identifier -> unit

val hyp_menu : hyp -> (string * string) list
val concl_menu : concl -> (string * string) list