Module Doc.Descr

include Element
type t
val pp : Stdlib.Format.formatter -> t -> unit
val has_source : t -> bool

has_source desc if the source code is available.

  • since 2.5.0
val pp_location : Stdlib.Format.formatter -> t -> unit

prints the location if has_source, otherwise does nothing.

  • since 2.5.0
val pp_source : Stdlib.Format.formatter -> t -> unit

prints source code if it is available, otherwise does nothing.

  • since 2.5.0