ppxlib
A comprehensive toolbox for ppx development. It features:
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package ppxlib
-
ppxlib
-
-
ppxlib.ast
-
-
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
type t = Ocaml_common.Location.error
val createf :
loc:t ->
( 'a, Caml.Format.formatter, Base.Unit.t, t ) format4 ->
'a
val message : t -> Base.String.t
val set_message : t -> Base.String.t -> t
val register_error_of_exn : ( Base.Exn.t -> t Base.Option.t ) -> Base.Unit.t
Register an exception handler. Exception registered this way will be properly displayed by report_exception
.
val of_exn : Base.Exn.t -> t Base.Option.t
val to_extension :
t ->
string Location.loc * Migrate_parsetree.Ast_405.Parsetree.payload
Convert an error to an extension point. The compiler recognizes this and displays the error properly.
ON THIS PAGE
No table of contents