clerk/internal/lsp/testdata/semantic-unparseable.txtar (view raw)
| 1 | -- in.journal -- |
| 2 | garbage 123 @@$ |
| 3 | ; note after garbage |
| 4 | # hash note |
| 5 | % percent note |
| 6 | * star note |
| 7 | 2024-01-15 ! (CODE) payee |
| 8 | expenses:food $10.50 @ 2 USD |
| 9 | assets:cash !! |
| 10 | = expr |
| 11 | ~ monthly |
| 12 | account foo |
| 13 | N $ |
| 14 | P 2024-01-15 USD 1.05 |
| 15 | garbage $$$$ 123 |
| 16 | |
| 17 | -- expect -- |
| 18 | 0:0+7 string |
| 19 | 0:8+7 string |
| 20 | 1:0+20 comment |
| 21 | 2:0+11 comment |
| 22 | 3:0+14 comment |
| 23 | 4:0+11 comment |
| 24 | 5:0+10 class |
| 25 | 5:11+1 operator |
| 26 | 5:13+6 string |
| 27 | 5:20+5 string |
| 28 | 6:2+8 string |
| 29 | 6:10+1 string |
| 30 | 6:11+4 string |
| 31 | 6:17+1 type |
| 32 | 6:18+5 number |
| 33 | 6:24+1 operator |
| 34 | 6:26+1 number |
| 35 | 6:28+3 type |
| 36 | 7:2+6 string |
| 37 | 7:8+1 string |
| 38 | 7:9+4 string |
| 39 | 7:15+2 string |
| 40 | 8:0+1 operator |
| 41 | 8:2+4 string |
| 42 | 9:0+1 string |
| 43 | 9:2+7 string |
| 44 | 10:0+7 keyword |
| 45 | 10:8+3 string |
| 46 | 11:0+1 keyword |
| 47 | 11:2+1 type |
| 48 | 12:0+1 keyword |
| 49 | 12:2+10 class |
| 50 | 12:13+3 type |
| 51 | 12:17+4 number |
| 52 | 13:0+7 string |
| 53 | 13:8+8 string |