Module Logtk.ParseLocation
Location in a file
val mk : string -> int -> int -> int -> int -> tval mk_pair : string -> (int * int) -> (int * int) -> tval mk_pos : Lexing.position -> Lexing.position -> tval eq : t -> t -> boolval hash : t -> intval combine : t -> t -> tPosition that spans the two given positions. The file is assumed to be the same in both case, and is chosen from one of the two positions.
val smaller : t -> t -> boolsmaller p1 p2is true ifp1is included inp2, iep1is a sub-location ofp2(interval inclusion)
module Infix : sig ... endinclude Interfaces.PRINT with type t := t
val pp_opt : t option CCFormat.printer
Lexbuf
val set_file : Lexing.lexbuf -> string -> unitChange the file name used for positions in this lexbuf
val of_lexbuf : Lexing.lexbuf -> tRecover a position from a lexbuf