package override
PPX extension for overriding modules
Install
Dune Dependency
Authors
Maintainers
Sources
override-0.2.1.tar.gz
sha512=e58f747981eaeed94c920af81f210835f9ad6d5ca70f540040662af096436d703ffdf1532d51242beaecc3ea54a2de7193b4d274e06d70d3b2d2f48c474f727b
doc/override.parsetree_show/Parsetree_show/Location/index.html
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 init : Lexing.lexbuf -> string -> unit
val curr : Lexing.lexbuf -> Location.t
val get_pos_info : Lexing.position -> string * int * int
val input_name : string ref
val input_lexbuf : Lexing.lexbuf option ref
val print_filename : Format.formatter -> string -> unit
val print_loc : Format.formatter -> Location.t -> unit
val print_locs : Format.formatter -> Location.t list -> unit
val highlight_terminfo :
Lexing.lexbuf ->
Format.formatter ->
Location.t list ->
unit
val msg :
?loc:Location.t ->
('a, Format.formatter, unit, Location.msg) format4 ->
'a
val terminfo_toplevel_printer : Lexing.lexbuf -> Location.report_printer
val print_report : Format.formatter -> Location.report -> unit
val report_printer : (unit -> Location.report_printer) ref
val warning_reporter : (Location.t -> Warnings.t -> Location.report option) ref
val formatter_for_warnings : Format.formatter ref
val print_warning : Location.t -> Format.formatter -> Warnings.t -> unit
val alert_reporter :
(Location.t -> Warnings.alert -> Location.report option) ref
val print_alert : Location.t -> Format.formatter -> Warnings.alert -> unit
val errorf :
?loc:Location.t ->
?sub:Location.msg list ->
('a, Format.formatter, unit, Location.error) format4 ->
'a
val error_of_printer :
?loc:Location.t ->
?sub:Location.msg list ->
(Format.formatter -> 'a -> unit) ->
'a ->
Location.error
val error_of_printer_file :
(Format.formatter -> 'a -> unit) ->
'a ->
Location.error
val raise_errorf :
?loc:Location.t ->
?sub:Location.msg list ->
('a, Format.formatter, unit, 'b) format4 ->
'a
val report_exception : Format.formatter -> exn -> unit
type t = Warnings.loc = {
loc_start : Stdlib.Lexing.position;
loc_end : Stdlib.Lexing.position;
loc_ghost : bool;
}
val pp : Ppx_show_runtime.Format.formatter -> t -> unit
val show : t -> string
val pp_loc :
(Ppx_show_runtime.Format.formatter -> 'a -> unit) ->
Ppx_show_runtime.Format.formatter ->
'a loc ->
unit
val show_loc :
(Ppx_show_runtime.Format.formatter -> 'a -> unit) ->
'a loc ->
string
type msg = (Stdlib.Format.formatter -> unit) loc
val pp_msg : Ppx_show_runtime.Format.formatter -> msg -> unit
val show_msg : msg -> string
val pp_report_kind : Ppx_show_runtime.Format.formatter -> report_kind -> unit
val show_report_kind : report_kind -> string
val pp_report : Ppx_show_runtime.Format.formatter -> report -> unit
val show_report : report -> string
type report_printer = Location.report_printer = {
pp : report_printer -> Stdlib.Format.formatter -> report -> unit;
pp_report_kind : report_printer -> report -> Stdlib.Format.formatter -> report_kind -> unit;
pp_main_loc : report_printer -> report -> Stdlib.Format.formatter -> t -> unit;
pp_main_txt : report_printer -> report -> Stdlib.Format.formatter -> (Stdlib.Format.formatter -> unit) -> unit;
pp_submsgs : report_printer -> report -> Stdlib.Format.formatter -> msg list -> unit;
pp_submsg : report_printer -> report -> Stdlib.Format.formatter -> msg -> unit;
pp_submsg_loc : report_printer -> report -> Stdlib.Format.formatter -> t -> unit;
pp_submsg_txt : report_printer -> report -> Stdlib.Format.formatter -> (Stdlib.Format.formatter -> unit) -> unit;
}
val pp_report_printer :
Ppx_show_runtime.Format.formatter ->
report_printer ->
unit
val show_report_printer : report_printer -> string
type error = report
val pp_error : Ppx_show_runtime.Format.formatter -> error -> unit
val show_error : error -> string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>