Module Coq.Ast

type t
val loc : t -> Loc.t option
val hash : t -> int
val compare : t -> t -> int
module Id : sig ... end
val make_info : st:State.t -> lines:string array -> t -> Lang.Ast.Info.t list option

make_info ~st ast Compute info about a possible definition in ast, we need ~st to compute the type.

val print : t -> Pp.t

Printing

val pp_loc : ?print_file:bool -> Stdlib.Format.formatter -> Loc.t -> unit
val loc_to_string : ?print_file:bool -> Loc.t -> string
val marshal_in : Stdlib.in_channel -> t

Unused for now

val marshal_out : Stdlib.out_channel -> t -> unit
val to_coq : t -> Vernacexpr.vernac_control

Internal, will go away once the Lang.t interface is ready

val of_coq : Vernacexpr.vernac_control -> t