@wireweave/core 1.0.0-beta.20260110141318 → 1.1.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/dist/index.cjs +823 -3067
- package/dist/index.d.cts +3 -168
- package/dist/index.d.ts +3 -168
- package/dist/index.js +823 -3054
- package/dist/parser.cjs +292 -636
- package/dist/parser.d.cts +1 -1
- package/dist/parser.d.ts +1 -1
- package/dist/parser.js +292 -636
- package/dist/renderer.cjs +525 -1756
- package/dist/renderer.d.cts +58 -105
- package/dist/renderer.d.ts +58 -105
- package/dist/renderer.js +525 -1756
- package/dist/{types-lcJzPcR0.d.cts → types-DtovIYS6.d.cts} +2 -40
- package/dist/{types-lcJzPcR0.d.ts → types-DtovIYS6.d.ts} +2 -40
- package/package.json +1 -1
package/dist/parser.cjs
CHANGED
|
@@ -179,34 +179,33 @@ function peg$parse(input, options) {
|
|
|
179
179
|
const peg$c40 = "dropdown";
|
|
180
180
|
const peg$c41 = "divider";
|
|
181
181
|
const peg$c42 = "nav";
|
|
182
|
-
const peg$c43 = "
|
|
183
|
-
const peg$c44 = "
|
|
184
|
-
const peg$c45 = "
|
|
185
|
-
const peg$c46 = "
|
|
186
|
-
const peg$c47 = "
|
|
187
|
-
const peg$c48 = "
|
|
188
|
-
const peg$c49 = "
|
|
189
|
-
const peg$c50 = '"
|
|
190
|
-
const peg$c51 = "
|
|
191
|
-
const peg$c52 = "
|
|
192
|
-
const peg$c53 = "
|
|
193
|
-
const peg$c54 = "
|
|
194
|
-
const peg$c55 = "
|
|
195
|
-
const peg$c56 = "
|
|
196
|
-
const peg$c57 = "
|
|
197
|
-
const peg$c58 = "
|
|
198
|
-
const peg$c59 = "
|
|
199
|
-
const peg$c60 = "
|
|
200
|
-
const peg$c61 = "
|
|
201
|
-
const peg$c62 = "
|
|
202
|
-
const peg$c63 = "
|
|
203
|
-
const peg$c64 = "
|
|
204
|
-
const peg$c65 = "
|
|
205
|
-
const peg$c66 = "
|
|
206
|
-
const peg$c67 = "
|
|
207
|
-
const peg$c68 = "
|
|
208
|
-
const peg$c69 = "
|
|
209
|
-
const peg$c70 = "*/";
|
|
182
|
+
const peg$c43 = "tabs";
|
|
183
|
+
const peg$c44 = "tab";
|
|
184
|
+
const peg$c45 = "breadcrumb";
|
|
185
|
+
const peg$c46 = "=";
|
|
186
|
+
const peg$c47 = "//";
|
|
187
|
+
const peg$c48 = "/*";
|
|
188
|
+
const peg$c49 = '"';
|
|
189
|
+
const peg$c50 = "'";
|
|
190
|
+
const peg$c51 = "\\";
|
|
191
|
+
const peg$c52 = "n";
|
|
192
|
+
const peg$c53 = "r";
|
|
193
|
+
const peg$c54 = "t";
|
|
194
|
+
const peg$c55 = "-";
|
|
195
|
+
const peg$c56 = ".";
|
|
196
|
+
const peg$c57 = "px";
|
|
197
|
+
const peg$c58 = "%";
|
|
198
|
+
const peg$c59 = "em";
|
|
199
|
+
const peg$c60 = "rem";
|
|
200
|
+
const peg$c61 = "vh";
|
|
201
|
+
const peg$c62 = "vw";
|
|
202
|
+
const peg$c63 = "true";
|
|
203
|
+
const peg$c64 = "false";
|
|
204
|
+
const peg$c65 = "[";
|
|
205
|
+
const peg$c66 = "]";
|
|
206
|
+
const peg$c67 = ",";
|
|
207
|
+
const peg$c68 = "\n";
|
|
208
|
+
const peg$c69 = "*/";
|
|
210
209
|
const peg$r0 = /^[=[{}]/;
|
|
211
210
|
const peg$r1 = /^[a-zA-Z0-9_\-]/;
|
|
212
211
|
const peg$r2 = /^[0-9]/;
|
|
@@ -256,47 +255,46 @@ function peg$parse(input, options) {
|
|
|
256
255
|
const peg$e40 = peg$literalExpectation("dropdown", false);
|
|
257
256
|
const peg$e41 = peg$literalExpectation("divider", false);
|
|
258
257
|
const peg$e42 = peg$literalExpectation("nav", false);
|
|
259
|
-
const peg$e43 = peg$literalExpectation("
|
|
260
|
-
const peg$e44 = peg$literalExpectation("
|
|
261
|
-
const peg$e45 = peg$literalExpectation("
|
|
262
|
-
const peg$e46 = peg$literalExpectation("
|
|
263
|
-
const peg$e47 = peg$
|
|
264
|
-
const peg$e48 = peg$
|
|
265
|
-
const peg$e49 = peg$literalExpectation("
|
|
266
|
-
const peg$e50 = peg$
|
|
267
|
-
const peg$e51 = peg$
|
|
268
|
-
const peg$e52 = peg$
|
|
269
|
-
const peg$e53 = peg$
|
|
270
|
-
const peg$e54 = peg$literalExpectation('"
|
|
271
|
-
const peg$e55 = peg$literalExpectation("
|
|
272
|
-
const peg$e56 = peg$literalExpectation("
|
|
273
|
-
const peg$e57 = peg$literalExpectation("
|
|
274
|
-
const peg$e58 = peg$literalExpectation("
|
|
275
|
-
const peg$e59 = peg$
|
|
276
|
-
const peg$e60 = peg$
|
|
277
|
-
const peg$e61 = peg$
|
|
278
|
-
const peg$e62 = peg$
|
|
279
|
-
const peg$e63 = peg$
|
|
280
|
-
const peg$e64 = peg$
|
|
281
|
-
const peg$e65 = peg$literalExpectation("
|
|
282
|
-
const peg$e66 = peg$literalExpectation("
|
|
283
|
-
const peg$e67 = peg$literalExpectation("
|
|
284
|
-
const peg$e68 = peg$literalExpectation("
|
|
285
|
-
const peg$e69 = peg$literalExpectation("
|
|
286
|
-
const peg$e70 = peg$
|
|
287
|
-
const peg$e71 = peg$
|
|
288
|
-
const peg$e72 = peg$literalExpectation("
|
|
289
|
-
const peg$e73 = peg$
|
|
290
|
-
const peg$e74 = peg$
|
|
291
|
-
const peg$e75 = peg$
|
|
292
|
-
const peg$e76 = peg$literalExpectation("
|
|
293
|
-
const peg$e77 = peg$literalExpectation("
|
|
294
|
-
const peg$e78 = peg$
|
|
295
|
-
const peg$e79 = peg$
|
|
296
|
-
const peg$e80 = peg$
|
|
297
|
-
const peg$e81 = peg$
|
|
298
|
-
const peg$e82 = peg$literalExpectation("
|
|
299
|
-
const peg$e83 = peg$literalExpectation("*/", false);
|
|
258
|
+
const peg$e43 = peg$literalExpectation("tabs", false);
|
|
259
|
+
const peg$e44 = peg$literalExpectation("tab", false);
|
|
260
|
+
const peg$e45 = peg$literalExpectation("breadcrumb", false);
|
|
261
|
+
const peg$e46 = peg$literalExpectation("=", false);
|
|
262
|
+
const peg$e47 = peg$classExpectation(["=", "[", "{", "}"], false, false, false);
|
|
263
|
+
const peg$e48 = peg$literalExpectation("//", false);
|
|
264
|
+
const peg$e49 = peg$literalExpectation("/*", false);
|
|
265
|
+
const peg$e50 = peg$anyExpectation();
|
|
266
|
+
const peg$e51 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", "-"], false, false, false);
|
|
267
|
+
const peg$e52 = peg$otherExpectation("string");
|
|
268
|
+
const peg$e53 = peg$literalExpectation('"', false);
|
|
269
|
+
const peg$e54 = peg$literalExpectation("'", false);
|
|
270
|
+
const peg$e55 = peg$literalExpectation("\\", false);
|
|
271
|
+
const peg$e56 = peg$literalExpectation("n", false);
|
|
272
|
+
const peg$e57 = peg$literalExpectation("r", false);
|
|
273
|
+
const peg$e58 = peg$literalExpectation("t", false);
|
|
274
|
+
const peg$e59 = peg$otherExpectation("number");
|
|
275
|
+
const peg$e60 = peg$literalExpectation("-", false);
|
|
276
|
+
const peg$e61 = peg$classExpectation([["0", "9"]], false, false, false);
|
|
277
|
+
const peg$e62 = peg$literalExpectation(".", false);
|
|
278
|
+
const peg$e63 = peg$otherExpectation("value with unit");
|
|
279
|
+
const peg$e64 = peg$literalExpectation("px", false);
|
|
280
|
+
const peg$e65 = peg$literalExpectation("%", false);
|
|
281
|
+
const peg$e66 = peg$literalExpectation("em", false);
|
|
282
|
+
const peg$e67 = peg$literalExpectation("rem", false);
|
|
283
|
+
const peg$e68 = peg$literalExpectation("vh", false);
|
|
284
|
+
const peg$e69 = peg$literalExpectation("vw", false);
|
|
285
|
+
const peg$e70 = peg$otherExpectation("boolean");
|
|
286
|
+
const peg$e71 = peg$literalExpectation("true", false);
|
|
287
|
+
const peg$e72 = peg$literalExpectation("false", false);
|
|
288
|
+
const peg$e73 = peg$otherExpectation("identifier");
|
|
289
|
+
const peg$e74 = peg$classExpectation([["a", "z"], ["A", "Z"], "_"], false, false, false);
|
|
290
|
+
const peg$e75 = peg$literalExpectation("[", false);
|
|
291
|
+
const peg$e76 = peg$literalExpectation("]", false);
|
|
292
|
+
const peg$e77 = peg$literalExpectation(",", false);
|
|
293
|
+
const peg$e78 = peg$classExpectation([" ", " ", "\n", "\r"], false, false, false);
|
|
294
|
+
const peg$e79 = peg$otherExpectation("comment");
|
|
295
|
+
const peg$e80 = peg$classExpectation(["\n"], true, false, false);
|
|
296
|
+
const peg$e81 = peg$literalExpectation("\n", false);
|
|
297
|
+
const peg$e82 = peg$literalExpectation("*/", false);
|
|
300
298
|
function peg$f0(children) {
|
|
301
299
|
return createNode("Document", { children: children.filter((c) => c !== null) });
|
|
302
300
|
}
|
|
@@ -460,11 +458,10 @@ function peg$parse(input, options) {
|
|
|
460
458
|
...attrsToObject(attrs)
|
|
461
459
|
});
|
|
462
460
|
}
|
|
463
|
-
function peg$f28(label, attrs
|
|
461
|
+
function peg$f28(label, attrs) {
|
|
464
462
|
return createNode("Placeholder", {
|
|
465
463
|
label: label || null,
|
|
466
|
-
...attrsToObject(attrs)
|
|
467
|
-
children: block ? block[2] : []
|
|
464
|
+
...attrsToObject(attrs)
|
|
468
465
|
});
|
|
469
466
|
}
|
|
470
467
|
function peg$f29(label, attrs) {
|
|
@@ -583,146 +580,115 @@ function peg$parse(input, options) {
|
|
|
583
580
|
function peg$f51() {
|
|
584
581
|
return null;
|
|
585
582
|
}
|
|
586
|
-
function peg$f52(items, attrs
|
|
583
|
+
function peg$f52(items, attrs) {
|
|
587
584
|
return createNode("Nav", {
|
|
588
585
|
items: items || [],
|
|
589
|
-
...attrsToObject(attrs),
|
|
590
|
-
children: block || []
|
|
591
|
-
});
|
|
592
|
-
}
|
|
593
|
-
function peg$f53(content) {
|
|
594
|
-
return content.map((c) => c[0]).filter((c) => c !== null);
|
|
595
|
-
}
|
|
596
|
-
function peg$f54() {
|
|
597
|
-
return { type: "divider" };
|
|
598
|
-
}
|
|
599
|
-
function peg$f55() {
|
|
600
|
-
return null;
|
|
601
|
-
}
|
|
602
|
-
function peg$f56(label, attrs, items) {
|
|
603
|
-
return {
|
|
604
|
-
type: "group",
|
|
605
|
-
label,
|
|
606
|
-
...attrsToObject(attrs),
|
|
607
|
-
items: items.map((i) => i[0]).filter((i) => i !== null)
|
|
608
|
-
};
|
|
609
|
-
}
|
|
610
|
-
function peg$f57() {
|
|
611
|
-
return { type: "divider" };
|
|
612
|
-
}
|
|
613
|
-
function peg$f58() {
|
|
614
|
-
return null;
|
|
615
|
-
}
|
|
616
|
-
function peg$f59(label, attrs) {
|
|
617
|
-
return {
|
|
618
|
-
type: "item",
|
|
619
|
-
label,
|
|
620
586
|
...attrsToObject(attrs)
|
|
621
|
-
};
|
|
587
|
+
});
|
|
622
588
|
}
|
|
623
|
-
function peg$
|
|
589
|
+
function peg$f53(items, attrs, block) {
|
|
624
590
|
return createNode("Tabs", {
|
|
625
591
|
items: items || [],
|
|
626
592
|
...attrsToObject(attrs),
|
|
627
593
|
children: block || []
|
|
628
594
|
});
|
|
629
595
|
}
|
|
630
|
-
function peg$
|
|
596
|
+
function peg$f54(tabs) {
|
|
631
597
|
return tabs.map((t) => t[0]).filter((t) => t !== null);
|
|
632
598
|
}
|
|
633
|
-
function peg$
|
|
599
|
+
function peg$f55(label, attrs, children) {
|
|
634
600
|
return {
|
|
635
601
|
label,
|
|
636
602
|
...attrsToObject(attrs),
|
|
637
603
|
children
|
|
638
604
|
};
|
|
639
605
|
}
|
|
640
|
-
function peg$
|
|
606
|
+
function peg$f56() {
|
|
641
607
|
return null;
|
|
642
608
|
}
|
|
643
|
-
function peg$
|
|
609
|
+
function peg$f57(items, attrs) {
|
|
644
610
|
return createNode("Breadcrumb", {
|
|
645
611
|
items,
|
|
646
612
|
...attrsToObject(attrs)
|
|
647
613
|
});
|
|
648
614
|
}
|
|
649
|
-
function peg$
|
|
615
|
+
function peg$f58(attrs) {
|
|
650
616
|
return createNode("Divider", {
|
|
651
617
|
...attrsToObject(attrs)
|
|
652
618
|
});
|
|
653
619
|
}
|
|
654
|
-
function peg$
|
|
620
|
+
function peg$f59(attrs) {
|
|
655
621
|
return attrs;
|
|
656
622
|
}
|
|
657
|
-
function peg$
|
|
623
|
+
function peg$f60(name, value) {
|
|
658
624
|
return { name, value };
|
|
659
625
|
}
|
|
660
|
-
function peg$
|
|
626
|
+
function peg$f61(flag) {
|
|
661
627
|
return { name: flag, value: true };
|
|
662
628
|
}
|
|
663
|
-
function peg$
|
|
629
|
+
function peg$f62(name) {
|
|
664
630
|
return name;
|
|
665
631
|
}
|
|
666
|
-
function peg$
|
|
632
|
+
function peg$f63(chars) {
|
|
667
633
|
return chars.join("");
|
|
668
634
|
}
|
|
669
|
-
function peg$
|
|
635
|
+
function peg$f64(chars) {
|
|
670
636
|
return chars.join("");
|
|
671
637
|
}
|
|
672
|
-
function peg$
|
|
638
|
+
function peg$f65(char) {
|
|
673
639
|
return char;
|
|
674
640
|
}
|
|
675
|
-
function peg$
|
|
641
|
+
function peg$f66(seq) {
|
|
676
642
|
return seq;
|
|
677
643
|
}
|
|
678
|
-
function peg$
|
|
644
|
+
function peg$f67(char) {
|
|
679
645
|
return char;
|
|
680
646
|
}
|
|
681
|
-
function peg$
|
|
647
|
+
function peg$f68(seq) {
|
|
682
648
|
return seq;
|
|
683
649
|
}
|
|
684
|
-
function peg$
|
|
650
|
+
function peg$f69() {
|
|
685
651
|
return "\n";
|
|
686
652
|
}
|
|
687
|
-
function peg$
|
|
653
|
+
function peg$f70() {
|
|
688
654
|
return "\r";
|
|
689
655
|
}
|
|
690
|
-
function peg$
|
|
656
|
+
function peg$f71() {
|
|
691
657
|
return " ";
|
|
692
658
|
}
|
|
693
|
-
function peg$
|
|
659
|
+
function peg$f72() {
|
|
694
660
|
return "\\";
|
|
695
661
|
}
|
|
696
|
-
function peg$
|
|
662
|
+
function peg$f73() {
|
|
697
663
|
return '"';
|
|
698
664
|
}
|
|
699
|
-
function peg$
|
|
665
|
+
function peg$f74() {
|
|
700
666
|
return "'";
|
|
701
667
|
}
|
|
702
|
-
function peg$
|
|
668
|
+
function peg$f75(sign, digits, decimal) {
|
|
703
669
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
704
670
|
return parseFloat(num);
|
|
705
671
|
}
|
|
706
|
-
function peg$
|
|
672
|
+
function peg$f76(sign, digits, decimal, unit) {
|
|
707
673
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
708
674
|
return { value: parseFloat(num), unit };
|
|
709
675
|
}
|
|
710
|
-
function peg$
|
|
676
|
+
function peg$f77() {
|
|
711
677
|
return true;
|
|
712
678
|
}
|
|
713
|
-
function peg$
|
|
679
|
+
function peg$f78() {
|
|
714
680
|
return false;
|
|
715
681
|
}
|
|
716
|
-
function peg$
|
|
682
|
+
function peg$f79(head, tail) {
|
|
717
683
|
return head + tail.join("");
|
|
718
684
|
}
|
|
719
|
-
function peg$
|
|
685
|
+
function peg$f80(items) {
|
|
720
686
|
return items || [];
|
|
721
687
|
}
|
|
722
|
-
function peg$
|
|
688
|
+
function peg$f81(head, tail) {
|
|
723
689
|
return [head, ...tail.map((t) => t[3])];
|
|
724
690
|
}
|
|
725
|
-
function peg$
|
|
691
|
+
function peg$f82(props) {
|
|
726
692
|
const result = {};
|
|
727
693
|
if (props) {
|
|
728
694
|
for (const p of props) {
|
|
@@ -731,13 +697,13 @@ function peg$parse(input, options) {
|
|
|
731
697
|
}
|
|
732
698
|
return result;
|
|
733
699
|
}
|
|
734
|
-
function peg$
|
|
700
|
+
function peg$f83(head, tail) {
|
|
735
701
|
return [head, ...tail.map((t) => t[3])];
|
|
736
702
|
}
|
|
737
|
-
function peg$
|
|
703
|
+
function peg$f84(name, value) {
|
|
738
704
|
return { name, value };
|
|
739
705
|
}
|
|
740
|
-
function peg$
|
|
706
|
+
function peg$f85(name) {
|
|
741
707
|
return { name, value: true };
|
|
742
708
|
}
|
|
743
709
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -2251,7 +2217,7 @@ function peg$parse(input, options) {
|
|
|
2251
2217
|
return s0;
|
|
2252
2218
|
}
|
|
2253
2219
|
function peg$parsePlaceholder() {
|
|
2254
|
-
let s0, s1, s2, s3, s4, s5
|
|
2220
|
+
let s0, s1, s2, s3, s4, s5;
|
|
2255
2221
|
s0 = peg$currPos;
|
|
2256
2222
|
if (input.substr(peg$currPos, 11) === peg$c26) {
|
|
2257
2223
|
s1 = peg$c26;
|
|
@@ -2273,51 +2239,8 @@ function peg$parse(input, options) {
|
|
|
2273
2239
|
if (s5 === peg$FAILED) {
|
|
2274
2240
|
s5 = null;
|
|
2275
2241
|
}
|
|
2276
|
-
s6 = peg$parse_();
|
|
2277
|
-
s7 = peg$currPos;
|
|
2278
|
-
if (input.charCodeAt(peg$currPos) === 123) {
|
|
2279
|
-
s8 = peg$c1;
|
|
2280
|
-
peg$currPos++;
|
|
2281
|
-
} else {
|
|
2282
|
-
s8 = peg$FAILED;
|
|
2283
|
-
if (peg$silentFails === 0) {
|
|
2284
|
-
peg$fail(peg$e1);
|
|
2285
|
-
}
|
|
2286
|
-
}
|
|
2287
|
-
if (s8 !== peg$FAILED) {
|
|
2288
|
-
s9 = peg$parse_();
|
|
2289
|
-
s10 = peg$parseChildren();
|
|
2290
|
-
if (s10 !== peg$FAILED) {
|
|
2291
|
-
s11 = peg$parse_();
|
|
2292
|
-
if (input.charCodeAt(peg$currPos) === 125) {
|
|
2293
|
-
s12 = peg$c2;
|
|
2294
|
-
peg$currPos++;
|
|
2295
|
-
} else {
|
|
2296
|
-
s12 = peg$FAILED;
|
|
2297
|
-
if (peg$silentFails === 0) {
|
|
2298
|
-
peg$fail(peg$e2);
|
|
2299
|
-
}
|
|
2300
|
-
}
|
|
2301
|
-
if (s12 !== peg$FAILED) {
|
|
2302
|
-
s8 = [s8, s9, s10, s11, s12];
|
|
2303
|
-
s7 = s8;
|
|
2304
|
-
} else {
|
|
2305
|
-
peg$currPos = s7;
|
|
2306
|
-
s7 = peg$FAILED;
|
|
2307
|
-
}
|
|
2308
|
-
} else {
|
|
2309
|
-
peg$currPos = s7;
|
|
2310
|
-
s7 = peg$FAILED;
|
|
2311
|
-
}
|
|
2312
|
-
} else {
|
|
2313
|
-
peg$currPos = s7;
|
|
2314
|
-
s7 = peg$FAILED;
|
|
2315
|
-
}
|
|
2316
|
-
if (s7 === peg$FAILED) {
|
|
2317
|
-
s7 = null;
|
|
2318
|
-
}
|
|
2319
2242
|
peg$savedPos = s0;
|
|
2320
|
-
s0 = peg$f28(s3, s5
|
|
2243
|
+
s0 = peg$f28(s3, s5);
|
|
2321
2244
|
} else {
|
|
2322
2245
|
peg$currPos = s0;
|
|
2323
2246
|
s0 = peg$FAILED;
|
|
@@ -3091,7 +3014,7 @@ function peg$parse(input, options) {
|
|
|
3091
3014
|
return s0;
|
|
3092
3015
|
}
|
|
3093
3016
|
function peg$parseNav() {
|
|
3094
|
-
let s0, s1, s2, s3, s4, s5
|
|
3017
|
+
let s0, s1, s2, s3, s4, s5;
|
|
3095
3018
|
s0 = peg$currPos;
|
|
3096
3019
|
if (input.substr(peg$currPos, 3) === peg$c42) {
|
|
3097
3020
|
s1 = peg$c42;
|
|
@@ -3113,264 +3036,8 @@ function peg$parse(input, options) {
|
|
|
3113
3036
|
if (s5 === peg$FAILED) {
|
|
3114
3037
|
s5 = null;
|
|
3115
3038
|
}
|
|
3116
|
-
s6 = peg$parse_();
|
|
3117
|
-
s7 = peg$parseNavBlock();
|
|
3118
|
-
if (s7 === peg$FAILED) {
|
|
3119
|
-
s7 = null;
|
|
3120
|
-
}
|
|
3121
3039
|
peg$savedPos = s0;
|
|
3122
|
-
s0 = peg$f52(s3, s5
|
|
3123
|
-
} else {
|
|
3124
|
-
peg$currPos = s0;
|
|
3125
|
-
s0 = peg$FAILED;
|
|
3126
|
-
}
|
|
3127
|
-
return s0;
|
|
3128
|
-
}
|
|
3129
|
-
function peg$parseNavBlock() {
|
|
3130
|
-
let s0, s1, s2, s3, s4, s5, s6;
|
|
3131
|
-
s0 = peg$currPos;
|
|
3132
|
-
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3133
|
-
s1 = peg$c1;
|
|
3134
|
-
peg$currPos++;
|
|
3135
|
-
} else {
|
|
3136
|
-
s1 = peg$FAILED;
|
|
3137
|
-
if (peg$silentFails === 0) {
|
|
3138
|
-
peg$fail(peg$e1);
|
|
3139
|
-
}
|
|
3140
|
-
}
|
|
3141
|
-
if (s1 !== peg$FAILED) {
|
|
3142
|
-
s2 = peg$parse_();
|
|
3143
|
-
s3 = [];
|
|
3144
|
-
s4 = peg$currPos;
|
|
3145
|
-
s5 = peg$parseNavBlockItem();
|
|
3146
|
-
if (s5 !== peg$FAILED) {
|
|
3147
|
-
s6 = peg$parse_();
|
|
3148
|
-
s5 = [s5, s6];
|
|
3149
|
-
s4 = s5;
|
|
3150
|
-
} else {
|
|
3151
|
-
peg$currPos = s4;
|
|
3152
|
-
s4 = peg$FAILED;
|
|
3153
|
-
}
|
|
3154
|
-
while (s4 !== peg$FAILED) {
|
|
3155
|
-
s3.push(s4);
|
|
3156
|
-
s4 = peg$currPos;
|
|
3157
|
-
s5 = peg$parseNavBlockItem();
|
|
3158
|
-
if (s5 !== peg$FAILED) {
|
|
3159
|
-
s6 = peg$parse_();
|
|
3160
|
-
s5 = [s5, s6];
|
|
3161
|
-
s4 = s5;
|
|
3162
|
-
} else {
|
|
3163
|
-
peg$currPos = s4;
|
|
3164
|
-
s4 = peg$FAILED;
|
|
3165
|
-
}
|
|
3166
|
-
}
|
|
3167
|
-
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3168
|
-
s4 = peg$c2;
|
|
3169
|
-
peg$currPos++;
|
|
3170
|
-
} else {
|
|
3171
|
-
s4 = peg$FAILED;
|
|
3172
|
-
if (peg$silentFails === 0) {
|
|
3173
|
-
peg$fail(peg$e2);
|
|
3174
|
-
}
|
|
3175
|
-
}
|
|
3176
|
-
if (s4 !== peg$FAILED) {
|
|
3177
|
-
peg$savedPos = s0;
|
|
3178
|
-
s0 = peg$f53(s3);
|
|
3179
|
-
} else {
|
|
3180
|
-
peg$currPos = s0;
|
|
3181
|
-
s0 = peg$FAILED;
|
|
3182
|
-
}
|
|
3183
|
-
} else {
|
|
3184
|
-
peg$currPos = s0;
|
|
3185
|
-
s0 = peg$FAILED;
|
|
3186
|
-
}
|
|
3187
|
-
return s0;
|
|
3188
|
-
}
|
|
3189
|
-
function peg$parseNavBlockItem() {
|
|
3190
|
-
let s0, s1, s2;
|
|
3191
|
-
s0 = peg$parseNavGroup();
|
|
3192
|
-
if (s0 === peg$FAILED) {
|
|
3193
|
-
s0 = peg$parseNavItem();
|
|
3194
|
-
if (s0 === peg$FAILED) {
|
|
3195
|
-
s0 = peg$currPos;
|
|
3196
|
-
if (input.substr(peg$currPos, 7) === peg$c41) {
|
|
3197
|
-
s1 = peg$c41;
|
|
3198
|
-
peg$currPos += 7;
|
|
3199
|
-
} else {
|
|
3200
|
-
s1 = peg$FAILED;
|
|
3201
|
-
if (peg$silentFails === 0) {
|
|
3202
|
-
peg$fail(peg$e41);
|
|
3203
|
-
}
|
|
3204
|
-
}
|
|
3205
|
-
if (s1 !== peg$FAILED) {
|
|
3206
|
-
s2 = peg$parse_();
|
|
3207
|
-
peg$savedPos = s0;
|
|
3208
|
-
s0 = peg$f54();
|
|
3209
|
-
} else {
|
|
3210
|
-
peg$currPos = s0;
|
|
3211
|
-
s0 = peg$FAILED;
|
|
3212
|
-
}
|
|
3213
|
-
if (s0 === peg$FAILED) {
|
|
3214
|
-
s0 = peg$currPos;
|
|
3215
|
-
s1 = peg$parseComment();
|
|
3216
|
-
if (s1 !== peg$FAILED) {
|
|
3217
|
-
peg$savedPos = s0;
|
|
3218
|
-
s1 = peg$f55();
|
|
3219
|
-
}
|
|
3220
|
-
s0 = s1;
|
|
3221
|
-
}
|
|
3222
|
-
}
|
|
3223
|
-
}
|
|
3224
|
-
return s0;
|
|
3225
|
-
}
|
|
3226
|
-
function peg$parseNavGroup() {
|
|
3227
|
-
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
3228
|
-
s0 = peg$currPos;
|
|
3229
|
-
if (input.substr(peg$currPos, 5) === peg$c43) {
|
|
3230
|
-
s1 = peg$c43;
|
|
3231
|
-
peg$currPos += 5;
|
|
3232
|
-
} else {
|
|
3233
|
-
s1 = peg$FAILED;
|
|
3234
|
-
if (peg$silentFails === 0) {
|
|
3235
|
-
peg$fail(peg$e43);
|
|
3236
|
-
}
|
|
3237
|
-
}
|
|
3238
|
-
if (s1 !== peg$FAILED) {
|
|
3239
|
-
s2 = peg$parse_();
|
|
3240
|
-
s3 = peg$parseStringLiteral();
|
|
3241
|
-
if (s3 !== peg$FAILED) {
|
|
3242
|
-
s4 = peg$parse_();
|
|
3243
|
-
s5 = peg$parseAttributes();
|
|
3244
|
-
if (s5 === peg$FAILED) {
|
|
3245
|
-
s5 = null;
|
|
3246
|
-
}
|
|
3247
|
-
s6 = peg$parse_();
|
|
3248
|
-
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3249
|
-
s7 = peg$c1;
|
|
3250
|
-
peg$currPos++;
|
|
3251
|
-
} else {
|
|
3252
|
-
s7 = peg$FAILED;
|
|
3253
|
-
if (peg$silentFails === 0) {
|
|
3254
|
-
peg$fail(peg$e1);
|
|
3255
|
-
}
|
|
3256
|
-
}
|
|
3257
|
-
if (s7 !== peg$FAILED) {
|
|
3258
|
-
s8 = peg$parse_();
|
|
3259
|
-
s9 = [];
|
|
3260
|
-
s10 = peg$currPos;
|
|
3261
|
-
s11 = peg$parseNavGroupItem();
|
|
3262
|
-
if (s11 !== peg$FAILED) {
|
|
3263
|
-
s12 = peg$parse_();
|
|
3264
|
-
s11 = [s11, s12];
|
|
3265
|
-
s10 = s11;
|
|
3266
|
-
} else {
|
|
3267
|
-
peg$currPos = s10;
|
|
3268
|
-
s10 = peg$FAILED;
|
|
3269
|
-
}
|
|
3270
|
-
while (s10 !== peg$FAILED) {
|
|
3271
|
-
s9.push(s10);
|
|
3272
|
-
s10 = peg$currPos;
|
|
3273
|
-
s11 = peg$parseNavGroupItem();
|
|
3274
|
-
if (s11 !== peg$FAILED) {
|
|
3275
|
-
s12 = peg$parse_();
|
|
3276
|
-
s11 = [s11, s12];
|
|
3277
|
-
s10 = s11;
|
|
3278
|
-
} else {
|
|
3279
|
-
peg$currPos = s10;
|
|
3280
|
-
s10 = peg$FAILED;
|
|
3281
|
-
}
|
|
3282
|
-
}
|
|
3283
|
-
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3284
|
-
s10 = peg$c2;
|
|
3285
|
-
peg$currPos++;
|
|
3286
|
-
} else {
|
|
3287
|
-
s10 = peg$FAILED;
|
|
3288
|
-
if (peg$silentFails === 0) {
|
|
3289
|
-
peg$fail(peg$e2);
|
|
3290
|
-
}
|
|
3291
|
-
}
|
|
3292
|
-
if (s10 !== peg$FAILED) {
|
|
3293
|
-
peg$savedPos = s0;
|
|
3294
|
-
s0 = peg$f56(s3, s5, s9);
|
|
3295
|
-
} else {
|
|
3296
|
-
peg$currPos = s0;
|
|
3297
|
-
s0 = peg$FAILED;
|
|
3298
|
-
}
|
|
3299
|
-
} else {
|
|
3300
|
-
peg$currPos = s0;
|
|
3301
|
-
s0 = peg$FAILED;
|
|
3302
|
-
}
|
|
3303
|
-
} else {
|
|
3304
|
-
peg$currPos = s0;
|
|
3305
|
-
s0 = peg$FAILED;
|
|
3306
|
-
}
|
|
3307
|
-
} else {
|
|
3308
|
-
peg$currPos = s0;
|
|
3309
|
-
s0 = peg$FAILED;
|
|
3310
|
-
}
|
|
3311
|
-
return s0;
|
|
3312
|
-
}
|
|
3313
|
-
function peg$parseNavGroupItem() {
|
|
3314
|
-
let s0, s1, s2;
|
|
3315
|
-
s0 = peg$parseNavItem();
|
|
3316
|
-
if (s0 === peg$FAILED) {
|
|
3317
|
-
s0 = peg$currPos;
|
|
3318
|
-
if (input.substr(peg$currPos, 7) === peg$c41) {
|
|
3319
|
-
s1 = peg$c41;
|
|
3320
|
-
peg$currPos += 7;
|
|
3321
|
-
} else {
|
|
3322
|
-
s1 = peg$FAILED;
|
|
3323
|
-
if (peg$silentFails === 0) {
|
|
3324
|
-
peg$fail(peg$e41);
|
|
3325
|
-
}
|
|
3326
|
-
}
|
|
3327
|
-
if (s1 !== peg$FAILED) {
|
|
3328
|
-
s2 = peg$parse_();
|
|
3329
|
-
peg$savedPos = s0;
|
|
3330
|
-
s0 = peg$f57();
|
|
3331
|
-
} else {
|
|
3332
|
-
peg$currPos = s0;
|
|
3333
|
-
s0 = peg$FAILED;
|
|
3334
|
-
}
|
|
3335
|
-
if (s0 === peg$FAILED) {
|
|
3336
|
-
s0 = peg$currPos;
|
|
3337
|
-
s1 = peg$parseComment();
|
|
3338
|
-
if (s1 !== peg$FAILED) {
|
|
3339
|
-
peg$savedPos = s0;
|
|
3340
|
-
s1 = peg$f58();
|
|
3341
|
-
}
|
|
3342
|
-
s0 = s1;
|
|
3343
|
-
}
|
|
3344
|
-
}
|
|
3345
|
-
return s0;
|
|
3346
|
-
}
|
|
3347
|
-
function peg$parseNavItem() {
|
|
3348
|
-
let s0, s1, s2, s3, s4, s5;
|
|
3349
|
-
s0 = peg$currPos;
|
|
3350
|
-
if (input.substr(peg$currPos, 4) === peg$c33) {
|
|
3351
|
-
s1 = peg$c33;
|
|
3352
|
-
peg$currPos += 4;
|
|
3353
|
-
} else {
|
|
3354
|
-
s1 = peg$FAILED;
|
|
3355
|
-
if (peg$silentFails === 0) {
|
|
3356
|
-
peg$fail(peg$e33);
|
|
3357
|
-
}
|
|
3358
|
-
}
|
|
3359
|
-
if (s1 !== peg$FAILED) {
|
|
3360
|
-
s2 = peg$parse_();
|
|
3361
|
-
s3 = peg$parseStringLiteral();
|
|
3362
|
-
if (s3 !== peg$FAILED) {
|
|
3363
|
-
s4 = peg$parse_();
|
|
3364
|
-
s5 = peg$parseAttributes();
|
|
3365
|
-
if (s5 === peg$FAILED) {
|
|
3366
|
-
s5 = null;
|
|
3367
|
-
}
|
|
3368
|
-
peg$savedPos = s0;
|
|
3369
|
-
s0 = peg$f59(s3, s5);
|
|
3370
|
-
} else {
|
|
3371
|
-
peg$currPos = s0;
|
|
3372
|
-
s0 = peg$FAILED;
|
|
3373
|
-
}
|
|
3040
|
+
s0 = peg$f52(s3, s5);
|
|
3374
3041
|
} else {
|
|
3375
3042
|
peg$currPos = s0;
|
|
3376
3043
|
s0 = peg$FAILED;
|
|
@@ -3380,13 +3047,13 @@ function peg$parse(input, options) {
|
|
|
3380
3047
|
function peg$parseTabs() {
|
|
3381
3048
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3382
3049
|
s0 = peg$currPos;
|
|
3383
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3384
|
-
s1 = peg$
|
|
3050
|
+
if (input.substr(peg$currPos, 4) === peg$c43) {
|
|
3051
|
+
s1 = peg$c43;
|
|
3385
3052
|
peg$currPos += 4;
|
|
3386
3053
|
} else {
|
|
3387
3054
|
s1 = peg$FAILED;
|
|
3388
3055
|
if (peg$silentFails === 0) {
|
|
3389
|
-
peg$fail(peg$
|
|
3056
|
+
peg$fail(peg$e43);
|
|
3390
3057
|
}
|
|
3391
3058
|
}
|
|
3392
3059
|
if (s1 !== peg$FAILED) {
|
|
@@ -3406,7 +3073,7 @@ function peg$parse(input, options) {
|
|
|
3406
3073
|
s7 = null;
|
|
3407
3074
|
}
|
|
3408
3075
|
peg$savedPos = s0;
|
|
3409
|
-
s0 = peg$
|
|
3076
|
+
s0 = peg$f53(s3, s5, s7);
|
|
3410
3077
|
} else {
|
|
3411
3078
|
peg$currPos = s0;
|
|
3412
3079
|
s0 = peg$FAILED;
|
|
@@ -3462,7 +3129,7 @@ function peg$parse(input, options) {
|
|
|
3462
3129
|
}
|
|
3463
3130
|
if (s4 !== peg$FAILED) {
|
|
3464
3131
|
peg$savedPos = s0;
|
|
3465
|
-
s0 = peg$
|
|
3132
|
+
s0 = peg$f54(s3);
|
|
3466
3133
|
} else {
|
|
3467
3134
|
peg$currPos = s0;
|
|
3468
3135
|
s0 = peg$FAILED;
|
|
@@ -3476,13 +3143,13 @@ function peg$parse(input, options) {
|
|
|
3476
3143
|
function peg$parseTabItem() {
|
|
3477
3144
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
3478
3145
|
s0 = peg$currPos;
|
|
3479
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3480
|
-
s1 = peg$
|
|
3146
|
+
if (input.substr(peg$currPos, 3) === peg$c44) {
|
|
3147
|
+
s1 = peg$c44;
|
|
3481
3148
|
peg$currPos += 3;
|
|
3482
3149
|
} else {
|
|
3483
3150
|
s1 = peg$FAILED;
|
|
3484
3151
|
if (peg$silentFails === 0) {
|
|
3485
|
-
peg$fail(peg$
|
|
3152
|
+
peg$fail(peg$e44);
|
|
3486
3153
|
}
|
|
3487
3154
|
}
|
|
3488
3155
|
if (s1 !== peg$FAILED) {
|
|
@@ -3520,7 +3187,7 @@ function peg$parse(input, options) {
|
|
|
3520
3187
|
}
|
|
3521
3188
|
if (s11 !== peg$FAILED) {
|
|
3522
3189
|
peg$savedPos = s0;
|
|
3523
|
-
s0 = peg$
|
|
3190
|
+
s0 = peg$f55(s3, s5, s9);
|
|
3524
3191
|
} else {
|
|
3525
3192
|
peg$currPos = s0;
|
|
3526
3193
|
s0 = peg$FAILED;
|
|
@@ -3546,7 +3213,7 @@ function peg$parse(input, options) {
|
|
|
3546
3213
|
s1 = peg$parseComment();
|
|
3547
3214
|
if (s1 !== peg$FAILED) {
|
|
3548
3215
|
peg$savedPos = s0;
|
|
3549
|
-
s1 = peg$
|
|
3216
|
+
s1 = peg$f56();
|
|
3550
3217
|
}
|
|
3551
3218
|
s0 = s1;
|
|
3552
3219
|
}
|
|
@@ -3555,13 +3222,13 @@ function peg$parse(input, options) {
|
|
|
3555
3222
|
function peg$parseBreadcrumb() {
|
|
3556
3223
|
let s0, s1, s2, s3, s4, s5;
|
|
3557
3224
|
s0 = peg$currPos;
|
|
3558
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
3559
|
-
s1 = peg$
|
|
3225
|
+
if (input.substr(peg$currPos, 10) === peg$c45) {
|
|
3226
|
+
s1 = peg$c45;
|
|
3560
3227
|
peg$currPos += 10;
|
|
3561
3228
|
} else {
|
|
3562
3229
|
s1 = peg$FAILED;
|
|
3563
3230
|
if (peg$silentFails === 0) {
|
|
3564
|
-
peg$fail(peg$
|
|
3231
|
+
peg$fail(peg$e45);
|
|
3565
3232
|
}
|
|
3566
3233
|
}
|
|
3567
3234
|
if (s1 !== peg$FAILED) {
|
|
@@ -3574,7 +3241,7 @@ function peg$parse(input, options) {
|
|
|
3574
3241
|
s5 = null;
|
|
3575
3242
|
}
|
|
3576
3243
|
peg$savedPos = s0;
|
|
3577
|
-
s0 = peg$
|
|
3244
|
+
s0 = peg$f57(s3, s5);
|
|
3578
3245
|
} else {
|
|
3579
3246
|
peg$currPos = s0;
|
|
3580
3247
|
s0 = peg$FAILED;
|
|
@@ -3604,7 +3271,7 @@ function peg$parse(input, options) {
|
|
|
3604
3271
|
s3 = null;
|
|
3605
3272
|
}
|
|
3606
3273
|
peg$savedPos = s0;
|
|
3607
|
-
s0 = peg$
|
|
3274
|
+
s0 = peg$f58(s3);
|
|
3608
3275
|
} else {
|
|
3609
3276
|
peg$currPos = s0;
|
|
3610
3277
|
s0 = peg$FAILED;
|
|
@@ -3626,7 +3293,7 @@ function peg$parse(input, options) {
|
|
|
3626
3293
|
}
|
|
3627
3294
|
if (s1 !== peg$FAILED) {
|
|
3628
3295
|
peg$savedPos = s0;
|
|
3629
|
-
s1 = peg$
|
|
3296
|
+
s1 = peg$f59(s1);
|
|
3630
3297
|
}
|
|
3631
3298
|
s0 = s1;
|
|
3632
3299
|
return s0;
|
|
@@ -3639,12 +3306,12 @@ function peg$parse(input, options) {
|
|
|
3639
3306
|
if (s2 !== peg$FAILED) {
|
|
3640
3307
|
s3 = peg$parse_();
|
|
3641
3308
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
3642
|
-
s4 = peg$
|
|
3309
|
+
s4 = peg$c46;
|
|
3643
3310
|
peg$currPos++;
|
|
3644
3311
|
} else {
|
|
3645
3312
|
s4 = peg$FAILED;
|
|
3646
3313
|
if (peg$silentFails === 0) {
|
|
3647
|
-
peg$fail(peg$
|
|
3314
|
+
peg$fail(peg$e46);
|
|
3648
3315
|
}
|
|
3649
3316
|
}
|
|
3650
3317
|
if (s4 !== peg$FAILED) {
|
|
@@ -3652,7 +3319,7 @@ function peg$parse(input, options) {
|
|
|
3652
3319
|
s6 = peg$parseAttributeValue();
|
|
3653
3320
|
if (s6 !== peg$FAILED) {
|
|
3654
3321
|
peg$savedPos = s0;
|
|
3655
|
-
s0 = peg$
|
|
3322
|
+
s0 = peg$f60(s2, s6);
|
|
3656
3323
|
} else {
|
|
3657
3324
|
peg$currPos = s0;
|
|
3658
3325
|
s0 = peg$FAILED;
|
|
@@ -3684,27 +3351,27 @@ function peg$parse(input, options) {
|
|
|
3684
3351
|
} else {
|
|
3685
3352
|
s6 = peg$FAILED;
|
|
3686
3353
|
if (peg$silentFails === 0) {
|
|
3687
|
-
peg$fail(peg$
|
|
3354
|
+
peg$fail(peg$e47);
|
|
3688
3355
|
}
|
|
3689
3356
|
}
|
|
3690
3357
|
if (s6 === peg$FAILED) {
|
|
3691
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3692
|
-
s6 = peg$
|
|
3358
|
+
if (input.substr(peg$currPos, 2) === peg$c47) {
|
|
3359
|
+
s6 = peg$c47;
|
|
3693
3360
|
peg$currPos += 2;
|
|
3694
3361
|
} else {
|
|
3695
3362
|
s6 = peg$FAILED;
|
|
3696
3363
|
if (peg$silentFails === 0) {
|
|
3697
|
-
peg$fail(peg$
|
|
3364
|
+
peg$fail(peg$e48);
|
|
3698
3365
|
}
|
|
3699
3366
|
}
|
|
3700
3367
|
if (s6 === peg$FAILED) {
|
|
3701
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3702
|
-
s6 = peg$
|
|
3368
|
+
if (input.substr(peg$currPos, 2) === peg$c48) {
|
|
3369
|
+
s6 = peg$c48;
|
|
3703
3370
|
peg$currPos += 2;
|
|
3704
3371
|
} else {
|
|
3705
3372
|
s6 = peg$FAILED;
|
|
3706
3373
|
if (peg$silentFails === 0) {
|
|
3707
|
-
peg$fail(peg$
|
|
3374
|
+
peg$fail(peg$e49);
|
|
3708
3375
|
}
|
|
3709
3376
|
}
|
|
3710
3377
|
if (s6 === peg$FAILED) {
|
|
@@ -3716,7 +3383,7 @@ function peg$parse(input, options) {
|
|
|
3716
3383
|
} else {
|
|
3717
3384
|
s7 = peg$FAILED;
|
|
3718
3385
|
if (peg$silentFails === 0) {
|
|
3719
|
-
peg$fail(peg$
|
|
3386
|
+
peg$fail(peg$e50);
|
|
3720
3387
|
}
|
|
3721
3388
|
}
|
|
3722
3389
|
peg$silentFails--;
|
|
@@ -3747,7 +3414,7 @@ function peg$parse(input, options) {
|
|
|
3747
3414
|
}
|
|
3748
3415
|
if (s3 !== peg$FAILED) {
|
|
3749
3416
|
peg$savedPos = s0;
|
|
3750
|
-
s0 = peg$
|
|
3417
|
+
s0 = peg$f61(s2);
|
|
3751
3418
|
} else {
|
|
3752
3419
|
peg$currPos = s0;
|
|
3753
3420
|
s0 = peg$FAILED;
|
|
@@ -3776,7 +3443,7 @@ function peg$parse(input, options) {
|
|
|
3776
3443
|
s2 = peg$parseIdentifier();
|
|
3777
3444
|
if (s2 !== peg$FAILED) {
|
|
3778
3445
|
peg$savedPos = s0;
|
|
3779
|
-
s0 = peg$
|
|
3446
|
+
s0 = peg$f62(s2);
|
|
3780
3447
|
} else {
|
|
3781
3448
|
peg$currPos = s0;
|
|
3782
3449
|
s0 = peg$FAILED;
|
|
@@ -4170,44 +3837,33 @@ function peg$parse(input, options) {
|
|
|
4170
3837
|
}
|
|
4171
3838
|
}
|
|
4172
3839
|
if (s1 === peg$FAILED) {
|
|
4173
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4174
|
-
s1 = peg$
|
|
3840
|
+
if (input.substr(peg$currPos, 4) === peg$c43) {
|
|
3841
|
+
s1 = peg$c43;
|
|
4175
3842
|
peg$currPos += 4;
|
|
4176
3843
|
} else {
|
|
4177
3844
|
s1 = peg$FAILED;
|
|
4178
3845
|
if (peg$silentFails === 0) {
|
|
4179
|
-
peg$fail(peg$
|
|
3846
|
+
peg$fail(peg$e43);
|
|
4180
3847
|
}
|
|
4181
3848
|
}
|
|
4182
3849
|
if (s1 === peg$FAILED) {
|
|
4183
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4184
|
-
s1 = peg$
|
|
3850
|
+
if (input.substr(peg$currPos, 3) === peg$c44) {
|
|
3851
|
+
s1 = peg$c44;
|
|
4185
3852
|
peg$currPos += 3;
|
|
4186
3853
|
} else {
|
|
4187
3854
|
s1 = peg$FAILED;
|
|
4188
3855
|
if (peg$silentFails === 0) {
|
|
4189
|
-
peg$fail(peg$
|
|
3856
|
+
peg$fail(peg$e44);
|
|
4190
3857
|
}
|
|
4191
3858
|
}
|
|
4192
3859
|
if (s1 === peg$FAILED) {
|
|
4193
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
4194
|
-
s1 = peg$
|
|
3860
|
+
if (input.substr(peg$currPos, 10) === peg$c45) {
|
|
3861
|
+
s1 = peg$c45;
|
|
4195
3862
|
peg$currPos += 10;
|
|
4196
3863
|
} else {
|
|
4197
3864
|
s1 = peg$FAILED;
|
|
4198
3865
|
if (peg$silentFails === 0) {
|
|
4199
|
-
peg$fail(peg$
|
|
4200
|
-
}
|
|
4201
|
-
}
|
|
4202
|
-
if (s1 === peg$FAILED) {
|
|
4203
|
-
if (input.substr(peg$currPos, 5) === peg$c43) {
|
|
4204
|
-
s1 = peg$c43;
|
|
4205
|
-
peg$currPos += 5;
|
|
4206
|
-
} else {
|
|
4207
|
-
s1 = peg$FAILED;
|
|
4208
|
-
if (peg$silentFails === 0) {
|
|
4209
|
-
peg$fail(peg$e43);
|
|
4210
|
-
}
|
|
3866
|
+
peg$fail(peg$e45);
|
|
4211
3867
|
}
|
|
4212
3868
|
}
|
|
4213
3869
|
}
|
|
@@ -4282,7 +3938,7 @@ function peg$parse(input, options) {
|
|
|
4282
3938
|
} else {
|
|
4283
3939
|
s0 = peg$FAILED;
|
|
4284
3940
|
if (peg$silentFails === 0) {
|
|
4285
|
-
peg$fail(peg$
|
|
3941
|
+
peg$fail(peg$e51);
|
|
4286
3942
|
}
|
|
4287
3943
|
}
|
|
4288
3944
|
return s0;
|
|
@@ -4315,12 +3971,12 @@ function peg$parse(input, options) {
|
|
|
4315
3971
|
peg$silentFails++;
|
|
4316
3972
|
s0 = peg$currPos;
|
|
4317
3973
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4318
|
-
s1 = peg$
|
|
3974
|
+
s1 = peg$c49;
|
|
4319
3975
|
peg$currPos++;
|
|
4320
3976
|
} else {
|
|
4321
3977
|
s1 = peg$FAILED;
|
|
4322
3978
|
if (peg$silentFails === 0) {
|
|
4323
|
-
peg$fail(peg$
|
|
3979
|
+
peg$fail(peg$e53);
|
|
4324
3980
|
}
|
|
4325
3981
|
}
|
|
4326
3982
|
if (s1 !== peg$FAILED) {
|
|
@@ -4331,17 +3987,17 @@ function peg$parse(input, options) {
|
|
|
4331
3987
|
s3 = peg$parseDoubleStringChar();
|
|
4332
3988
|
}
|
|
4333
3989
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4334
|
-
s3 = peg$
|
|
3990
|
+
s3 = peg$c49;
|
|
4335
3991
|
peg$currPos++;
|
|
4336
3992
|
} else {
|
|
4337
3993
|
s3 = peg$FAILED;
|
|
4338
3994
|
if (peg$silentFails === 0) {
|
|
4339
|
-
peg$fail(peg$
|
|
3995
|
+
peg$fail(peg$e53);
|
|
4340
3996
|
}
|
|
4341
3997
|
}
|
|
4342
3998
|
if (s3 !== peg$FAILED) {
|
|
4343
3999
|
peg$savedPos = s0;
|
|
4344
|
-
s0 = peg$
|
|
4000
|
+
s0 = peg$f63(s2);
|
|
4345
4001
|
} else {
|
|
4346
4002
|
peg$currPos = s0;
|
|
4347
4003
|
s0 = peg$FAILED;
|
|
@@ -4353,12 +4009,12 @@ function peg$parse(input, options) {
|
|
|
4353
4009
|
if (s0 === peg$FAILED) {
|
|
4354
4010
|
s0 = peg$currPos;
|
|
4355
4011
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4356
|
-
s1 = peg$
|
|
4012
|
+
s1 = peg$c50;
|
|
4357
4013
|
peg$currPos++;
|
|
4358
4014
|
} else {
|
|
4359
4015
|
s1 = peg$FAILED;
|
|
4360
4016
|
if (peg$silentFails === 0) {
|
|
4361
|
-
peg$fail(peg$
|
|
4017
|
+
peg$fail(peg$e54);
|
|
4362
4018
|
}
|
|
4363
4019
|
}
|
|
4364
4020
|
if (s1 !== peg$FAILED) {
|
|
@@ -4369,17 +4025,17 @@ function peg$parse(input, options) {
|
|
|
4369
4025
|
s3 = peg$parseSingleStringChar();
|
|
4370
4026
|
}
|
|
4371
4027
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4372
|
-
s3 = peg$
|
|
4028
|
+
s3 = peg$c50;
|
|
4373
4029
|
peg$currPos++;
|
|
4374
4030
|
} else {
|
|
4375
4031
|
s3 = peg$FAILED;
|
|
4376
4032
|
if (peg$silentFails === 0) {
|
|
4377
|
-
peg$fail(peg$
|
|
4033
|
+
peg$fail(peg$e54);
|
|
4378
4034
|
}
|
|
4379
4035
|
}
|
|
4380
4036
|
if (s3 !== peg$FAILED) {
|
|
4381
4037
|
peg$savedPos = s0;
|
|
4382
|
-
s0 = peg$
|
|
4038
|
+
s0 = peg$f64(s2);
|
|
4383
4039
|
} else {
|
|
4384
4040
|
peg$currPos = s0;
|
|
4385
4041
|
s0 = peg$FAILED;
|
|
@@ -4393,7 +4049,7 @@ function peg$parse(input, options) {
|
|
|
4393
4049
|
if (s0 === peg$FAILED) {
|
|
4394
4050
|
s1 = peg$FAILED;
|
|
4395
4051
|
if (peg$silentFails === 0) {
|
|
4396
|
-
peg$fail(peg$
|
|
4052
|
+
peg$fail(peg$e52);
|
|
4397
4053
|
}
|
|
4398
4054
|
}
|
|
4399
4055
|
return s0;
|
|
@@ -4404,12 +4060,12 @@ function peg$parse(input, options) {
|
|
|
4404
4060
|
s1 = peg$currPos;
|
|
4405
4061
|
peg$silentFails++;
|
|
4406
4062
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4407
|
-
s2 = peg$
|
|
4063
|
+
s2 = peg$c49;
|
|
4408
4064
|
peg$currPos++;
|
|
4409
4065
|
} else {
|
|
4410
4066
|
s2 = peg$FAILED;
|
|
4411
4067
|
if (peg$silentFails === 0) {
|
|
4412
|
-
peg$fail(peg$
|
|
4068
|
+
peg$fail(peg$e53);
|
|
4413
4069
|
}
|
|
4414
4070
|
}
|
|
4415
4071
|
peg$silentFails--;
|
|
@@ -4423,12 +4079,12 @@ function peg$parse(input, options) {
|
|
|
4423
4079
|
s2 = peg$currPos;
|
|
4424
4080
|
peg$silentFails++;
|
|
4425
4081
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4426
|
-
s3 = peg$
|
|
4082
|
+
s3 = peg$c51;
|
|
4427
4083
|
peg$currPos++;
|
|
4428
4084
|
} else {
|
|
4429
4085
|
s3 = peg$FAILED;
|
|
4430
4086
|
if (peg$silentFails === 0) {
|
|
4431
|
-
peg$fail(peg$
|
|
4087
|
+
peg$fail(peg$e55);
|
|
4432
4088
|
}
|
|
4433
4089
|
}
|
|
4434
4090
|
peg$silentFails--;
|
|
@@ -4445,12 +4101,12 @@ function peg$parse(input, options) {
|
|
|
4445
4101
|
} else {
|
|
4446
4102
|
s3 = peg$FAILED;
|
|
4447
4103
|
if (peg$silentFails === 0) {
|
|
4448
|
-
peg$fail(peg$
|
|
4104
|
+
peg$fail(peg$e50);
|
|
4449
4105
|
}
|
|
4450
4106
|
}
|
|
4451
4107
|
if (s3 !== peg$FAILED) {
|
|
4452
4108
|
peg$savedPos = s0;
|
|
4453
|
-
s0 = peg$
|
|
4109
|
+
s0 = peg$f65(s3);
|
|
4454
4110
|
} else {
|
|
4455
4111
|
peg$currPos = s0;
|
|
4456
4112
|
s0 = peg$FAILED;
|
|
@@ -4466,19 +4122,19 @@ function peg$parse(input, options) {
|
|
|
4466
4122
|
if (s0 === peg$FAILED) {
|
|
4467
4123
|
s0 = peg$currPos;
|
|
4468
4124
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4469
|
-
s1 = peg$
|
|
4125
|
+
s1 = peg$c51;
|
|
4470
4126
|
peg$currPos++;
|
|
4471
4127
|
} else {
|
|
4472
4128
|
s1 = peg$FAILED;
|
|
4473
4129
|
if (peg$silentFails === 0) {
|
|
4474
|
-
peg$fail(peg$
|
|
4130
|
+
peg$fail(peg$e55);
|
|
4475
4131
|
}
|
|
4476
4132
|
}
|
|
4477
4133
|
if (s1 !== peg$FAILED) {
|
|
4478
4134
|
s2 = peg$parseEscapeSequence();
|
|
4479
4135
|
if (s2 !== peg$FAILED) {
|
|
4480
4136
|
peg$savedPos = s0;
|
|
4481
|
-
s0 = peg$
|
|
4137
|
+
s0 = peg$f66(s2);
|
|
4482
4138
|
} else {
|
|
4483
4139
|
peg$currPos = s0;
|
|
4484
4140
|
s0 = peg$FAILED;
|
|
@@ -4496,12 +4152,12 @@ function peg$parse(input, options) {
|
|
|
4496
4152
|
s1 = peg$currPos;
|
|
4497
4153
|
peg$silentFails++;
|
|
4498
4154
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4499
|
-
s2 = peg$
|
|
4155
|
+
s2 = peg$c50;
|
|
4500
4156
|
peg$currPos++;
|
|
4501
4157
|
} else {
|
|
4502
4158
|
s2 = peg$FAILED;
|
|
4503
4159
|
if (peg$silentFails === 0) {
|
|
4504
|
-
peg$fail(peg$
|
|
4160
|
+
peg$fail(peg$e54);
|
|
4505
4161
|
}
|
|
4506
4162
|
}
|
|
4507
4163
|
peg$silentFails--;
|
|
@@ -4515,12 +4171,12 @@ function peg$parse(input, options) {
|
|
|
4515
4171
|
s2 = peg$currPos;
|
|
4516
4172
|
peg$silentFails++;
|
|
4517
4173
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4518
|
-
s3 = peg$
|
|
4174
|
+
s3 = peg$c51;
|
|
4519
4175
|
peg$currPos++;
|
|
4520
4176
|
} else {
|
|
4521
4177
|
s3 = peg$FAILED;
|
|
4522
4178
|
if (peg$silentFails === 0) {
|
|
4523
|
-
peg$fail(peg$
|
|
4179
|
+
peg$fail(peg$e55);
|
|
4524
4180
|
}
|
|
4525
4181
|
}
|
|
4526
4182
|
peg$silentFails--;
|
|
@@ -4537,12 +4193,12 @@ function peg$parse(input, options) {
|
|
|
4537
4193
|
} else {
|
|
4538
4194
|
s3 = peg$FAILED;
|
|
4539
4195
|
if (peg$silentFails === 0) {
|
|
4540
|
-
peg$fail(peg$
|
|
4196
|
+
peg$fail(peg$e50);
|
|
4541
4197
|
}
|
|
4542
4198
|
}
|
|
4543
4199
|
if (s3 !== peg$FAILED) {
|
|
4544
4200
|
peg$savedPos = s0;
|
|
4545
|
-
s0 = peg$
|
|
4201
|
+
s0 = peg$f67(s3);
|
|
4546
4202
|
} else {
|
|
4547
4203
|
peg$currPos = s0;
|
|
4548
4204
|
s0 = peg$FAILED;
|
|
@@ -4558,19 +4214,19 @@ function peg$parse(input, options) {
|
|
|
4558
4214
|
if (s0 === peg$FAILED) {
|
|
4559
4215
|
s0 = peg$currPos;
|
|
4560
4216
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4561
|
-
s1 = peg$
|
|
4217
|
+
s1 = peg$c51;
|
|
4562
4218
|
peg$currPos++;
|
|
4563
4219
|
} else {
|
|
4564
4220
|
s1 = peg$FAILED;
|
|
4565
4221
|
if (peg$silentFails === 0) {
|
|
4566
|
-
peg$fail(peg$
|
|
4222
|
+
peg$fail(peg$e55);
|
|
4567
4223
|
}
|
|
4568
4224
|
}
|
|
4569
4225
|
if (s1 !== peg$FAILED) {
|
|
4570
4226
|
s2 = peg$parseEscapeSequence();
|
|
4571
4227
|
if (s2 !== peg$FAILED) {
|
|
4572
4228
|
peg$savedPos = s0;
|
|
4573
|
-
s0 = peg$
|
|
4229
|
+
s0 = peg$f68(s2);
|
|
4574
4230
|
} else {
|
|
4575
4231
|
peg$currPos = s0;
|
|
4576
4232
|
s0 = peg$FAILED;
|
|
@@ -4586,97 +4242,97 @@ function peg$parse(input, options) {
|
|
|
4586
4242
|
let s0, s1;
|
|
4587
4243
|
s0 = peg$currPos;
|
|
4588
4244
|
if (input.charCodeAt(peg$currPos) === 110) {
|
|
4589
|
-
s1 = peg$
|
|
4245
|
+
s1 = peg$c52;
|
|
4590
4246
|
peg$currPos++;
|
|
4591
4247
|
} else {
|
|
4592
4248
|
s1 = peg$FAILED;
|
|
4593
4249
|
if (peg$silentFails === 0) {
|
|
4594
|
-
peg$fail(peg$
|
|
4250
|
+
peg$fail(peg$e56);
|
|
4595
4251
|
}
|
|
4596
4252
|
}
|
|
4597
4253
|
if (s1 !== peg$FAILED) {
|
|
4598
4254
|
peg$savedPos = s0;
|
|
4599
|
-
s1 = peg$
|
|
4255
|
+
s1 = peg$f69();
|
|
4600
4256
|
}
|
|
4601
4257
|
s0 = s1;
|
|
4602
4258
|
if (s0 === peg$FAILED) {
|
|
4603
4259
|
s0 = peg$currPos;
|
|
4604
4260
|
if (input.charCodeAt(peg$currPos) === 114) {
|
|
4605
|
-
s1 = peg$
|
|
4261
|
+
s1 = peg$c53;
|
|
4606
4262
|
peg$currPos++;
|
|
4607
4263
|
} else {
|
|
4608
4264
|
s1 = peg$FAILED;
|
|
4609
4265
|
if (peg$silentFails === 0) {
|
|
4610
|
-
peg$fail(peg$
|
|
4266
|
+
peg$fail(peg$e57);
|
|
4611
4267
|
}
|
|
4612
4268
|
}
|
|
4613
4269
|
if (s1 !== peg$FAILED) {
|
|
4614
4270
|
peg$savedPos = s0;
|
|
4615
|
-
s1 = peg$
|
|
4271
|
+
s1 = peg$f70();
|
|
4616
4272
|
}
|
|
4617
4273
|
s0 = s1;
|
|
4618
4274
|
if (s0 === peg$FAILED) {
|
|
4619
4275
|
s0 = peg$currPos;
|
|
4620
4276
|
if (input.charCodeAt(peg$currPos) === 116) {
|
|
4621
|
-
s1 = peg$
|
|
4277
|
+
s1 = peg$c54;
|
|
4622
4278
|
peg$currPos++;
|
|
4623
4279
|
} else {
|
|
4624
4280
|
s1 = peg$FAILED;
|
|
4625
4281
|
if (peg$silentFails === 0) {
|
|
4626
|
-
peg$fail(peg$
|
|
4282
|
+
peg$fail(peg$e58);
|
|
4627
4283
|
}
|
|
4628
4284
|
}
|
|
4629
4285
|
if (s1 !== peg$FAILED) {
|
|
4630
4286
|
peg$savedPos = s0;
|
|
4631
|
-
s1 = peg$
|
|
4287
|
+
s1 = peg$f71();
|
|
4632
4288
|
}
|
|
4633
4289
|
s0 = s1;
|
|
4634
4290
|
if (s0 === peg$FAILED) {
|
|
4635
4291
|
s0 = peg$currPos;
|
|
4636
4292
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4637
|
-
s1 = peg$
|
|
4293
|
+
s1 = peg$c51;
|
|
4638
4294
|
peg$currPos++;
|
|
4639
4295
|
} else {
|
|
4640
4296
|
s1 = peg$FAILED;
|
|
4641
4297
|
if (peg$silentFails === 0) {
|
|
4642
|
-
peg$fail(peg$
|
|
4298
|
+
peg$fail(peg$e55);
|
|
4643
4299
|
}
|
|
4644
4300
|
}
|
|
4645
4301
|
if (s1 !== peg$FAILED) {
|
|
4646
4302
|
peg$savedPos = s0;
|
|
4647
|
-
s1 = peg$
|
|
4303
|
+
s1 = peg$f72();
|
|
4648
4304
|
}
|
|
4649
4305
|
s0 = s1;
|
|
4650
4306
|
if (s0 === peg$FAILED) {
|
|
4651
4307
|
s0 = peg$currPos;
|
|
4652
4308
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4653
|
-
s1 = peg$
|
|
4309
|
+
s1 = peg$c49;
|
|
4654
4310
|
peg$currPos++;
|
|
4655
4311
|
} else {
|
|
4656
4312
|
s1 = peg$FAILED;
|
|
4657
4313
|
if (peg$silentFails === 0) {
|
|
4658
|
-
peg$fail(peg$
|
|
4314
|
+
peg$fail(peg$e53);
|
|
4659
4315
|
}
|
|
4660
4316
|
}
|
|
4661
4317
|
if (s1 !== peg$FAILED) {
|
|
4662
4318
|
peg$savedPos = s0;
|
|
4663
|
-
s1 = peg$
|
|
4319
|
+
s1 = peg$f73();
|
|
4664
4320
|
}
|
|
4665
4321
|
s0 = s1;
|
|
4666
4322
|
if (s0 === peg$FAILED) {
|
|
4667
4323
|
s0 = peg$currPos;
|
|
4668
4324
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4669
|
-
s1 = peg$
|
|
4325
|
+
s1 = peg$c50;
|
|
4670
4326
|
peg$currPos++;
|
|
4671
4327
|
} else {
|
|
4672
4328
|
s1 = peg$FAILED;
|
|
4673
4329
|
if (peg$silentFails === 0) {
|
|
4674
|
-
peg$fail(peg$
|
|
4330
|
+
peg$fail(peg$e54);
|
|
4675
4331
|
}
|
|
4676
4332
|
}
|
|
4677
4333
|
if (s1 !== peg$FAILED) {
|
|
4678
4334
|
peg$savedPos = s0;
|
|
4679
|
-
s1 = peg$
|
|
4335
|
+
s1 = peg$f74();
|
|
4680
4336
|
}
|
|
4681
4337
|
s0 = s1;
|
|
4682
4338
|
}
|
|
@@ -4691,12 +4347,12 @@ function peg$parse(input, options) {
|
|
|
4691
4347
|
peg$silentFails++;
|
|
4692
4348
|
s0 = peg$currPos;
|
|
4693
4349
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4694
|
-
s1 = peg$
|
|
4350
|
+
s1 = peg$c55;
|
|
4695
4351
|
peg$currPos++;
|
|
4696
4352
|
} else {
|
|
4697
4353
|
s1 = peg$FAILED;
|
|
4698
4354
|
if (peg$silentFails === 0) {
|
|
4699
|
-
peg$fail(peg$
|
|
4355
|
+
peg$fail(peg$e60);
|
|
4700
4356
|
}
|
|
4701
4357
|
}
|
|
4702
4358
|
if (s1 === peg$FAILED) {
|
|
@@ -4709,7 +4365,7 @@ function peg$parse(input, options) {
|
|
|
4709
4365
|
} else {
|
|
4710
4366
|
s3 = peg$FAILED;
|
|
4711
4367
|
if (peg$silentFails === 0) {
|
|
4712
|
-
peg$fail(peg$
|
|
4368
|
+
peg$fail(peg$e61);
|
|
4713
4369
|
}
|
|
4714
4370
|
}
|
|
4715
4371
|
if (s3 !== peg$FAILED) {
|
|
@@ -4721,7 +4377,7 @@ function peg$parse(input, options) {
|
|
|
4721
4377
|
} else {
|
|
4722
4378
|
s3 = peg$FAILED;
|
|
4723
4379
|
if (peg$silentFails === 0) {
|
|
4724
|
-
peg$fail(peg$
|
|
4380
|
+
peg$fail(peg$e61);
|
|
4725
4381
|
}
|
|
4726
4382
|
}
|
|
4727
4383
|
}
|
|
@@ -4731,12 +4387,12 @@ function peg$parse(input, options) {
|
|
|
4731
4387
|
if (s2 !== peg$FAILED) {
|
|
4732
4388
|
s3 = peg$currPos;
|
|
4733
4389
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4734
|
-
s4 = peg$
|
|
4390
|
+
s4 = peg$c56;
|
|
4735
4391
|
peg$currPos++;
|
|
4736
4392
|
} else {
|
|
4737
4393
|
s4 = peg$FAILED;
|
|
4738
4394
|
if (peg$silentFails === 0) {
|
|
4739
|
-
peg$fail(peg$
|
|
4395
|
+
peg$fail(peg$e62);
|
|
4740
4396
|
}
|
|
4741
4397
|
}
|
|
4742
4398
|
if (s4 !== peg$FAILED) {
|
|
@@ -4747,7 +4403,7 @@ function peg$parse(input, options) {
|
|
|
4747
4403
|
} else {
|
|
4748
4404
|
s6 = peg$FAILED;
|
|
4749
4405
|
if (peg$silentFails === 0) {
|
|
4750
|
-
peg$fail(peg$
|
|
4406
|
+
peg$fail(peg$e61);
|
|
4751
4407
|
}
|
|
4752
4408
|
}
|
|
4753
4409
|
if (s6 !== peg$FAILED) {
|
|
@@ -4759,7 +4415,7 @@ function peg$parse(input, options) {
|
|
|
4759
4415
|
} else {
|
|
4760
4416
|
s6 = peg$FAILED;
|
|
4761
4417
|
if (peg$silentFails === 0) {
|
|
4762
|
-
peg$fail(peg$
|
|
4418
|
+
peg$fail(peg$e61);
|
|
4763
4419
|
}
|
|
4764
4420
|
}
|
|
4765
4421
|
}
|
|
@@ -4781,7 +4437,7 @@ function peg$parse(input, options) {
|
|
|
4781
4437
|
s3 = null;
|
|
4782
4438
|
}
|
|
4783
4439
|
peg$savedPos = s0;
|
|
4784
|
-
s0 = peg$
|
|
4440
|
+
s0 = peg$f75(s1, s2, s3);
|
|
4785
4441
|
} else {
|
|
4786
4442
|
peg$currPos = s0;
|
|
4787
4443
|
s0 = peg$FAILED;
|
|
@@ -4790,7 +4446,7 @@ function peg$parse(input, options) {
|
|
|
4790
4446
|
if (s0 === peg$FAILED) {
|
|
4791
4447
|
s1 = peg$FAILED;
|
|
4792
4448
|
if (peg$silentFails === 0) {
|
|
4793
|
-
peg$fail(peg$
|
|
4449
|
+
peg$fail(peg$e59);
|
|
4794
4450
|
}
|
|
4795
4451
|
}
|
|
4796
4452
|
return s0;
|
|
@@ -4800,12 +4456,12 @@ function peg$parse(input, options) {
|
|
|
4800
4456
|
peg$silentFails++;
|
|
4801
4457
|
s0 = peg$currPos;
|
|
4802
4458
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4803
|
-
s1 = peg$
|
|
4459
|
+
s1 = peg$c55;
|
|
4804
4460
|
peg$currPos++;
|
|
4805
4461
|
} else {
|
|
4806
4462
|
s1 = peg$FAILED;
|
|
4807
4463
|
if (peg$silentFails === 0) {
|
|
4808
|
-
peg$fail(peg$
|
|
4464
|
+
peg$fail(peg$e60);
|
|
4809
4465
|
}
|
|
4810
4466
|
}
|
|
4811
4467
|
if (s1 === peg$FAILED) {
|
|
@@ -4818,7 +4474,7 @@ function peg$parse(input, options) {
|
|
|
4818
4474
|
} else {
|
|
4819
4475
|
s3 = peg$FAILED;
|
|
4820
4476
|
if (peg$silentFails === 0) {
|
|
4821
|
-
peg$fail(peg$
|
|
4477
|
+
peg$fail(peg$e61);
|
|
4822
4478
|
}
|
|
4823
4479
|
}
|
|
4824
4480
|
if (s3 !== peg$FAILED) {
|
|
@@ -4830,7 +4486,7 @@ function peg$parse(input, options) {
|
|
|
4830
4486
|
} else {
|
|
4831
4487
|
s3 = peg$FAILED;
|
|
4832
4488
|
if (peg$silentFails === 0) {
|
|
4833
|
-
peg$fail(peg$
|
|
4489
|
+
peg$fail(peg$e61);
|
|
4834
4490
|
}
|
|
4835
4491
|
}
|
|
4836
4492
|
}
|
|
@@ -4840,12 +4496,12 @@ function peg$parse(input, options) {
|
|
|
4840
4496
|
if (s2 !== peg$FAILED) {
|
|
4841
4497
|
s3 = peg$currPos;
|
|
4842
4498
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4843
|
-
s4 = peg$
|
|
4499
|
+
s4 = peg$c56;
|
|
4844
4500
|
peg$currPos++;
|
|
4845
4501
|
} else {
|
|
4846
4502
|
s4 = peg$FAILED;
|
|
4847
4503
|
if (peg$silentFails === 0) {
|
|
4848
|
-
peg$fail(peg$
|
|
4504
|
+
peg$fail(peg$e62);
|
|
4849
4505
|
}
|
|
4850
4506
|
}
|
|
4851
4507
|
if (s4 !== peg$FAILED) {
|
|
@@ -4856,7 +4512,7 @@ function peg$parse(input, options) {
|
|
|
4856
4512
|
} else {
|
|
4857
4513
|
s6 = peg$FAILED;
|
|
4858
4514
|
if (peg$silentFails === 0) {
|
|
4859
|
-
peg$fail(peg$
|
|
4515
|
+
peg$fail(peg$e61);
|
|
4860
4516
|
}
|
|
4861
4517
|
}
|
|
4862
4518
|
if (s6 !== peg$FAILED) {
|
|
@@ -4868,7 +4524,7 @@ function peg$parse(input, options) {
|
|
|
4868
4524
|
} else {
|
|
4869
4525
|
s6 = peg$FAILED;
|
|
4870
4526
|
if (peg$silentFails === 0) {
|
|
4871
|
-
peg$fail(peg$
|
|
4527
|
+
peg$fail(peg$e61);
|
|
4872
4528
|
}
|
|
4873
4529
|
}
|
|
4874
4530
|
}
|
|
@@ -4889,63 +4545,63 @@ function peg$parse(input, options) {
|
|
|
4889
4545
|
if (s3 === peg$FAILED) {
|
|
4890
4546
|
s3 = null;
|
|
4891
4547
|
}
|
|
4892
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4893
|
-
s4 = peg$
|
|
4548
|
+
if (input.substr(peg$currPos, 2) === peg$c57) {
|
|
4549
|
+
s4 = peg$c57;
|
|
4894
4550
|
peg$currPos += 2;
|
|
4895
4551
|
} else {
|
|
4896
4552
|
s4 = peg$FAILED;
|
|
4897
4553
|
if (peg$silentFails === 0) {
|
|
4898
|
-
peg$fail(peg$
|
|
4554
|
+
peg$fail(peg$e64);
|
|
4899
4555
|
}
|
|
4900
4556
|
}
|
|
4901
4557
|
if (s4 === peg$FAILED) {
|
|
4902
4558
|
if (input.charCodeAt(peg$currPos) === 37) {
|
|
4903
|
-
s4 = peg$
|
|
4559
|
+
s4 = peg$c58;
|
|
4904
4560
|
peg$currPos++;
|
|
4905
4561
|
} else {
|
|
4906
4562
|
s4 = peg$FAILED;
|
|
4907
4563
|
if (peg$silentFails === 0) {
|
|
4908
|
-
peg$fail(peg$
|
|
4564
|
+
peg$fail(peg$e65);
|
|
4909
4565
|
}
|
|
4910
4566
|
}
|
|
4911
4567
|
if (s4 === peg$FAILED) {
|
|
4912
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4913
|
-
s4 = peg$
|
|
4568
|
+
if (input.substr(peg$currPos, 2) === peg$c59) {
|
|
4569
|
+
s4 = peg$c59;
|
|
4914
4570
|
peg$currPos += 2;
|
|
4915
4571
|
} else {
|
|
4916
4572
|
s4 = peg$FAILED;
|
|
4917
4573
|
if (peg$silentFails === 0) {
|
|
4918
|
-
peg$fail(peg$
|
|
4574
|
+
peg$fail(peg$e66);
|
|
4919
4575
|
}
|
|
4920
4576
|
}
|
|
4921
4577
|
if (s4 === peg$FAILED) {
|
|
4922
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4923
|
-
s4 = peg$
|
|
4578
|
+
if (input.substr(peg$currPos, 3) === peg$c60) {
|
|
4579
|
+
s4 = peg$c60;
|
|
4924
4580
|
peg$currPos += 3;
|
|
4925
4581
|
} else {
|
|
4926
4582
|
s4 = peg$FAILED;
|
|
4927
4583
|
if (peg$silentFails === 0) {
|
|
4928
|
-
peg$fail(peg$
|
|
4584
|
+
peg$fail(peg$e67);
|
|
4929
4585
|
}
|
|
4930
4586
|
}
|
|
4931
4587
|
if (s4 === peg$FAILED) {
|
|
4932
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4933
|
-
s4 = peg$
|
|
4588
|
+
if (input.substr(peg$currPos, 2) === peg$c61) {
|
|
4589
|
+
s4 = peg$c61;
|
|
4934
4590
|
peg$currPos += 2;
|
|
4935
4591
|
} else {
|
|
4936
4592
|
s4 = peg$FAILED;
|
|
4937
4593
|
if (peg$silentFails === 0) {
|
|
4938
|
-
peg$fail(peg$
|
|
4594
|
+
peg$fail(peg$e68);
|
|
4939
4595
|
}
|
|
4940
4596
|
}
|
|
4941
4597
|
if (s4 === peg$FAILED) {
|
|
4942
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4943
|
-
s4 = peg$
|
|
4598
|
+
if (input.substr(peg$currPos, 2) === peg$c62) {
|
|
4599
|
+
s4 = peg$c62;
|
|
4944
4600
|
peg$currPos += 2;
|
|
4945
4601
|
} else {
|
|
4946
4602
|
s4 = peg$FAILED;
|
|
4947
4603
|
if (peg$silentFails === 0) {
|
|
4948
|
-
peg$fail(peg$
|
|
4604
|
+
peg$fail(peg$e69);
|
|
4949
4605
|
}
|
|
4950
4606
|
}
|
|
4951
4607
|
}
|
|
@@ -4955,7 +4611,7 @@ function peg$parse(input, options) {
|
|
|
4955
4611
|
}
|
|
4956
4612
|
if (s4 !== peg$FAILED) {
|
|
4957
4613
|
peg$savedPos = s0;
|
|
4958
|
-
s0 = peg$
|
|
4614
|
+
s0 = peg$f76(s1, s2, s3, s4);
|
|
4959
4615
|
} else {
|
|
4960
4616
|
peg$currPos = s0;
|
|
4961
4617
|
s0 = peg$FAILED;
|
|
@@ -4968,7 +4624,7 @@ function peg$parse(input, options) {
|
|
|
4968
4624
|
if (s0 === peg$FAILED) {
|
|
4969
4625
|
s1 = peg$FAILED;
|
|
4970
4626
|
if (peg$silentFails === 0) {
|
|
4971
|
-
peg$fail(peg$
|
|
4627
|
+
peg$fail(peg$e63);
|
|
4972
4628
|
}
|
|
4973
4629
|
}
|
|
4974
4630
|
return s0;
|
|
@@ -4977,34 +4633,34 @@ function peg$parse(input, options) {
|
|
|
4977
4633
|
let s0, s1;
|
|
4978
4634
|
peg$silentFails++;
|
|
4979
4635
|
s0 = peg$currPos;
|
|
4980
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4981
|
-
s1 = peg$
|
|
4636
|
+
if (input.substr(peg$currPos, 4) === peg$c63) {
|
|
4637
|
+
s1 = peg$c63;
|
|
4982
4638
|
peg$currPos += 4;
|
|
4983
4639
|
} else {
|
|
4984
4640
|
s1 = peg$FAILED;
|
|
4985
4641
|
if (peg$silentFails === 0) {
|
|
4986
|
-
peg$fail(peg$
|
|
4642
|
+
peg$fail(peg$e71);
|
|
4987
4643
|
}
|
|
4988
4644
|
}
|
|
4989
4645
|
if (s1 !== peg$FAILED) {
|
|
4990
4646
|
peg$savedPos = s0;
|
|
4991
|
-
s1 = peg$
|
|
4647
|
+
s1 = peg$f77();
|
|
4992
4648
|
}
|
|
4993
4649
|
s0 = s1;
|
|
4994
4650
|
if (s0 === peg$FAILED) {
|
|
4995
4651
|
s0 = peg$currPos;
|
|
4996
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4997
|
-
s1 = peg$
|
|
4652
|
+
if (input.substr(peg$currPos, 5) === peg$c64) {
|
|
4653
|
+
s1 = peg$c64;
|
|
4998
4654
|
peg$currPos += 5;
|
|
4999
4655
|
} else {
|
|
5000
4656
|
s1 = peg$FAILED;
|
|
5001
4657
|
if (peg$silentFails === 0) {
|
|
5002
|
-
peg$fail(peg$
|
|
4658
|
+
peg$fail(peg$e72);
|
|
5003
4659
|
}
|
|
5004
4660
|
}
|
|
5005
4661
|
if (s1 !== peg$FAILED) {
|
|
5006
4662
|
peg$savedPos = s0;
|
|
5007
|
-
s1 = peg$
|
|
4663
|
+
s1 = peg$f78();
|
|
5008
4664
|
}
|
|
5009
4665
|
s0 = s1;
|
|
5010
4666
|
}
|
|
@@ -5012,7 +4668,7 @@ function peg$parse(input, options) {
|
|
|
5012
4668
|
if (s0 === peg$FAILED) {
|
|
5013
4669
|
s1 = peg$FAILED;
|
|
5014
4670
|
if (peg$silentFails === 0) {
|
|
5015
|
-
peg$fail(peg$
|
|
4671
|
+
peg$fail(peg$e70);
|
|
5016
4672
|
}
|
|
5017
4673
|
}
|
|
5018
4674
|
return s0;
|
|
@@ -5027,7 +4683,7 @@ function peg$parse(input, options) {
|
|
|
5027
4683
|
} else {
|
|
5028
4684
|
s1 = peg$FAILED;
|
|
5029
4685
|
if (peg$silentFails === 0) {
|
|
5030
|
-
peg$fail(peg$
|
|
4686
|
+
peg$fail(peg$e74);
|
|
5031
4687
|
}
|
|
5032
4688
|
}
|
|
5033
4689
|
if (s1 !== peg$FAILED) {
|
|
@@ -5038,7 +4694,7 @@ function peg$parse(input, options) {
|
|
|
5038
4694
|
} else {
|
|
5039
4695
|
s3 = peg$FAILED;
|
|
5040
4696
|
if (peg$silentFails === 0) {
|
|
5041
|
-
peg$fail(peg$
|
|
4697
|
+
peg$fail(peg$e51);
|
|
5042
4698
|
}
|
|
5043
4699
|
}
|
|
5044
4700
|
while (s3 !== peg$FAILED) {
|
|
@@ -5049,12 +4705,12 @@ function peg$parse(input, options) {
|
|
|
5049
4705
|
} else {
|
|
5050
4706
|
s3 = peg$FAILED;
|
|
5051
4707
|
if (peg$silentFails === 0) {
|
|
5052
|
-
peg$fail(peg$
|
|
4708
|
+
peg$fail(peg$e51);
|
|
5053
4709
|
}
|
|
5054
4710
|
}
|
|
5055
4711
|
}
|
|
5056
4712
|
peg$savedPos = s0;
|
|
5057
|
-
s0 = peg$
|
|
4713
|
+
s0 = peg$f79(s1, s2);
|
|
5058
4714
|
} else {
|
|
5059
4715
|
peg$currPos = s0;
|
|
5060
4716
|
s0 = peg$FAILED;
|
|
@@ -5063,7 +4719,7 @@ function peg$parse(input, options) {
|
|
|
5063
4719
|
if (s0 === peg$FAILED) {
|
|
5064
4720
|
s1 = peg$FAILED;
|
|
5065
4721
|
if (peg$silentFails === 0) {
|
|
5066
|
-
peg$fail(peg$
|
|
4722
|
+
peg$fail(peg$e73);
|
|
5067
4723
|
}
|
|
5068
4724
|
}
|
|
5069
4725
|
return s0;
|
|
@@ -5072,12 +4728,12 @@ function peg$parse(input, options) {
|
|
|
5072
4728
|
let s0, s1, s2, s3, s4, s5;
|
|
5073
4729
|
s0 = peg$currPos;
|
|
5074
4730
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
5075
|
-
s1 = peg$
|
|
4731
|
+
s1 = peg$c65;
|
|
5076
4732
|
peg$currPos++;
|
|
5077
4733
|
} else {
|
|
5078
4734
|
s1 = peg$FAILED;
|
|
5079
4735
|
if (peg$silentFails === 0) {
|
|
5080
|
-
peg$fail(peg$
|
|
4736
|
+
peg$fail(peg$e75);
|
|
5081
4737
|
}
|
|
5082
4738
|
}
|
|
5083
4739
|
if (s1 !== peg$FAILED) {
|
|
@@ -5088,17 +4744,17 @@ function peg$parse(input, options) {
|
|
|
5088
4744
|
}
|
|
5089
4745
|
s4 = peg$parse_();
|
|
5090
4746
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
5091
|
-
s5 = peg$
|
|
4747
|
+
s5 = peg$c66;
|
|
5092
4748
|
peg$currPos++;
|
|
5093
4749
|
} else {
|
|
5094
4750
|
s5 = peg$FAILED;
|
|
5095
4751
|
if (peg$silentFails === 0) {
|
|
5096
|
-
peg$fail(peg$
|
|
4752
|
+
peg$fail(peg$e76);
|
|
5097
4753
|
}
|
|
5098
4754
|
}
|
|
5099
4755
|
if (s5 !== peg$FAILED) {
|
|
5100
4756
|
peg$savedPos = s0;
|
|
5101
|
-
s0 = peg$
|
|
4757
|
+
s0 = peg$f80(s3);
|
|
5102
4758
|
} else {
|
|
5103
4759
|
peg$currPos = s0;
|
|
5104
4760
|
s0 = peg$FAILED;
|
|
@@ -5118,12 +4774,12 @@ function peg$parse(input, options) {
|
|
|
5118
4774
|
s3 = peg$currPos;
|
|
5119
4775
|
s4 = peg$parse_();
|
|
5120
4776
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5121
|
-
s5 = peg$
|
|
4777
|
+
s5 = peg$c67;
|
|
5122
4778
|
peg$currPos++;
|
|
5123
4779
|
} else {
|
|
5124
4780
|
s5 = peg$FAILED;
|
|
5125
4781
|
if (peg$silentFails === 0) {
|
|
5126
|
-
peg$fail(peg$
|
|
4782
|
+
peg$fail(peg$e77);
|
|
5127
4783
|
}
|
|
5128
4784
|
}
|
|
5129
4785
|
if (s5 === peg$FAILED) {
|
|
@@ -5143,12 +4799,12 @@ function peg$parse(input, options) {
|
|
|
5143
4799
|
s3 = peg$currPos;
|
|
5144
4800
|
s4 = peg$parse_();
|
|
5145
4801
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5146
|
-
s5 = peg$
|
|
4802
|
+
s5 = peg$c67;
|
|
5147
4803
|
peg$currPos++;
|
|
5148
4804
|
} else {
|
|
5149
4805
|
s5 = peg$FAILED;
|
|
5150
4806
|
if (peg$silentFails === 0) {
|
|
5151
|
-
peg$fail(peg$
|
|
4807
|
+
peg$fail(peg$e77);
|
|
5152
4808
|
}
|
|
5153
4809
|
}
|
|
5154
4810
|
if (s5 === peg$FAILED) {
|
|
@@ -5167,12 +4823,12 @@ function peg$parse(input, options) {
|
|
|
5167
4823
|
s3 = peg$currPos;
|
|
5168
4824
|
s4 = peg$parse_();
|
|
5169
4825
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5170
|
-
s5 = peg$
|
|
4826
|
+
s5 = peg$c67;
|
|
5171
4827
|
peg$currPos++;
|
|
5172
4828
|
} else {
|
|
5173
4829
|
s5 = peg$FAILED;
|
|
5174
4830
|
if (peg$silentFails === 0) {
|
|
5175
|
-
peg$fail(peg$
|
|
4831
|
+
peg$fail(peg$e77);
|
|
5176
4832
|
}
|
|
5177
4833
|
}
|
|
5178
4834
|
if (s5 !== peg$FAILED) {
|
|
@@ -5186,7 +4842,7 @@ function peg$parse(input, options) {
|
|
|
5186
4842
|
s3 = null;
|
|
5187
4843
|
}
|
|
5188
4844
|
peg$savedPos = s0;
|
|
5189
|
-
s0 = peg$
|
|
4845
|
+
s0 = peg$f81(s1, s2);
|
|
5190
4846
|
} else {
|
|
5191
4847
|
peg$currPos = s0;
|
|
5192
4848
|
s0 = peg$FAILED;
|
|
@@ -5240,7 +4896,7 @@ function peg$parse(input, options) {
|
|
|
5240
4896
|
}
|
|
5241
4897
|
if (s5 !== peg$FAILED) {
|
|
5242
4898
|
peg$savedPos = s0;
|
|
5243
|
-
s0 = peg$
|
|
4899
|
+
s0 = peg$f82(s3);
|
|
5244
4900
|
} else {
|
|
5245
4901
|
peg$currPos = s0;
|
|
5246
4902
|
s0 = peg$FAILED;
|
|
@@ -5260,12 +4916,12 @@ function peg$parse(input, options) {
|
|
|
5260
4916
|
s3 = peg$currPos;
|
|
5261
4917
|
s4 = peg$parse_();
|
|
5262
4918
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5263
|
-
s5 = peg$
|
|
4919
|
+
s5 = peg$c67;
|
|
5264
4920
|
peg$currPos++;
|
|
5265
4921
|
} else {
|
|
5266
4922
|
s5 = peg$FAILED;
|
|
5267
4923
|
if (peg$silentFails === 0) {
|
|
5268
|
-
peg$fail(peg$
|
|
4924
|
+
peg$fail(peg$e77);
|
|
5269
4925
|
}
|
|
5270
4926
|
}
|
|
5271
4927
|
if (s5 === peg$FAILED) {
|
|
@@ -5285,12 +4941,12 @@ function peg$parse(input, options) {
|
|
|
5285
4941
|
s3 = peg$currPos;
|
|
5286
4942
|
s4 = peg$parse_();
|
|
5287
4943
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5288
|
-
s5 = peg$
|
|
4944
|
+
s5 = peg$c67;
|
|
5289
4945
|
peg$currPos++;
|
|
5290
4946
|
} else {
|
|
5291
4947
|
s5 = peg$FAILED;
|
|
5292
4948
|
if (peg$silentFails === 0) {
|
|
5293
|
-
peg$fail(peg$
|
|
4949
|
+
peg$fail(peg$e77);
|
|
5294
4950
|
}
|
|
5295
4951
|
}
|
|
5296
4952
|
if (s5 === peg$FAILED) {
|
|
@@ -5307,7 +4963,7 @@ function peg$parse(input, options) {
|
|
|
5307
4963
|
}
|
|
5308
4964
|
}
|
|
5309
4965
|
peg$savedPos = s0;
|
|
5310
|
-
s0 = peg$
|
|
4966
|
+
s0 = peg$f83(s1, s2);
|
|
5311
4967
|
} else {
|
|
5312
4968
|
peg$currPos = s0;
|
|
5313
4969
|
s0 = peg$FAILED;
|
|
@@ -5321,12 +4977,12 @@ function peg$parse(input, options) {
|
|
|
5321
4977
|
if (s1 !== peg$FAILED) {
|
|
5322
4978
|
s2 = peg$parse_();
|
|
5323
4979
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
5324
|
-
s3 = peg$
|
|
4980
|
+
s3 = peg$c46;
|
|
5325
4981
|
peg$currPos++;
|
|
5326
4982
|
} else {
|
|
5327
4983
|
s3 = peg$FAILED;
|
|
5328
4984
|
if (peg$silentFails === 0) {
|
|
5329
|
-
peg$fail(peg$
|
|
4985
|
+
peg$fail(peg$e46);
|
|
5330
4986
|
}
|
|
5331
4987
|
}
|
|
5332
4988
|
if (s3 !== peg$FAILED) {
|
|
@@ -5334,7 +4990,7 @@ function peg$parse(input, options) {
|
|
|
5334
4990
|
s5 = peg$parseAttributeValue();
|
|
5335
4991
|
if (s5 !== peg$FAILED) {
|
|
5336
4992
|
peg$savedPos = s0;
|
|
5337
|
-
s0 = peg$
|
|
4993
|
+
s0 = peg$f84(s1, s5);
|
|
5338
4994
|
} else {
|
|
5339
4995
|
peg$currPos = s0;
|
|
5340
4996
|
s0 = peg$FAILED;
|
|
@@ -5352,7 +5008,7 @@ function peg$parse(input, options) {
|
|
|
5352
5008
|
s1 = peg$parseIdentifier();
|
|
5353
5009
|
if (s1 !== peg$FAILED) {
|
|
5354
5010
|
peg$savedPos = s0;
|
|
5355
|
-
s1 = peg$
|
|
5011
|
+
s1 = peg$f85(s1);
|
|
5356
5012
|
}
|
|
5357
5013
|
s0 = s1;
|
|
5358
5014
|
}
|
|
@@ -5385,7 +5041,7 @@ function peg$parse(input, options) {
|
|
|
5385
5041
|
} else {
|
|
5386
5042
|
s1 = peg$FAILED;
|
|
5387
5043
|
if (peg$silentFails === 0) {
|
|
5388
|
-
peg$fail(peg$
|
|
5044
|
+
peg$fail(peg$e78);
|
|
5389
5045
|
}
|
|
5390
5046
|
}
|
|
5391
5047
|
if (s1 !== peg$FAILED) {
|
|
@@ -5397,7 +5053,7 @@ function peg$parse(input, options) {
|
|
|
5397
5053
|
} else {
|
|
5398
5054
|
s1 = peg$FAILED;
|
|
5399
5055
|
if (peg$silentFails === 0) {
|
|
5400
|
-
peg$fail(peg$
|
|
5056
|
+
peg$fail(peg$e78);
|
|
5401
5057
|
}
|
|
5402
5058
|
}
|
|
5403
5059
|
}
|
|
@@ -5417,7 +5073,7 @@ function peg$parse(input, options) {
|
|
|
5417
5073
|
if (s0 === peg$FAILED) {
|
|
5418
5074
|
s1 = peg$FAILED;
|
|
5419
5075
|
if (peg$silentFails === 0) {
|
|
5420
|
-
peg$fail(peg$
|
|
5076
|
+
peg$fail(peg$e79);
|
|
5421
5077
|
}
|
|
5422
5078
|
}
|
|
5423
5079
|
return s0;
|
|
@@ -5425,13 +5081,13 @@ function peg$parse(input, options) {
|
|
|
5425
5081
|
function peg$parseLineComment() {
|
|
5426
5082
|
let s0, s1, s2, s3, s4;
|
|
5427
5083
|
s0 = peg$currPos;
|
|
5428
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5429
|
-
s1 = peg$
|
|
5084
|
+
if (input.substr(peg$currPos, 2) === peg$c47) {
|
|
5085
|
+
s1 = peg$c47;
|
|
5430
5086
|
peg$currPos += 2;
|
|
5431
5087
|
} else {
|
|
5432
5088
|
s1 = peg$FAILED;
|
|
5433
5089
|
if (peg$silentFails === 0) {
|
|
5434
|
-
peg$fail(peg$
|
|
5090
|
+
peg$fail(peg$e48);
|
|
5435
5091
|
}
|
|
5436
5092
|
}
|
|
5437
5093
|
if (s1 !== peg$FAILED) {
|
|
@@ -5442,7 +5098,7 @@ function peg$parse(input, options) {
|
|
|
5442
5098
|
} else {
|
|
5443
5099
|
s3 = peg$FAILED;
|
|
5444
5100
|
if (peg$silentFails === 0) {
|
|
5445
|
-
peg$fail(peg$
|
|
5101
|
+
peg$fail(peg$e80);
|
|
5446
5102
|
}
|
|
5447
5103
|
}
|
|
5448
5104
|
while (s3 !== peg$FAILED) {
|
|
@@ -5453,17 +5109,17 @@ function peg$parse(input, options) {
|
|
|
5453
5109
|
} else {
|
|
5454
5110
|
s3 = peg$FAILED;
|
|
5455
5111
|
if (peg$silentFails === 0) {
|
|
5456
|
-
peg$fail(peg$
|
|
5112
|
+
peg$fail(peg$e80);
|
|
5457
5113
|
}
|
|
5458
5114
|
}
|
|
5459
5115
|
}
|
|
5460
5116
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
5461
|
-
s3 = peg$
|
|
5117
|
+
s3 = peg$c68;
|
|
5462
5118
|
peg$currPos++;
|
|
5463
5119
|
} else {
|
|
5464
5120
|
s3 = peg$FAILED;
|
|
5465
5121
|
if (peg$silentFails === 0) {
|
|
5466
|
-
peg$fail(peg$
|
|
5122
|
+
peg$fail(peg$e81);
|
|
5467
5123
|
}
|
|
5468
5124
|
}
|
|
5469
5125
|
if (s3 === peg$FAILED) {
|
|
@@ -5475,7 +5131,7 @@ function peg$parse(input, options) {
|
|
|
5475
5131
|
} else {
|
|
5476
5132
|
s4 = peg$FAILED;
|
|
5477
5133
|
if (peg$silentFails === 0) {
|
|
5478
|
-
peg$fail(peg$
|
|
5134
|
+
peg$fail(peg$e50);
|
|
5479
5135
|
}
|
|
5480
5136
|
}
|
|
5481
5137
|
peg$silentFails--;
|
|
@@ -5502,13 +5158,13 @@ function peg$parse(input, options) {
|
|
|
5502
5158
|
function peg$parseBlockComment() {
|
|
5503
5159
|
let s0, s1, s2, s3, s4, s5;
|
|
5504
5160
|
s0 = peg$currPos;
|
|
5505
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5506
|
-
s1 = peg$
|
|
5161
|
+
if (input.substr(peg$currPos, 2) === peg$c48) {
|
|
5162
|
+
s1 = peg$c48;
|
|
5507
5163
|
peg$currPos += 2;
|
|
5508
5164
|
} else {
|
|
5509
5165
|
s1 = peg$FAILED;
|
|
5510
5166
|
if (peg$silentFails === 0) {
|
|
5511
|
-
peg$fail(peg$
|
|
5167
|
+
peg$fail(peg$e49);
|
|
5512
5168
|
}
|
|
5513
5169
|
}
|
|
5514
5170
|
if (s1 !== peg$FAILED) {
|
|
@@ -5516,13 +5172,13 @@ function peg$parse(input, options) {
|
|
|
5516
5172
|
s3 = peg$currPos;
|
|
5517
5173
|
s4 = peg$currPos;
|
|
5518
5174
|
peg$silentFails++;
|
|
5519
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5520
|
-
s5 = peg$
|
|
5175
|
+
if (input.substr(peg$currPos, 2) === peg$c69) {
|
|
5176
|
+
s5 = peg$c69;
|
|
5521
5177
|
peg$currPos += 2;
|
|
5522
5178
|
} else {
|
|
5523
5179
|
s5 = peg$FAILED;
|
|
5524
5180
|
if (peg$silentFails === 0) {
|
|
5525
|
-
peg$fail(peg$
|
|
5181
|
+
peg$fail(peg$e82);
|
|
5526
5182
|
}
|
|
5527
5183
|
}
|
|
5528
5184
|
peg$silentFails--;
|
|
@@ -5539,7 +5195,7 @@ function peg$parse(input, options) {
|
|
|
5539
5195
|
} else {
|
|
5540
5196
|
s5 = peg$FAILED;
|
|
5541
5197
|
if (peg$silentFails === 0) {
|
|
5542
|
-
peg$fail(peg$
|
|
5198
|
+
peg$fail(peg$e50);
|
|
5543
5199
|
}
|
|
5544
5200
|
}
|
|
5545
5201
|
if (s5 !== peg$FAILED) {
|
|
@@ -5558,13 +5214,13 @@ function peg$parse(input, options) {
|
|
|
5558
5214
|
s3 = peg$currPos;
|
|
5559
5215
|
s4 = peg$currPos;
|
|
5560
5216
|
peg$silentFails++;
|
|
5561
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5562
|
-
s5 = peg$
|
|
5217
|
+
if (input.substr(peg$currPos, 2) === peg$c69) {
|
|
5218
|
+
s5 = peg$c69;
|
|
5563
5219
|
peg$currPos += 2;
|
|
5564
5220
|
} else {
|
|
5565
5221
|
s5 = peg$FAILED;
|
|
5566
5222
|
if (peg$silentFails === 0) {
|
|
5567
|
-
peg$fail(peg$
|
|
5223
|
+
peg$fail(peg$e82);
|
|
5568
5224
|
}
|
|
5569
5225
|
}
|
|
5570
5226
|
peg$silentFails--;
|
|
@@ -5581,7 +5237,7 @@ function peg$parse(input, options) {
|
|
|
5581
5237
|
} else {
|
|
5582
5238
|
s5 = peg$FAILED;
|
|
5583
5239
|
if (peg$silentFails === 0) {
|
|
5584
|
-
peg$fail(peg$
|
|
5240
|
+
peg$fail(peg$e50);
|
|
5585
5241
|
}
|
|
5586
5242
|
}
|
|
5587
5243
|
if (s5 !== peg$FAILED) {
|
|
@@ -5596,13 +5252,13 @@ function peg$parse(input, options) {
|
|
|
5596
5252
|
s3 = peg$FAILED;
|
|
5597
5253
|
}
|
|
5598
5254
|
}
|
|
5599
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5600
|
-
s3 = peg$
|
|
5255
|
+
if (input.substr(peg$currPos, 2) === peg$c69) {
|
|
5256
|
+
s3 = peg$c69;
|
|
5601
5257
|
peg$currPos += 2;
|
|
5602
5258
|
} else {
|
|
5603
5259
|
s3 = peg$FAILED;
|
|
5604
5260
|
if (peg$silentFails === 0) {
|
|
5605
|
-
peg$fail(peg$
|
|
5261
|
+
peg$fail(peg$e82);
|
|
5606
5262
|
}
|
|
5607
5263
|
}
|
|
5608
5264
|
if (s3 !== peg$FAILED) {
|