ppxlib
Standard library for ppx rewriters
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
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
The location error type. It contains a located main message and a (possibly empty) list of located submessages.
val is_well_formed : t -> bool
A location error constructed via make
is always well-formed. A malformed location error is a value of type location_report
on compilers >= 4.08, whose kind
is different from Report_error
. Notice that location_report
does not explicitly form part of Astlib.
Set the text of the error's main message. The location stays as is.
val of_exn : exn -> t option
Turn an exception into a location error, if possible.
ON THIS PAGE
No table of contents