Module Parsetree_show.Location
include module type of struct include Location end
with type t := Location.t
and type report_printer := Location.report_printer
and type report_kind := Location.report_kind
and type report := Location.report
and type msg := Location.msg
and type 'a loc := 'a Location.loc
and type error := Location.error
val in_file : string -> Location.tval symbol_rloc : unit -> Location.tval symbol_gloc : unit -> Location.tval rhs_loc : int -> Location.tval rhs_interval : int -> int -> Location.tval mknoloc : 'a -> 'a Location.locval mkloc : 'a -> Location.t -> 'a Location.locval echo_eof : unit -> unitval rewrite_absolute_path : string -> stringval absolute_path : string -> stringval show_filename : string -> stringval batch_mode_printer : Location.report_printerval terminfo_toplevel_printer : Lexing.lexbuf -> Location.report_printerval best_toplevel_printer : unit -> Location.report_printerval report_printer : (unit -> Location.report_printer) refval default_report_printer : unit -> Location.report_printerval report_warning : Location.t -> Warnings.t -> Location.report optionval warning_reporter : (Location.t -> Warnings.t -> Location.report option) refval default_warning_reporter :
Location.t ->
Warnings.t ->
Location.report optionval prerr_warning : Location.t -> Warnings.t -> unitval report_alert : Location.t -> Warnings.alert -> Location.report optionval alert_reporter :
(Location.t -> Warnings.alert -> Location.report option) refval default_alert_reporter :
Location.t ->
Warnings.alert ->
Location.report optionval prerr_alert : Location.t -> Warnings.alert -> unitval deprecated :
?def:Location.t ->
?use:Location.t ->
Location.t ->
string ->
unitval alert :
?def:Location.t ->
?use:Location.t ->
kind:string ->
Location.t ->
string ->
unitval error :
?loc:Location.t ->
?sub:Location.msg list ->
string ->
Location.errorval errorf :
?loc:Location.t ->
?sub:Location.msg list ->
('a, Format.formatter, unit, Location.error) format4 ->
'aval error_of_printer :
?loc:Location.t ->
?sub:Location.msg list ->
(Format.formatter -> 'a -> unit) ->
'a ->
Location.errorval error_of_printer_file :
(Format.formatter -> 'a -> unit) ->
'a ->
Location.errorval register_error_of_exn : (exn -> Location.error option) -> unitval error_of_exn : exn -> [ `Already_displayed | `Ok of Location.error ] optionexception Error of Location.errorexception Already_displayed_errortype 'a loc = 'a Location.loc = {txt : 'a;loc : t;
}type report_kind = Location.report_kind = | Report_error| Report_warning of string| Report_warning_as_error of string| Report_alert of string| Report_alert_as_error of string