aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing/termast.mli
blob: fd704d48bbd1c24a9ea5ea6e074909b56dada103 (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

(* $Id$ *)

(*i*)
open Names
open Term
open Sign
open Rawterm
(*i*)

val print_implicits : bool ref

(* Translation of pattern, rawterm and term into syntax trees for printing *)

val ast_of_pattern : pattern -> Coqast.t
val ast_of_rawconstr : unit assumptions -> rawconstr -> Coqast.t
val bdize : bool -> unit assumptions -> constr -> Coqast.t
val bdize_no_casts : bool -> unit assumptions -> constr -> Coqast.t

(* look for the index of a named var or a nondep var as it is renamed *)
val lookup_name_as_renamed :
  unit assumptions -> constr -> identifier -> int option
val lookup_index_as_renamed : constr -> int -> int option

(*i This is temporary *)
val ids_of_ctxt : constr array -> identifier list
(*i*)