ocamlformat-lib.odoc_parser
Odoc_parser.Warning
Warnings produced during parsing.
ocamlformat-lib
ocamlformat-lib.format_
ocamlformat-lib.ocaml_common
ocamlformat-lib.ocamlformat_stdlib
ocamlformat-lib.parser_extended
ocamlformat-lib.parser_shims
ocamlformat-lib.parser_standard
ocamlformat-lib.result
type t = {
location : Loc.span;
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
val pp : Format.formatter -> t -> unit
Pretty printer for t
t
val to_string : t -> string
to_string will format the location and warning as text to be printed.
to_string