pub fn parse_attr_decl<P: Parser>(p: &mut P) -> ReportedResult<AttrDecl>
Expand description

Parse an attribute declaration or specification. See IEEE 1076-2008 sections 6.7 and 7.2.

attribute_decl
  := "attribute" ident ":" name ";"
  := "attribute" ident "of" ({name [signature]}","+ | "others" | "all") ":" entity_class "is" expr ";"