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