@[AlwaysInline] @[CallConvention("X86_StdCall")] @[MyAnnotation(key: "value", value: 123)] @[MyAnnotation("foo", 123, false)] ---------------------------------------------------- [ ["attribute", [ ["delimiter", "@["], ["attribute", "AlwaysInline"], ["delimiter", "]"] ]], ["attribute", [ ["delimiter", "@["], ["attribute", "CallConvention"], ["args", [ ["punctuation", "("], ["string-literal", [ ["string", "\"X86_StdCall\""] ]], ["punctuation", ")"] ]], ["delimiter", "]"] ]], ["attribute", [ ["delimiter", "@["], ["attribute", "MyAnnotation"], ["args", [ ["punctuation", "("], ["symbol", "key"], ["operator", ":"], ["string-literal", [ ["string", "\"value\""] ]], ["punctuation", ","], ["symbol", "value"], ["operator", ":"], ["number", "123"], ["punctuation", ")"] ]], ["delimiter", "]"] ]], ["attribute", [ ["delimiter", "@["], ["attribute", "MyAnnotation"], ["args", [ ["punctuation", "("], ["string-literal", [ ["string", "\"foo\""] ]], ["punctuation", ","], ["number", "123"], ["punctuation", ","], ["boolean", "false"], ["punctuation", ")"] ]], ["delimiter", "]"] ]] ] ---------------------------------------------------- Checks for attributes.