tree-sitter-beancount 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,12 +11,11 @@ cost empty
11
11
  (file
12
12
  (transaction
13
13
  (date)
14
- (txn (asterisk))
15
- (posting_or_kv_list
14
+ (txn)
16
15
  (posting
17
16
  (account)
18
17
  (incomplete_amount (number) (currency))
19
- (cost_spec (lcurl) (rcurl))
18
+ (cost_spec)
20
19
  )
21
20
  (posting
22
21
  (account)
@@ -25,7 +24,6 @@ cost empty
25
24
  (currency)
26
25
  )
27
26
  )
28
- )
29
27
  )
30
28
  )
31
29
 
@@ -42,8 +40,7 @@ cost amount
42
40
  (file
43
41
  (transaction
44
42
  (date)
45
- (txn (asterisk))
46
- (posting_or_kv_list
43
+ (txn)
47
44
  (posting
48
45
  (account)
49
46
  (incomplete_amount
@@ -51,16 +48,12 @@ cost amount
51
48
  (currency)
52
49
  )
53
50
  (cost_spec
54
- (lcurl)
55
- (cost_comp_list
56
51
  (cost_comp
57
52
  (compound_amount
58
53
  (number)
59
54
  (currency)
60
55
  )
61
56
  )
62
- )
63
- (rcurl)
64
57
  )
65
58
  )
66
59
  (posting
@@ -72,7 +65,6 @@ cost amount
72
65
  (currency)
73
66
  )
74
67
  )
75
- )
76
68
  )
77
69
  )
78
70
 
@@ -89,15 +81,12 @@ cost date
89
81
  (file
90
82
  (transaction
91
83
  (date)
92
- (txn (asterisk))
93
- (posting_or_kv_list
84
+ (txn)
94
85
  (posting
95
86
  (account)
96
87
  (incomplete_amount (number) (currency))
97
88
  (cost_spec
98
- (lcurl)
99
- (cost_comp_list (cost_comp (date)))
100
- (rcurl)
89
+ (cost_comp (date))
101
90
  )
102
91
  )
103
92
  (posting
@@ -107,7 +96,6 @@ cost date
107
96
  (currency)
108
97
  )
109
98
  )
110
- )
111
99
  )
112
100
  )
113
101
 
@@ -124,15 +112,12 @@ cost label
124
112
  (file
125
113
  (transaction
126
114
  (date)
127
- (txn (asterisk))
128
- (posting_or_kv_list
115
+ (txn)
129
116
  (posting
130
117
  (account)
131
118
  (incomplete_amount (number) (currency))
132
119
  (cost_spec
133
- (lcurl)
134
- (cost_comp_list (cost_comp (string)))
135
- (rcurl)
120
+ (cost_comp (string))
136
121
  )
137
122
  )
138
123
  (posting
@@ -142,7 +127,6 @@ cost label
142
127
  (currency)
143
128
  )
144
129
  )
145
- )
146
130
  )
147
131
  )
148
132
 
@@ -159,12 +143,11 @@ cost merge
159
143
  (file
160
144
  (transaction
161
145
  (date)
162
- (txn (asterisk))
163
- (posting_or_kv_list
146
+ (txn)
164
147
  (posting
165
148
  (account)
166
149
  (incomplete_amount (number) (currency))
167
- (cost_spec (lcurl) (cost_comp_list (cost_comp (asterisk))) (rcurl))
150
+ (cost_spec (cost_comp))
168
151
  )
169
152
  (posting
170
153
  (account)
@@ -173,7 +156,6 @@ cost merge
173
156
  (currency)
174
157
  )
175
158
  )
176
- )
177
159
  )
178
160
  )
179
161
 
