all repos

clerk @ 6573acb6af84cdef8bdde568c92ebc1509eb600f

missing tooling for ledger/hledger

clerk/journal/parser/testdata/transaction_with_spaced_account_name.txtar (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
add support of subdirectives and it's highlights, 1 month ago
1
-- input --
2
2022-01-01 opening balances
3
    assets                    21 = 21
4
    equity:opening/closing balances
5
6
-- expect --
7
Journal
8
  Transaction j:1:1-5:0
9
    Date: 2022-01-01
10
    Payee: "opening balances" j:1:12-2:0
11
    Posting j:2:1-3:1
12
      Account j:2:5-2:11
13
        SubAccount: "assets" j:2:5-2:11
14
      Amount j:2:31-2:34
15
        Quantity: 21
16
        Commodity: ""
17
        CommodityPos: Before
18
        HasSpace: false
19
        Precision: 0
20
      BalanceAssertion j:2:34-3:0
21
        IsStrict: false
22
        IsInclusive: false
23
        IsAssignment: false
24
        Amount j:2:36-3:0
25
          Quantity: 21
26
          Commodity: ""
27
          CommodityPos: Before
28
          HasSpace: false
29
          Precision: 0
30
    Posting j:3:1-5:0
31
      Account j:3:5-4:0
32
        SubAccount: "equity" j:3:5-3:11
33
        SubAccount: "opening/closing balances" j:3:12-4:0
34
      Amount: <elided>
35
  BlankLine j:5:0-5:1