| 1 |
@[AlwaysInline] |
| 2 |
@[CallConvention("X86_StdCall")] |
| 3 |
@[MyAnnotation(key: "value", value: 123)] |
| 4 |
@[MyAnnotation("foo", 123, false)] |
| 5 |
|
| 6 |
---------------------------------------------------- |
| 7 |
|
| 8 |
[ |
| 9 |
["attribute", [ |
| 10 |
["delimiter", "@["], |
| 11 |
["attribute", "AlwaysInline"], |
| 12 |
["delimiter", "]"] |
| 13 |
]], |
| 14 |
["attribute", [ |
| 15 |
["delimiter", "@["], |
| 16 |
["attribute", "CallConvention"], |
| 17 |
["args", [ |
| 18 |
["punctuation", "("], |
| 19 |
["string-literal", [ |
| 20 |
["string", "\"X86_StdCall\""] |
| 21 |
]], |
| 22 |
["punctuation", ")"] |
| 23 |
]], |
| 24 |
["delimiter", "]"] |
| 25 |
]], |
| 26 |
["attribute", [ |
| 27 |
["delimiter", "@["], |
| 28 |
["attribute", "MyAnnotation"], |
| 29 |
["args", [ |
| 30 |
["punctuation", "("], |
| 31 |
["symbol", "key"], |
| 32 |
["operator", ":"], |
| 33 |
["string-literal", [ |
| 34 |
["string", "\"value\""] |
| 35 |
]], |
| 36 |
["punctuation", ","], |
| 37 |
["symbol", "value"], |
| 38 |
["operator", ":"], |
| 39 |
["number", "123"], |
| 40 |
["punctuation", ")"] |
| 41 |
]], |
| 42 |
["delimiter", "]"] |
| 43 |
]], |
| 44 |
["attribute", [ |
| 45 |
["delimiter", "@["], |
| 46 |
["attribute", "MyAnnotation"], |
| 47 |
["args", [ |
| 48 |
["punctuation", "("], |
| 49 |
["string-literal", [ |
| 50 |
["string", "\"foo\""] |
| 51 |
]], |
| 52 |
["punctuation", ","], |
| 53 |
["number", "123"], |
| 54 |
["punctuation", ","], |
| 55 |
["boolean", "false"], |
| 56 |
["punctuation", ")"] |
| 57 |
]], |
| 58 |
["delimiter", "]"] |
| 59 |
]] |
| 60 |
] |
| 61 |
|
| 62 |
---------------------------------------------------- |
| 63 |
|
| 64 |
Checks for attributes. |