Module Pputils

val pr_located : ('a -> Pp.t) -> 'a Loc.located -> Pp.t
val pr_ast : ('a -> Pp.t) -> 'a CAst.t -> Pp.t

Prints an object surrounded by its commented location

val pr_lident : Names.lident -> Pp.t
val pr_lname : Names.lname -> Pp.t
val pr_or_var : ('a -> Pp.t) -> 'a Locus.or_var -> Pp.t
val pr_or_by_notation : ('a -> Pp.t) -> 'a Constrexpr.or_by_notation -> Pp.t
val beautify_comments : ((int * int) * string) list Stdlib.ref
val extract_comments : int -> string list