Module Odoc_parser.WarningSource

Warnings produced during parsing.

Sourcetype t = {
  1. location : Loc.span;
  2. message : string;
}

Warnings are represented as record containing the human-readable text of the warning alongside the location of the offending text in the source

Sourceval pp : Format.formatter -> t -> unit

Pretty printer for t

Sourceval to_string : t -> string

to_string will format the location and warning as text to be printed.