Attr_helperHelpers for attributes
Warning: this module is unstable and part of compiler-libs.
val get_no_payload_attribute : string list -> Parsetree.attributes -> string Asttypes.loc optionThe string list argument of the following functions is a list of alternative names for the attribute we are looking for. For instance:
["foo"; "ocaml.foo"]val has_no_payload_attribute : string list -> Parsetree.attributes -> boolexception Error of Location.t * errorval report_error : Format.formatter -> error -> unit