@@ -194,81 +176,55 @@ cost two component
194
176
  (file
195
177
  (transaction
196
178
  (date)
197
- (txn (asterisk))
198
- (posting_or_kv_list
179
+ (txn)
199
180
  (posting
200
181
  (account)
201
182
  (incomplete_amount (number) (currency))
202
183
  (cost_spec
203
- (lcurl)
204
- (cost_comp_list
205
184
  (cost_comp (compound_amount (number) (currency)))
206
185
  (cost_comp (date))
207
- )
208
- (rcurl)
209
186
  )
210
187
  )
211
188
  (posting
212
189
  (account)
213
190
  (incomplete_amount (number) (currency))
214
191
  (cost_spec
215
- (lcurl)
216
- (cost_comp_list
217
192
  (cost_comp (date))
218
193
  (cost_comp (compound_amount (number) (currency)))
219
- )
220
- (rcurl)
221
194
  )
222
195
  )
223
196
  (posting
224
197
  (account)
225
198
  (incomplete_amount (number) (currency))
226
199
  (cost_spec
227
- (lcurl)
228
- (cost_comp_list
229
200
  (cost_comp (compound_amount (number) (currency)))
230
201
  (cost_comp (string))
231
- )
232
- (rcurl)
233
202
  )
234
203
  )
235
204
  (posting
236
205
  (account)
237
206
  (incomplete_amount (number) (currency))
238
207
  (cost_spec
239
- (lcurl)
240
- (cost_comp_list
241
208
  (cost_comp (string))
242
209
  (cost_comp (compound_amount (number) (currency)))
243
- )
244
- (rcurl)
245
210
  )
246
211
  )
247
212
  (posting
248
213
  (account)
249
214
  (incomplete_amount (number) (currency))
250
215
  (cost_spec
251
- (lcurl)
252
- (cost_comp_list
253
216
  (cost_comp (date))
254
217
  (cost_comp (string))
255
- )
256
- (rcurl)
257
218
  )
258
219
  )
259
220
  (posting
260
221
  (account)
261
222
  (incomplete_amount (number) (currency))
262
223
  (cost_spec
263
- (lcurl)
264
- (cost_comp_list
265
224
  (cost_comp (string))
266
225
  (cost_comp (date))
267
- )
268
- (rcurl)
269
226
  )
270
227
  )
271
- )
272
228
  )
273
229
  )
274
230
 
@@ -289,87 +245,61 @@ cost three component
289
245
  (file
290
246
  (transaction
291
247
  (date)
292
- (txn (asterisk))
293
- (posting_or_kv_list
248
+ (txn)
294
249
  (posting
295
250
  (account)
296
251
  (incomplete_amount (number) (currency))
297
252
  (cost_spec
298
- (lcurl)
299
- (cost_comp_list
300
253
  (cost_comp (compound_amount (number) (currency)))
301
254
  (cost_comp (date))
302
255
  (cost_comp (string))
303
- )
304
- (rcurl)
305
256
  )
306
257
  )
307
258
  (posting
308
259
  (account)
309
260
  (incomplete_amount (number) (currency))
310
261
  (cost_spec
311
- (lcurl)
312
- (cost_comp_list
313
262
  (cost_comp (date))
314
263
  (cost_comp (compound_amount (number) (currency)))
315
264
  (cost_comp (string))
316
- )
317
- (rcurl)
318
265
  )
319
266
  )
320
267
  (posting
321
268
  (account)
322
269
  (incomplete_amount (number) (currency))
323
270
  (cost_spec
324
- (lcurl)
325
- (cost_comp_list
326
271
  (cost_comp (compound_amount (number) (currency)))
327
272
  (cost_comp (string))
328
273
  (cost_comp (date))
329
- )
330
- (rcurl)
331
274
  )
332
275
  )
333
276
  (posting
334
277
  (account)
335
278
  (incomplete_amount (number) (currency))
336
279
  (cost_spec
337
- (lcurl)
338
- (cost_comp_list
339
280
  (cost_comp (date))
340
281
  (cost_comp (string))
341
282
  (cost_comp (compound_amount (number) (currency)))
342
- )
343
- (rcurl)
344
283
  )
345
284
  )
346
285
  (posting
347
286
  (account)
348
287
  (incomplete_amount (number) (currency))
349
288
  (cost_spec
350
- (lcurl)
351
- (cost_comp_list
352
289
  (cost_comp (string))
353
290
  (cost_comp (compound_amount (number) (currency)))
354
291
  (cost_comp (date))
355
- )
356
- (rcurl)
357
292
  )
358
293
  )
359
294
  (posting
360
295
  (account)
361
296
  (incomplete_amount (number) (currency))
362
297
  (cost_spec
363
- (lcurl)
364
- (cost_comp_list
365
298
  (cost_comp (string))
366
299
  (cost_comp (date))
367
300
  (cost_comp (compound_amount (number) (currency)))
368
- )
369
- (rcurl)
370
301
  )
371
302
  )
372
- )
373
303
  )
374
304
  )
375
305
 
@@ -386,24 +316,18 @@ cost both costs
386
316
  (file
387
317
  (transaction
388
318
  (date)
389
- (txn (asterisk))
390
- (posting_or_kv_list
319
+ (txn)
391
320
  (posting
392
321
  (account)
393
322
  (incomplete_amount (number) (currency))
394
323
  (cost_spec
395
- (lcurl)
396
- (cost_comp_list
397
324
  (cost_comp (compound_amount (number) (number) (currency)))
398
- )
399
- (rcurl)
400
325
  )
401
326
  )
402
327
  (posting
403
328
  (account)
404
329
  (incomplete_amount (unary_number_expr (minus) (number)) (currency))
405
330
  )
406
- )
407
331
  )
408
332
  )
409
333
 
