tests/languages/antlr4/annotation_feature.test
raw| 1 | @header {} |
| 2 | @lexer::header {} |
| 3 | |
| 4 | ---------------------------------------------------- |
| 5 | |
| 6 | [ |
| 7 | ["annotation", "@header"], |
| 8 | ["action", [ |
| 9 | ["punctuation", "{"], |
| 10 | ["punctuation", "}"] |
| 11 | ]], |
| 12 | ["annotation", "@lexer::header"], |
| 13 | ["action", [ |
| 14 | ["punctuation", "{"], |
| 15 | ["punctuation", "}"] |
| 16 | ]] |
| 17 | ] |
| 18 | |
| 19 | ---------------------------------------------------- |
| 20 | |
| 21 | Checks for annotations. |