[][src]Function moore_vhdl_syntax::parser::rules::parse_attr_decl

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

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 ";"