Doc.Descr
val has_source : t -> bool
has_source desc
if the source code is available.
val pp_location : Stdlib.Format.formatter -> t -> unit
prints the location if has_source
, otherwise does nothing.
val pp_source : Stdlib.Format.formatter -> t -> unit
prints source code if it is available, otherwise does nothing.