[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`.