@wireweave/core 2.8.0 → 3.0.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 +534 -299
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +530 -299
- package/dist/parser.cjs +409 -284
- package/dist/parser.d.cts +1 -1
- package/dist/parser.d.ts +1 -1
- package/dist/parser.js +409 -284
- package/dist/renderer.cjs +127 -17
- package/dist/renderer.d.cts +120 -7
- package/dist/renderer.d.ts +120 -7
- package/dist/renderer.js +122 -16
- package/dist/{types-CQDDIeyC.d.cts → types-hEr_afgw.d.cts} +23 -0
- package/dist/{types-CQDDIeyC.d.ts → types-hEr_afgw.d.ts} +23 -0
- package/package.json +1 -1
package/dist/parser.js
CHANGED
|
@@ -161,27 +161,30 @@ function peg$parse(input, options) {
|
|
|
161
161
|
const peg$c51 = "breadcrumb";
|
|
162
162
|
const peg$c52 = "marker";
|
|
163
163
|
const peg$c53 = "annotations";
|
|
164
|
-
const peg$c54 = "
|
|
165
|
-
const peg$c55 = "
|
|
166
|
-
const peg$c56 = "
|
|
167
|
-
const peg$c57 =
|
|
168
|
-
const peg$c58 = "
|
|
169
|
-
const peg$c59 = "
|
|
170
|
-
const peg$c60 = "
|
|
171
|
-
const peg$c61 = "
|
|
172
|
-
const peg$c62 = "
|
|
173
|
-
const peg$c63 = "
|
|
174
|
-
const peg$c64 = "
|
|
175
|
-
const peg$c65 = "
|
|
176
|
-
const peg$c66 = "
|
|
177
|
-
const peg$c67 = "
|
|
178
|
-
const peg$c68 = "
|
|
179
|
-
const peg$c69 = "
|
|
180
|
-
const peg$c70 = "
|
|
181
|
-
const peg$c71 = "
|
|
182
|
-
const peg$c72 = "
|
|
183
|
-
const peg$c73 = "
|
|
184
|
-
const peg$c74 = "
|
|
164
|
+
const peg$c54 = "at";
|
|
165
|
+
const peg$c55 = "(";
|
|
166
|
+
const peg$c56 = ")";
|
|
167
|
+
const peg$c57 = "=";
|
|
168
|
+
const peg$c58 = "//";
|
|
169
|
+
const peg$c59 = "/*";
|
|
170
|
+
const peg$c60 = '"';
|
|
171
|
+
const peg$c61 = "'";
|
|
172
|
+
const peg$c62 = "\\";
|
|
173
|
+
const peg$c63 = "n";
|
|
174
|
+
const peg$c64 = "r";
|
|
175
|
+
const peg$c65 = "t";
|
|
176
|
+
const peg$c66 = "-";
|
|
177
|
+
const peg$c67 = ".";
|
|
178
|
+
const peg$c68 = "px";
|
|
179
|
+
const peg$c69 = "%";
|
|
180
|
+
const peg$c70 = "em";
|
|
181
|
+
const peg$c71 = "rem";
|
|
182
|
+
const peg$c72 = "vh";
|
|
183
|
+
const peg$c73 = "vw";
|
|
184
|
+
const peg$c74 = "true";
|
|
185
|
+
const peg$c75 = "false";
|
|
186
|
+
const peg$c76 = "\n";
|
|
187
|
+
const peg$c77 = "*/";
|
|
185
188
|
const peg$r0 = /^[0-9]/;
|
|
186
189
|
const peg$r1 = /^[=[{}]/;
|
|
187
190
|
const peg$r2 = /^[a-zA-Z0-9_\-]/;
|
|
@@ -244,41 +247,46 @@ function peg$parse(input, options) {
|
|
|
244
247
|
const peg$e53 = peg$literalExpectation("annotations", false);
|
|
245
248
|
const peg$e54 = peg$otherExpectation("integer");
|
|
246
249
|
const peg$e55 = peg$classExpectation([["0", "9"]], false, false, false);
|
|
247
|
-
const peg$e56 = peg$literalExpectation("
|
|
248
|
-
const peg$e57 = peg$
|
|
249
|
-
const peg$e58 = peg$literalExpectation("
|
|
250
|
-
const peg$e59 = peg$literalExpectation("
|
|
251
|
-
const peg$e60 = peg$
|
|
252
|
-
const peg$e61 = peg$
|
|
253
|
-
const peg$e62 = peg$
|
|
254
|
-
const peg$e63 = peg$
|
|
255
|
-
const peg$e64 = peg$
|
|
256
|
-
const peg$e65 = peg$
|
|
257
|
-
const peg$e66 = peg$literalExpectation("
|
|
258
|
-
const peg$e67 = peg$literalExpectation("
|
|
259
|
-
const peg$e68 = peg$literalExpectation("
|
|
260
|
-
const peg$e69 = peg$
|
|
261
|
-
const peg$e70 = peg$literalExpectation("
|
|
262
|
-
const peg$e71 = peg$literalExpectation("
|
|
263
|
-
const peg$e72 = peg$otherExpectation("
|
|
264
|
-
const peg$e73 = peg$literalExpectation("
|
|
265
|
-
const peg$e74 = peg$literalExpectation("
|
|
266
|
-
const peg$e75 = peg$
|
|
267
|
-
const peg$e76 = peg$literalExpectation("
|
|
268
|
-
const peg$e77 = peg$literalExpectation("
|
|
269
|
-
const peg$e78 = peg$literalExpectation("
|
|
270
|
-
const peg$e79 = peg$
|
|
271
|
-
const peg$e80 = peg$literalExpectation("
|
|
272
|
-
const peg$e81 = peg$literalExpectation("
|
|
273
|
-
const peg$e82 = peg$otherExpectation("
|
|
274
|
-
const peg$e83 = peg$
|
|
275
|
-
const peg$e84 = peg$
|
|
276
|
-
const peg$e85 = peg$otherExpectation("
|
|
277
|
-
const peg$e86 = peg$classExpectation(["
|
|
278
|
-
const peg$e87 = peg$
|
|
279
|
-
const peg$e88 = peg$
|
|
250
|
+
const peg$e56 = peg$literalExpectation("at", false);
|
|
251
|
+
const peg$e57 = peg$literalExpectation("(", false);
|
|
252
|
+
const peg$e58 = peg$literalExpectation(")", false);
|
|
253
|
+
const peg$e59 = peg$literalExpectation("=", false);
|
|
254
|
+
const peg$e60 = peg$classExpectation(["=", "[", "{", "}"], false, false, false);
|
|
255
|
+
const peg$e61 = peg$literalExpectation("//", false);
|
|
256
|
+
const peg$e62 = peg$literalExpectation("/*", false);
|
|
257
|
+
const peg$e63 = peg$anyExpectation();
|
|
258
|
+
const peg$e64 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", "-"], false, false, false);
|
|
259
|
+
const peg$e65 = peg$otherExpectation("string");
|
|
260
|
+
const peg$e66 = peg$literalExpectation('"', false);
|
|
261
|
+
const peg$e67 = peg$literalExpectation("'", false);
|
|
262
|
+
const peg$e68 = peg$literalExpectation("\\", false);
|
|
263
|
+
const peg$e69 = peg$literalExpectation("n", false);
|
|
264
|
+
const peg$e70 = peg$literalExpectation("r", false);
|
|
265
|
+
const peg$e71 = peg$literalExpectation("t", false);
|
|
266
|
+
const peg$e72 = peg$otherExpectation("number");
|
|
267
|
+
const peg$e73 = peg$literalExpectation("-", false);
|
|
268
|
+
const peg$e74 = peg$literalExpectation(".", false);
|
|
269
|
+
const peg$e75 = peg$otherExpectation("value with unit");
|
|
270
|
+
const peg$e76 = peg$literalExpectation("px", false);
|
|
271
|
+
const peg$e77 = peg$literalExpectation("%", false);
|
|
272
|
+
const peg$e78 = peg$literalExpectation("em", false);
|
|
273
|
+
const peg$e79 = peg$literalExpectation("rem", false);
|
|
274
|
+
const peg$e80 = peg$literalExpectation("vh", false);
|
|
275
|
+
const peg$e81 = peg$literalExpectation("vw", false);
|
|
276
|
+
const peg$e82 = peg$otherExpectation("boolean");
|
|
277
|
+
const peg$e83 = peg$literalExpectation("true", false);
|
|
278
|
+
const peg$e84 = peg$literalExpectation("false", false);
|
|
279
|
+
const peg$e85 = peg$otherExpectation("identifier");
|
|
280
|
+
const peg$e86 = peg$classExpectation([["a", "z"], ["A", "Z"], "_"], false, false, false);
|
|
281
|
+
const peg$e87 = peg$classExpectation([" ", " ", "\n", "\r"], false, false, false);
|
|
282
|
+
const peg$e88 = peg$otherExpectation("comment");
|
|
283
|
+
const peg$e89 = peg$classExpectation(["\n"], true, false, false);
|
|
284
|
+
const peg$e90 = peg$literalExpectation("\n", false);
|
|
285
|
+
const peg$e91 = peg$literalExpectation("*/", false);
|
|
280
286
|
function peg$f0(children) {
|
|
281
|
-
return createNode("Document", {
|
|
287
|
+
return createNode("Document", {
|
|
288
|
+
children: children.map((c) => c[0]).filter((c) => c !== null)
|
|
289
|
+
});
|
|
282
290
|
}
|
|
283
291
|
function peg$f1() {
|
|
284
292
|
return null;
|
|
@@ -714,75 +722,81 @@ function peg$parse(input, options) {
|
|
|
714
722
|
function peg$f78(attrs) {
|
|
715
723
|
return attrs;
|
|
716
724
|
}
|
|
717
|
-
function peg$f79(
|
|
725
|
+
function peg$f79(x, y) {
|
|
726
|
+
return [
|
|
727
|
+
{ name: "x", value: x },
|
|
728
|
+
{ name: "y", value: y }
|
|
729
|
+
];
|
|
730
|
+
}
|
|
731
|
+
function peg$f80(name, value) {
|
|
718
732
|
return { name, value };
|
|
719
733
|
}
|
|
720
|
-
function peg$
|
|
734
|
+
function peg$f81(flag) {
|
|
721
735
|
return { name: flag, value: true };
|
|
722
736
|
}
|
|
723
|
-
function peg$
|
|
737
|
+
function peg$f82(name) {
|
|
724
738
|
return name;
|
|
725
739
|
}
|
|
726
|
-
function peg$
|
|
740
|
+
function peg$f83(chars) {
|
|
727
741
|
return chars.join("");
|
|
728
742
|
}
|
|
729
|
-
function peg$
|
|
743
|
+
function peg$f84(chars) {
|
|
730
744
|
return chars.join("");
|
|
731
745
|
}
|
|
732
|
-
function peg$
|
|
746
|
+
function peg$f85(char) {
|
|
733
747
|
return char;
|
|
734
748
|
}
|
|
735
|
-
function peg$
|
|
749
|
+
function peg$f86(seq) {
|
|
736
750
|
return seq;
|
|
737
751
|
}
|
|
738
|
-
function peg$
|
|
752
|
+
function peg$f87(char) {
|
|
739
753
|
return char;
|
|
740
754
|
}
|
|
741
|
-
function peg$
|
|
755
|
+
function peg$f88(seq) {
|
|
742
756
|
return seq;
|
|
743
757
|
}
|
|
744
|
-
function peg$
|
|
758
|
+
function peg$f89() {
|
|
745
759
|
return "\n";
|
|
746
760
|
}
|
|
747
|
-
function peg$
|
|
761
|
+
function peg$f90() {
|
|
748
762
|
return "\r";
|
|
749
763
|
}
|
|
750
|
-
function peg$
|
|
764
|
+
function peg$f91() {
|
|
751
765
|
return " ";
|
|
752
766
|
}
|
|
753
|
-
function peg$
|
|
767
|
+
function peg$f92() {
|
|
754
768
|
return "\\";
|
|
755
769
|
}
|
|
756
|
-
function peg$
|
|
770
|
+
function peg$f93() {
|
|
757
771
|
return '"';
|
|
758
772
|
}
|
|
759
|
-
function peg$
|
|
773
|
+
function peg$f94() {
|
|
760
774
|
return "'";
|
|
761
775
|
}
|
|
762
|
-
function peg$
|
|
776
|
+
function peg$f95(sign, digits, decimal) {
|
|
763
777
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
764
778
|
return parseFloat(num);
|
|
765
779
|
}
|
|
766
|
-
function peg$
|
|
780
|
+
function peg$f96(sign, digits, decimal, unit) {
|
|
767
781
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
768
782
|
return { value: parseFloat(num), unit };
|
|
769
783
|
}
|
|
770
|
-
function peg$
|
|
784
|
+
function peg$f97() {
|
|
771
785
|
return true;
|
|
772
786
|
}
|
|
773
|
-
function peg$
|
|
787
|
+
function peg$f98() {
|
|
774
788
|
return false;
|
|
775
789
|
}
|
|
776
|
-
function peg$
|
|
790
|
+
function peg$f99(head, tail) {
|
|
777
791
|
return head + tail.join("");
|
|
778
792
|
}
|
|
779
|
-
function peg$
|
|
793
|
+
function peg$f100(items) {
|
|
780
794
|
return items || [];
|
|
781
795
|
}
|
|
782
|
-
function peg$
|
|
796
|
+
function peg$f101(head, tail) {
|
|
783
797
|
return [head, ...tail.map((t) => t[3])];
|
|
784
798
|
}
|
|
785
|
-
function peg$
|
|
799
|
+
function peg$f102(props) {
|
|
786
800
|
const result = {};
|
|
787
801
|
if (props) {
|
|
788
802
|
for (const p of props) {
|
|
@@ -791,13 +805,13 @@ function peg$parse(input, options) {
|
|
|
791
805
|
}
|
|
792
806
|
return result;
|
|
793
807
|
}
|
|
794
|
-
function peg$
|
|
808
|
+
function peg$f103(head, tail) {
|
|
795
809
|
return [head, ...tail.map((t) => t[3])];
|
|
796
810
|
}
|
|
797
|
-
function peg$
|
|
811
|
+
function peg$f104(name, value) {
|
|
798
812
|
return { name, value };
|
|
799
813
|
}
|
|
800
|
-
function peg$
|
|
814
|
+
function peg$f105(name) {
|
|
801
815
|
return { name, value: true };
|
|
802
816
|
}
|
|
803
817
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -938,16 +952,33 @@ function peg$parse(input, options) {
|
|
|
938
952
|
);
|
|
939
953
|
}
|
|
940
954
|
function peg$parseDocument() {
|
|
941
|
-
let s0, s1, s2, s3;
|
|
955
|
+
let s0, s1, s2, s3, s4, s5;
|
|
942
956
|
s0 = peg$currPos;
|
|
943
957
|
s1 = peg$parse_();
|
|
944
958
|
s2 = [];
|
|
945
|
-
s3 = peg$
|
|
959
|
+
s3 = peg$currPos;
|
|
960
|
+
s4 = peg$parseTopLevelElement();
|
|
961
|
+
if (s4 !== peg$FAILED) {
|
|
962
|
+
s5 = peg$parse_();
|
|
963
|
+
s4 = [s4, s5];
|
|
964
|
+
s3 = s4;
|
|
965
|
+
} else {
|
|
966
|
+
peg$currPos = s3;
|
|
967
|
+
s3 = peg$FAILED;
|
|
968
|
+
}
|
|
946
969
|
while (s3 !== peg$FAILED) {
|
|
947
970
|
s2.push(s3);
|
|
948
|
-
s3 = peg$
|
|
971
|
+
s3 = peg$currPos;
|
|
972
|
+
s4 = peg$parseTopLevelElement();
|
|
973
|
+
if (s4 !== peg$FAILED) {
|
|
974
|
+
s5 = peg$parse_();
|
|
975
|
+
s4 = [s4, s5];
|
|
976
|
+
s3 = s4;
|
|
977
|
+
} else {
|
|
978
|
+
peg$currPos = s3;
|
|
979
|
+
s3 = peg$FAILED;
|
|
980
|
+
}
|
|
949
981
|
}
|
|
950
|
-
s3 = peg$parse_();
|
|
951
982
|
peg$savedPos = s0;
|
|
952
983
|
s0 = peg$f0(s2);
|
|
953
984
|
return s0;
|
|
@@ -4293,27 +4324,87 @@ function peg$parse(input, options) {
|
|
|
4293
4324
|
return s0;
|
|
4294
4325
|
}
|
|
4295
4326
|
function peg$parseAttribute() {
|
|
4296
|
-
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
4327
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13;
|
|
4297
4328
|
s0 = peg$currPos;
|
|
4298
4329
|
s1 = peg$parse_();
|
|
4299
|
-
|
|
4330
|
+
if (input.substr(peg$currPos, 2) === peg$c54) {
|
|
4331
|
+
s2 = peg$c54;
|
|
4332
|
+
peg$currPos += 2;
|
|
4333
|
+
} else {
|
|
4334
|
+
s2 = peg$FAILED;
|
|
4335
|
+
if (peg$silentFails === 0) {
|
|
4336
|
+
peg$fail(peg$e56);
|
|
4337
|
+
}
|
|
4338
|
+
}
|
|
4300
4339
|
if (s2 !== peg$FAILED) {
|
|
4301
|
-
s3 = peg$
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4340
|
+
s3 = peg$currPos;
|
|
4341
|
+
peg$silentFails++;
|
|
4342
|
+
s4 = peg$parseIdentifierChar();
|
|
4343
|
+
peg$silentFails--;
|
|
4344
|
+
if (s4 === peg$FAILED) {
|
|
4345
|
+
s3 = void 0;
|
|
4305
4346
|
} else {
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
peg$fail(peg$e56);
|
|
4309
|
-
}
|
|
4347
|
+
peg$currPos = s3;
|
|
4348
|
+
s3 = peg$FAILED;
|
|
4310
4349
|
}
|
|
4311
|
-
if (
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
peg$
|
|
4316
|
-
|
|
4350
|
+
if (s3 !== peg$FAILED) {
|
|
4351
|
+
s4 = peg$parse_();
|
|
4352
|
+
if (input.charCodeAt(peg$currPos) === 40) {
|
|
4353
|
+
s5 = peg$c55;
|
|
4354
|
+
peg$currPos++;
|
|
4355
|
+
} else {
|
|
4356
|
+
s5 = peg$FAILED;
|
|
4357
|
+
if (peg$silentFails === 0) {
|
|
4358
|
+
peg$fail(peg$e57);
|
|
4359
|
+
}
|
|
4360
|
+
}
|
|
4361
|
+
if (s5 !== peg$FAILED) {
|
|
4362
|
+
s6 = peg$parse_();
|
|
4363
|
+
s7 = peg$parseNumber();
|
|
4364
|
+
if (s7 !== peg$FAILED) {
|
|
4365
|
+
s8 = peg$parse_();
|
|
4366
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4367
|
+
s9 = peg$c34;
|
|
4368
|
+
peg$currPos++;
|
|
4369
|
+
} else {
|
|
4370
|
+
s9 = peg$FAILED;
|
|
4371
|
+
if (peg$silentFails === 0) {
|
|
4372
|
+
peg$fail(peg$e34);
|
|
4373
|
+
}
|
|
4374
|
+
}
|
|
4375
|
+
if (s9 !== peg$FAILED) {
|
|
4376
|
+
s10 = peg$parse_();
|
|
4377
|
+
s11 = peg$parseNumber();
|
|
4378
|
+
if (s11 !== peg$FAILED) {
|
|
4379
|
+
s12 = peg$parse_();
|
|
4380
|
+
if (input.charCodeAt(peg$currPos) === 41) {
|
|
4381
|
+
s13 = peg$c56;
|
|
4382
|
+
peg$currPos++;
|
|
4383
|
+
} else {
|
|
4384
|
+
s13 = peg$FAILED;
|
|
4385
|
+
if (peg$silentFails === 0) {
|
|
4386
|
+
peg$fail(peg$e58);
|
|
4387
|
+
}
|
|
4388
|
+
}
|
|
4389
|
+
if (s13 !== peg$FAILED) {
|
|
4390
|
+
peg$savedPos = s0;
|
|
4391
|
+
s0 = peg$f79(s7, s11);
|
|
4392
|
+
} else {
|
|
4393
|
+
peg$currPos = s0;
|
|
4394
|
+
s0 = peg$FAILED;
|
|
4395
|
+
}
|
|
4396
|
+
} else {
|
|
4397
|
+
peg$currPos = s0;
|
|
4398
|
+
s0 = peg$FAILED;
|
|
4399
|
+
}
|
|
4400
|
+
} else {
|
|
4401
|
+
peg$currPos = s0;
|
|
4402
|
+
s0 = peg$FAILED;
|
|
4403
|
+
}
|
|
4404
|
+
} else {
|
|
4405
|
+
peg$currPos = s0;
|
|
4406
|
+
s0 = peg$FAILED;
|
|
4407
|
+
}
|
|
4317
4408
|
} else {
|
|
4318
4409
|
peg$currPos = s0;
|
|
4319
4410
|
s0 = peg$FAILED;
|
|
@@ -4331,91 +4422,125 @@ function peg$parse(input, options) {
|
|
|
4331
4422
|
s1 = peg$parse_();
|
|
4332
4423
|
s2 = peg$parseAttributeName();
|
|
4333
4424
|
if (s2 !== peg$FAILED) {
|
|
4334
|
-
s3 = peg$
|
|
4335
|
-
peg$
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4425
|
+
s3 = peg$parse_();
|
|
4426
|
+
if (input.charCodeAt(peg$currPos) === 61) {
|
|
4427
|
+
s4 = peg$c57;
|
|
4428
|
+
peg$currPos++;
|
|
4429
|
+
} else {
|
|
4430
|
+
s4 = peg$FAILED;
|
|
4431
|
+
if (peg$silentFails === 0) {
|
|
4432
|
+
peg$fail(peg$e59);
|
|
4433
|
+
}
|
|
4434
|
+
}
|
|
4435
|
+
if (s4 !== peg$FAILED) {
|
|
4436
|
+
s5 = peg$parse_();
|
|
4437
|
+
s6 = peg$parseAttributeValue();
|
|
4438
|
+
if (s6 !== peg$FAILED) {
|
|
4439
|
+
peg$savedPos = s0;
|
|
4440
|
+
s0 = peg$f80(s2, s6);
|
|
4441
|
+
} else {
|
|
4442
|
+
peg$currPos = s0;
|
|
4443
|
+
s0 = peg$FAILED;
|
|
4444
|
+
}
|
|
4445
|
+
} else {
|
|
4446
|
+
peg$currPos = s0;
|
|
4447
|
+
s0 = peg$FAILED;
|
|
4448
|
+
}
|
|
4449
|
+
} else {
|
|
4450
|
+
peg$currPos = s0;
|
|
4451
|
+
s0 = peg$FAILED;
|
|
4452
|
+
}
|
|
4453
|
+
if (s0 === peg$FAILED) {
|
|
4454
|
+
s0 = peg$currPos;
|
|
4455
|
+
s1 = peg$parse_();
|
|
4456
|
+
s2 = peg$parseAttributeName();
|
|
4457
|
+
if (s2 !== peg$FAILED) {
|
|
4458
|
+
s3 = peg$currPos;
|
|
4459
|
+
peg$silentFails++;
|
|
4460
|
+
s4 = peg$currPos;
|
|
4461
|
+
s5 = peg$parse_();
|
|
4462
|
+
s6 = peg$parseChildKeyword();
|
|
4341
4463
|
if (s6 === peg$FAILED) {
|
|
4342
|
-
s6 =
|
|
4343
|
-
if (peg$r1.test(s6)) {
|
|
4344
|
-
peg$currPos++;
|
|
4345
|
-
} else {
|
|
4346
|
-
s6 = peg$FAILED;
|
|
4347
|
-
if (peg$silentFails === 0) {
|
|
4348
|
-
peg$fail(peg$e57);
|
|
4349
|
-
}
|
|
4350
|
-
}
|
|
4464
|
+
s6 = peg$parseAttributeName();
|
|
4351
4465
|
if (s6 === peg$FAILED) {
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
peg$currPos
|
|
4466
|
+
s6 = input.charAt(peg$currPos);
|
|
4467
|
+
if (peg$r1.test(s6)) {
|
|
4468
|
+
peg$currPos++;
|
|
4355
4469
|
} else {
|
|
4356
4470
|
s6 = peg$FAILED;
|
|
4357
4471
|
if (peg$silentFails === 0) {
|
|
4358
|
-
peg$fail(peg$
|
|
4472
|
+
peg$fail(peg$e60);
|
|
4359
4473
|
}
|
|
4360
4474
|
}
|
|
4361
4475
|
if (s6 === peg$FAILED) {
|
|
4362
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4363
|
-
s6 = peg$
|
|
4476
|
+
if (input.substr(peg$currPos, 2) === peg$c58) {
|
|
4477
|
+
s6 = peg$c58;
|
|
4364
4478
|
peg$currPos += 2;
|
|
4365
4479
|
} else {
|
|
4366
4480
|
s6 = peg$FAILED;
|
|
4367
4481
|
if (peg$silentFails === 0) {
|
|
4368
|
-
peg$fail(peg$
|
|
4482
|
+
peg$fail(peg$e61);
|
|
4369
4483
|
}
|
|
4370
4484
|
}
|
|
4371
4485
|
if (s6 === peg$FAILED) {
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
s7 = input.charAt(peg$currPos);
|
|
4376
|
-
peg$currPos++;
|
|
4486
|
+
if (input.substr(peg$currPos, 2) === peg$c59) {
|
|
4487
|
+
s6 = peg$c59;
|
|
4488
|
+
peg$currPos += 2;
|
|
4377
4489
|
} else {
|
|
4378
|
-
|
|
4490
|
+
s6 = peg$FAILED;
|
|
4379
4491
|
if (peg$silentFails === 0) {
|
|
4380
|
-
peg$fail(peg$
|
|
4492
|
+
peg$fail(peg$e62);
|
|
4381
4493
|
}
|
|
4382
4494
|
}
|
|
4383
|
-
peg$
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4495
|
+
if (s6 === peg$FAILED) {
|
|
4496
|
+
s6 = peg$currPos;
|
|
4497
|
+
peg$silentFails++;
|
|
4498
|
+
if (input.length > peg$currPos) {
|
|
4499
|
+
s7 = input.charAt(peg$currPos);
|
|
4500
|
+
peg$currPos++;
|
|
4501
|
+
} else {
|
|
4502
|
+
s7 = peg$FAILED;
|
|
4503
|
+
if (peg$silentFails === 0) {
|
|
4504
|
+
peg$fail(peg$e63);
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
peg$silentFails--;
|
|
4508
|
+
if (s7 === peg$FAILED) {
|
|
4509
|
+
s6 = void 0;
|
|
4510
|
+
} else {
|
|
4511
|
+
peg$currPos = s6;
|
|
4512
|
+
s6 = peg$FAILED;
|
|
4513
|
+
}
|
|
4389
4514
|
}
|
|
4390
4515
|
}
|
|
4391
4516
|
}
|
|
4392
4517
|
}
|
|
4393
4518
|
}
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4519
|
+
if (s6 !== peg$FAILED) {
|
|
4520
|
+
s5 = [s5, s6];
|
|
4521
|
+
s4 = s5;
|
|
4522
|
+
} else {
|
|
4523
|
+
peg$currPos = s4;
|
|
4524
|
+
s4 = peg$FAILED;
|
|
4525
|
+
}
|
|
4526
|
+
peg$silentFails--;
|
|
4527
|
+
if (s4 !== peg$FAILED) {
|
|
4528
|
+
peg$currPos = s3;
|
|
4529
|
+
s3 = void 0;
|
|
4530
|
+
} else {
|
|
4531
|
+
s3 = peg$FAILED;
|
|
4532
|
+
}
|
|
4533
|
+
if (s3 !== peg$FAILED) {
|
|
4534
|
+
peg$savedPos = s0;
|
|
4535
|
+
s0 = peg$f81(s2);
|
|
4536
|
+
} else {
|
|
4537
|
+
peg$currPos = s0;
|
|
4538
|
+
s0 = peg$FAILED;
|
|
4539
|
+
}
|
|
4412
4540
|
} else {
|
|
4413
4541
|
peg$currPos = s0;
|
|
4414
4542
|
s0 = peg$FAILED;
|
|
4415
4543
|
}
|
|
4416
|
-
} else {
|
|
4417
|
-
peg$currPos = s0;
|
|
4418
|
-
s0 = peg$FAILED;
|
|
4419
4544
|
}
|
|
4420
4545
|
}
|
|
4421
4546
|
return s0;
|
|
@@ -4437,7 +4562,7 @@ function peg$parse(input, options) {
|
|
|
4437
4562
|
s2 = peg$parseIdentifier();
|
|
4438
4563
|
if (s2 !== peg$FAILED) {
|
|
4439
4564
|
peg$savedPos = s0;
|
|
4440
|
-
s0 = peg$
|
|
4565
|
+
s0 = peg$f82(s2);
|
|
4441
4566
|
} else {
|
|
4442
4567
|
peg$currPos = s0;
|
|
4443
4568
|
s0 = peg$FAILED;
|
|
@@ -4987,7 +5112,7 @@ function peg$parse(input, options) {
|
|
|
4987
5112
|
} else {
|
|
4988
5113
|
s0 = peg$FAILED;
|
|
4989
5114
|
if (peg$silentFails === 0) {
|
|
4990
|
-
peg$fail(peg$
|
|
5115
|
+
peg$fail(peg$e64);
|
|
4991
5116
|
}
|
|
4992
5117
|
}
|
|
4993
5118
|
return s0;
|
|
@@ -5020,12 +5145,12 @@ function peg$parse(input, options) {
|
|
|
5020
5145
|
peg$silentFails++;
|
|
5021
5146
|
s0 = peg$currPos;
|
|
5022
5147
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
5023
|
-
s1 = peg$
|
|
5148
|
+
s1 = peg$c60;
|
|
5024
5149
|
peg$currPos++;
|
|
5025
5150
|
} else {
|
|
5026
5151
|
s1 = peg$FAILED;
|
|
5027
5152
|
if (peg$silentFails === 0) {
|
|
5028
|
-
peg$fail(peg$
|
|
5153
|
+
peg$fail(peg$e66);
|
|
5029
5154
|
}
|
|
5030
5155
|
}
|
|
5031
5156
|
if (s1 !== peg$FAILED) {
|
|
@@ -5036,17 +5161,17 @@ function peg$parse(input, options) {
|
|
|
5036
5161
|
s3 = peg$parseDoubleStringChar();
|
|
5037
5162
|
}
|
|
5038
5163
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
5039
|
-
s3 = peg$
|
|
5164
|
+
s3 = peg$c60;
|
|
5040
5165
|
peg$currPos++;
|
|
5041
5166
|
} else {
|
|
5042
5167
|
s3 = peg$FAILED;
|
|
5043
5168
|
if (peg$silentFails === 0) {
|
|
5044
|
-
peg$fail(peg$
|
|
5169
|
+
peg$fail(peg$e66);
|
|
5045
5170
|
}
|
|
5046
5171
|
}
|
|
5047
5172
|
if (s3 !== peg$FAILED) {
|
|
5048
5173
|
peg$savedPos = s0;
|
|
5049
|
-
s0 = peg$
|
|
5174
|
+
s0 = peg$f83(s2);
|
|
5050
5175
|
} else {
|
|
5051
5176
|
peg$currPos = s0;
|
|
5052
5177
|
s0 = peg$FAILED;
|
|
@@ -5058,12 +5183,12 @@ function peg$parse(input, options) {
|
|
|
5058
5183
|
if (s0 === peg$FAILED) {
|
|
5059
5184
|
s0 = peg$currPos;
|
|
5060
5185
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
5061
|
-
s1 = peg$
|
|
5186
|
+
s1 = peg$c61;
|
|
5062
5187
|
peg$currPos++;
|
|
5063
5188
|
} else {
|
|
5064
5189
|
s1 = peg$FAILED;
|
|
5065
5190
|
if (peg$silentFails === 0) {
|
|
5066
|
-
peg$fail(peg$
|
|
5191
|
+
peg$fail(peg$e67);
|
|
5067
5192
|
}
|
|
5068
5193
|
}
|
|
5069
5194
|
if (s1 !== peg$FAILED) {
|
|
@@ -5074,17 +5199,17 @@ function peg$parse(input, options) {
|
|
|
5074
5199
|
s3 = peg$parseSingleStringChar();
|
|
5075
5200
|
}
|
|
5076
5201
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
5077
|
-
s3 = peg$
|
|
5202
|
+
s3 = peg$c61;
|
|
5078
5203
|
peg$currPos++;
|
|
5079
5204
|
} else {
|
|
5080
5205
|
s3 = peg$FAILED;
|
|
5081
5206
|
if (peg$silentFails === 0) {
|
|
5082
|
-
peg$fail(peg$
|
|
5207
|
+
peg$fail(peg$e67);
|
|
5083
5208
|
}
|
|
5084
5209
|
}
|
|
5085
5210
|
if (s3 !== peg$FAILED) {
|
|
5086
5211
|
peg$savedPos = s0;
|
|
5087
|
-
s0 = peg$
|
|
5212
|
+
s0 = peg$f84(s2);
|
|
5088
5213
|
} else {
|
|
5089
5214
|
peg$currPos = s0;
|
|
5090
5215
|
s0 = peg$FAILED;
|
|
@@ -5098,7 +5223,7 @@ function peg$parse(input, options) {
|
|
|
5098
5223
|
if (s0 === peg$FAILED) {
|
|
5099
5224
|
s1 = peg$FAILED;
|
|
5100
5225
|
if (peg$silentFails === 0) {
|
|
5101
|
-
peg$fail(peg$
|
|
5226
|
+
peg$fail(peg$e65);
|
|
5102
5227
|
}
|
|
5103
5228
|
}
|
|
5104
5229
|
return s0;
|
|
@@ -5109,12 +5234,12 @@ function peg$parse(input, options) {
|
|
|
5109
5234
|
s1 = peg$currPos;
|
|
5110
5235
|
peg$silentFails++;
|
|
5111
5236
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
5112
|
-
s2 = peg$
|
|
5237
|
+
s2 = peg$c60;
|
|
5113
5238
|
peg$currPos++;
|
|
5114
5239
|
} else {
|
|
5115
5240
|
s2 = peg$FAILED;
|
|
5116
5241
|
if (peg$silentFails === 0) {
|
|
5117
|
-
peg$fail(peg$
|
|
5242
|
+
peg$fail(peg$e66);
|
|
5118
5243
|
}
|
|
5119
5244
|
}
|
|
5120
5245
|
peg$silentFails--;
|
|
@@ -5128,12 +5253,12 @@ function peg$parse(input, options) {
|
|
|
5128
5253
|
s2 = peg$currPos;
|
|
5129
5254
|
peg$silentFails++;
|
|
5130
5255
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
5131
|
-
s3 = peg$
|
|
5256
|
+
s3 = peg$c62;
|
|
5132
5257
|
peg$currPos++;
|
|
5133
5258
|
} else {
|
|
5134
5259
|
s3 = peg$FAILED;
|
|
5135
5260
|
if (peg$silentFails === 0) {
|
|
5136
|
-
peg$fail(peg$
|
|
5261
|
+
peg$fail(peg$e68);
|
|
5137
5262
|
}
|
|
5138
5263
|
}
|
|
5139
5264
|
peg$silentFails--;
|
|
@@ -5150,12 +5275,12 @@ function peg$parse(input, options) {
|
|
|
5150
5275
|
} else {
|
|
5151
5276
|
s3 = peg$FAILED;
|
|
5152
5277
|
if (peg$silentFails === 0) {
|
|
5153
|
-
peg$fail(peg$
|
|
5278
|
+
peg$fail(peg$e63);
|
|
5154
5279
|
}
|
|
5155
5280
|
}
|
|
5156
5281
|
if (s3 !== peg$FAILED) {
|
|
5157
5282
|
peg$savedPos = s0;
|
|
5158
|
-
s0 = peg$
|
|
5283
|
+
s0 = peg$f85(s3);
|
|
5159
5284
|
} else {
|
|
5160
5285
|
peg$currPos = s0;
|
|
5161
5286
|
s0 = peg$FAILED;
|
|
@@ -5171,19 +5296,19 @@ function peg$parse(input, options) {
|
|
|
5171
5296
|
if (s0 === peg$FAILED) {
|
|
5172
5297
|
s0 = peg$currPos;
|
|
5173
5298
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
5174
|
-
s1 = peg$
|
|
5299
|
+
s1 = peg$c62;
|
|
5175
5300
|
peg$currPos++;
|
|
5176
5301
|
} else {
|
|
5177
5302
|
s1 = peg$FAILED;
|
|
5178
5303
|
if (peg$silentFails === 0) {
|
|
5179
|
-
peg$fail(peg$
|
|
5304
|
+
peg$fail(peg$e68);
|
|
5180
5305
|
}
|
|
5181
5306
|
}
|
|
5182
5307
|
if (s1 !== peg$FAILED) {
|
|
5183
5308
|
s2 = peg$parseEscapeSequence();
|
|
5184
5309
|
if (s2 !== peg$FAILED) {
|
|
5185
5310
|
peg$savedPos = s0;
|
|
5186
|
-
s0 = peg$
|
|
5311
|
+
s0 = peg$f86(s2);
|
|
5187
5312
|
} else {
|
|
5188
5313
|
peg$currPos = s0;
|
|
5189
5314
|
s0 = peg$FAILED;
|
|
@@ -5201,12 +5326,12 @@ function peg$parse(input, options) {
|
|
|
5201
5326
|
s1 = peg$currPos;
|
|
5202
5327
|
peg$silentFails++;
|
|
5203
5328
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
5204
|
-
s2 = peg$
|
|
5329
|
+
s2 = peg$c61;
|
|
5205
5330
|
peg$currPos++;
|
|
5206
5331
|
} else {
|
|
5207
5332
|
s2 = peg$FAILED;
|
|
5208
5333
|
if (peg$silentFails === 0) {
|
|
5209
|
-
peg$fail(peg$
|
|
5334
|
+
peg$fail(peg$e67);
|
|
5210
5335
|
}
|
|
5211
5336
|
}
|
|
5212
5337
|
peg$silentFails--;
|
|
@@ -5220,12 +5345,12 @@ function peg$parse(input, options) {
|
|
|
5220
5345
|
s2 = peg$currPos;
|
|
5221
5346
|
peg$silentFails++;
|
|
5222
5347
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
5223
|
-
s3 = peg$
|
|
5348
|
+
s3 = peg$c62;
|
|
5224
5349
|
peg$currPos++;
|
|
5225
5350
|
} else {
|
|
5226
5351
|
s3 = peg$FAILED;
|
|
5227
5352
|
if (peg$silentFails === 0) {
|
|
5228
|
-
peg$fail(peg$
|
|
5353
|
+
peg$fail(peg$e68);
|
|
5229
5354
|
}
|
|
5230
5355
|
}
|
|
5231
5356
|
peg$silentFails--;
|
|
@@ -5242,12 +5367,12 @@ function peg$parse(input, options) {
|
|
|
5242
5367
|
} else {
|
|
5243
5368
|
s3 = peg$FAILED;
|
|
5244
5369
|
if (peg$silentFails === 0) {
|
|
5245
|
-
peg$fail(peg$
|
|
5370
|
+
peg$fail(peg$e63);
|
|
5246
5371
|
}
|
|
5247
5372
|
}
|
|
5248
5373
|
if (s3 !== peg$FAILED) {
|
|
5249
5374
|
peg$savedPos = s0;
|
|
5250
|
-
s0 = peg$
|
|
5375
|
+
s0 = peg$f87(s3);
|
|
5251
5376
|
} else {
|
|
5252
5377
|
peg$currPos = s0;
|
|
5253
5378
|
s0 = peg$FAILED;
|
|
@@ -5263,19 +5388,19 @@ function peg$parse(input, options) {
|
|
|
5263
5388
|
if (s0 === peg$FAILED) {
|
|
5264
5389
|
s0 = peg$currPos;
|
|
5265
5390
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
5266
|
-
s1 = peg$
|
|
5391
|
+
s1 = peg$c62;
|
|
5267
5392
|
peg$currPos++;
|
|
5268
5393
|
} else {
|
|
5269
5394
|
s1 = peg$FAILED;
|
|
5270
5395
|
if (peg$silentFails === 0) {
|
|
5271
|
-
peg$fail(peg$
|
|
5396
|
+
peg$fail(peg$e68);
|
|
5272
5397
|
}
|
|
5273
5398
|
}
|
|
5274
5399
|
if (s1 !== peg$FAILED) {
|
|
5275
5400
|
s2 = peg$parseEscapeSequence();
|
|
5276
5401
|
if (s2 !== peg$FAILED) {
|
|
5277
5402
|
peg$savedPos = s0;
|
|
5278
|
-
s0 = peg$
|
|
5403
|
+
s0 = peg$f88(s2);
|
|
5279
5404
|
} else {
|
|
5280
5405
|
peg$currPos = s0;
|
|
5281
5406
|
s0 = peg$FAILED;
|
|
@@ -5291,97 +5416,97 @@ function peg$parse(input, options) {
|
|
|
5291
5416
|
let s0, s1;
|
|
5292
5417
|
s0 = peg$currPos;
|
|
5293
5418
|
if (input.charCodeAt(peg$currPos) === 110) {
|
|
5294
|
-
s1 = peg$
|
|
5419
|
+
s1 = peg$c63;
|
|
5295
5420
|
peg$currPos++;
|
|
5296
5421
|
} else {
|
|
5297
5422
|
s1 = peg$FAILED;
|
|
5298
5423
|
if (peg$silentFails === 0) {
|
|
5299
|
-
peg$fail(peg$
|
|
5424
|
+
peg$fail(peg$e69);
|
|
5300
5425
|
}
|
|
5301
5426
|
}
|
|
5302
5427
|
if (s1 !== peg$FAILED) {
|
|
5303
5428
|
peg$savedPos = s0;
|
|
5304
|
-
s1 = peg$
|
|
5429
|
+
s1 = peg$f89();
|
|
5305
5430
|
}
|
|
5306
5431
|
s0 = s1;
|
|
5307
5432
|
if (s0 === peg$FAILED) {
|
|
5308
5433
|
s0 = peg$currPos;
|
|
5309
5434
|
if (input.charCodeAt(peg$currPos) === 114) {
|
|
5310
|
-
s1 = peg$
|
|
5435
|
+
s1 = peg$c64;
|
|
5311
5436
|
peg$currPos++;
|
|
5312
5437
|
} else {
|
|
5313
5438
|
s1 = peg$FAILED;
|
|
5314
5439
|
if (peg$silentFails === 0) {
|
|
5315
|
-
peg$fail(peg$
|
|
5440
|
+
peg$fail(peg$e70);
|
|
5316
5441
|
}
|
|
5317
5442
|
}
|
|
5318
5443
|
if (s1 !== peg$FAILED) {
|
|
5319
5444
|
peg$savedPos = s0;
|
|
5320
|
-
s1 = peg$
|
|
5445
|
+
s1 = peg$f90();
|
|
5321
5446
|
}
|
|
5322
5447
|
s0 = s1;
|
|
5323
5448
|
if (s0 === peg$FAILED) {
|
|
5324
5449
|
s0 = peg$currPos;
|
|
5325
5450
|
if (input.charCodeAt(peg$currPos) === 116) {
|
|
5326
|
-
s1 = peg$
|
|
5451
|
+
s1 = peg$c65;
|
|
5327
5452
|
peg$currPos++;
|
|
5328
5453
|
} else {
|
|
5329
5454
|
s1 = peg$FAILED;
|
|
5330
5455
|
if (peg$silentFails === 0) {
|
|
5331
|
-
peg$fail(peg$
|
|
5456
|
+
peg$fail(peg$e71);
|
|
5332
5457
|
}
|
|
5333
5458
|
}
|
|
5334
5459
|
if (s1 !== peg$FAILED) {
|
|
5335
5460
|
peg$savedPos = s0;
|
|
5336
|
-
s1 = peg$
|
|
5461
|
+
s1 = peg$f91();
|
|
5337
5462
|
}
|
|
5338
5463
|
s0 = s1;
|
|
5339
5464
|
if (s0 === peg$FAILED) {
|
|
5340
5465
|
s0 = peg$currPos;
|
|
5341
5466
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
5342
|
-
s1 = peg$
|
|
5467
|
+
s1 = peg$c62;
|
|
5343
5468
|
peg$currPos++;
|
|
5344
5469
|
} else {
|
|
5345
5470
|
s1 = peg$FAILED;
|
|
5346
5471
|
if (peg$silentFails === 0) {
|
|
5347
|
-
peg$fail(peg$
|
|
5472
|
+
peg$fail(peg$e68);
|
|
5348
5473
|
}
|
|
5349
5474
|
}
|
|
5350
5475
|
if (s1 !== peg$FAILED) {
|
|
5351
5476
|
peg$savedPos = s0;
|
|
5352
|
-
s1 = peg$
|
|
5477
|
+
s1 = peg$f92();
|
|
5353
5478
|
}
|
|
5354
5479
|
s0 = s1;
|
|
5355
5480
|
if (s0 === peg$FAILED) {
|
|
5356
5481
|
s0 = peg$currPos;
|
|
5357
5482
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
5358
|
-
s1 = peg$
|
|
5483
|
+
s1 = peg$c60;
|
|
5359
5484
|
peg$currPos++;
|
|
5360
5485
|
} else {
|
|
5361
5486
|
s1 = peg$FAILED;
|
|
5362
5487
|
if (peg$silentFails === 0) {
|
|
5363
|
-
peg$fail(peg$
|
|
5488
|
+
peg$fail(peg$e66);
|
|
5364
5489
|
}
|
|
5365
5490
|
}
|
|
5366
5491
|
if (s1 !== peg$FAILED) {
|
|
5367
5492
|
peg$savedPos = s0;
|
|
5368
|
-
s1 = peg$
|
|
5493
|
+
s1 = peg$f93();
|
|
5369
5494
|
}
|
|
5370
5495
|
s0 = s1;
|
|
5371
5496
|
if (s0 === peg$FAILED) {
|
|
5372
5497
|
s0 = peg$currPos;
|
|
5373
5498
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
5374
|
-
s1 = peg$
|
|
5499
|
+
s1 = peg$c61;
|
|
5375
5500
|
peg$currPos++;
|
|
5376
5501
|
} else {
|
|
5377
5502
|
s1 = peg$FAILED;
|
|
5378
5503
|
if (peg$silentFails === 0) {
|
|
5379
|
-
peg$fail(peg$
|
|
5504
|
+
peg$fail(peg$e67);
|
|
5380
5505
|
}
|
|
5381
5506
|
}
|
|
5382
5507
|
if (s1 !== peg$FAILED) {
|
|
5383
5508
|
peg$savedPos = s0;
|
|
5384
|
-
s1 = peg$
|
|
5509
|
+
s1 = peg$f94();
|
|
5385
5510
|
}
|
|
5386
5511
|
s0 = s1;
|
|
5387
5512
|
}
|
|
@@ -5396,12 +5521,12 @@ function peg$parse(input, options) {
|
|
|
5396
5521
|
peg$silentFails++;
|
|
5397
5522
|
s0 = peg$currPos;
|
|
5398
5523
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
5399
|
-
s1 = peg$
|
|
5524
|
+
s1 = peg$c66;
|
|
5400
5525
|
peg$currPos++;
|
|
5401
5526
|
} else {
|
|
5402
5527
|
s1 = peg$FAILED;
|
|
5403
5528
|
if (peg$silentFails === 0) {
|
|
5404
|
-
peg$fail(peg$
|
|
5529
|
+
peg$fail(peg$e73);
|
|
5405
5530
|
}
|
|
5406
5531
|
}
|
|
5407
5532
|
if (s1 === peg$FAILED) {
|
|
@@ -5436,12 +5561,12 @@ function peg$parse(input, options) {
|
|
|
5436
5561
|
if (s2 !== peg$FAILED) {
|
|
5437
5562
|
s3 = peg$currPos;
|
|
5438
5563
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
5439
|
-
s4 = peg$
|
|
5564
|
+
s4 = peg$c67;
|
|
5440
5565
|
peg$currPos++;
|
|
5441
5566
|
} else {
|
|
5442
5567
|
s4 = peg$FAILED;
|
|
5443
5568
|
if (peg$silentFails === 0) {
|
|
5444
|
-
peg$fail(peg$
|
|
5569
|
+
peg$fail(peg$e74);
|
|
5445
5570
|
}
|
|
5446
5571
|
}
|
|
5447
5572
|
if (s4 !== peg$FAILED) {
|
|
@@ -5486,7 +5611,7 @@ function peg$parse(input, options) {
|
|
|
5486
5611
|
s3 = null;
|
|
5487
5612
|
}
|
|
5488
5613
|
peg$savedPos = s0;
|
|
5489
|
-
s0 = peg$
|
|
5614
|
+
s0 = peg$f95(s1, s2, s3);
|
|
5490
5615
|
} else {
|
|
5491
5616
|
peg$currPos = s0;
|
|
5492
5617
|
s0 = peg$FAILED;
|
|
@@ -5495,7 +5620,7 @@ function peg$parse(input, options) {
|
|
|
5495
5620
|
if (s0 === peg$FAILED) {
|
|
5496
5621
|
s1 = peg$FAILED;
|
|
5497
5622
|
if (peg$silentFails === 0) {
|
|
5498
|
-
peg$fail(peg$
|
|
5623
|
+
peg$fail(peg$e72);
|
|
5499
5624
|
}
|
|
5500
5625
|
}
|
|
5501
5626
|
return s0;
|
|
@@ -5505,12 +5630,12 @@ function peg$parse(input, options) {
|
|
|
5505
5630
|
peg$silentFails++;
|
|
5506
5631
|
s0 = peg$currPos;
|
|
5507
5632
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
5508
|
-
s1 = peg$
|
|
5633
|
+
s1 = peg$c66;
|
|
5509
5634
|
peg$currPos++;
|
|
5510
5635
|
} else {
|
|
5511
5636
|
s1 = peg$FAILED;
|
|
5512
5637
|
if (peg$silentFails === 0) {
|
|
5513
|
-
peg$fail(peg$
|
|
5638
|
+
peg$fail(peg$e73);
|
|
5514
5639
|
}
|
|
5515
5640
|
}
|
|
5516
5641
|
if (s1 === peg$FAILED) {
|
|
@@ -5545,12 +5670,12 @@ function peg$parse(input, options) {
|
|
|
5545
5670
|
if (s2 !== peg$FAILED) {
|
|
5546
5671
|
s3 = peg$currPos;
|
|
5547
5672
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
5548
|
-
s4 = peg$
|
|
5673
|
+
s4 = peg$c67;
|
|
5549
5674
|
peg$currPos++;
|
|
5550
5675
|
} else {
|
|
5551
5676
|
s4 = peg$FAILED;
|
|
5552
5677
|
if (peg$silentFails === 0) {
|
|
5553
|
-
peg$fail(peg$
|
|
5678
|
+
peg$fail(peg$e74);
|
|
5554
5679
|
}
|
|
5555
5680
|
}
|
|
5556
5681
|
if (s4 !== peg$FAILED) {
|
|
@@ -5594,63 +5719,63 @@ function peg$parse(input, options) {
|
|
|
5594
5719
|
if (s3 === peg$FAILED) {
|
|
5595
5720
|
s3 = null;
|
|
5596
5721
|
}
|
|
5597
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5598
|
-
s4 = peg$
|
|
5722
|
+
if (input.substr(peg$currPos, 2) === peg$c68) {
|
|
5723
|
+
s4 = peg$c68;
|
|
5599
5724
|
peg$currPos += 2;
|
|
5600
5725
|
} else {
|
|
5601
5726
|
s4 = peg$FAILED;
|
|
5602
5727
|
if (peg$silentFails === 0) {
|
|
5603
|
-
peg$fail(peg$
|
|
5728
|
+
peg$fail(peg$e76);
|
|
5604
5729
|
}
|
|
5605
5730
|
}
|
|
5606
5731
|
if (s4 === peg$FAILED) {
|
|
5607
5732
|
if (input.charCodeAt(peg$currPos) === 37) {
|
|
5608
|
-
s4 = peg$
|
|
5733
|
+
s4 = peg$c69;
|
|
5609
5734
|
peg$currPos++;
|
|
5610
5735
|
} else {
|
|
5611
5736
|
s4 = peg$FAILED;
|
|
5612
5737
|
if (peg$silentFails === 0) {
|
|
5613
|
-
peg$fail(peg$
|
|
5738
|
+
peg$fail(peg$e77);
|
|
5614
5739
|
}
|
|
5615
5740
|
}
|
|
5616
5741
|
if (s4 === peg$FAILED) {
|
|
5617
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5618
|
-
s4 = peg$
|
|
5742
|
+
if (input.substr(peg$currPos, 2) === peg$c70) {
|
|
5743
|
+
s4 = peg$c70;
|
|
5619
5744
|
peg$currPos += 2;
|
|
5620
5745
|
} else {
|
|
5621
5746
|
s4 = peg$FAILED;
|
|
5622
5747
|
if (peg$silentFails === 0) {
|
|
5623
|
-
peg$fail(peg$
|
|
5748
|
+
peg$fail(peg$e78);
|
|
5624
5749
|
}
|
|
5625
5750
|
}
|
|
5626
5751
|
if (s4 === peg$FAILED) {
|
|
5627
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
5628
|
-
s4 = peg$
|
|
5752
|
+
if (input.substr(peg$currPos, 3) === peg$c71) {
|
|
5753
|
+
s4 = peg$c71;
|
|
5629
5754
|
peg$currPos += 3;
|
|
5630
5755
|
} else {
|
|
5631
5756
|
s4 = peg$FAILED;
|
|
5632
5757
|
if (peg$silentFails === 0) {
|
|
5633
|
-
peg$fail(peg$
|
|
5758
|
+
peg$fail(peg$e79);
|
|
5634
5759
|
}
|
|
5635
5760
|
}
|
|
5636
5761
|
if (s4 === peg$FAILED) {
|
|
5637
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5638
|
-
s4 = peg$
|
|
5762
|
+
if (input.substr(peg$currPos, 2) === peg$c72) {
|
|
5763
|
+
s4 = peg$c72;
|
|
5639
5764
|
peg$currPos += 2;
|
|
5640
5765
|
} else {
|
|
5641
5766
|
s4 = peg$FAILED;
|
|
5642
5767
|
if (peg$silentFails === 0) {
|
|
5643
|
-
peg$fail(peg$
|
|
5768
|
+
peg$fail(peg$e80);
|
|
5644
5769
|
}
|
|
5645
5770
|
}
|
|
5646
5771
|
if (s4 === peg$FAILED) {
|
|
5647
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5648
|
-
s4 = peg$
|
|
5772
|
+
if (input.substr(peg$currPos, 2) === peg$c73) {
|
|
5773
|
+
s4 = peg$c73;
|
|
5649
5774
|
peg$currPos += 2;
|
|
5650
5775
|
} else {
|
|
5651
5776
|
s4 = peg$FAILED;
|
|
5652
5777
|
if (peg$silentFails === 0) {
|
|
5653
|
-
peg$fail(peg$
|
|
5778
|
+
peg$fail(peg$e81);
|
|
5654
5779
|
}
|
|
5655
5780
|
}
|
|
5656
5781
|
}
|
|
@@ -5660,7 +5785,7 @@ function peg$parse(input, options) {
|
|
|
5660
5785
|
}
|
|
5661
5786
|
if (s4 !== peg$FAILED) {
|
|
5662
5787
|
peg$savedPos = s0;
|
|
5663
|
-
s0 = peg$
|
|
5788
|
+
s0 = peg$f96(s1, s2, s3, s4);
|
|
5664
5789
|
} else {
|
|
5665
5790
|
peg$currPos = s0;
|
|
5666
5791
|
s0 = peg$FAILED;
|
|
@@ -5673,7 +5798,7 @@ function peg$parse(input, options) {
|
|
|
5673
5798
|
if (s0 === peg$FAILED) {
|
|
5674
5799
|
s1 = peg$FAILED;
|
|
5675
5800
|
if (peg$silentFails === 0) {
|
|
5676
|
-
peg$fail(peg$
|
|
5801
|
+
peg$fail(peg$e75);
|
|
5677
5802
|
}
|
|
5678
5803
|
}
|
|
5679
5804
|
return s0;
|
|
@@ -5682,34 +5807,34 @@ function peg$parse(input, options) {
|
|
|
5682
5807
|
let s0, s1;
|
|
5683
5808
|
peg$silentFails++;
|
|
5684
5809
|
s0 = peg$currPos;
|
|
5685
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5686
|
-
s1 = peg$
|
|
5810
|
+
if (input.substr(peg$currPos, 4) === peg$c74) {
|
|
5811
|
+
s1 = peg$c74;
|
|
5687
5812
|
peg$currPos += 4;
|
|
5688
5813
|
} else {
|
|
5689
5814
|
s1 = peg$FAILED;
|
|
5690
5815
|
if (peg$silentFails === 0) {
|
|
5691
|
-
peg$fail(peg$
|
|
5816
|
+
peg$fail(peg$e83);
|
|
5692
5817
|
}
|
|
5693
5818
|
}
|
|
5694
5819
|
if (s1 !== peg$FAILED) {
|
|
5695
5820
|
peg$savedPos = s0;
|
|
5696
|
-
s1 = peg$
|
|
5821
|
+
s1 = peg$f97();
|
|
5697
5822
|
}
|
|
5698
5823
|
s0 = s1;
|
|
5699
5824
|
if (s0 === peg$FAILED) {
|
|
5700
5825
|
s0 = peg$currPos;
|
|
5701
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5702
|
-
s1 = peg$
|
|
5826
|
+
if (input.substr(peg$currPos, 5) === peg$c75) {
|
|
5827
|
+
s1 = peg$c75;
|
|
5703
5828
|
peg$currPos += 5;
|
|
5704
5829
|
} else {
|
|
5705
5830
|
s1 = peg$FAILED;
|
|
5706
5831
|
if (peg$silentFails === 0) {
|
|
5707
|
-
peg$fail(peg$
|
|
5832
|
+
peg$fail(peg$e84);
|
|
5708
5833
|
}
|
|
5709
5834
|
}
|
|
5710
5835
|
if (s1 !== peg$FAILED) {
|
|
5711
5836
|
peg$savedPos = s0;
|
|
5712
|
-
s1 = peg$
|
|
5837
|
+
s1 = peg$f98();
|
|
5713
5838
|
}
|
|
5714
5839
|
s0 = s1;
|
|
5715
5840
|
}
|
|
@@ -5717,7 +5842,7 @@ function peg$parse(input, options) {
|
|
|
5717
5842
|
if (s0 === peg$FAILED) {
|
|
5718
5843
|
s1 = peg$FAILED;
|
|
5719
5844
|
if (peg$silentFails === 0) {
|
|
5720
|
-
peg$fail(peg$
|
|
5845
|
+
peg$fail(peg$e82);
|
|
5721
5846
|
}
|
|
5722
5847
|
}
|
|
5723
5848
|
return s0;
|
|
@@ -5732,7 +5857,7 @@ function peg$parse(input, options) {
|
|
|
5732
5857
|
} else {
|
|
5733
5858
|
s1 = peg$FAILED;
|
|
5734
5859
|
if (peg$silentFails === 0) {
|
|
5735
|
-
peg$fail(peg$
|
|
5860
|
+
peg$fail(peg$e86);
|
|
5736
5861
|
}
|
|
5737
5862
|
}
|
|
5738
5863
|
if (s1 !== peg$FAILED) {
|
|
@@ -5743,7 +5868,7 @@ function peg$parse(input, options) {
|
|
|
5743
5868
|
} else {
|
|
5744
5869
|
s3 = peg$FAILED;
|
|
5745
5870
|
if (peg$silentFails === 0) {
|
|
5746
|
-
peg$fail(peg$
|
|
5871
|
+
peg$fail(peg$e64);
|
|
5747
5872
|
}
|
|
5748
5873
|
}
|
|
5749
5874
|
while (s3 !== peg$FAILED) {
|
|
@@ -5754,12 +5879,12 @@ function peg$parse(input, options) {
|
|
|
5754
5879
|
} else {
|
|
5755
5880
|
s3 = peg$FAILED;
|
|
5756
5881
|
if (peg$silentFails === 0) {
|
|
5757
|
-
peg$fail(peg$
|
|
5882
|
+
peg$fail(peg$e64);
|
|
5758
5883
|
}
|
|
5759
5884
|
}
|
|
5760
5885
|
}
|
|
5761
5886
|
peg$savedPos = s0;
|
|
5762
|
-
s0 = peg$
|
|
5887
|
+
s0 = peg$f99(s1, s2);
|
|
5763
5888
|
} else {
|
|
5764
5889
|
peg$currPos = s0;
|
|
5765
5890
|
s0 = peg$FAILED;
|
|
@@ -5768,7 +5893,7 @@ function peg$parse(input, options) {
|
|
|
5768
5893
|
if (s0 === peg$FAILED) {
|
|
5769
5894
|
s1 = peg$FAILED;
|
|
5770
5895
|
if (peg$silentFails === 0) {
|
|
5771
|
-
peg$fail(peg$
|
|
5896
|
+
peg$fail(peg$e85);
|
|
5772
5897
|
}
|
|
5773
5898
|
}
|
|
5774
5899
|
return s0;
|
|
@@ -5803,7 +5928,7 @@ function peg$parse(input, options) {
|
|
|
5803
5928
|
}
|
|
5804
5929
|
if (s5 !== peg$FAILED) {
|
|
5805
5930
|
peg$savedPos = s0;
|
|
5806
|
-
s0 = peg$
|
|
5931
|
+
s0 = peg$f100(s3);
|
|
5807
5932
|
} else {
|
|
5808
5933
|
peg$currPos = s0;
|
|
5809
5934
|
s0 = peg$FAILED;
|
|
@@ -5891,7 +6016,7 @@ function peg$parse(input, options) {
|
|
|
5891
6016
|
s3 = null;
|
|
5892
6017
|
}
|
|
5893
6018
|
peg$savedPos = s0;
|
|
5894
|
-
s0 = peg$
|
|
6019
|
+
s0 = peg$f101(s1, s2);
|
|
5895
6020
|
} else {
|
|
5896
6021
|
peg$currPos = s0;
|
|
5897
6022
|
s0 = peg$FAILED;
|
|
@@ -5945,7 +6070,7 @@ function peg$parse(input, options) {
|
|
|
5945
6070
|
}
|
|
5946
6071
|
if (s5 !== peg$FAILED) {
|
|
5947
6072
|
peg$savedPos = s0;
|
|
5948
|
-
s0 = peg$
|
|
6073
|
+
s0 = peg$f102(s3);
|
|
5949
6074
|
} else {
|
|
5950
6075
|
peg$currPos = s0;
|
|
5951
6076
|
s0 = peg$FAILED;
|
|
@@ -6012,7 +6137,7 @@ function peg$parse(input, options) {
|
|
|
6012
6137
|
}
|
|
6013
6138
|
}
|
|
6014
6139
|
peg$savedPos = s0;
|
|
6015
|
-
s0 = peg$
|
|
6140
|
+
s0 = peg$f103(s1, s2);
|
|
6016
6141
|
} else {
|
|
6017
6142
|
peg$currPos = s0;
|
|
6018
6143
|
s0 = peg$FAILED;
|
|
@@ -6026,12 +6151,12 @@ function peg$parse(input, options) {
|
|
|
6026
6151
|
if (s1 !== peg$FAILED) {
|
|
6027
6152
|
s2 = peg$parse_();
|
|
6028
6153
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
6029
|
-
s3 = peg$
|
|
6154
|
+
s3 = peg$c57;
|
|
6030
6155
|
peg$currPos++;
|
|
6031
6156
|
} else {
|
|
6032
6157
|
s3 = peg$FAILED;
|
|
6033
6158
|
if (peg$silentFails === 0) {
|
|
6034
|
-
peg$fail(peg$
|
|
6159
|
+
peg$fail(peg$e59);
|
|
6035
6160
|
}
|
|
6036
6161
|
}
|
|
6037
6162
|
if (s3 !== peg$FAILED) {
|
|
@@ -6039,7 +6164,7 @@ function peg$parse(input, options) {
|
|
|
6039
6164
|
s5 = peg$parseAttributeValue();
|
|
6040
6165
|
if (s5 !== peg$FAILED) {
|
|
6041
6166
|
peg$savedPos = s0;
|
|
6042
|
-
s0 = peg$
|
|
6167
|
+
s0 = peg$f104(s1, s5);
|
|
6043
6168
|
} else {
|
|
6044
6169
|
peg$currPos = s0;
|
|
6045
6170
|
s0 = peg$FAILED;
|
|
@@ -6057,7 +6182,7 @@ function peg$parse(input, options) {
|
|
|
6057
6182
|
s1 = peg$parseIdentifier();
|
|
6058
6183
|
if (s1 !== peg$FAILED) {
|
|
6059
6184
|
peg$savedPos = s0;
|
|
6060
|
-
s1 = peg$
|
|
6185
|
+
s1 = peg$f105(s1);
|
|
6061
6186
|
}
|
|
6062
6187
|
s0 = s1;
|
|
6063
6188
|
}
|
|
@@ -6090,7 +6215,7 @@ function peg$parse(input, options) {
|
|
|
6090
6215
|
} else {
|
|
6091
6216
|
s1 = peg$FAILED;
|
|
6092
6217
|
if (peg$silentFails === 0) {
|
|
6093
|
-
peg$fail(peg$
|
|
6218
|
+
peg$fail(peg$e87);
|
|
6094
6219
|
}
|
|
6095
6220
|
}
|
|
6096
6221
|
if (s1 !== peg$FAILED) {
|
|
@@ -6102,7 +6227,7 @@ function peg$parse(input, options) {
|
|
|
6102
6227
|
} else {
|
|
6103
6228
|
s1 = peg$FAILED;
|
|
6104
6229
|
if (peg$silentFails === 0) {
|
|
6105
|
-
peg$fail(peg$
|
|
6230
|
+
peg$fail(peg$e87);
|
|
6106
6231
|
}
|
|
6107
6232
|
}
|
|
6108
6233
|
}
|
|
@@ -6122,7 +6247,7 @@ function peg$parse(input, options) {
|
|
|
6122
6247
|
if (s0 === peg$FAILED) {
|
|
6123
6248
|
s1 = peg$FAILED;
|
|
6124
6249
|
if (peg$silentFails === 0) {
|
|
6125
|
-
peg$fail(peg$
|
|
6250
|
+
peg$fail(peg$e88);
|
|
6126
6251
|
}
|
|
6127
6252
|
}
|
|
6128
6253
|
return s0;
|
|
@@ -6130,13 +6255,13 @@ function peg$parse(input, options) {
|
|
|
6130
6255
|
function peg$parseLineComment() {
|
|
6131
6256
|
let s0, s1, s2, s3, s4;
|
|
6132
6257
|
s0 = peg$currPos;
|
|
6133
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6134
|
-
s1 = peg$
|
|
6258
|
+
if (input.substr(peg$currPos, 2) === peg$c58) {
|
|
6259
|
+
s1 = peg$c58;
|
|
6135
6260
|
peg$currPos += 2;
|
|
6136
6261
|
} else {
|
|
6137
6262
|
s1 = peg$FAILED;
|
|
6138
6263
|
if (peg$silentFails === 0) {
|
|
6139
|
-
peg$fail(peg$
|
|
6264
|
+
peg$fail(peg$e61);
|
|
6140
6265
|
}
|
|
6141
6266
|
}
|
|
6142
6267
|
if (s1 !== peg$FAILED) {
|
|
@@ -6147,7 +6272,7 @@ function peg$parse(input, options) {
|
|
|
6147
6272
|
} else {
|
|
6148
6273
|
s3 = peg$FAILED;
|
|
6149
6274
|
if (peg$silentFails === 0) {
|
|
6150
|
-
peg$fail(peg$
|
|
6275
|
+
peg$fail(peg$e89);
|
|
6151
6276
|
}
|
|
6152
6277
|
}
|
|
6153
6278
|
while (s3 !== peg$FAILED) {
|
|
@@ -6158,17 +6283,17 @@ function peg$parse(input, options) {
|
|
|
6158
6283
|
} else {
|
|
6159
6284
|
s3 = peg$FAILED;
|
|
6160
6285
|
if (peg$silentFails === 0) {
|
|
6161
|
-
peg$fail(peg$
|
|
6286
|
+
peg$fail(peg$e89);
|
|
6162
6287
|
}
|
|
6163
6288
|
}
|
|
6164
6289
|
}
|
|
6165
6290
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
6166
|
-
s3 = peg$
|
|
6291
|
+
s3 = peg$c76;
|
|
6167
6292
|
peg$currPos++;
|
|
6168
6293
|
} else {
|
|
6169
6294
|
s3 = peg$FAILED;
|
|
6170
6295
|
if (peg$silentFails === 0) {
|
|
6171
|
-
peg$fail(peg$
|
|
6296
|
+
peg$fail(peg$e90);
|
|
6172
6297
|
}
|
|
6173
6298
|
}
|
|
6174
6299
|
if (s3 === peg$FAILED) {
|
|
@@ -6180,7 +6305,7 @@ function peg$parse(input, options) {
|
|
|
6180
6305
|
} else {
|
|
6181
6306
|
s4 = peg$FAILED;
|
|
6182
6307
|
if (peg$silentFails === 0) {
|
|
6183
|
-
peg$fail(peg$
|
|
6308
|
+
peg$fail(peg$e63);
|
|
6184
6309
|
}
|
|
6185
6310
|
}
|
|
6186
6311
|
peg$silentFails--;
|
|
@@ -6207,13 +6332,13 @@ function peg$parse(input, options) {
|
|
|
6207
6332
|
function peg$parseBlockComment() {
|
|
6208
6333
|
let s0, s1, s2, s3, s4, s5;
|
|
6209
6334
|
s0 = peg$currPos;
|
|
6210
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6211
|
-
s1 = peg$
|
|
6335
|
+
if (input.substr(peg$currPos, 2) === peg$c59) {
|
|
6336
|
+
s1 = peg$c59;
|
|
6212
6337
|
peg$currPos += 2;
|
|
6213
6338
|
} else {
|
|
6214
6339
|
s1 = peg$FAILED;
|
|
6215
6340
|
if (peg$silentFails === 0) {
|
|
6216
|
-
peg$fail(peg$
|
|
6341
|
+
peg$fail(peg$e62);
|
|
6217
6342
|
}
|
|
6218
6343
|
}
|
|
6219
6344
|
if (s1 !== peg$FAILED) {
|
|
@@ -6221,13 +6346,13 @@ function peg$parse(input, options) {
|
|
|
6221
6346
|
s3 = peg$currPos;
|
|
6222
6347
|
s4 = peg$currPos;
|
|
6223
6348
|
peg$silentFails++;
|
|
6224
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6225
|
-
s5 = peg$
|
|
6349
|
+
if (input.substr(peg$currPos, 2) === peg$c77) {
|
|
6350
|
+
s5 = peg$c77;
|
|
6226
6351
|
peg$currPos += 2;
|
|
6227
6352
|
} else {
|
|
6228
6353
|
s5 = peg$FAILED;
|
|
6229
6354
|
if (peg$silentFails === 0) {
|
|
6230
|
-
peg$fail(peg$
|
|
6355
|
+
peg$fail(peg$e91);
|
|
6231
6356
|
}
|
|
6232
6357
|
}
|
|
6233
6358
|
peg$silentFails--;
|
|
@@ -6244,7 +6369,7 @@ function peg$parse(input, options) {
|
|
|
6244
6369
|
} else {
|
|
6245
6370
|
s5 = peg$FAILED;
|
|
6246
6371
|
if (peg$silentFails === 0) {
|
|
6247
|
-
peg$fail(peg$
|
|
6372
|
+
peg$fail(peg$e63);
|
|
6248
6373
|
}
|
|
6249
6374
|
}
|
|
6250
6375
|
if (s5 !== peg$FAILED) {
|
|
@@ -6263,13 +6388,13 @@ function peg$parse(input, options) {
|
|
|
6263
6388
|
s3 = peg$currPos;
|
|
6264
6389
|
s4 = peg$currPos;
|
|
6265
6390
|
peg$silentFails++;
|
|
6266
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6267
|
-
s5 = peg$
|
|
6391
|
+
if (input.substr(peg$currPos, 2) === peg$c77) {
|
|
6392
|
+
s5 = peg$c77;
|
|
6268
6393
|
peg$currPos += 2;
|
|
6269
6394
|
} else {
|
|
6270
6395
|
s5 = peg$FAILED;
|
|
6271
6396
|
if (peg$silentFails === 0) {
|
|
6272
|
-
peg$fail(peg$
|
|
6397
|
+
peg$fail(peg$e91);
|
|
6273
6398
|
}
|
|
6274
6399
|
}
|
|
6275
6400
|
peg$silentFails--;
|
|
@@ -6286,7 +6411,7 @@ function peg$parse(input, options) {
|
|
|
6286
6411
|
} else {
|
|
6287
6412
|
s5 = peg$FAILED;
|
|
6288
6413
|
if (peg$silentFails === 0) {
|
|
6289
|
-
peg$fail(peg$
|
|
6414
|
+
peg$fail(peg$e63);
|
|
6290
6415
|
}
|
|
6291
6416
|
}
|
|
6292
6417
|
if (s5 !== peg$FAILED) {
|
|
@@ -6301,13 +6426,13 @@ function peg$parse(input, options) {
|
|
|
6301
6426
|
s3 = peg$FAILED;
|
|
6302
6427
|
}
|
|
6303
6428
|
}
|
|
6304
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6305
|
-
s3 = peg$
|
|
6429
|
+
if (input.substr(peg$currPos, 2) === peg$c77) {
|
|
6430
|
+
s3 = peg$c77;
|
|
6306
6431
|
peg$currPos += 2;
|
|
6307
6432
|
} else {
|
|
6308
6433
|
s3 = peg$FAILED;
|
|
6309
6434
|
if (peg$silentFails === 0) {
|
|
6310
|
-
peg$fail(peg$
|
|
6435
|
+
peg$fail(peg$e91);
|
|
6311
6436
|
}
|
|
6312
6437
|
}
|
|
6313
6438
|
if (s3 !== peg$FAILED) {
|
|
@@ -6333,7 +6458,7 @@ function peg$parse(input, options) {
|
|
|
6333
6458
|
function attrsToObject(attrs) {
|
|
6334
6459
|
if (!attrs || attrs.length === 0) return {};
|
|
6335
6460
|
const result = {};
|
|
6336
|
-
for (const attr of attrs) {
|
|
6461
|
+
for (const attr of attrs.flat()) {
|
|
6337
6462
|
result[attr.name] = attr.value;
|
|
6338
6463
|
}
|
|
6339
6464
|
return result;
|