Module Llair.Loc

Source code debug locations

type t = {
  1. dir : string;
  2. file : string;
  3. line : int;
  4. col : int;
}
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
include Ppx_compare_lib.Equal.S with type t := t
val equal : t Base__Ppx_compare_lib.equal
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val pp : t NS.pp
val none : t
val mk : dir:string option -> file:string option -> line:int option -> col:int option -> t
val root : string option Stdlib.ref

Pathnames are printed relative to root if set.