Module Attr_helper
: sigend
Helpers for attributes
Warning: this module is unstable and part of Compiler_libs .
typeerror =
| Multiple_attributes ofstring
| No_payload_expected ofstringvalget_no_payload_attribute : string->Parsetree.attributes->stringAsttypes.locoption
The string argument of the following functions is the name of the attribute we are looking for. If the
argument is "foo" , these functions will find attributes with the name "foo" or "ocaml.foo"valhas_no_payload_attribute : string->Parsetree.attributes->boolexceptionErrorofLocation.t*errorvalreport_error : errorFormat_doc.format_printervalreport_error_doc : errorFormat_doc.printer
OCamldoc 2025-06-12 Attr_helper(3o)