Module Middle.Location_span

Delimited locations in source code

type t = {
  1. begin_loc : Location.t;
  2. end_loc : Location.t;
}
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
include Ppx_hash_lib.Hashable.S with type t := t
val hash_fold_t : t Base__Ppx_hash_lib.hash_fold
val hash : t -> Base__Ppx_hash_lib.Std.Hash.hash_value
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