ppxlib

A comprehensive toolbox for ppx development. It features:
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library ppxlib
Module Ppxlib . Extension . Expert
type ('context, 'payload) t

Type of declared expert extensions.

The 'context type parameter describes where the extension is expected and the 'payload one what its payload should contain.

val declare : Base.String.t -> 'context Context.t -> ( Migrate_parsetree.Ast_405.Parsetree.payload, 'a, 'b ) Ast_pattern.t -> 'a -> ( 'context, 'b ) t
val declare_with_path_arg : Base.String.t -> 'context Context.t -> ( Migrate_parsetree.Ast_405.Parsetree.payload, 'a, 'b ) Ast_pattern.t -> ( arg:Longident.t Loc.t Base.Option.t -> 'a ) -> ( 'context, 'b ) t