dwww Home | Manual pages | Find package

Attr_helper(3o)                  OCaml library                 Attr_helper(3o)

NAME
       Attr_helper - Helpers for attributes

Module
       Module   Attr_helper

Documentation
       Module Attr_helper
        : sig end

       Helpers for attributes

       Warning: this module is unstable and part of Compiler_libs .

       type error =
        | Multiple_attributes of string
        | No_payload_expected of string

       val  get_no_payload_attribute  : string list -> Parsetree.attributes ->
       string Asttypes.loc option

       The string list argument of the following functions is a list of alter-
       native names for the attribute we are looking for. For instance:

             ["foo"; "ocaml.foo"]

       val  has_no_payload_attribute  : string list -> Parsetree.attributes ->
       bool

       exception Error of Location.t * error

       val report_error : Format.formatter -> error -> unit

OCamldoc                          2023-02-12                   Attr_helper(3o)

Generated by dwww version 1.15 on Sun Jun 23 04:25:50 CEST 2024.