tree-sitter-beancount 2.0.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.
- package/.clang-format +20 -0
- package/.envrc +1 -0
- package/.github/workflows/cicd.yml +30 -0
- package/.github/workflows/release.yml +72 -0
- package/CHANGELOG.md +31 -0
- package/Cargo.lock +59 -0
- package/Cargo.toml +26 -0
- package/README.md +5 -1
- package/binding.gyp +2 -1
- package/{src → bindings/node}/binding.cc +0 -0
- package/bindings/node/index.js +19 -0
- package/bindings/rust/build.rs +38 -0
- package/bindings/rust/lib.rs +52 -0
- package/flake.lock +67 -0
- package/flake.nix +123 -0
- package/grammar.js +238 -202
- package/package.json +6 -5
- package/shell.nix +13 -0
- package/src/grammar.json +569 -485
- package/src/node-types.json +465 -432
- package/src/parser.c +13350 -4930
- package/src/scanner.cc +163 -0
- package/src/tree_sitter/parser.h +73 -84
- package/test/corpus/arithmetic.txt +71 -53
- package/test/corpus/comment.txt +12 -17
- package/test/corpus/currencies.txt +10 -12
- package/test/corpus/entry_types.txt +17 -31
- package/test/corpus/markdown_orgmode.txt +60 -0
- package/test/corpus/metadata.txt +95 -104
- package/test/corpus/multi_line.txt +2 -4
- package/test/corpus/orgmode_sections.txt +53 -0
- package/test/corpus/parse_lots.txt +31 -87
- package/test/corpus/parser_links.txt +4 -6
- package/test/corpus/push_pop_meta.txt +5 -6
- package/test/corpus/transaction.txt +54 -47
- package/test/corpus/ugly_bugs.txt +4 -4
- package/index.js +0 -13
- package/tree-sitter-beancount.wasm +0 -0
package/src/grammar.json
CHANGED
|
@@ -5,16 +5,35 @@
|
|
|
5
5
|
"file": {
|
|
6
6
|
"type": "REPEAT",
|
|
7
7
|
"content": {
|
|
8
|
-
"type": "
|
|
9
|
-
"
|
|
8
|
+
"type": "CHOICE",
|
|
9
|
+
"members": [
|
|
10
|
+
{
|
|
11
|
+
"type": "SYMBOL",
|
|
12
|
+
"name": "section"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "SYMBOL",
|
|
16
|
+
"name": "_declarations"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "SYMBOL",
|
|
20
|
+
"name": "_nl"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
10
23
|
}
|
|
11
24
|
},
|
|
12
|
-
"
|
|
13
|
-
"type": "
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
"_nl": {
|
|
26
|
+
"type": "CHOICE",
|
|
27
|
+
"members": [
|
|
28
|
+
{
|
|
29
|
+
"type": "STRING",
|
|
30
|
+
"value": "\n"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "STRING",
|
|
34
|
+
"value": "\r"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
18
37
|
},
|
|
19
38
|
"_eol": {
|
|
20
39
|
"type": "TOKEN",
|
|
@@ -23,81 +42,123 @@
|
|
|
23
42
|
"value": "\\n"
|
|
24
43
|
}
|
|
25
44
|
},
|
|
26
|
-
"
|
|
27
|
-
"type": "
|
|
28
|
-
"
|
|
29
|
-
"type": "STRING",
|
|
30
|
-
"value": "|"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"atat": {
|
|
34
|
-
"type": "TOKEN",
|
|
35
|
-
"content": {
|
|
36
|
-
"type": "STRING",
|
|
37
|
-
"value": "@@"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"at": {
|
|
41
|
-
"type": "TOKEN",
|
|
42
|
-
"content": {
|
|
43
|
-
"type": "STRING",
|
|
44
|
-
"value": "@"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"lcurllcurl": {
|
|
48
|
-
"type": "TOKEN",
|
|
49
|
-
"content": {
|
|
50
|
-
"type": "STRING",
|
|
51
|
-
"value": "{{"
|
|
52
|
-
}
|
|
45
|
+
"_any": {
|
|
46
|
+
"type": "PATTERN",
|
|
47
|
+
"value": ".*"
|
|
53
48
|
},
|
|
54
|
-
"
|
|
55
|
-
"type": "
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
49
|
+
"section": {
|
|
50
|
+
"type": "SEQ",
|
|
51
|
+
"members": [
|
|
52
|
+
{
|
|
53
|
+
"type": "FIELD",
|
|
54
|
+
"name": "headline",
|
|
55
|
+
"content": {
|
|
56
|
+
"type": "SYMBOL",
|
|
57
|
+
"name": "headline"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "REPEAT",
|
|
62
|
+
"content": {
|
|
63
|
+
"type": "CHOICE",
|
|
64
|
+
"members": [
|
|
65
|
+
{
|
|
66
|
+
"type": "SYMBOL",
|
|
67
|
+
"name": "_declarations"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "SYMBOL",
|
|
71
|
+
"name": "_nl"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "REPEAT",
|
|
78
|
+
"content": {
|
|
79
|
+
"type": "FIELD",
|
|
80
|
+
"name": "subsection",
|
|
81
|
+
"content": {
|
|
82
|
+
"type": "SYMBOL",
|
|
83
|
+
"name": "section"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "SYMBOL",
|
|
89
|
+
"name": "_sectionend"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
60
92
|
},
|
|
61
|
-
"
|
|
62
|
-
"type": "
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
93
|
+
"_org_stars": {
|
|
94
|
+
"type": "SEQ",
|
|
95
|
+
"members": [
|
|
96
|
+
{
|
|
97
|
+
"type": "SYMBOL",
|
|
98
|
+
"name": "_stars"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "PATTERN",
|
|
102
|
+
"value": "\\*+"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
67
105
|
},
|
|
68
|
-
"
|
|
69
|
-
"type": "
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
106
|
+
"headline": {
|
|
107
|
+
"type": "SEQ",
|
|
108
|
+
"members": [
|
|
109
|
+
{
|
|
110
|
+
"type": "SYMBOL",
|
|
111
|
+
"name": "_org_stars"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "PATTERN",
|
|
115
|
+
"value": "[ \\t]+"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "CHOICE",
|
|
119
|
+
"members": [
|
|
120
|
+
{
|
|
121
|
+
"type": "FIELD",
|
|
122
|
+
"name": "item",
|
|
123
|
+
"content": {
|
|
124
|
+
"type": "SYMBOL",
|
|
125
|
+
"name": "item"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"type": "BLANK"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "SYMBOL",
|
|
135
|
+
"name": "_nl"
|
|
136
|
+
}
|
|
137
|
+
]
|
|
74
138
|
},
|
|
75
|
-
"
|
|
76
|
-
"type": "
|
|
77
|
-
"
|
|
78
|
-
"type": "STRING",
|
|
79
|
-
"value": "="
|
|
80
|
-
}
|
|
139
|
+
"item": {
|
|
140
|
+
"type": "SYMBOL",
|
|
141
|
+
"name": "_any"
|
|
81
142
|
},
|
|
82
|
-
"
|
|
143
|
+
"_indent": {
|
|
83
144
|
"type": "TOKEN",
|
|
84
145
|
"content": {
|
|
85
|
-
"type": "
|
|
86
|
-
"value": "
|
|
146
|
+
"type": "PATTERN",
|
|
147
|
+
"value": "[ \\r\\t]+"
|
|
87
148
|
}
|
|
88
149
|
},
|
|
89
|
-
"
|
|
150
|
+
"atat": {
|
|
90
151
|
"type": "TOKEN",
|
|
91
152
|
"content": {
|
|
92
153
|
"type": "STRING",
|
|
93
|
-
"value": "
|
|
154
|
+
"value": "@@"
|
|
94
155
|
}
|
|
95
156
|
},
|
|
96
|
-
"
|
|
157
|
+
"at": {
|
|
97
158
|
"type": "TOKEN",
|
|
98
159
|
"content": {
|
|
99
160
|
"type": "STRING",
|
|
100
|
-
"value": "
|
|
161
|
+
"value": "@"
|
|
101
162
|
}
|
|
102
163
|
},
|
|
103
164
|
"asterisk": {
|
|
@@ -114,13 +175,6 @@
|
|
|
114
175
|
"value": "/"
|
|
115
176
|
}
|
|
116
177
|
},
|
|
117
|
-
"_colon": {
|
|
118
|
-
"type": "TOKEN",
|
|
119
|
-
"content": {
|
|
120
|
-
"type": "STRING",
|
|
121
|
-
"value": ":"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
178
|
"plus": {
|
|
125
179
|
"type": "TOKEN",
|
|
126
180
|
"content": {
|
|
@@ -135,20 +189,6 @@
|
|
|
135
189
|
"value": "-"
|
|
136
190
|
}
|
|
137
191
|
},
|
|
138
|
-
"_lparen": {
|
|
139
|
-
"type": "TOKEN",
|
|
140
|
-
"content": {
|
|
141
|
-
"type": "STRING",
|
|
142
|
-
"value": "("
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"_rparen": {
|
|
146
|
-
"type": "TOKEN",
|
|
147
|
-
"content": {
|
|
148
|
-
"type": "STRING",
|
|
149
|
-
"value": ")"
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
192
|
"flag": {
|
|
153
193
|
"type": "TOKEN",
|
|
154
194
|
"content": {
|
|
@@ -156,139 +196,6 @@
|
|
|
156
196
|
"value": "[!&?%PSTCURM*#]"
|
|
157
197
|
}
|
|
158
198
|
},
|
|
159
|
-
"TXN": {
|
|
160
|
-
"type": "TOKEN",
|
|
161
|
-
"content": {
|
|
162
|
-
"type": "STRING",
|
|
163
|
-
"value": "txn"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
"BALANCE": {
|
|
167
|
-
"type": "TOKEN",
|
|
168
|
-
"content": {
|
|
169
|
-
"type": "STRING",
|
|
170
|
-
"value": "balance"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"OPEN": {
|
|
174
|
-
"type": "TOKEN",
|
|
175
|
-
"content": {
|
|
176
|
-
"type": "STRING",
|
|
177
|
-
"value": "open"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"CLOSE": {
|
|
181
|
-
"type": "TOKEN",
|
|
182
|
-
"content": {
|
|
183
|
-
"type": "STRING",
|
|
184
|
-
"value": "close"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"COMMODITY": {
|
|
188
|
-
"type": "TOKEN",
|
|
189
|
-
"content": {
|
|
190
|
-
"type": "STRING",
|
|
191
|
-
"value": "commodity"
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
"PAD": {
|
|
195
|
-
"type": "TOKEN",
|
|
196
|
-
"content": {
|
|
197
|
-
"type": "STRING",
|
|
198
|
-
"value": "pad"
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
"EVENT": {
|
|
202
|
-
"type": "TOKEN",
|
|
203
|
-
"content": {
|
|
204
|
-
"type": "STRING",
|
|
205
|
-
"value": "event"
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
"PRICE": {
|
|
209
|
-
"type": "TOKEN",
|
|
210
|
-
"content": {
|
|
211
|
-
"type": "STRING",
|
|
212
|
-
"value": "price"
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
"NOTE": {
|
|
216
|
-
"type": "TOKEN",
|
|
217
|
-
"content": {
|
|
218
|
-
"type": "STRING",
|
|
219
|
-
"value": "note"
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
"DOCUMENT": {
|
|
223
|
-
"type": "TOKEN",
|
|
224
|
-
"content": {
|
|
225
|
-
"type": "STRING",
|
|
226
|
-
"value": "docuemnt"
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
"QUERY": {
|
|
230
|
-
"type": "TOKEN",
|
|
231
|
-
"content": {
|
|
232
|
-
"type": "STRING",
|
|
233
|
-
"value": "query"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
"CUSTOM": {
|
|
237
|
-
"type": "TOKEN",
|
|
238
|
-
"content": {
|
|
239
|
-
"type": "STRING",
|
|
240
|
-
"value": "custom"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"PUSHTAG": {
|
|
244
|
-
"type": "TOKEN",
|
|
245
|
-
"content": {
|
|
246
|
-
"type": "STRING",
|
|
247
|
-
"value": "pusgtag"
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
"POPTAG": {
|
|
251
|
-
"type": "TOKEN",
|
|
252
|
-
"content": {
|
|
253
|
-
"type": "STRING",
|
|
254
|
-
"value": "poptag"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
"PUSHMETA": {
|
|
258
|
-
"type": "TOKEN",
|
|
259
|
-
"content": {
|
|
260
|
-
"type": "STRING",
|
|
261
|
-
"value": "pushmeta"
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
"POPMETA": {
|
|
265
|
-
"type": "TOKEN",
|
|
266
|
-
"content": {
|
|
267
|
-
"type": "STRING",
|
|
268
|
-
"value": "popmeta"
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
"OPTION": {
|
|
272
|
-
"type": "TOKEN",
|
|
273
|
-
"content": {
|
|
274
|
-
"type": "STRING",
|
|
275
|
-
"value": "option"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"INCLUDE": {
|
|
279
|
-
"type": "TOKEN",
|
|
280
|
-
"content": {
|
|
281
|
-
"type": "STRING",
|
|
282
|
-
"value": "include"
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
"PLUGIN": {
|
|
286
|
-
"type": "TOKEN",
|
|
287
|
-
"content": {
|
|
288
|
-
"type": "STRING",
|
|
289
|
-
"value": "plugin"
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
199
|
"_none": {
|
|
293
200
|
"type": "TOKEN",
|
|
294
201
|
"content": {
|
|
@@ -317,14 +224,7 @@
|
|
|
317
224
|
"members": [
|
|
318
225
|
{
|
|
319
226
|
"type": "PATTERN",
|
|
320
|
-
"value": "
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"type": "REPEAT",
|
|
324
|
-
"content": {
|
|
325
|
-
"type": "PATTERN",
|
|
326
|
-
"value": "[A-Za-z0-9\\-]|[^\\x00-\\x7F]"
|
|
327
|
-
}
|
|
227
|
+
"value": "Assets|Liabilities|Equity|Income|Expenses"
|
|
328
228
|
},
|
|
329
229
|
{
|
|
330
230
|
"type": "REPEAT1",
|
|
@@ -337,14 +237,7 @@
|
|
|
337
237
|
},
|
|
338
238
|
{
|
|
339
239
|
"type": "PATTERN",
|
|
340
|
-
"value": "[
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"type": "REPEAT",
|
|
344
|
-
"content": {
|
|
345
|
-
"type": "PATTERN",
|
|
346
|
-
"value": "[A-Za-z0-9\\-]|[^\\x00-\\x7F]"
|
|
347
|
-
}
|
|
240
|
+
"value": "[\\p{Lu}\\p{N}][\\p{L}\\p{N}\\-]*"
|
|
348
241
|
}
|
|
349
242
|
]
|
|
350
243
|
}
|
|
@@ -387,31 +280,24 @@
|
|
|
387
280
|
"value": "\\^[A-Za-z0-9\\-_/.]+"
|
|
388
281
|
}
|
|
389
282
|
},
|
|
390
|
-
"key": {
|
|
391
|
-
"type": "TOKEN",
|
|
392
|
-
"content": {
|
|
393
|
-
"type": "PATTERN",
|
|
394
|
-
"value": "[a-z][a-zA-Z0-9\\-_]+"
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
283
|
"txn": {
|
|
398
284
|
"type": "CHOICE",
|
|
399
285
|
"members": [
|
|
400
286
|
{
|
|
401
|
-
"type": "
|
|
402
|
-
"
|
|
287
|
+
"type": "STRING",
|
|
288
|
+
"value": "txn"
|
|
403
289
|
},
|
|
404
290
|
{
|
|
405
291
|
"type": "SYMBOL",
|
|
406
292
|
"name": "flag"
|
|
407
293
|
},
|
|
408
294
|
{
|
|
409
|
-
"type": "
|
|
410
|
-
"
|
|
295
|
+
"type": "STRING",
|
|
296
|
+
"value": "*"
|
|
411
297
|
},
|
|
412
298
|
{
|
|
413
|
-
"type": "
|
|
414
|
-
"
|
|
299
|
+
"type": "STRING",
|
|
300
|
+
"value": "#"
|
|
415
301
|
}
|
|
416
302
|
]
|
|
417
303
|
},
|
|
@@ -440,16 +326,16 @@
|
|
|
440
326
|
"type": "SEQ",
|
|
441
327
|
"members": [
|
|
442
328
|
{
|
|
443
|
-
"type": "
|
|
444
|
-
"
|
|
329
|
+
"type": "STRING",
|
|
330
|
+
"value": "("
|
|
445
331
|
},
|
|
446
332
|
{
|
|
447
333
|
"type": "SYMBOL",
|
|
448
334
|
"name": "_number_expr"
|
|
449
335
|
},
|
|
450
336
|
{
|
|
451
|
-
"type": "
|
|
452
|
-
"
|
|
337
|
+
"type": "STRING",
|
|
338
|
+
"value": ")"
|
|
453
339
|
}
|
|
454
340
|
]
|
|
455
341
|
},
|
|
@@ -581,24 +467,40 @@
|
|
|
581
467
|
]
|
|
582
468
|
}
|
|
583
469
|
},
|
|
584
|
-
"
|
|
585
|
-
"type": "
|
|
470
|
+
"_txn_strings": {
|
|
471
|
+
"type": "CHOICE",
|
|
586
472
|
"members": [
|
|
587
473
|
{
|
|
588
|
-
"type": "
|
|
589
|
-
"name": "string"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"type": "CHOICE",
|
|
474
|
+
"type": "SEQ",
|
|
593
475
|
"members": [
|
|
594
476
|
{
|
|
595
|
-
"type": "
|
|
596
|
-
"
|
|
477
|
+
"type": "ALIAS",
|
|
478
|
+
"content": {
|
|
479
|
+
"type": "SYMBOL",
|
|
480
|
+
"name": "string"
|
|
481
|
+
},
|
|
482
|
+
"named": true,
|
|
483
|
+
"value": "payee"
|
|
597
484
|
},
|
|
598
485
|
{
|
|
599
|
-
"type": "
|
|
486
|
+
"type": "ALIAS",
|
|
487
|
+
"content": {
|
|
488
|
+
"type": "SYMBOL",
|
|
489
|
+
"name": "string"
|
|
490
|
+
},
|
|
491
|
+
"named": true,
|
|
492
|
+
"value": "narration"
|
|
600
493
|
}
|
|
601
494
|
]
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"type": "ALIAS",
|
|
498
|
+
"content": {
|
|
499
|
+
"type": "SYMBOL",
|
|
500
|
+
"name": "string"
|
|
501
|
+
},
|
|
502
|
+
"named": true,
|
|
503
|
+
"value": "narration"
|
|
602
504
|
}
|
|
603
505
|
]
|
|
604
506
|
},
|
|
@@ -637,15 +539,27 @@
|
|
|
637
539
|
"name": "txn"
|
|
638
540
|
}
|
|
639
541
|
},
|
|
542
|
+
{
|
|
543
|
+
"type": "CHOICE",
|
|
544
|
+
"members": [
|
|
545
|
+
{
|
|
546
|
+
"type": "SYMBOL",
|
|
547
|
+
"name": "_txn_strings"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"type": "BLANK"
|
|
551
|
+
}
|
|
552
|
+
]
|
|
553
|
+
},
|
|
640
554
|
{
|
|
641
555
|
"type": "FIELD",
|
|
642
|
-
"name": "
|
|
556
|
+
"name": "tags_links",
|
|
643
557
|
"content": {
|
|
644
558
|
"type": "CHOICE",
|
|
645
559
|
"members": [
|
|
646
560
|
{
|
|
647
561
|
"type": "SYMBOL",
|
|
648
|
-
"name": "
|
|
562
|
+
"name": "tags_links"
|
|
649
563
|
},
|
|
650
564
|
{
|
|
651
565
|
"type": "BLANK"
|
|
@@ -655,13 +569,13 @@
|
|
|
655
569
|
},
|
|
656
570
|
{
|
|
657
571
|
"type": "FIELD",
|
|
658
|
-
"name": "
|
|
572
|
+
"name": "comment",
|
|
659
573
|
"content": {
|
|
660
574
|
"type": "CHOICE",
|
|
661
575
|
"members": [
|
|
662
576
|
{
|
|
663
577
|
"type": "SYMBOL",
|
|
664
|
-
"name": "
|
|
578
|
+
"name": "comment"
|
|
665
579
|
},
|
|
666
580
|
{
|
|
667
581
|
"type": "BLANK"
|
|
@@ -674,20 +588,75 @@
|
|
|
674
588
|
"name": "_eol"
|
|
675
589
|
},
|
|
676
590
|
{
|
|
677
|
-
"type": "
|
|
678
|
-
"
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
"
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
591
|
+
"type": "CHOICE",
|
|
592
|
+
"members": [
|
|
593
|
+
{
|
|
594
|
+
"type": "REPEAT1",
|
|
595
|
+
"content": {
|
|
596
|
+
"type": "CHOICE",
|
|
597
|
+
"members": [
|
|
598
|
+
{
|
|
599
|
+
"type": "SEQ",
|
|
600
|
+
"members": [
|
|
601
|
+
{
|
|
602
|
+
"type": "SYMBOL",
|
|
603
|
+
"name": "_indent"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"type": "SYMBOL",
|
|
607
|
+
"name": "_eol"
|
|
608
|
+
}
|
|
609
|
+
]
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"type": "SEQ",
|
|
613
|
+
"members": [
|
|
614
|
+
{
|
|
615
|
+
"type": "SYMBOL",
|
|
616
|
+
"name": "_indent"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"type": "SYMBOL",
|
|
620
|
+
"name": "tags_links"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"type": "SYMBOL",
|
|
624
|
+
"name": "_eol"
|
|
625
|
+
}
|
|
626
|
+
]
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"type": "SYMBOL",
|
|
630
|
+
"name": "_key_value_line"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"type": "SYMBOL",
|
|
634
|
+
"name": "posting"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"type": "SEQ",
|
|
638
|
+
"members": [
|
|
639
|
+
{
|
|
640
|
+
"type": "SYMBOL",
|
|
641
|
+
"name": "_indent"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"type": "SYMBOL",
|
|
645
|
+
"name": "comment"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"type": "SYMBOL",
|
|
649
|
+
"name": "_eol"
|
|
650
|
+
}
|
|
651
|
+
]
|
|
652
|
+
}
|
|
653
|
+
]
|
|
688
654
|
}
|
|
689
|
-
|
|
690
|
-
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"type": "BLANK"
|
|
658
|
+
}
|
|
659
|
+
]
|
|
691
660
|
}
|
|
692
661
|
]
|
|
693
662
|
},
|
|
@@ -695,12 +664,12 @@
|
|
|
695
664
|
"type": "CHOICE",
|
|
696
665
|
"members": [
|
|
697
666
|
{
|
|
698
|
-
"type": "
|
|
699
|
-
"
|
|
667
|
+
"type": "STRING",
|
|
668
|
+
"value": "*"
|
|
700
669
|
},
|
|
701
670
|
{
|
|
702
|
-
"type": "
|
|
703
|
-
"
|
|
671
|
+
"type": "STRING",
|
|
672
|
+
"value": "#"
|
|
704
673
|
},
|
|
705
674
|
{
|
|
706
675
|
"type": "SYMBOL",
|
|
@@ -778,6 +747,22 @@
|
|
|
778
747
|
]
|
|
779
748
|
}
|
|
780
749
|
},
|
|
750
|
+
{
|
|
751
|
+
"type": "FIELD",
|
|
752
|
+
"name": "comment",
|
|
753
|
+
"content": {
|
|
754
|
+
"type": "CHOICE",
|
|
755
|
+
"members": [
|
|
756
|
+
{
|
|
757
|
+
"type": "SYMBOL",
|
|
758
|
+
"name": "comment"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"type": "BLANK"
|
|
762
|
+
}
|
|
763
|
+
]
|
|
764
|
+
}
|
|
765
|
+
},
|
|
781
766
|
{
|
|
782
767
|
"type": "SYMBOL",
|
|
783
768
|
"name": "_eol"
|
|
@@ -867,6 +852,22 @@
|
|
|
867
852
|
]
|
|
868
853
|
}
|
|
869
854
|
},
|
|
855
|
+
{
|
|
856
|
+
"type": "FIELD",
|
|
857
|
+
"name": "comment",
|
|
858
|
+
"content": {
|
|
859
|
+
"type": "CHOICE",
|
|
860
|
+
"members": [
|
|
861
|
+
{
|
|
862
|
+
"type": "SYMBOL",
|
|
863
|
+
"name": "comment"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"type": "BLANK"
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
}
|
|
870
|
+
},
|
|
870
871
|
{
|
|
871
872
|
"type": "SYMBOL",
|
|
872
873
|
"name": "_eol"
|
|
@@ -956,6 +957,22 @@
|
|
|
956
957
|
]
|
|
957
958
|
}
|
|
958
959
|
},
|
|
960
|
+
{
|
|
961
|
+
"type": "FIELD",
|
|
962
|
+
"name": "comment",
|
|
963
|
+
"content": {
|
|
964
|
+
"type": "CHOICE",
|
|
965
|
+
"members": [
|
|
966
|
+
{
|
|
967
|
+
"type": "SYMBOL",
|
|
968
|
+
"name": "comment"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"type": "BLANK"
|
|
972
|
+
}
|
|
973
|
+
]
|
|
974
|
+
}
|
|
975
|
+
},
|
|
959
976
|
{
|
|
960
977
|
"type": "SYMBOL",
|
|
961
978
|
"name": "_eol"
|
|
@@ -1010,60 +1027,37 @@
|
|
|
1010
1027
|
}
|
|
1011
1028
|
},
|
|
1012
1029
|
{
|
|
1013
|
-
"type": "
|
|
1014
|
-
"name": "
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
{
|
|
1027
|
-
"type": "SYMBOL",
|
|
1028
|
-
"name": "key"
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
"type": "SYMBOL",
|
|
1032
|
-
"name": "_colon"
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
"type": "CHOICE",
|
|
1036
|
-
"members": [
|
|
1037
|
-
{
|
|
1038
|
-
"type": "SYMBOL",
|
|
1039
|
-
"name": "_key_value_value"
|
|
1040
|
-
},
|
|
1041
|
-
{
|
|
1042
|
-
"type": "BLANK"
|
|
1030
|
+
"type": "FIELD",
|
|
1031
|
+
"name": "comment",
|
|
1032
|
+
"content": {
|
|
1033
|
+
"type": "CHOICE",
|
|
1034
|
+
"members": [
|
|
1035
|
+
{
|
|
1036
|
+
"type": "SYMBOL",
|
|
1037
|
+
"name": "comment"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"type": "BLANK"
|
|
1041
|
+
}
|
|
1042
|
+
]
|
|
1043
1043
|
}
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
"type": "SEQ",
|
|
1051
|
-
"members": [
|
|
1052
|
-
{
|
|
1053
|
-
"type": "SYMBOL",
|
|
1054
|
-
"name": "_indent"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"type": "SYMBOL",
|
|
1058
|
-
"name": "key_value"
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"type": "SYMBOL",
|
|
1062
|
-
"name": "_eol"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"type": "SYMBOL",
|
|
1047
|
+
"name": "_eol"
|
|
1048
|
+
}
|
|
1049
|
+
]
|
|
1063
1050
|
}
|
|
1064
1051
|
]
|
|
1065
1052
|
},
|
|
1066
|
-
"
|
|
1053
|
+
"key": {
|
|
1054
|
+
"type": "TOKEN",
|
|
1055
|
+
"content": {
|
|
1056
|
+
"type": "PATTERN",
|
|
1057
|
+
"value": "[a-z][a-zA-Z0-9\\-_]+"
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
"value": {
|
|
1067
1061
|
"type": "CHOICE",
|
|
1068
1062
|
"members": [
|
|
1069
1063
|
{
|
|
@@ -1104,53 +1098,45 @@
|
|
|
1104
1098
|
}
|
|
1105
1099
|
]
|
|
1106
1100
|
},
|
|
1107
|
-
"
|
|
1108
|
-
"type": "
|
|
1101
|
+
"key_value": {
|
|
1102
|
+
"type": "PREC_LEFT",
|
|
1103
|
+
"value": 0,
|
|
1109
1104
|
"content": {
|
|
1110
|
-
"type": "
|
|
1105
|
+
"type": "SEQ",
|
|
1111
1106
|
"members": [
|
|
1112
1107
|
{
|
|
1113
|
-
"type": "
|
|
1114
|
-
"
|
|
1115
|
-
{
|
|
1116
|
-
"type": "SYMBOL",
|
|
1117
|
-
"name": "_indent"
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
"type": "SYMBOL",
|
|
1121
|
-
"name": "_eol"
|
|
1122
|
-
}
|
|
1123
|
-
]
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
"type": "SEQ",
|
|
1127
|
-
"members": [
|
|
1128
|
-
{
|
|
1129
|
-
"type": "SYMBOL",
|
|
1130
|
-
"name": "_indent"
|
|
1131
|
-
},
|
|
1132
|
-
{
|
|
1133
|
-
"type": "SYMBOL",
|
|
1134
|
-
"name": "tags_links"
|
|
1135
|
-
},
|
|
1136
|
-
{
|
|
1137
|
-
"type": "SYMBOL",
|
|
1138
|
-
"name": "_eol"
|
|
1139
|
-
}
|
|
1140
|
-
]
|
|
1108
|
+
"type": "SYMBOL",
|
|
1109
|
+
"name": "key"
|
|
1141
1110
|
},
|
|
1142
1111
|
{
|
|
1143
|
-
"type": "
|
|
1144
|
-
"
|
|
1112
|
+
"type": "STRING",
|
|
1113
|
+
"value": ":"
|
|
1145
1114
|
},
|
|
1146
1115
|
{
|
|
1147
1116
|
"type": "SYMBOL",
|
|
1148
|
-
"name": "
|
|
1117
|
+
"name": "value"
|
|
1149
1118
|
}
|
|
1150
1119
|
]
|
|
1151
1120
|
}
|
|
1152
1121
|
},
|
|
1153
|
-
"
|
|
1122
|
+
"_key_value_line": {
|
|
1123
|
+
"type": "SEQ",
|
|
1124
|
+
"members": [
|
|
1125
|
+
{
|
|
1126
|
+
"type": "SYMBOL",
|
|
1127
|
+
"name": "_indent"
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"type": "SYMBOL",
|
|
1131
|
+
"name": "key_value"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"type": "SYMBOL",
|
|
1135
|
+
"name": "_eol"
|
|
1136
|
+
}
|
|
1137
|
+
]
|
|
1138
|
+
},
|
|
1139
|
+
"_key_value_list": {
|
|
1154
1140
|
"type": "REPEAT1",
|
|
1155
1141
|
"content": {
|
|
1156
1142
|
"type": "CHOICE",
|
|
@@ -1173,44 +1159,19 @@
|
|
|
1173
1159
|
"members": [
|
|
1174
1160
|
{
|
|
1175
1161
|
"type": "SYMBOL",
|
|
1176
|
-
"name": "
|
|
1162
|
+
"name": "_key_value_line"
|
|
1177
1163
|
}
|
|
1178
1164
|
]
|
|
1179
1165
|
}
|
|
1180
1166
|
]
|
|
1181
1167
|
}
|
|
1182
1168
|
},
|
|
1183
|
-
"currency_list": {
|
|
1184
|
-
"type": "SEQ",
|
|
1185
|
-
"members": [
|
|
1186
|
-
{
|
|
1187
|
-
"type": "SYMBOL",
|
|
1188
|
-
"name": "currency"
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
"type": "REPEAT",
|
|
1192
|
-
"content": {
|
|
1193
|
-
"type": "SEQ",
|
|
1194
|
-
"members": [
|
|
1195
|
-
{
|
|
1196
|
-
"type": "SYMBOL",
|
|
1197
|
-
"name": "_comma"
|
|
1198
|
-
},
|
|
1199
|
-
{
|
|
1200
|
-
"type": "SYMBOL",
|
|
1201
|
-
"name": "currency"
|
|
1202
|
-
}
|
|
1203
|
-
]
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
]
|
|
1207
|
-
},
|
|
1208
1169
|
"pushtag": {
|
|
1209
1170
|
"type": "SEQ",
|
|
1210
1171
|
"members": [
|
|
1211
1172
|
{
|
|
1212
|
-
"type": "
|
|
1213
|
-
"
|
|
1173
|
+
"type": "STRING",
|
|
1174
|
+
"value": "pushtag"
|
|
1214
1175
|
},
|
|
1215
1176
|
{
|
|
1216
1177
|
"type": "SYMBOL",
|
|
@@ -1226,8 +1187,8 @@
|
|
|
1226
1187
|
"type": "SEQ",
|
|
1227
1188
|
"members": [
|
|
1228
1189
|
{
|
|
1229
|
-
"type": "
|
|
1230
|
-
"
|
|
1190
|
+
"type": "STRING",
|
|
1191
|
+
"value": "poptag"
|
|
1231
1192
|
},
|
|
1232
1193
|
{
|
|
1233
1194
|
"type": "SYMBOL",
|
|
@@ -1243,8 +1204,8 @@
|
|
|
1243
1204
|
"type": "SEQ",
|
|
1244
1205
|
"members": [
|
|
1245
1206
|
{
|
|
1246
|
-
"type": "
|
|
1247
|
-
"
|
|
1207
|
+
"type": "STRING",
|
|
1208
|
+
"value": "pushmeta"
|
|
1248
1209
|
},
|
|
1249
1210
|
{
|
|
1250
1211
|
"type": "SYMBOL",
|
|
@@ -1260,16 +1221,16 @@
|
|
|
1260
1221
|
"type": "SEQ",
|
|
1261
1222
|
"members": [
|
|
1262
1223
|
{
|
|
1263
|
-
"type": "
|
|
1264
|
-
"
|
|
1224
|
+
"type": "STRING",
|
|
1225
|
+
"value": "popmeta"
|
|
1265
1226
|
},
|
|
1266
1227
|
{
|
|
1267
1228
|
"type": "SYMBOL",
|
|
1268
1229
|
"name": "key"
|
|
1269
1230
|
},
|
|
1270
1231
|
{
|
|
1271
|
-
"type": "
|
|
1272
|
-
"
|
|
1232
|
+
"type": "STRING",
|
|
1233
|
+
"value": ":"
|
|
1273
1234
|
},
|
|
1274
1235
|
{
|
|
1275
1236
|
"type": "SYMBOL",
|
|
@@ -1289,8 +1250,8 @@
|
|
|
1289
1250
|
}
|
|
1290
1251
|
},
|
|
1291
1252
|
{
|
|
1292
|
-
"type": "
|
|
1293
|
-
"
|
|
1253
|
+
"type": "STRING",
|
|
1254
|
+
"value": "open"
|
|
1294
1255
|
},
|
|
1295
1256
|
{
|
|
1296
1257
|
"type": "FIELD",
|
|
@@ -1306,8 +1267,29 @@
|
|
|
1306
1267
|
"content": {
|
|
1307
1268
|
"type": "REPEAT",
|
|
1308
1269
|
"content": {
|
|
1309
|
-
"type": "
|
|
1310
|
-
"
|
|
1270
|
+
"type": "SEQ",
|
|
1271
|
+
"members": [
|
|
1272
|
+
{
|
|
1273
|
+
"type": "SYMBOL",
|
|
1274
|
+
"name": "currency"
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"type": "REPEAT",
|
|
1278
|
+
"content": {
|
|
1279
|
+
"type": "SEQ",
|
|
1280
|
+
"members": [
|
|
1281
|
+
{
|
|
1282
|
+
"type": "STRING",
|
|
1283
|
+
"value": ","
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"type": "SYMBOL",
|
|
1287
|
+
"name": "currency"
|
|
1288
|
+
}
|
|
1289
|
+
]
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
]
|
|
1311
1293
|
}
|
|
1312
1294
|
}
|
|
1313
1295
|
},
|
|
@@ -1327,6 +1309,22 @@
|
|
|
1327
1309
|
]
|
|
1328
1310
|
}
|
|
1329
1311
|
},
|
|
1312
|
+
{
|
|
1313
|
+
"type": "FIELD",
|
|
1314
|
+
"name": "comment",
|
|
1315
|
+
"content": {
|
|
1316
|
+
"type": "CHOICE",
|
|
1317
|
+
"members": [
|
|
1318
|
+
{
|
|
1319
|
+
"type": "SYMBOL",
|
|
1320
|
+
"name": "comment"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"type": "BLANK"
|
|
1324
|
+
}
|
|
1325
|
+
]
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1330
1328
|
{
|
|
1331
1329
|
"type": "SYMBOL",
|
|
1332
1330
|
"name": "_eol"
|
|
@@ -1336,7 +1334,7 @@
|
|
|
1336
1334
|
"members": [
|
|
1337
1335
|
{
|
|
1338
1336
|
"type": "SYMBOL",
|
|
1339
|
-
"name": "
|
|
1337
|
+
"name": "_key_value_list"
|
|
1340
1338
|
},
|
|
1341
1339
|
{
|
|
1342
1340
|
"type": "BLANK"
|
|
@@ -1361,8 +1359,8 @@
|
|
|
1361
1359
|
}
|
|
1362
1360
|
},
|
|
1363
1361
|
{
|
|
1364
|
-
"type": "
|
|
1365
|
-
"
|
|
1362
|
+
"type": "STRING",
|
|
1363
|
+
"value": "close"
|
|
1366
1364
|
},
|
|
1367
1365
|
{
|
|
1368
1366
|
"type": "FIELD",
|
|
@@ -1372,6 +1370,22 @@
|
|
|
1372
1370
|
"name": "account"
|
|
1373
1371
|
}
|
|
1374
1372
|
},
|
|
1373
|
+
{
|
|
1374
|
+
"type": "FIELD",
|
|
1375
|
+
"name": "comment",
|
|
1376
|
+
"content": {
|
|
1377
|
+
"type": "CHOICE",
|
|
1378
|
+
"members": [
|
|
1379
|
+
{
|
|
1380
|
+
"type": "SYMBOL",
|
|
1381
|
+
"name": "comment"
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"type": "BLANK"
|
|
1385
|
+
}
|
|
1386
|
+
]
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1375
1389
|
{
|
|
1376
1390
|
"type": "SYMBOL",
|
|
1377
1391
|
"name": "_eol"
|
|
@@ -1381,7 +1395,7 @@
|
|
|
1381
1395
|
"members": [
|
|
1382
1396
|
{
|
|
1383
1397
|
"type": "SYMBOL",
|
|
1384
|
-
"name": "
|
|
1398
|
+
"name": "_key_value_list"
|
|
1385
1399
|
},
|
|
1386
1400
|
{
|
|
1387
1401
|
"type": "BLANK"
|
|
@@ -1402,8 +1416,8 @@
|
|
|
1402
1416
|
}
|
|
1403
1417
|
},
|
|
1404
1418
|
{
|
|
1405
|
-
"type": "
|
|
1406
|
-
"
|
|
1419
|
+
"type": "STRING",
|
|
1420
|
+
"value": "commodity"
|
|
1407
1421
|
},
|
|
1408
1422
|
{
|
|
1409
1423
|
"type": "FIELD",
|
|
@@ -1413,6 +1427,22 @@
|
|
|
1413
1427
|
"name": "currency"
|
|
1414
1428
|
}
|
|
1415
1429
|
},
|
|
1430
|
+
{
|
|
1431
|
+
"type": "FIELD",
|
|
1432
|
+
"name": "comment",
|
|
1433
|
+
"content": {
|
|
1434
|
+
"type": "CHOICE",
|
|
1435
|
+
"members": [
|
|
1436
|
+
{
|
|
1437
|
+
"type": "SYMBOL",
|
|
1438
|
+
"name": "comment"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"type": "BLANK"
|
|
1442
|
+
}
|
|
1443
|
+
]
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1416
1446
|
{
|
|
1417
1447
|
"type": "SYMBOL",
|
|
1418
1448
|
"name": "_eol"
|
|
@@ -1422,7 +1452,7 @@
|
|
|
1422
1452
|
"members": [
|
|
1423
1453
|
{
|
|
1424
1454
|
"type": "SYMBOL",
|
|
1425
|
-
"name": "
|
|
1455
|
+
"name": "_key_value_list"
|
|
1426
1456
|
},
|
|
1427
1457
|
{
|
|
1428
1458
|
"type": "BLANK"
|
|
@@ -1443,8 +1473,8 @@
|
|
|
1443
1473
|
}
|
|
1444
1474
|
},
|
|
1445
1475
|
{
|
|
1446
|
-
"type": "
|
|
1447
|
-
"
|
|
1476
|
+
"type": "STRING",
|
|
1477
|
+
"value": "pad"
|
|
1448
1478
|
},
|
|
1449
1479
|
{
|
|
1450
1480
|
"type": "FIELD",
|
|
@@ -1462,6 +1492,22 @@
|
|
|
1462
1492
|
"name": "account"
|
|
1463
1493
|
}
|
|
1464
1494
|
},
|
|
1495
|
+
{
|
|
1496
|
+
"type": "FIELD",
|
|
1497
|
+
"name": "comment",
|
|
1498
|
+
"content": {
|
|
1499
|
+
"type": "CHOICE",
|
|
1500
|
+
"members": [
|
|
1501
|
+
{
|
|
1502
|
+
"type": "SYMBOL",
|
|
1503
|
+
"name": "comment"
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
"type": "BLANK"
|
|
1507
|
+
}
|
|
1508
|
+
]
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1465
1511
|
{
|
|
1466
1512
|
"type": "SYMBOL",
|
|
1467
1513
|
"name": "_eol"
|
|
@@ -1471,7 +1517,7 @@
|
|
|
1471
1517
|
"members": [
|
|
1472
1518
|
{
|
|
1473
1519
|
"type": "SYMBOL",
|
|
1474
|
-
"name": "
|
|
1520
|
+
"name": "_key_value_list"
|
|
1475
1521
|
},
|
|
1476
1522
|
{
|
|
1477
1523
|
"type": "BLANK"
|
|
@@ -1492,8 +1538,8 @@
|
|
|
1492
1538
|
}
|
|
1493
1539
|
},
|
|
1494
1540
|
{
|
|
1495
|
-
"type": "
|
|
1496
|
-
"
|
|
1541
|
+
"type": "STRING",
|
|
1542
|
+
"value": "balance"
|
|
1497
1543
|
},
|
|
1498
1544
|
{
|
|
1499
1545
|
"type": "FIELD",
|
|
@@ -1511,6 +1557,22 @@
|
|
|
1511
1557
|
"name": "amount_tolerance"
|
|
1512
1558
|
}
|
|
1513
1559
|
},
|
|
1560
|
+
{
|
|
1561
|
+
"type": "FIELD",
|
|
1562
|
+
"name": "comment",
|
|
1563
|
+
"content": {
|
|
1564
|
+
"type": "CHOICE",
|
|
1565
|
+
"members": [
|
|
1566
|
+
{
|
|
1567
|
+
"type": "SYMBOL",
|
|
1568
|
+
"name": "comment"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"type": "BLANK"
|
|
1572
|
+
}
|
|
1573
|
+
]
|
|
1574
|
+
}
|
|
1575
|
+
},
|
|
1514
1576
|
{
|
|
1515
1577
|
"type": "SYMBOL",
|
|
1516
1578
|
"name": "_eol"
|
|
@@ -1520,7 +1582,7 @@
|
|
|
1520
1582
|
"members": [
|
|
1521
1583
|
{
|
|
1522
1584
|
"type": "SYMBOL",
|
|
1523
|
-
"name": "
|
|
1585
|
+
"name": "_key_value_list"
|
|
1524
1586
|
},
|
|
1525
1587
|
{
|
|
1526
1588
|
"type": "BLANK"
|
|
@@ -1566,8 +1628,8 @@
|
|
|
1566
1628
|
"name": "_number_expr"
|
|
1567
1629
|
},
|
|
1568
1630
|
{
|
|
1569
|
-
"type": "
|
|
1570
|
-
"
|
|
1631
|
+
"type": "STRING",
|
|
1632
|
+
"value": "~"
|
|
1571
1633
|
},
|
|
1572
1634
|
{
|
|
1573
1635
|
"type": "SYMBOL",
|
|
@@ -1662,8 +1724,8 @@
|
|
|
1662
1724
|
}
|
|
1663
1725
|
},
|
|
1664
1726
|
{
|
|
1665
|
-
"type": "
|
|
1666
|
-
"
|
|
1727
|
+
"type": "STRING",
|
|
1728
|
+
"value": "#"
|
|
1667
1729
|
},
|
|
1668
1730
|
{
|
|
1669
1731
|
"type": "FIELD",
|
|
@@ -1713,8 +1775,8 @@
|
|
|
1713
1775
|
"type": "SEQ",
|
|
1714
1776
|
"members": [
|
|
1715
1777
|
{
|
|
1716
|
-
"type": "
|
|
1717
|
-
"
|
|
1778
|
+
"type": "STRING",
|
|
1779
|
+
"value": "{"
|
|
1718
1780
|
},
|
|
1719
1781
|
{
|
|
1720
1782
|
"type": "FIELD",
|
|
@@ -1724,7 +1786,7 @@
|
|
|
1724
1786
|
"members": [
|
|
1725
1787
|
{
|
|
1726
1788
|
"type": "SYMBOL",
|
|
1727
|
-
"name": "
|
|
1789
|
+
"name": "_cost_comp_list"
|
|
1728
1790
|
},
|
|
1729
1791
|
{
|
|
1730
1792
|
"type": "BLANK"
|
|
@@ -1733,8 +1795,8 @@
|
|
|
1733
1795
|
}
|
|
1734
1796
|
},
|
|
1735
1797
|
{
|
|
1736
|
-
"type": "
|
|
1737
|
-
"
|
|
1798
|
+
"type": "STRING",
|
|
1799
|
+
"value": "}"
|
|
1738
1800
|
}
|
|
1739
1801
|
]
|
|
1740
1802
|
},
|
|
@@ -1742,8 +1804,8 @@
|
|
|
1742
1804
|
"type": "SEQ",
|
|
1743
1805
|
"members": [
|
|
1744
1806
|
{
|
|
1745
|
-
"type": "
|
|
1746
|
-
"
|
|
1807
|
+
"type": "STRING",
|
|
1808
|
+
"value": "{{"
|
|
1747
1809
|
},
|
|
1748
1810
|
{
|
|
1749
1811
|
"type": "FIELD",
|
|
@@ -1753,7 +1815,7 @@
|
|
|
1753
1815
|
"members": [
|
|
1754
1816
|
{
|
|
1755
1817
|
"type": "SYMBOL",
|
|
1756
|
-
"name": "
|
|
1818
|
+
"name": "_cost_comp_list"
|
|
1757
1819
|
},
|
|
1758
1820
|
{
|
|
1759
1821
|
"type": "BLANK"
|
|
@@ -1762,14 +1824,14 @@
|
|
|
1762
1824
|
}
|
|
1763
1825
|
},
|
|
1764
1826
|
{
|
|
1765
|
-
"type": "
|
|
1766
|
-
"
|
|
1827
|
+
"type": "STRING",
|
|
1828
|
+
"value": "}}"
|
|
1767
1829
|
}
|
|
1768
1830
|
]
|
|
1769
1831
|
}
|
|
1770
1832
|
]
|
|
1771
1833
|
},
|
|
1772
|
-
"
|
|
1834
|
+
"_cost_comp_list": {
|
|
1773
1835
|
"type": "SEQ",
|
|
1774
1836
|
"members": [
|
|
1775
1837
|
{
|
|
@@ -1782,8 +1844,8 @@
|
|
|
1782
1844
|
"type": "SEQ",
|
|
1783
1845
|
"members": [
|
|
1784
1846
|
{
|
|
1785
|
-
"type": "
|
|
1786
|
-
"
|
|
1847
|
+
"type": "STRING",
|
|
1848
|
+
"value": ","
|
|
1787
1849
|
},
|
|
1788
1850
|
{
|
|
1789
1851
|
"type": "SYMBOL",
|
|
@@ -1810,8 +1872,8 @@
|
|
|
1810
1872
|
"name": "string"
|
|
1811
1873
|
},
|
|
1812
1874
|
{
|
|
1813
|
-
"type": "
|
|
1814
|
-
"
|
|
1875
|
+
"type": "STRING",
|
|
1876
|
+
"value": "*"
|
|
1815
1877
|
}
|
|
1816
1878
|
]
|
|
1817
1879
|
},
|
|
@@ -1827,8 +1889,8 @@
|
|
|
1827
1889
|
}
|
|
1828
1890
|
},
|
|
1829
1891
|
{
|
|
1830
|
-
"type": "
|
|
1831
|
-
"
|
|
1892
|
+
"type": "STRING",
|
|
1893
|
+
"value": "price"
|
|
1832
1894
|
},
|
|
1833
1895
|
{
|
|
1834
1896
|
"type": "FIELD",
|
|
@@ -1855,7 +1917,7 @@
|
|
|
1855
1917
|
"members": [
|
|
1856
1918
|
{
|
|
1857
1919
|
"type": "SYMBOL",
|
|
1858
|
-
"name": "
|
|
1920
|
+
"name": "_key_value_list"
|
|
1859
1921
|
},
|
|
1860
1922
|
{
|
|
1861
1923
|
"type": "BLANK"
|
|
@@ -1876,8 +1938,8 @@
|
|
|
1876
1938
|
}
|
|
1877
1939
|
},
|
|
1878
1940
|
{
|
|
1879
|
-
"type": "
|
|
1880
|
-
"
|
|
1941
|
+
"type": "STRING",
|
|
1942
|
+
"value": "event"
|
|
1881
1943
|
},
|
|
1882
1944
|
{
|
|
1883
1945
|
"type": "FIELD",
|
|
@@ -1904,7 +1966,7 @@
|
|
|
1904
1966
|
"members": [
|
|
1905
1967
|
{
|
|
1906
1968
|
"type": "SYMBOL",
|
|
1907
|
-
"name": "
|
|
1969
|
+
"name": "_key_value_list"
|
|
1908
1970
|
},
|
|
1909
1971
|
{
|
|
1910
1972
|
"type": "BLANK"
|
|
@@ -1925,8 +1987,8 @@
|
|
|
1925
1987
|
}
|
|
1926
1988
|
},
|
|
1927
1989
|
{
|
|
1928
|
-
"type": "
|
|
1929
|
-
"
|
|
1990
|
+
"type": "STRING",
|
|
1991
|
+
"value": "query"
|
|
1930
1992
|
},
|
|
1931
1993
|
{
|
|
1932
1994
|
"type": "FIELD",
|
|
@@ -1953,7 +2015,7 @@
|
|
|
1953
2015
|
"members": [
|
|
1954
2016
|
{
|
|
1955
2017
|
"type": "SYMBOL",
|
|
1956
|
-
"name": "
|
|
2018
|
+
"name": "_key_value_list"
|
|
1957
2019
|
},
|
|
1958
2020
|
{
|
|
1959
2021
|
"type": "BLANK"
|
|
@@ -1974,8 +2036,8 @@
|
|
|
1974
2036
|
}
|
|
1975
2037
|
},
|
|
1976
2038
|
{
|
|
1977
|
-
"type": "
|
|
1978
|
-
"
|
|
2039
|
+
"type": "STRING",
|
|
2040
|
+
"value": "note"
|
|
1979
2041
|
},
|
|
1980
2042
|
{
|
|
1981
2043
|
"type": "FIELD",
|
|
@@ -2002,7 +2064,7 @@
|
|
|
2002
2064
|
"members": [
|
|
2003
2065
|
{
|
|
2004
2066
|
"type": "SYMBOL",
|
|
2005
|
-
"name": "
|
|
2067
|
+
"name": "_key_value_list"
|
|
2006
2068
|
},
|
|
2007
2069
|
{
|
|
2008
2070
|
"type": "BLANK"
|
|
@@ -2027,8 +2089,8 @@
|
|
|
2027
2089
|
}
|
|
2028
2090
|
},
|
|
2029
2091
|
{
|
|
2030
|
-
"type": "
|
|
2031
|
-
"
|
|
2092
|
+
"type": "STRING",
|
|
2093
|
+
"value": "document"
|
|
2032
2094
|
},
|
|
2033
2095
|
{
|
|
2034
2096
|
"type": "FIELD",
|
|
@@ -2071,7 +2133,7 @@
|
|
|
2071
2133
|
"members": [
|
|
2072
2134
|
{
|
|
2073
2135
|
"type": "SYMBOL",
|
|
2074
|
-
"name": "
|
|
2136
|
+
"name": "_key_value_list"
|
|
2075
2137
|
},
|
|
2076
2138
|
{
|
|
2077
2139
|
"type": "BLANK"
|
|
@@ -2109,13 +2171,6 @@
|
|
|
2109
2171
|
}
|
|
2110
2172
|
]
|
|
2111
2173
|
},
|
|
2112
|
-
"custom_value_list": {
|
|
2113
|
-
"type": "REPEAT1",
|
|
2114
|
-
"content": {
|
|
2115
|
-
"type": "SYMBOL",
|
|
2116
|
-
"name": "custom_value"
|
|
2117
|
-
}
|
|
2118
|
-
},
|
|
2119
2174
|
"custom": {
|
|
2120
2175
|
"type": "SEQ",
|
|
2121
2176
|
"members": [
|
|
@@ -2128,8 +2183,8 @@
|
|
|
2128
2183
|
}
|
|
2129
2184
|
},
|
|
2130
2185
|
{
|
|
2131
|
-
"type": "
|
|
2132
|
-
"
|
|
2186
|
+
"type": "STRING",
|
|
2187
|
+
"value": "custom"
|
|
2133
2188
|
},
|
|
2134
2189
|
{
|
|
2135
2190
|
"type": "FIELD",
|
|
@@ -2146,8 +2201,11 @@
|
|
|
2146
2201
|
"type": "CHOICE",
|
|
2147
2202
|
"members": [
|
|
2148
2203
|
{
|
|
2149
|
-
"type": "
|
|
2150
|
-
"
|
|
2204
|
+
"type": "REPEAT1",
|
|
2205
|
+
"content": {
|
|
2206
|
+
"type": "SYMBOL",
|
|
2207
|
+
"name": "custom_value"
|
|
2208
|
+
}
|
|
2151
2209
|
},
|
|
2152
2210
|
{
|
|
2153
2211
|
"type": "BLANK"
|
|
@@ -2164,7 +2222,7 @@
|
|
|
2164
2222
|
"members": [
|
|
2165
2223
|
{
|
|
2166
2224
|
"type": "SYMBOL",
|
|
2167
|
-
"name": "
|
|
2225
|
+
"name": "_key_value_list"
|
|
2168
2226
|
},
|
|
2169
2227
|
{
|
|
2170
2228
|
"type": "BLANK"
|
|
@@ -2230,8 +2288,8 @@
|
|
|
2230
2288
|
"type": "SEQ",
|
|
2231
2289
|
"members": [
|
|
2232
2290
|
{
|
|
2233
|
-
"type": "
|
|
2234
|
-
"
|
|
2291
|
+
"type": "STRING",
|
|
2292
|
+
"value": "option"
|
|
2235
2293
|
},
|
|
2236
2294
|
{
|
|
2237
2295
|
"type": "FIELD",
|
|
@@ -2259,8 +2317,8 @@
|
|
|
2259
2317
|
"type": "SEQ",
|
|
2260
2318
|
"members": [
|
|
2261
2319
|
{
|
|
2262
|
-
"type": "
|
|
2263
|
-
"
|
|
2320
|
+
"type": "STRING",
|
|
2321
|
+
"value": "include"
|
|
2264
2322
|
},
|
|
2265
2323
|
{
|
|
2266
2324
|
"type": "SYMBOL",
|
|
@@ -2279,8 +2337,8 @@
|
|
|
2279
2337
|
"type": "SEQ",
|
|
2280
2338
|
"members": [
|
|
2281
2339
|
{
|
|
2282
|
-
"type": "
|
|
2283
|
-
"
|
|
2340
|
+
"type": "STRING",
|
|
2341
|
+
"value": "plugin"
|
|
2284
2342
|
},
|
|
2285
2343
|
{
|
|
2286
2344
|
"type": "SYMBOL",
|
|
@@ -2296,8 +2354,8 @@
|
|
|
2296
2354
|
"type": "SEQ",
|
|
2297
2355
|
"members": [
|
|
2298
2356
|
{
|
|
2299
|
-
"type": "
|
|
2300
|
-
"
|
|
2357
|
+
"type": "STRING",
|
|
2358
|
+
"value": "plugin"
|
|
2301
2359
|
},
|
|
2302
2360
|
{
|
|
2303
2361
|
"type": "SYMBOL",
|
|
@@ -2365,14 +2423,23 @@
|
|
|
2365
2423
|
}
|
|
2366
2424
|
]
|
|
2367
2425
|
},
|
|
2426
|
+
"comment": {
|
|
2427
|
+
"type": "SEQ",
|
|
2428
|
+
"members": [
|
|
2429
|
+
{
|
|
2430
|
+
"type": "STRING",
|
|
2431
|
+
"value": ";"
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
"type": "PATTERN",
|
|
2435
|
+
"value": ".*"
|
|
2436
|
+
}
|
|
2437
|
+
]
|
|
2438
|
+
},
|
|
2368
2439
|
"identifier": {
|
|
2369
2440
|
"type": "PATTERN",
|
|
2370
2441
|
"value": "[a-z]+"
|
|
2371
2442
|
},
|
|
2372
|
-
"comment": {
|
|
2373
|
-
"type": "PATTERN",
|
|
2374
|
-
"value": ";.*"
|
|
2375
|
-
},
|
|
2376
2443
|
"_skipped_lines": {
|
|
2377
2444
|
"type": "CHOICE",
|
|
2378
2445
|
"members": [
|
|
@@ -2397,8 +2464,8 @@
|
|
|
2397
2464
|
"type": "SEQ",
|
|
2398
2465
|
"members": [
|
|
2399
2466
|
{
|
|
2400
|
-
"type": "
|
|
2401
|
-
"
|
|
2467
|
+
"type": "STRING",
|
|
2468
|
+
"value": ":"
|
|
2402
2469
|
},
|
|
2403
2470
|
{
|
|
2404
2471
|
"type": "PATTERN",
|
|
@@ -2609,12 +2676,29 @@
|
|
|
2609
2676
|
"extras": [
|
|
2610
2677
|
{
|
|
2611
2678
|
"type": "PATTERN",
|
|
2612
|
-
"value": "
|
|
2679
|
+
"value": "( |\\r|\\t)+"
|
|
2613
2680
|
}
|
|
2614
2681
|
],
|
|
2615
2682
|
"conflicts": [],
|
|
2616
|
-
"
|
|
2683
|
+
"precedences": [],
|
|
2684
|
+
"externals": [
|
|
2685
|
+
{
|
|
2686
|
+
"type": "SYMBOL",
|
|
2687
|
+
"name": "_stars"
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
"type": "SYMBOL",
|
|
2691
|
+
"name": "_sectionend"
|
|
2692
|
+
},
|
|
2693
|
+
{
|
|
2694
|
+
"type": "SYMBOL",
|
|
2695
|
+
"name": "_eof"
|
|
2696
|
+
}
|
|
2697
|
+
],
|
|
2617
2698
|
"inline": [],
|
|
2618
|
-
"supertypes": [
|
|
2699
|
+
"supertypes": [
|
|
2700
|
+
"_entry",
|
|
2701
|
+
"_directive"
|
|
2702
|
+
]
|
|
2619
2703
|
}
|
|
2620
2704
|
|