package override
PPX extension for overriding modules
Install
Dune Dependency
Authors
Maintainers
Sources
override-0.2.2.tar.gz
sha512=2a22d74285570ad9f2a73327f52d4bef4aeb523f1b385f229775cc2a3bce4c389f2939da320c917707713ffc852cbcb3a1b515f9d7203da5751018589766ce01
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
val pp :
Ppx_deriving_runtime.Format.formatter ->
t ->
Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val pp_loc :
(Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) ->
Ppx_deriving_runtime.Format.formatter ->
'a loc ->
Ppx_deriving_runtime.unit
val show_loc :
(Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) ->
'a loc ->
Ppx_deriving_runtime.string
type msg = (Format.formatter -> unit) loc
val pp_msg :
Ppx_deriving_runtime.Format.formatter ->
msg ->
Ppx_deriving_runtime.unit
val show_msg : msg -> Ppx_deriving_runtime.string
val pp_report_kind :
Ppx_deriving_runtime.Format.formatter ->
report_kind ->
Ppx_deriving_runtime.unit
val show_report_kind : report_kind -> Ppx_deriving_runtime.string
val pp_report :
Ppx_deriving_runtime.Format.formatter ->
report ->
Ppx_deriving_runtime.unit
val show_report : report -> Ppx_deriving_runtime.string
type report_printer = Location.report_printer = {
pp : report_printer -> Format.formatter -> report -> unit;
pp_report_kind : report_printer -> report -> Format.formatter -> report_kind -> unit;
pp_main_loc : report_printer -> report -> Format.formatter -> t -> unit;
pp_main_txt : report_printer -> report -> Format.formatter -> (Format.formatter -> unit) -> unit;
pp_submsgs : report_printer -> report -> Format.formatter -> msg list -> unit;
pp_submsg : report_printer -> report -> Format.formatter -> msg -> unit;
pp_submsg_loc : report_printer -> report -> Format.formatter -> t -> unit;
pp_submsg_txt : report_printer -> report -> Format.formatter -> (Format.formatter -> unit) -> unit;
}
val pp_report_printer :
Ppx_deriving_runtime.Format.formatter ->
report_printer ->
Ppx_deriving_runtime.unit
val show_report_printer : report_printer -> Ppx_deriving_runtime.string
type error = report
val pp_error :
Ppx_deriving_runtime.Format.formatter ->
error ->
Ppx_deriving_runtime.unit
val show_error : error -> Ppx_deriving_runtime.string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>