aboutsummaryrefslogtreecommitdiff
path: root/parsing/termast.mli
blob: 1ef1dbf1ace369aaa20dc82f631107f744823c27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(* $Id$ *)

(*i*)
open Term
open Names
(*i*)

(* Translation of terms into syntax trees. Used for pretty-printing. *)

val print_implicits : bool ref

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