Module Extension.Expert

type ('context, 'payload) t
val declare : string -> 'context Context.t -> (Parsetree.payload, 'a, 'b) Ppxlib__.Ast_pattern0.t -> 'a -> ('context, 'b) t
val declare_with_path_arg : string -> 'context Context.t -> (Parsetree.payload, 'a, 'b) Ppxlib__.Ast_pattern0.t -> (arg:Astlib.Longident.t Astlib.Location.loc option -> 'a) -> ('context, 'b) t
val convert_res : ('b, 'a) t list -> loc:Astlib.Location.t -> (string Astlib.Location.loc * Parsetree.payload) -> ('a option, Ppxlib__.Location.Error.t Stdppx.NonEmptyList.t) result
val convert : ('b, 'a) t list -> loc:Astlib.Location.t -> (string Astlib.Location.loc * Parsetree.payload) -> 'a option