@@ -420,24 +344,18 @@ cost total cost
420
344
  (file
421
345
  (transaction
422
346
  (date)
423
- (txn (asterisk))
424
- (posting_or_kv_list
347
+ (txn)
425
348
  (posting
426
349
  (account)
427
350
  (incomplete_amount (number) (currency))
428
351
  (cost_spec
429
- (lcurl)
430
- (cost_comp_list
431
352
  (cost_comp (compound_amount (number) (currency)))
432
- )
433
- (rcurl)
434
353
  )
435
354
  )
436
355
  (posting
437
356
  (account)
438
357
  (incomplete_amount (unary_number_expr (minus) (number)) (currency))
439
358
  )
440
- )
441
359
  )
442
360
  )
443
361
 
@@ -454,24 +372,18 @@ cost total empty total
454
372
  (file
455
373
  (transaction
456
374
  (date)
457
- (txn (asterisk))
458
- (posting_or_kv_list
375
+ (txn)
459
376
  (posting
460
377
  (account)
461
378
  (incomplete_amount (number) (currency))
462
379
  (cost_spec
463
- (lcurl)
464
- (cost_comp_list
465
380
  (cost_comp (compound_amount (number) (currency)))
466
- )
467
- (rcurl)
468
381
  )
469
382
  )
470
383
  (posting
471
384
  (account)
472
385
  (incomplete_amount (unary_number_expr (minus) (number)) (currency))
473
386
  )
474
- )
475
387
  )
476
388
  )
477
389
 
@@ -488,24 +400,18 @@ cost negative
488
400
  (file
489
401
  (transaction
490
402
  (date)
491
- (txn (asterisk))
492
- (txn_strings (string))
493
- (posting_or_kv_list
403
+ (txn)
404
+ (narration)
494
405
  (posting
495
406
  (account)
496
407
  (incomplete_amount (unary_number_expr (minus) (number)) (currency))
497
408
  (cost_spec
498
- (lcurl)
499
- (cost_comp_list
500
409
  (cost_comp (compound_amount (unary_number_expr (minus) (number)) (currency)))
501
- )
502
- (rcurl)
503
410
  )
504
411
  )
505
412
  (posting
506
413
  (account)
507
414
  (incomplete_amount (number) (currency))
508
415
  )
509
- )
510
416
  )
511
417
  )
@@ -11,10 +11,9 @@ links
11
11
  (file
12
12
  (transaction
13
13
  (date)
14
- (txn (asterisk))
15
- (txn_strings (string))
14
+ (txn)
15
+ (narration)
16
16
  (tags_links (link))
17
- (posting_or_kv_list
18
17
  (posting
19
18
  (account)
20
19
  (incomplete_amount
@@ -29,6 +28,5 @@ links
29
28
  (currency)
30
29
  )
31
30
  )
32
- )
33
31
  )
34
32
  )
@@ -14,13 +14,12 @@ popmeta location:
14
14
 
15
15
  (file
16
16
  (pushmeta
17
- (key_value (key) (string))
17
+ (key_value (key) (value (string)))
18
18
  )
19
19
  (transaction
20
20
  (date)
21
- (txn (asterisk))
22
- (txn_strings (string))
23
- (posting_or_kv_list
21
+ (txn)
22
+ (narration)
24
23
  (posting
25
24
  (account)
26
25
  (incomplete_amount (number) (currency))
@@ -29,7 +28,6 @@ popmeta location:
29
28
  (account)
30
29
  (incomplete_amount (unary_number_expr (minus) (number)) (currency))
31
30
  )
32
- )
33
31
  )
34
32
  (popmeta (key))
35
33
  )
@@ -11,8 +11,7 @@ no narration
11
11
  (file
12
12
  (transaction
13
13
  (date)
14
- (txn (asterisk))
15
- (posting_or_kv_list
14
+ (txn)
16
15
  (posting
17
16
  (account)
18
17
  (incomplete_amount (number) (currency))
@@ -21,7 +20,6 @@ no narration
21
20
  (account)
22
21
  (incomplete_amount (unary_number_expr (minus) (number)) (currency))
23
22
  )
24
- )
25
23
  )
26
24
  )
27
25
 
@@ -38,10 +36,9 @@ tag then link
38
36
  (file
39
37
  (transaction
40
38
  (date)
41
- (txn (asterisk))
42
- (txn_strings (string))
39
+ (txn)
40
+ (narration)
43
41
  (tags_links (link) (tag))
44
- (posting_or_kv_list
45
42
  (posting
46
43
  (account)
47
44
  (incomplete_amount (number) (currency))
@@ -50,7 +47,6 @@ tag then link
50
47
  (account)
51
48
  (incomplete_amount (unary_number_expr (minus) (number)) (currency))
52
49
  )
53
- )
54
50
  )
55
51
  )
