Module Middle.Location_span

Delimited locations in source code

type t = {
  1. begin_loc : Location.t;
  2. end_loc : Location.t;
}
val sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
val empty : t
val merge : t -> t -> t
val pp : ?printed_filename:string -> t Fmt.t
val to_string : ?printed_filename:string -> t -> string

Render a location_span as a string