tests/snippets/crystal/test_annotation.txt
raw| 1 | ---input--- |
| 2 | @[FOO::Bar::Baz(opt: "xx")] |
| 3 | |
| 4 | ---tokens--- |
| 5 | '@[' Operator |
| 6 | 'FOO::Bar::Baz' Name.Decorator |
| 7 | '(' Punctuation |
| 8 | 'opt' Literal.String.Symbol |
| 9 | ':' Punctuation |
| 10 | ' ' Text.Whitespace |
| 11 | '"' Literal.String.Double |
| 12 | 'xx' Literal.String.Double |
| 13 | '"' Literal.String.Double |
| 14 | ')' Punctuation |
| 15 | ']' Operator |
| 16 | '\n' Text.Whitespace |