package ocaml-migrate-parsetree
Convert OCaml parsetrees between different versions
Install
Dune Dependency
github.com
Readme
Changelog
LGPL-2.1-only WITH OCaml-LGPL-linking-exception License
Edit opam file
Versions (16)
Authors
Maintainers
Sources
ocaml-migrate-parsetree-v1.4.0.tbz
sha256=231fbdc205187b3ee266b535d9cfe44b599067b2f6e97883c782ea7bb577d3b8
sha512=61ee91d2d146cc2d2ff2d5dc4ef5dea4dc4d3c8dbd8b4c9586d64b6ad7302327ab35547aa0a5b0103c3f07b66b13d416a1bee6d4d117293cd3cabe44113ec6d4
doc/ocaml-migrate-parsetree/Locations/index.html
Module Locations
type old_location_error = {
loc : Location.t;
msg : string;
sub : old_location_error list;
if_highlight : string;
}
type location_msg = (Format.formatter -> unit) Location.loc
type location_report = Location.report = {
kind : location_report_kind;
main : location_msg;
sub : location_msg list;
}
val error_type_of_location_error : location_error -> error_type
val location_error_of_exn : exn -> location_error
val extension_of_error :
mk_pstr:('a list -> 'b) ->
mk_extension:((string Location.loc * 'b) -> 'a) ->
mk_string_constant:(string -> 'a) ->
location_error ->
string Location.loc * 'b
val error_of_exn : exn -> location_error option
val report_exception : Format.formatter -> exn -> unit
val errorf :
loc:Location.t ->
('a, Format.formatter, unit, Location.error) format4 ->
'a
val raise_errorf :
?loc:Location.t ->
('a, Format.formatter, unit, 'b) format4 ->
'a
val _get_error_message_old : old_location_error -> string
val _get_error_message_new : location_report -> string
val get_error_message : location_report -> string
val _set_error_message_old : old_location_error -> string -> old_location_error
val _set_error_message_new : location_report -> string -> location_report
val set_error_message : location_report -> string -> location_report
val make_error_of_message_old :
loc:Location.t ->
string ->
sub:(Location.t * string) list ->
old_location_error
val make_error_of_message_new :
loc:Location.t ->
string ->
sub:(Location.t * string) list ->
location_report
val make_error_of_message :
loc:Location.t ->
string ->
sub:(Location.t * string) list ->
location_report
val print_error : Format.formatter -> Location.report -> unit
module type Helpers_intf = sig ... end
module Helpers_impl : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>