package ppxlib
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Standard library for ppx rewriters
Install
dune-project
Dependency
Authors
Maintainers
Sources
ppxlib-0.25.1.tbz
sha256=a51b3868029e62ff14a0f2bd8d278dacfc0c3fc5b22d484a296be90c53e4ffd7
sha512=6a6d9af49344e901cc9e6da7bcf38c2973705c8cee4cff1c64c0393e9ccc55a6abec1f58d5b56d0807939a3741bec722ee7bfc244f94619167a30438f182488a
doc/ppxlib.astlib/Astlib/Location/index.html
Module Astlib.LocationSource
Source code locations (ranges of positions), used in parsetrees
type t = Ocaml_common.Location.t = {loc_start : Lexing.position;loc_end : Lexing.position;loc_ghost : bool;
}The location type
A located type
Set the name of the input source, e.g. the file name.
val none : tAn arbitrary value of type t; describes an empty ghost range.
Automatically reporting errors for raised exceptions
val register_error_of_exn : (exn -> Error.t option) -> unitEach compiler module which defines a custom type of exception which can surface as a user-visible error should register a "printer" for this exception using register_error_of_exn. The result of the printer is an error value containing a location, a message, and optionally sub-messages (each of them being located as well).
exception Error of Error.tLocated exception.
Raise a located exception.
val report_exception : Format.formatter -> exn -> unitReport an exception on the given formatter
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page