tests/snippets/teal/test_comments.txt
raw| 1 | ---input--- |
| 2 | a//c1 |
| 3 | //c2 |
| 4 | label://c3 |
| 5 | a // c4 |
| 6 | label: implicit comment |
| 7 | |
| 8 | ---tokens--- |
| 9 | 'a' Name.Function |
| 10 | '//c1' Comment.Single |
| 11 | '\n' Text |
| 12 | |
| 13 | ' ' Text.Whitespace |
| 14 | '//c2' Comment.Single |
| 15 | '\n' Text.Whitespace |
| 16 | |
| 17 | 'label:' Name.Function |
| 18 | '//c3' Comment.Single |
| 19 | '\n' Text |
| 20 | |
| 21 | 'a' Name.Function |
| 22 | ' ' Text.Whitespace |
| 23 | '// c4' Comment.Single |
| 24 | '\n' Text |
| 25 | |
| 26 | 'label:' Name.Label |
| 27 | ' implicit comment' Comment.Single |
| 28 | '\n' Text.Whitespace |