clerk/journal/parser/testdata/quoted_payee_names.txtar (view raw)
Oleksandr Smirnov
Oleksandr Smirnov
olexsmir@gmail.com add support of subdirectives and it's highlights, 1 month ago
olexsmir@gmail.com add support of subdirectives and it's highlights, 1 month ago
| 1 | -- input -- |
| 2 | 2024-01-01 "groceries store" |
| 3 | expenses:food $10 |
| 4 | assets:checking |
| 5 | -- expect -- |
| 6 | Journal |
| 7 | Transaction j:1:1-4:1 |
| 8 | Date: 2024-01-01 |
| 9 | Payee: "groceries store" j:1:12-2:0 |
| 10 | Posting j:2:1-3:1 |
| 11 | Account j:2:3-2:16 |
| 12 | SubAccount: "expenses" j:2:3-2:11 |
| 13 | SubAccount: "food" j:2:12-2:16 |
| 14 | Amount j:2:18-3:0 |
| 15 | Quantity: 10 |
| 16 | Commodity: "$" j:2:18-2:19 |
| 17 | CommodityPos: Before |
| 18 | HasSpace: false |
| 19 | Precision: 0 |
| 20 | Posting j:3:1-4:1 |
| 21 | Account j:3:3-4:0 |
| 22 | SubAccount: "assets" j:3:3-3:9 |
| 23 | SubAccount: "checking" j:3:10-4:0 |
| 24 | Amount: <elided> |