package loc

  1. Overview
  2. Docs

Module Loc.RangeSource

Sourcetype t = {
  1. start : Offset.t;
  2. stop : Offset.t;
}

A range refers to a chunk of the file, from start (included) to stop (excluded).

Sourceval equal : t -> t -> bool
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval of_positions : start:Lexing.position -> stop:Lexing.position -> t
Sourceval interval : t -> t -> t

Build the range that covers both inputs, and what may be in between.