type ('context, 'payload) t
type packed =
| T : ('a, 'b) t -> packed
type 'a flag = ('a, unit) t
val name : ('a, 'b) t -> string
val get : ('a, 'b) t -> ?mark_as_seen:bool -> 'a -> 'b option
val has_flag : 'a flag -> ?mark_as_seen:bool -> 'a -> bool
val consume : ('a, 'b) t -> 'a -> ('a * 'b) option
val explicitly_drop : Ppxlib__.Ast_traverse0.iter
val check_unused : Ppxlib__.Ast_traverse0.iter
val collect_unused_attributes_errors :
Ppxlib__.Location.Error.t list Ppxlib__.Ast_traverse0.fold
val collect : Ppxlib__.Ast_traverse0.iter
val collect_unseen_errors : unit -> Ppxlib__.Location.Error.t list
val check_all_seen : unit -> unit
val reset_checks : unit -> unit
val pattern :
('a, 'b) t ->
('a, 'c, 'd) Ppxlib__.Ast_pattern0.t ->
('a, 'b option -> 'c, 'd) Ppxlib__.Ast_pattern0.t
val pattern_res :
('a, 'b) t ->
('a, 'c, 'd) Ppxlib__.Ast_pattern0.t ->
('a,
'b option ->
'c,
('d, Ppxlib__.Location.Error.t Stdppx.NonEmptyList.t) result)
Ppxlib__.Ast_pattern0.t