[Refactoring] Add print functions for LINK, PROT, and TRUST
fix Issue 12924 - deprecated("foo"); and deprecated; should not compile

'DeclarationBlock' that follows 'Attribute' should be parsed by parseBlock.

`PrefixAttribute` is used to check redundant/conflicting attributes over the mutual call between `parseDeclDefs` and `parseBlock`.
Merge pull request #3676 from 9rnsr/fix12924

[REG2.066a] Issue 12924 - deprecated("foo"); and deprecated; should not compile