56
52
 
@@ -67,10 +63,9 @@ link then tag
67
63
  (file
68
64
  (transaction
69
65
  (date)
70
- (txn (asterisk))
71
- (txn_strings (string))
66
+ (txn)
67
+ (narration)
72
68
  (tags_links (tag) (link))
73
- (posting_or_kv_list
74
69
  (posting
75
70
  (account)
76
71
  (incomplete_amount (number) (currency))
@@ -79,7 +74,6 @@ link then tag
79
74
  (account)
80
75
  (incomplete_amount (unary_number_expr (minus) (number)) (currency))
81
76
  )
82
- )
83
77
  )
84
78
  )
85
79
 
@@ -98,9 +92,8 @@ zero prices
98
92
  (file
99
93
  (transaction
100
94
  (date)
101
- (txn (asterisk))
102
- (txn_strings (string))
103
- (posting_or_kv_list
95
+ (txn)
96
+ (narration)
104
97
  (posting
105
98
  (account)
106
99
  (incomplete_amount (number) (currency))
@@ -119,7 +112,6 @@ zero prices
119
112
  (at)
120
113
  (price_annotation (incomplete_amount (number) (currency)))
121
114
  )
122
- )
123
115
  )
124
116
  )
125
117
 
@@ -136,25 +128,19 @@ zero units
136
128
  (file
137
129
  (transaction
138
130
  (date)
139
- (txn (asterisk))
140
- (txn_strings (string))
141
- (posting_or_kv_list
131
+ (txn)
132
+ (narration)
142
133
  (posting
143
134
  (account)
144
135
  (incomplete_amount (number) (currency))
145
136
  (cost_spec
146
- (lcurl)
147
- (cost_comp_list
148
137
  (cost_comp (compound_amount (number) (currency)))
149
- )
150
- (rcurl)
151
138
  )
152
139
  )
153
140
  (posting
154
141
  (account)
155
142
  (incomplete_amount (number) (currency))
156
143
  )
157
- )
158
144
  )
159
145
  )
160
146
 
@@ -171,25 +157,19 @@ zero costs
171
157
  (file
172
158
  (transaction
173
159
  (date)
174
- (txn (asterisk))
175
- (txn_strings (string))
176
- (posting_or_kv_list
177
- (posting
178
- (account)
179
- (incomplete_amount (number) (currency))
180
- (cost_spec
181
- (lcurl)
182
- (cost_comp_list
183
- (cost_comp (compound_amount (number) (currency)))
184
- )
185
- (rcurl)
186
- )
187
- )
188
- (posting
189
- (account)
190
- (incomplete_amount (number) (currency))
160
+ (txn)
161
+ (narration)
162
+ (posting
163
+ (account)
164
+ (incomplete_amount (number) (currency))
165
+ (cost_spec
166
+ (cost_comp (compound_amount (number) (currency)))
191
167
  )
192
168
  )
169
+ (posting
170
+ (account)
171
+ (incomplete_amount (number) (currency))
172
+ )
193
173
  )
194
174
  )
195
175
 
@@ -204,8 +184,8 @@ no postings
204
184
  (file
205
185
  (transaction
206
186
  (date)
207
- (txn (asterisk))
208
- (txn_strings (string))
187
+ (txn)
188
+ (narration)
209
189
  (tags_links (link))
210
190
  )
211
191
  )
@@ -229,10 +209,9 @@ tags after first line
229
209
  (file
230
210
  (transaction
231
211
  (date)
232
- (txn (asterisk))
233
- (txn_strings (string))
212
+ (txn)
213
+ (narration)
234
214
  (tags_links (tag) (link))
235
- (posting_or_kv_list
236
215
  (tags_links (tag) (tag))
237
216
  (tags_links (link) (tag))
238
217
  (tags_links (tag) (link))
@@ -241,6 +220,5 @@ tags after first line
241
220
  (tags_links (link))
242
221
  (posting (account) (incomplete_amount (number) (currency)))
243
222
  (posting (account) (incomplete_amount (unary_number_expr (minus) (number)) (currency)))
244
- )
245
223
  )
246
224
  )
@@ -35,9 +35,8 @@ extra whitespace transaction
35
35
  (file
36
36
  (transaction
37
37
  (date)
38
- (txn (asterisk))
39
- (txn_strings (string))
40
- (posting_or_kv_list
38
+ (txn)
39
+ (narration)
41
40
  (posting
42
41
  (account)
43
42
  (incomplete_amount
@@ -48,7 +47,6 @@ extra whitespace transaction
48
47
  (posting
49
48
  (account)
50
49
  )
51
- )
52
50
  )
53
51
  (comment)
54
52
  )