Ppxlib.Location
type t = Astlib.Location.t = {
loc_start : Lexing.position;
loc_end : Lexing.position;
loc_ghost : bool;
}
val in_file : string -> t
val none : t
val init : Lexing.lexbuf -> string -> unit
val raise_errorf : ?loc:t -> ('a, Format.formatter, unit, 'b) format4 -> 'a
val of_lexbuf : Lexing.lexbuf -> t
val report_exception : Format.formatter -> exn -> unit
val print : Format.formatter -> t -> unit
val compare_pos : Lexing.position -> Lexing.position -> int
val min_pos : Lexing.position -> Lexing.position -> Lexing.position
val max_pos : Lexing.position -> Lexing.position -> Lexing.position
module Error : sig ... end
val error_extensionf :
loc:t ->
('a, Format.formatter, unit, string Astlib.Location.loc * Parsetree.payload)
format4 ->
'a
exception Error of Error.t