Astlib.Location
type t = Ocaml_common.Location.t = {
loc_start : Lexing.position;
loc_end : Lexing.position;
loc_ghost : bool;
}
module Error : sig ... end
val set_input_lexbuf : Lexing.lexbuf option -> unit
val none : t
val register_error_of_exn : (exn -> Error.t option) -> unit
exception Error of Error.t
val raise_errorf : ?loc:t -> ('a, Format.formatter, unit, 'b) format4 -> 'a
val report_exception : Format.formatter -> exn -> unit