package ppxlib
-
ppxlib
-
-
ppxlib.ast
-
-
ppxlib.astlib
-
-
ppxlib.metaquot
-
ppxlib.metaquot_lifters
-
ppxlib.print_diff
-
ppxlib.runner
-
ppxlib.runner_as_ppx
-
ppxlib.traverse
-
ppxlib.traverse_builtins
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val createf :
loc:t ->
('a, Stdppx.Caml.Format.formatter, unit, t) format4 ->
'a
val message : t -> string
val register_error_of_exn : (exn -> t option) -> unit
Register an exception handler. Exception registered this way will be properly displayed by report_exception
.
val of_exn : exn -> t option
val to_extension :
t ->
string Astlib.Location.loc * Astlib.Ast_500.Parsetree.payload
Convert an error to an extension point. The compiler recognizes this and displays the error properly.
val raise : t -> 'a
Raise a compiler Parsing.Location.Error
exception. The composition of Location.Error.createf
with Location.Error.raise
is the same as Location.raise_errorf
.
Update where the error is located. The old location will be overwritten.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>