@zwave-js/config 11.13.0 → 11.14.0
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/build/ConfigManager.d.ts +4 -4
- package/build/ConfigManager.d.ts.map +1 -1
- package/build/ConfigManager.js +23 -16
- package/build/ConfigManager.js.map +1 -1
- package/build/DeviceClasses.d.ts.map +1 -1
- package/build/DeviceClasses.js +12 -10
- package/build/DeviceClasses.js.map +1 -1
- package/build/Indicators.d.ts.map +1 -1
- package/build/Indicators.js +6 -6
- package/build/Indicators.js.map +1 -1
- package/build/JsonTemplate.js +2 -1
- package/build/JsonTemplate.js.map +1 -1
- package/build/Logger.d.ts +1 -1
- package/build/Logger.d.ts.map +1 -1
- package/build/Logic.d.ts.map +1 -1
- package/build/LogicParser.d.ts.map +1 -1
- package/build/LogicParser.js +81 -139
- package/build/LogicParser.js.map +1 -1
- package/build/Meters.d.ts.map +1 -1
- package/build/Meters.js.map +1 -1
- package/build/Notifications.d.ts.map +1 -1
- package/build/Notifications.js +6 -5
- package/build/Notifications.js.map +1 -1
- package/build/Scales.d.ts.map +1 -1
- package/build/Scales.js +4 -4
- package/build/Scales.js.map +1 -1
- package/build/SensorTypes.d.ts.map +1 -1
- package/build/SensorTypes.js +8 -5
- package/build/SensorTypes.js.map +1 -1
- package/build/devices/AssociationConfig.d.ts.map +1 -1
- package/build/devices/AssociationConfig.js +6 -6
- package/build/devices/AssociationConfig.js.map +1 -1
- package/build/devices/CompatConfig.d.ts.map +1 -1
- package/build/devices/CompatConfig.js +50 -49
- package/build/devices/CompatConfig.js.map +1 -1
- package/build/devices/ConditionalItem.d.ts.map +1 -1
- package/build/devices/ConditionalItem.js +2 -2
- package/build/devices/ConditionalItem.js.map +1 -1
- package/build/devices/ConditionalPrimitive.d.ts.map +1 -1
- package/build/devices/ConditionalPrimitive.js +4 -4
- package/build/devices/ConditionalPrimitive.js.map +1 -1
- package/build/devices/DeviceConfig.d.ts +2 -2
- package/build/devices/DeviceConfig.d.ts.map +1 -1
- package/build/devices/DeviceConfig.js +28 -25
- package/build/devices/DeviceConfig.js.map +1 -1
- package/build/devices/DeviceMetadata.d.ts.map +1 -1
- package/build/devices/DeviceMetadata.js +3 -3
- package/build/devices/DeviceMetadata.js.map +1 -1
- package/build/devices/EndpointConfig.d.ts +1 -1
- package/build/devices/EndpointConfig.d.ts.map +1 -1
- package/build/devices/EndpointConfig.js.map +1 -1
- package/build/devices/ParamInformation.d.ts.map +1 -1
- package/build/devices/ParamInformation.js +26 -25
- package/build/devices/ParamInformation.js.map +1 -1
- package/build/utils.d.ts.map +1 -1
- package/build/utils.js +4 -4
- package/build/utils.js.map +1 -1
- package/build/utils_safe.js +2 -2
- package/build/utils_safe.js.map +1 -1
- package/config/.dprint.jsonc +13 -0
- package/config/devices/0x011a/zw500d.json +5 -1
- package/config/devices/0x016a/ft100.json +2 -2
- package/config/devices/0x016a/ft111.json +2 -2
- package/config/devices/0x0190/adc-swm150.json +0 -1
- package/config/devices/0x0234/templates/logic_group_template.json +1 -1
- package/config/devices/0x027a/templates/zooz_template.json +11 -1
- package/config/devices/0x027a/zen04.json +13 -1
- package/config/devices/0x027a/zen71.json +15 -3
- package/config/devices/0x027a/zen72.json +21 -3
- package/config/devices/0x027a/zen76.json +15 -2
- package/config/devices/0x027a/zen77.json +23 -8
- package/config/devices/0x0330/ves-zw-dim-001.json +1 -1
- package/config/devices/0x0345/templates/swidget_template.json +3 -3
- package/package.json +5 -8
package/build/LogicParser.js
CHANGED
|
@@ -12,7 +12,7 @@ class SyntaxError extends Error {
|
|
|
12
12
|
function literalEscape(s) {
|
|
13
13
|
return s
|
|
14
14
|
.replace(/\\/g, "\\\\")
|
|
15
|
-
.replace(/"/g,
|
|
15
|
+
.replace(/"/g, "\\\"")
|
|
16
16
|
.replace(/\0/g, "\\0")
|
|
17
17
|
.replace(/\t/g, "\\t")
|
|
18
18
|
.replace(/\n/g, "\\n")
|
|
@@ -36,19 +36,19 @@ class SyntaxError extends Error {
|
|
|
36
36
|
function describeExpectation(expectation) {
|
|
37
37
|
switch (expectation.type) {
|
|
38
38
|
case "literal":
|
|
39
|
-
return
|
|
39
|
+
return "\"" + literalEscape(expectation.text) + "\"";
|
|
40
40
|
case "class":
|
|
41
41
|
const escapedParts = expectation.parts.map((part) => {
|
|
42
42
|
return Array.isArray(part)
|
|
43
|
-
? classEscape(part[0])
|
|
44
|
-
"-"
|
|
45
|
-
classEscape(part[1])
|
|
43
|
+
? classEscape(part[0])
|
|
44
|
+
+ "-"
|
|
45
|
+
+ classEscape(part[1])
|
|
46
46
|
: classEscape(part);
|
|
47
47
|
});
|
|
48
|
-
return
|
|
49
|
-
(expectation.inverted ? "^" : "")
|
|
50
|
-
escapedParts
|
|
51
|
-
"]"
|
|
48
|
+
return "["
|
|
49
|
+
+ (expectation.inverted ? "^" : "")
|
|
50
|
+
+ escapedParts
|
|
51
|
+
+ "]";
|
|
52
52
|
case "any":
|
|
53
53
|
return "any character";
|
|
54
54
|
case "end":
|
|
@@ -77,19 +77,21 @@ class SyntaxError extends Error {
|
|
|
77
77
|
case 2:
|
|
78
78
|
return descriptions[0] + " or " + descriptions[1];
|
|
79
79
|
default:
|
|
80
|
-
return
|
|
81
|
-
", or "
|
|
82
|
-
descriptions[descriptions.length - 1]
|
|
80
|
+
return descriptions.slice(0, -1).join(", ")
|
|
81
|
+
+ ", or "
|
|
82
|
+
+ descriptions[descriptions.length - 1];
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
function describeFound(found1) {
|
|
86
|
-
return found1
|
|
86
|
+
return found1
|
|
87
|
+
? "\"" + literalEscape(found1) + "\""
|
|
88
|
+
: "end of input";
|
|
87
89
|
}
|
|
88
|
-
return
|
|
89
|
-
describeExpected(expected)
|
|
90
|
-
" but "
|
|
91
|
-
describeFound(found)
|
|
92
|
-
" found."
|
|
90
|
+
return "Expected "
|
|
91
|
+
+ describeExpected(expected)
|
|
92
|
+
+ " but "
|
|
93
|
+
+ describeFound(found)
|
|
94
|
+
+ " found.";
|
|
93
95
|
}
|
|
94
96
|
constructor(message, expected, found, location) {
|
|
95
97
|
super();
|
|
@@ -154,16 +156,9 @@ function peg$parse(input, options) {
|
|
|
154
156
|
};
|
|
155
157
|
const peg$c29 = peg$otherExpectation("variable");
|
|
156
158
|
const peg$c30 = /^[a-zA-Z]/;
|
|
157
|
-
const peg$c31 = peg$classExpectation([
|
|
158
|
-
["a", "z"],
|
|
159
|
-
["A", "Z"],
|
|
160
|
-
], false, false);
|
|
159
|
+
const peg$c31 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false);
|
|
161
160
|
const peg$c32 = /^[a-zA-Z0-9]/;
|
|
162
|
-
const peg$c33 = peg$classExpectation([
|
|
163
|
-
["a", "z"],
|
|
164
|
-
["A", "Z"],
|
|
165
|
-
["0", "9"],
|
|
166
|
-
], false, false);
|
|
161
|
+
const peg$c33 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"]], false, false);
|
|
167
162
|
const peg$c34 = function (variable) {
|
|
168
163
|
return { var: variable[1].join("") };
|
|
169
164
|
};
|
|
@@ -179,10 +174,7 @@ function peg$parse(input, options) {
|
|
|
179
174
|
const peg$c42 = "0x";
|
|
180
175
|
const peg$c43 = peg$literalExpectation("0x", false);
|
|
181
176
|
const peg$c44 = /^[0-9a-f]/i;
|
|
182
|
-
const peg$c45 = peg$classExpectation([
|
|
183
|
-
["0", "9"],
|
|
184
|
-
["a", "f"],
|
|
185
|
-
], false, true);
|
|
177
|
+
const peg$c45 = peg$classExpectation([["0", "9"], ["a", "f"]], false, true);
|
|
186
178
|
const peg$c46 = function () {
|
|
187
179
|
return parseInt(text(), 16);
|
|
188
180
|
};
|
|
@@ -193,10 +185,10 @@ function peg$parse(input, options) {
|
|
|
193
185
|
return text();
|
|
194
186
|
};
|
|
195
187
|
const peg$c51 = peg$otherExpectation("string");
|
|
196
|
-
const peg$c52 =
|
|
197
|
-
const peg$c53 = peg$literalExpectation(
|
|
188
|
+
const peg$c52 = "\"";
|
|
189
|
+
const peg$c53 = peg$literalExpectation("\"", false);
|
|
198
190
|
const peg$c54 = /^[^"]/;
|
|
199
|
-
const peg$c55 = peg$classExpectation([
|
|
191
|
+
const peg$c55 = peg$classExpectation(["\""], true, false);
|
|
200
192
|
const peg$c56 = function () {
|
|
201
193
|
return text();
|
|
202
194
|
};
|
|
@@ -216,7 +208,7 @@ function peg$parse(input, options) {
|
|
|
216
208
|
let peg$result;
|
|
217
209
|
if (options.startRule !== undefined) {
|
|
218
210
|
if (!(options.startRule in peg$startRuleFunctions)) {
|
|
219
|
-
throw new Error("Can't start parsing from rule \"" + options.startRule +
|
|
211
|
+
throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
|
|
220
212
|
}
|
|
221
213
|
peg$startRuleFunction = peg$startRuleFunctions[options.startRule];
|
|
222
214
|
}
|
|
@@ -227,17 +219,15 @@ function peg$parse(input, options) {
|
|
|
227
219
|
return peg$computeLocation(peg$savedPos, peg$currPos);
|
|
228
220
|
}
|
|
229
221
|
function expected(description, location1) {
|
|
230
|
-
location1 =
|
|
231
|
-
location1
|
|
232
|
-
|
|
233
|
-
: peg$computeLocation(peg$savedPos, peg$currPos);
|
|
222
|
+
location1 = location1 !== undefined
|
|
223
|
+
? location1
|
|
224
|
+
: peg$computeLocation(peg$savedPos, peg$currPos);
|
|
234
225
|
throw peg$buildStructuredError([peg$otherExpectation(description)], input.substring(peg$savedPos, peg$currPos), location1);
|
|
235
226
|
}
|
|
236
227
|
function error(message, location1) {
|
|
237
|
-
location1 =
|
|
238
|
-
location1
|
|
239
|
-
|
|
240
|
-
: peg$computeLocation(peg$savedPos, peg$currPos);
|
|
228
|
+
location1 = location1 !== undefined
|
|
229
|
+
? location1
|
|
230
|
+
: peg$computeLocation(peg$savedPos, peg$currPos);
|
|
241
231
|
throw peg$buildSimpleError(message, location1);
|
|
242
232
|
}
|
|
243
233
|
function peg$literalExpectation(text1, ignoreCase) {
|
|
@@ -307,9 +297,8 @@ function peg$parse(input, options) {
|
|
|
307
297
|
};
|
|
308
298
|
}
|
|
309
299
|
function peg$fail(expected1) {
|
|
310
|
-
if (peg$currPos < peg$maxFailPos)
|
|
300
|
+
if (peg$currPos < peg$maxFailPos)
|
|
311
301
|
return;
|
|
312
|
-
}
|
|
313
302
|
if (peg$currPos > peg$maxFailPos) {
|
|
314
303
|
peg$maxFailPos = peg$currPos;
|
|
315
304
|
peg$maxFailExpected = [];
|
|
@@ -348,9 +337,8 @@ function peg$parse(input, options) {
|
|
|
348
337
|
}
|
|
349
338
|
else {
|
|
350
339
|
s2 = peg$FAILED;
|
|
351
|
-
if (peg$silentFails === 0)
|
|
340
|
+
if (peg$silentFails === 0)
|
|
352
341
|
peg$fail(peg$c2);
|
|
353
|
-
}
|
|
354
342
|
}
|
|
355
343
|
if (s2 !== peg$FAILED) {
|
|
356
344
|
s3 = peg$parse_();
|
|
@@ -365,9 +353,8 @@ function peg$parse(input, options) {
|
|
|
365
353
|
}
|
|
366
354
|
else {
|
|
367
355
|
s6 = peg$FAILED;
|
|
368
|
-
if (peg$silentFails === 0)
|
|
356
|
+
if (peg$silentFails === 0)
|
|
369
357
|
peg$fail(peg$c4);
|
|
370
|
-
}
|
|
371
358
|
}
|
|
372
359
|
if (s6 !== peg$FAILED) {
|
|
373
360
|
peg$savedPos = s0;
|
|
@@ -406,9 +393,8 @@ function peg$parse(input, options) {
|
|
|
406
393
|
peg$silentFails--;
|
|
407
394
|
if (s0 === peg$FAILED) {
|
|
408
395
|
s1 = peg$FAILED;
|
|
409
|
-
if (peg$silentFails === 0)
|
|
396
|
+
if (peg$silentFails === 0)
|
|
410
397
|
peg$fail(peg$c0);
|
|
411
|
-
}
|
|
412
398
|
}
|
|
413
399
|
return s0;
|
|
414
400
|
}
|
|
@@ -456,9 +442,8 @@ function peg$parse(input, options) {
|
|
|
456
442
|
peg$silentFails--;
|
|
457
443
|
if (s0 === peg$FAILED) {
|
|
458
444
|
s1 = peg$FAILED;
|
|
459
|
-
if (peg$silentFails === 0)
|
|
445
|
+
if (peg$silentFails === 0)
|
|
460
446
|
peg$fail(peg$c6);
|
|
461
|
-
}
|
|
462
447
|
}
|
|
463
448
|
return s0;
|
|
464
449
|
}
|
|
@@ -473,9 +458,8 @@ function peg$parse(input, options) {
|
|
|
473
458
|
}
|
|
474
459
|
else {
|
|
475
460
|
s2 = peg$FAILED;
|
|
476
|
-
if (peg$silentFails === 0)
|
|
461
|
+
if (peg$silentFails === 0)
|
|
477
462
|
peg$fail(peg$c9);
|
|
478
|
-
}
|
|
479
463
|
}
|
|
480
464
|
if (s2 !== peg$FAILED) {
|
|
481
465
|
s3 = peg$parse_();
|
|
@@ -554,9 +538,8 @@ function peg$parse(input, options) {
|
|
|
554
538
|
peg$silentFails--;
|
|
555
539
|
if (s0 === peg$FAILED) {
|
|
556
540
|
s1 = peg$FAILED;
|
|
557
|
-
if (peg$silentFails === 0)
|
|
541
|
+
if (peg$silentFails === 0)
|
|
558
542
|
peg$fail(peg$c11);
|
|
559
|
-
}
|
|
560
543
|
}
|
|
561
544
|
return s0;
|
|
562
545
|
}
|
|
@@ -571,9 +554,8 @@ function peg$parse(input, options) {
|
|
|
571
554
|
}
|
|
572
555
|
else {
|
|
573
556
|
s2 = peg$FAILED;
|
|
574
|
-
if (peg$silentFails === 0)
|
|
557
|
+
if (peg$silentFails === 0)
|
|
575
558
|
peg$fail(peg$c14);
|
|
576
|
-
}
|
|
577
559
|
}
|
|
578
560
|
if (s2 !== peg$FAILED) {
|
|
579
561
|
s3 = peg$parse_();
|
|
@@ -632,9 +614,8 @@ function peg$parse(input, options) {
|
|
|
632
614
|
}
|
|
633
615
|
else {
|
|
634
616
|
s4 = peg$FAILED;
|
|
635
|
-
if (peg$silentFails === 0)
|
|
617
|
+
if (peg$silentFails === 0)
|
|
636
618
|
peg$fail(peg$c17);
|
|
637
|
-
}
|
|
638
619
|
}
|
|
639
620
|
if (s4 === peg$FAILED) {
|
|
640
621
|
if (input.charCodeAt(peg$currPos) === 62) {
|
|
@@ -643,9 +624,8 @@ function peg$parse(input, options) {
|
|
|
643
624
|
}
|
|
644
625
|
else {
|
|
645
626
|
s4 = peg$FAILED;
|
|
646
|
-
if (peg$silentFails === 0)
|
|
627
|
+
if (peg$silentFails === 0)
|
|
647
628
|
peg$fail(peg$c19);
|
|
648
|
-
}
|
|
649
629
|
}
|
|
650
630
|
if (s4 === peg$FAILED) {
|
|
651
631
|
if (input.substr(peg$currPos, 2) === peg$c20) {
|
|
@@ -654,9 +634,8 @@ function peg$parse(input, options) {
|
|
|
654
634
|
}
|
|
655
635
|
else {
|
|
656
636
|
s4 = peg$FAILED;
|
|
657
|
-
if (peg$silentFails === 0)
|
|
637
|
+
if (peg$silentFails === 0)
|
|
658
638
|
peg$fail(peg$c21);
|
|
659
|
-
}
|
|
660
639
|
}
|
|
661
640
|
if (s4 === peg$FAILED) {
|
|
662
641
|
if (input.charCodeAt(peg$currPos) === 60) {
|
|
@@ -732,9 +711,8 @@ function peg$parse(input, options) {
|
|
|
732
711
|
peg$silentFails--;
|
|
733
712
|
if (s0 === peg$FAILED) {
|
|
734
713
|
s1 = peg$FAILED;
|
|
735
|
-
if (peg$silentFails === 0)
|
|
714
|
+
if (peg$silentFails === 0)
|
|
736
715
|
peg$fail(peg$c15);
|
|
737
|
-
}
|
|
738
716
|
}
|
|
739
717
|
return s0;
|
|
740
718
|
}
|
|
@@ -754,9 +732,8 @@ function peg$parse(input, options) {
|
|
|
754
732
|
}
|
|
755
733
|
else {
|
|
756
734
|
s4 = peg$FAILED;
|
|
757
|
-
if (peg$silentFails === 0)
|
|
735
|
+
if (peg$silentFails === 0)
|
|
758
736
|
peg$fail(peg$c17);
|
|
759
|
-
}
|
|
760
737
|
}
|
|
761
738
|
if (s4 === peg$FAILED) {
|
|
762
739
|
if (input.charCodeAt(peg$currPos) === 62) {
|
|
@@ -765,9 +742,8 @@ function peg$parse(input, options) {
|
|
|
765
742
|
}
|
|
766
743
|
else {
|
|
767
744
|
s4 = peg$FAILED;
|
|
768
|
-
if (peg$silentFails === 0)
|
|
745
|
+
if (peg$silentFails === 0)
|
|
769
746
|
peg$fail(peg$c19);
|
|
770
|
-
}
|
|
771
747
|
}
|
|
772
748
|
if (s4 === peg$FAILED) {
|
|
773
749
|
if (input.substr(peg$currPos, 2) === peg$c20) {
|
|
@@ -776,9 +752,8 @@ function peg$parse(input, options) {
|
|
|
776
752
|
}
|
|
777
753
|
else {
|
|
778
754
|
s4 = peg$FAILED;
|
|
779
|
-
if (peg$silentFails === 0)
|
|
755
|
+
if (peg$silentFails === 0)
|
|
780
756
|
peg$fail(peg$c21);
|
|
781
|
-
}
|
|
782
757
|
}
|
|
783
758
|
if (s4 === peg$FAILED) {
|
|
784
759
|
if (input.charCodeAt(peg$currPos) === 60) {
|
|
@@ -854,9 +829,8 @@ function peg$parse(input, options) {
|
|
|
854
829
|
peg$silentFails--;
|
|
855
830
|
if (s0 === peg$FAILED) {
|
|
856
831
|
s1 = peg$FAILED;
|
|
857
|
-
if (peg$silentFails === 0)
|
|
832
|
+
if (peg$silentFails === 0)
|
|
858
833
|
peg$fail(peg$c27);
|
|
859
|
-
}
|
|
860
834
|
}
|
|
861
835
|
return s0;
|
|
862
836
|
}
|
|
@@ -889,9 +863,8 @@ function peg$parse(input, options) {
|
|
|
889
863
|
}
|
|
890
864
|
else {
|
|
891
865
|
s4 = peg$FAILED;
|
|
892
|
-
if (peg$silentFails === 0)
|
|
866
|
+
if (peg$silentFails === 0)
|
|
893
867
|
peg$fail(peg$c31);
|
|
894
|
-
}
|
|
895
868
|
}
|
|
896
869
|
peg$silentFails--;
|
|
897
870
|
if (s4 !== peg$FAILED) {
|
|
@@ -909,9 +882,8 @@ function peg$parse(input, options) {
|
|
|
909
882
|
}
|
|
910
883
|
else {
|
|
911
884
|
s5 = peg$FAILED;
|
|
912
|
-
if (peg$silentFails === 0)
|
|
885
|
+
if (peg$silentFails === 0)
|
|
913
886
|
peg$fail(peg$c33);
|
|
914
|
-
}
|
|
915
887
|
}
|
|
916
888
|
if (s5 !== peg$FAILED) {
|
|
917
889
|
while (s5 !== peg$FAILED) {
|
|
@@ -922,9 +894,8 @@ function peg$parse(input, options) {
|
|
|
922
894
|
}
|
|
923
895
|
else {
|
|
924
896
|
s5 = peg$FAILED;
|
|
925
|
-
if (peg$silentFails === 0)
|
|
897
|
+
if (peg$silentFails === 0)
|
|
926
898
|
peg$fail(peg$c33);
|
|
927
|
-
}
|
|
928
899
|
}
|
|
929
900
|
}
|
|
930
901
|
}
|
|
@@ -961,9 +932,8 @@ function peg$parse(input, options) {
|
|
|
961
932
|
peg$silentFails--;
|
|
962
933
|
if (s0 === peg$FAILED) {
|
|
963
934
|
s1 = peg$FAILED;
|
|
964
|
-
if (peg$silentFails === 0)
|
|
935
|
+
if (peg$silentFails === 0)
|
|
965
936
|
peg$fail(peg$c29);
|
|
966
|
-
}
|
|
967
937
|
}
|
|
968
938
|
return s0;
|
|
969
939
|
}
|
|
@@ -980,9 +950,8 @@ function peg$parse(input, options) {
|
|
|
980
950
|
}
|
|
981
951
|
else {
|
|
982
952
|
s3 = peg$FAILED;
|
|
983
|
-
if (peg$silentFails === 0)
|
|
953
|
+
if (peg$silentFails === 0)
|
|
984
954
|
peg$fail(peg$c37);
|
|
985
|
-
}
|
|
986
955
|
}
|
|
987
956
|
if (s3 === peg$FAILED) {
|
|
988
957
|
s3 = null;
|
|
@@ -995,9 +964,8 @@ function peg$parse(input, options) {
|
|
|
995
964
|
}
|
|
996
965
|
else {
|
|
997
966
|
s5 = peg$FAILED;
|
|
998
|
-
if (peg$silentFails === 0)
|
|
967
|
+
if (peg$silentFails === 0)
|
|
999
968
|
peg$fail(peg$c39);
|
|
1000
|
-
}
|
|
1001
969
|
}
|
|
1002
970
|
if (s5 !== peg$FAILED) {
|
|
1003
971
|
while (s5 !== peg$FAILED) {
|
|
@@ -1008,9 +976,8 @@ function peg$parse(input, options) {
|
|
|
1008
976
|
}
|
|
1009
977
|
else {
|
|
1010
978
|
s5 = peg$FAILED;
|
|
1011
|
-
if (peg$silentFails === 0)
|
|
979
|
+
if (peg$silentFails === 0)
|
|
1012
980
|
peg$fail(peg$c39);
|
|
1013
|
-
}
|
|
1014
981
|
}
|
|
1015
982
|
}
|
|
1016
983
|
}
|
|
@@ -1047,9 +1014,8 @@ function peg$parse(input, options) {
|
|
|
1047
1014
|
peg$silentFails--;
|
|
1048
1015
|
if (s0 === peg$FAILED) {
|
|
1049
1016
|
s1 = peg$FAILED;
|
|
1050
|
-
if (peg$silentFails === 0)
|
|
1017
|
+
if (peg$silentFails === 0)
|
|
1051
1018
|
peg$fail(peg$c35);
|
|
1052
|
-
}
|
|
1053
1019
|
}
|
|
1054
1020
|
return s0;
|
|
1055
1021
|
}
|
|
@@ -1066,9 +1032,8 @@ function peg$parse(input, options) {
|
|
|
1066
1032
|
}
|
|
1067
1033
|
else {
|
|
1068
1034
|
s3 = peg$FAILED;
|
|
1069
|
-
if (peg$silentFails === 0)
|
|
1035
|
+
if (peg$silentFails === 0)
|
|
1070
1036
|
peg$fail(peg$c43);
|
|
1071
|
-
}
|
|
1072
1037
|
}
|
|
1073
1038
|
if (s3 !== peg$FAILED) {
|
|
1074
1039
|
s4 = [];
|
|
@@ -1078,9 +1043,8 @@ function peg$parse(input, options) {
|
|
|
1078
1043
|
}
|
|
1079
1044
|
else {
|
|
1080
1045
|
s5 = peg$FAILED;
|
|
1081
|
-
if (peg$silentFails === 0)
|
|
1046
|
+
if (peg$silentFails === 0)
|
|
1082
1047
|
peg$fail(peg$c45);
|
|
1083
|
-
}
|
|
1084
1048
|
}
|
|
1085
1049
|
if (s5 !== peg$FAILED) {
|
|
1086
1050
|
while (s5 !== peg$FAILED) {
|
|
@@ -1091,9 +1055,8 @@ function peg$parse(input, options) {
|
|
|
1091
1055
|
}
|
|
1092
1056
|
else {
|
|
1093
1057
|
s5 = peg$FAILED;
|
|
1094
|
-
if (peg$silentFails === 0)
|
|
1058
|
+
if (peg$silentFails === 0)
|
|
1095
1059
|
peg$fail(peg$c45);
|
|
1096
|
-
}
|
|
1097
1060
|
}
|
|
1098
1061
|
}
|
|
1099
1062
|
}
|
|
@@ -1130,9 +1093,8 @@ function peg$parse(input, options) {
|
|
|
1130
1093
|
peg$silentFails--;
|
|
1131
1094
|
if (s0 === peg$FAILED) {
|
|
1132
1095
|
s1 = peg$FAILED;
|
|
1133
|
-
if (peg$silentFails === 0)
|
|
1096
|
+
if (peg$silentFails === 0)
|
|
1134
1097
|
peg$fail(peg$c41);
|
|
1135
|
-
}
|
|
1136
1098
|
}
|
|
1137
1099
|
return s0;
|
|
1138
1100
|
}
|
|
@@ -1150,9 +1112,8 @@ function peg$parse(input, options) {
|
|
|
1150
1112
|
}
|
|
1151
1113
|
else {
|
|
1152
1114
|
s4 = peg$FAILED;
|
|
1153
|
-
if (peg$silentFails === 0)
|
|
1115
|
+
if (peg$silentFails === 0)
|
|
1154
1116
|
peg$fail(peg$c39);
|
|
1155
|
-
}
|
|
1156
1117
|
}
|
|
1157
1118
|
if (s4 !== peg$FAILED) {
|
|
1158
1119
|
while (s4 !== peg$FAILED) {
|
|
@@ -1163,9 +1124,8 @@ function peg$parse(input, options) {
|
|
|
1163
1124
|
}
|
|
1164
1125
|
else {
|
|
1165
1126
|
s4 = peg$FAILED;
|
|
1166
|
-
if (peg$silentFails === 0)
|
|
1127
|
+
if (peg$silentFails === 0)
|
|
1167
1128
|
peg$fail(peg$c39);
|
|
1168
|
-
}
|
|
1169
1129
|
}
|
|
1170
1130
|
}
|
|
1171
1131
|
}
|
|
@@ -1179,9 +1139,8 @@ function peg$parse(input, options) {
|
|
|
1179
1139
|
}
|
|
1180
1140
|
else {
|
|
1181
1141
|
s4 = peg$FAILED;
|
|
1182
|
-
if (peg$silentFails === 0)
|
|
1142
|
+
if (peg$silentFails === 0)
|
|
1183
1143
|
peg$fail(peg$c49);
|
|
1184
|
-
}
|
|
1185
1144
|
}
|
|
1186
1145
|
if (s4 !== peg$FAILED) {
|
|
1187
1146
|
s5 = [];
|
|
@@ -1191,9 +1150,8 @@ function peg$parse(input, options) {
|
|
|
1191
1150
|
}
|
|
1192
1151
|
else {
|
|
1193
1152
|
s6 = peg$FAILED;
|
|
1194
|
-
if (peg$silentFails === 0)
|
|
1153
|
+
if (peg$silentFails === 0)
|
|
1195
1154
|
peg$fail(peg$c39);
|
|
1196
|
-
}
|
|
1197
1155
|
}
|
|
1198
1156
|
if (s6 !== peg$FAILED) {
|
|
1199
1157
|
while (s6 !== peg$FAILED) {
|
|
@@ -1204,9 +1162,8 @@ function peg$parse(input, options) {
|
|
|
1204
1162
|
}
|
|
1205
1163
|
else {
|
|
1206
1164
|
s6 = peg$FAILED;
|
|
1207
|
-
if (peg$silentFails === 0)
|
|
1165
|
+
if (peg$silentFails === 0)
|
|
1208
1166
|
peg$fail(peg$c39);
|
|
1209
|
-
}
|
|
1210
1167
|
}
|
|
1211
1168
|
}
|
|
1212
1169
|
}
|
|
@@ -1221,9 +1178,8 @@ function peg$parse(input, options) {
|
|
|
1221
1178
|
}
|
|
1222
1179
|
else {
|
|
1223
1180
|
s7 = peg$FAILED;
|
|
1224
|
-
if (peg$silentFails === 0)
|
|
1181
|
+
if (peg$silentFails === 0)
|
|
1225
1182
|
peg$fail(peg$c49);
|
|
1226
|
-
}
|
|
1227
1183
|
}
|
|
1228
1184
|
if (s7 !== peg$FAILED) {
|
|
1229
1185
|
s8 = [];
|
|
@@ -1233,9 +1189,8 @@ function peg$parse(input, options) {
|
|
|
1233
1189
|
}
|
|
1234
1190
|
else {
|
|
1235
1191
|
s9 = peg$FAILED;
|
|
1236
|
-
if (peg$silentFails === 0)
|
|
1192
|
+
if (peg$silentFails === 0)
|
|
1237
1193
|
peg$fail(peg$c39);
|
|
1238
|
-
}
|
|
1239
1194
|
}
|
|
1240
1195
|
if (s9 !== peg$FAILED) {
|
|
1241
1196
|
while (s9 !== peg$FAILED) {
|
|
@@ -1311,9 +1266,8 @@ function peg$parse(input, options) {
|
|
|
1311
1266
|
peg$silentFails--;
|
|
1312
1267
|
if (s0 === peg$FAILED) {
|
|
1313
1268
|
s1 = peg$FAILED;
|
|
1314
|
-
if (peg$silentFails === 0)
|
|
1269
|
+
if (peg$silentFails === 0)
|
|
1315
1270
|
peg$fail(peg$c47);
|
|
1316
|
-
}
|
|
1317
1271
|
}
|
|
1318
1272
|
return s0;
|
|
1319
1273
|
}
|
|
@@ -1330,9 +1284,8 @@ function peg$parse(input, options) {
|
|
|
1330
1284
|
}
|
|
1331
1285
|
else {
|
|
1332
1286
|
s3 = peg$FAILED;
|
|
1333
|
-
if (peg$silentFails === 0)
|
|
1287
|
+
if (peg$silentFails === 0)
|
|
1334
1288
|
peg$fail(peg$c53);
|
|
1335
|
-
}
|
|
1336
1289
|
}
|
|
1337
1290
|
if (s3 !== peg$FAILED) {
|
|
1338
1291
|
s4 = [];
|
|
@@ -1342,9 +1295,8 @@ function peg$parse(input, options) {
|
|
|
1342
1295
|
}
|
|
1343
1296
|
else {
|
|
1344
1297
|
s5 = peg$FAILED;
|
|
1345
|
-
if (peg$silentFails === 0)
|
|
1298
|
+
if (peg$silentFails === 0)
|
|
1346
1299
|
peg$fail(peg$c55);
|
|
1347
|
-
}
|
|
1348
1300
|
}
|
|
1349
1301
|
while (s5 !== peg$FAILED) {
|
|
1350
1302
|
s4.push(s5);
|
|
@@ -1354,9 +1306,8 @@ function peg$parse(input, options) {
|
|
|
1354
1306
|
}
|
|
1355
1307
|
else {
|
|
1356
1308
|
s5 = peg$FAILED;
|
|
1357
|
-
if (peg$silentFails === 0)
|
|
1309
|
+
if (peg$silentFails === 0)
|
|
1358
1310
|
peg$fail(peg$c55);
|
|
1359
|
-
}
|
|
1360
1311
|
}
|
|
1361
1312
|
}
|
|
1362
1313
|
if (s4 !== peg$FAILED) {
|
|
@@ -1366,9 +1317,8 @@ function peg$parse(input, options) {
|
|
|
1366
1317
|
}
|
|
1367
1318
|
else {
|
|
1368
1319
|
s5 = peg$FAILED;
|
|
1369
|
-
if (peg$silentFails === 0)
|
|
1320
|
+
if (peg$silentFails === 0)
|
|
1370
1321
|
peg$fail(peg$c53);
|
|
1371
|
-
}
|
|
1372
1322
|
}
|
|
1373
1323
|
if (s5 !== peg$FAILED) {
|
|
1374
1324
|
s3 = [s3, s4, s5];
|
|
@@ -1413,9 +1363,8 @@ function peg$parse(input, options) {
|
|
|
1413
1363
|
}
|
|
1414
1364
|
else {
|
|
1415
1365
|
s3 = peg$FAILED;
|
|
1416
|
-
if (peg$silentFails === 0)
|
|
1366
|
+
if (peg$silentFails === 0)
|
|
1417
1367
|
peg$fail(peg$c58);
|
|
1418
|
-
}
|
|
1419
1368
|
}
|
|
1420
1369
|
if (s3 !== peg$FAILED) {
|
|
1421
1370
|
s4 = [];
|
|
@@ -1425,9 +1374,8 @@ function peg$parse(input, options) {
|
|
|
1425
1374
|
}
|
|
1426
1375
|
else {
|
|
1427
1376
|
s5 = peg$FAILED;
|
|
1428
|
-
if (peg$silentFails === 0)
|
|
1377
|
+
if (peg$silentFails === 0)
|
|
1429
1378
|
peg$fail(peg$c60);
|
|
1430
|
-
}
|
|
1431
1379
|
}
|
|
1432
1380
|
while (s5 !== peg$FAILED) {
|
|
1433
1381
|
s4.push(s5);
|
|
@@ -1437,9 +1385,8 @@ function peg$parse(input, options) {
|
|
|
1437
1385
|
}
|
|
1438
1386
|
else {
|
|
1439
1387
|
s5 = peg$FAILED;
|
|
1440
|
-
if (peg$silentFails === 0)
|
|
1388
|
+
if (peg$silentFails === 0)
|
|
1441
1389
|
peg$fail(peg$c60);
|
|
1442
|
-
}
|
|
1443
1390
|
}
|
|
1444
1391
|
}
|
|
1445
1392
|
if (s4 !== peg$FAILED) {
|
|
@@ -1449,9 +1396,8 @@ function peg$parse(input, options) {
|
|
|
1449
1396
|
}
|
|
1450
1397
|
else {
|
|
1451
1398
|
s5 = peg$FAILED;
|
|
1452
|
-
if (peg$silentFails === 0)
|
|
1399
|
+
if (peg$silentFails === 0)
|
|
1453
1400
|
peg$fail(peg$c58);
|
|
1454
|
-
}
|
|
1455
1401
|
}
|
|
1456
1402
|
if (s5 !== peg$FAILED) {
|
|
1457
1403
|
s3 = [s3, s4, s5];
|
|
@@ -1489,9 +1435,8 @@ function peg$parse(input, options) {
|
|
|
1489
1435
|
peg$silentFails--;
|
|
1490
1436
|
if (s0 === peg$FAILED) {
|
|
1491
1437
|
s1 = peg$FAILED;
|
|
1492
|
-
if (peg$silentFails === 0)
|
|
1438
|
+
if (peg$silentFails === 0)
|
|
1493
1439
|
peg$fail(peg$c51);
|
|
1494
|
-
}
|
|
1495
1440
|
}
|
|
1496
1441
|
return s0;
|
|
1497
1442
|
}
|
|
@@ -1505,9 +1450,8 @@ function peg$parse(input, options) {
|
|
|
1505
1450
|
}
|
|
1506
1451
|
else {
|
|
1507
1452
|
s1 = peg$FAILED;
|
|
1508
|
-
if (peg$silentFails === 0)
|
|
1453
|
+
if (peg$silentFails === 0)
|
|
1509
1454
|
peg$fail(peg$c63);
|
|
1510
|
-
}
|
|
1511
1455
|
}
|
|
1512
1456
|
while (s1 !== peg$FAILED) {
|
|
1513
1457
|
s0.push(s1);
|
|
@@ -1517,17 +1461,15 @@ function peg$parse(input, options) {
|
|
|
1517
1461
|
}
|
|
1518
1462
|
else {
|
|
1519
1463
|
s1 = peg$FAILED;
|
|
1520
|
-
if (peg$silentFails === 0)
|
|
1464
|
+
if (peg$silentFails === 0)
|
|
1521
1465
|
peg$fail(peg$c63);
|
|
1522
|
-
}
|
|
1523
1466
|
}
|
|
1524
1467
|
}
|
|
1525
1468
|
peg$silentFails--;
|
|
1526
1469
|
if (s0 === peg$FAILED) {
|
|
1527
1470
|
s1 = peg$FAILED;
|
|
1528
|
-
if (peg$silentFails === 0)
|
|
1471
|
+
if (peg$silentFails === 0)
|
|
1529
1472
|
peg$fail(peg$c61);
|
|
1530
|
-
}
|
|
1531
1473
|
}
|
|
1532
1474
|
return s0;
|
|
1533
1475
|
}
|