Coq.Ast
val loc : t -> Loc.t option
val hash : t -> int
module Id : sig ... end
module Require : sig ... end
module Meta : 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 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