@wireweave/core 1.1.0-beta.0 → 1.2.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 +3966 -3278
- package/dist/index.d.cts +616 -2
- package/dist/index.d.ts +616 -2
- package/dist/index.js +3948 -3275
- package/dist/parser.cjs +675 -476
- package/dist/parser.js +675 -476
- package/dist/renderer.cjs +1099 -2759
- package/dist/renderer.d.cts +37 -175
- package/dist/renderer.d.ts +37 -175
- package/dist/renderer.js +1099 -2756
- package/package.json +1 -1
package/dist/parser.cjs
CHANGED
|
@@ -167,44 +167,44 @@ function peg$parse(input, options) {
|
|
|
167
167
|
const peg$c28 = "badge";
|
|
168
168
|
const peg$c29 = "icon";
|
|
169
169
|
const peg$c30 = "table";
|
|
170
|
-
const peg$c31 = "
|
|
171
|
-
const peg$c32 = "
|
|
172
|
-
const peg$c33 = "
|
|
173
|
-
const peg$c34 = "
|
|
174
|
-
const peg$c35 = "
|
|
175
|
-
const peg$c36 = "
|
|
176
|
-
const peg$c37 = "
|
|
177
|
-
const peg$c38 = "
|
|
178
|
-
const peg$c39 = "
|
|
179
|
-
const peg$c40 = "
|
|
180
|
-
const peg$c41 = "
|
|
181
|
-
const peg$c42 = "
|
|
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 = "
|
|
170
|
+
const peg$c31 = "[";
|
|
171
|
+
const peg$c32 = ",";
|
|
172
|
+
const peg$c33 = "]";
|
|
173
|
+
const peg$c34 = "columns";
|
|
174
|
+
const peg$c35 = "list";
|
|
175
|
+
const peg$c36 = "item";
|
|
176
|
+
const peg$c37 = "alert";
|
|
177
|
+
const peg$c38 = "toast";
|
|
178
|
+
const peg$c39 = "progress";
|
|
179
|
+
const peg$c40 = "spinner";
|
|
180
|
+
const peg$c41 = "tooltip";
|
|
181
|
+
const peg$c42 = "popover";
|
|
182
|
+
const peg$c43 = "dropdown";
|
|
183
|
+
const peg$c44 = "divider";
|
|
184
|
+
const peg$c45 = "nav";
|
|
185
|
+
const peg$c46 = "group";
|
|
186
|
+
const peg$c47 = "tabs";
|
|
187
|
+
const peg$c48 = "tab";
|
|
188
|
+
const peg$c49 = "breadcrumb";
|
|
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 = "n";
|
|
196
|
+
const peg$c57 = "r";
|
|
197
|
+
const peg$c58 = "t";
|
|
198
|
+
const peg$c59 = "-";
|
|
199
|
+
const peg$c60 = ".";
|
|
200
|
+
const peg$c61 = "px";
|
|
201
|
+
const peg$c62 = "%";
|
|
202
|
+
const peg$c63 = "em";
|
|
203
|
+
const peg$c64 = "rem";
|
|
204
|
+
const peg$c65 = "vh";
|
|
205
|
+
const peg$c66 = "vw";
|
|
206
|
+
const peg$c67 = "true";
|
|
207
|
+
const peg$c68 = "false";
|
|
208
208
|
const peg$c69 = "\n";
|
|
209
209
|
const peg$c70 = "*/";
|
|
210
210
|
const peg$r0 = /^[=[{}]/;
|
|
@@ -244,54 +244,54 @@ function peg$parse(input, options) {
|
|
|
244
244
|
const peg$e28 = peg$literalExpectation("badge", false);
|
|
245
245
|
const peg$e29 = peg$literalExpectation("icon", false);
|
|
246
246
|
const peg$e30 = peg$literalExpectation("table", false);
|
|
247
|
-
const peg$e31 = peg$literalExpectation("
|
|
248
|
-
const peg$e32 = peg$literalExpectation("
|
|
249
|
-
const peg$e33 = peg$literalExpectation("
|
|
250
|
-
const peg$e34 = peg$literalExpectation("
|
|
251
|
-
const peg$e35 = peg$literalExpectation("
|
|
252
|
-
const peg$e36 = peg$literalExpectation("
|
|
253
|
-
const peg$e37 = peg$literalExpectation("
|
|
254
|
-
const peg$e38 = peg$literalExpectation("
|
|
255
|
-
const peg$e39 = peg$literalExpectation("
|
|
256
|
-
const peg$e40 = peg$literalExpectation("
|
|
257
|
-
const peg$e41 = peg$literalExpectation("
|
|
258
|
-
const peg$e42 = peg$literalExpectation("
|
|
259
|
-
const peg$e43 = peg$literalExpectation("
|
|
260
|
-
const peg$e44 = peg$literalExpectation("
|
|
261
|
-
const peg$e45 = peg$literalExpectation("
|
|
262
|
-
const peg$e46 = peg$literalExpectation("
|
|
263
|
-
const peg$e47 = peg$literalExpectation("
|
|
264
|
-
const peg$e48 = peg$
|
|
265
|
-
const peg$e49 = peg$literalExpectation("
|
|
266
|
-
const peg$e50 = peg$literalExpectation("
|
|
267
|
-
const peg$e51 = peg$
|
|
268
|
-
const peg$e52 = peg$
|
|
269
|
-
const peg$e53 = peg$
|
|
270
|
-
const peg$e54 = peg$
|
|
271
|
-
const peg$e55 = peg$
|
|
272
|
-
const peg$e56 = peg$
|
|
273
|
-
const peg$e57 = peg$literalExpectation("
|
|
274
|
-
const peg$e58 = peg$literalExpectation("
|
|
275
|
-
const peg$e59 = peg$literalExpectation("
|
|
276
|
-
const peg$e60 = peg$
|
|
277
|
-
const peg$e61 = peg$literalExpectation("
|
|
278
|
-
const peg$e62 = peg$
|
|
279
|
-
const peg$e63 = peg$
|
|
280
|
-
const peg$e64 = peg$
|
|
281
|
-
const peg$e65 = peg$
|
|
282
|
-
const peg$e66 = peg$literalExpectation("
|
|
283
|
-
const peg$e67 = peg$
|
|
284
|
-
const peg$e68 = peg$literalExpectation("
|
|
285
|
-
const peg$e69 = peg$literalExpectation("
|
|
286
|
-
const peg$e70 = peg$literalExpectation("
|
|
287
|
-
const peg$e71 = peg$
|
|
288
|
-
const peg$e72 = peg$literalExpectation("
|
|
289
|
-
const peg$e73 = peg$literalExpectation("
|
|
290
|
-
const peg$e74 = peg$otherExpectation("
|
|
291
|
-
const peg$e75 = peg$
|
|
292
|
-
const peg$e76 = peg$literalExpectation("
|
|
293
|
-
const peg$e77 = peg$
|
|
294
|
-
const peg$e78 = peg$
|
|
247
|
+
const peg$e31 = peg$literalExpectation("[", false);
|
|
248
|
+
const peg$e32 = peg$literalExpectation(",", false);
|
|
249
|
+
const peg$e33 = peg$literalExpectation("]", false);
|
|
250
|
+
const peg$e34 = peg$literalExpectation("columns", false);
|
|
251
|
+
const peg$e35 = peg$literalExpectation("list", false);
|
|
252
|
+
const peg$e36 = peg$literalExpectation("item", false);
|
|
253
|
+
const peg$e37 = peg$literalExpectation("alert", false);
|
|
254
|
+
const peg$e38 = peg$literalExpectation("toast", false);
|
|
255
|
+
const peg$e39 = peg$literalExpectation("progress", false);
|
|
256
|
+
const peg$e40 = peg$literalExpectation("spinner", false);
|
|
257
|
+
const peg$e41 = peg$literalExpectation("tooltip", false);
|
|
258
|
+
const peg$e42 = peg$literalExpectation("popover", false);
|
|
259
|
+
const peg$e43 = peg$literalExpectation("dropdown", false);
|
|
260
|
+
const peg$e44 = peg$literalExpectation("divider", false);
|
|
261
|
+
const peg$e45 = peg$literalExpectation("nav", false);
|
|
262
|
+
const peg$e46 = peg$literalExpectation("group", false);
|
|
263
|
+
const peg$e47 = peg$literalExpectation("tabs", false);
|
|
264
|
+
const peg$e48 = peg$literalExpectation("tab", false);
|
|
265
|
+
const peg$e49 = peg$literalExpectation("breadcrumb", false);
|
|
266
|
+
const peg$e50 = peg$literalExpectation("=", false);
|
|
267
|
+
const peg$e51 = peg$classExpectation(["=", "[", "{", "}"], false, false, false);
|
|
268
|
+
const peg$e52 = peg$literalExpectation("//", false);
|
|
269
|
+
const peg$e53 = peg$literalExpectation("/*", false);
|
|
270
|
+
const peg$e54 = peg$anyExpectation();
|
|
271
|
+
const peg$e55 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", "-"], false, false, false);
|
|
272
|
+
const peg$e56 = peg$otherExpectation("string");
|
|
273
|
+
const peg$e57 = peg$literalExpectation('"', false);
|
|
274
|
+
const peg$e58 = peg$literalExpectation("'", false);
|
|
275
|
+
const peg$e59 = peg$literalExpectation("\\", false);
|
|
276
|
+
const peg$e60 = peg$literalExpectation("n", false);
|
|
277
|
+
const peg$e61 = peg$literalExpectation("r", false);
|
|
278
|
+
const peg$e62 = peg$literalExpectation("t", false);
|
|
279
|
+
const peg$e63 = peg$otherExpectation("number");
|
|
280
|
+
const peg$e64 = peg$literalExpectation("-", false);
|
|
281
|
+
const peg$e65 = peg$classExpectation([["0", "9"]], false, false, false);
|
|
282
|
+
const peg$e66 = peg$literalExpectation(".", false);
|
|
283
|
+
const peg$e67 = peg$otherExpectation("value with unit");
|
|
284
|
+
const peg$e68 = peg$literalExpectation("px", false);
|
|
285
|
+
const peg$e69 = peg$literalExpectation("%", false);
|
|
286
|
+
const peg$e70 = peg$literalExpectation("em", false);
|
|
287
|
+
const peg$e71 = peg$literalExpectation("rem", false);
|
|
288
|
+
const peg$e72 = peg$literalExpectation("vh", false);
|
|
289
|
+
const peg$e73 = peg$literalExpectation("vw", false);
|
|
290
|
+
const peg$e74 = peg$otherExpectation("boolean");
|
|
291
|
+
const peg$e75 = peg$literalExpectation("true", false);
|
|
292
|
+
const peg$e76 = peg$literalExpectation("false", false);
|
|
293
|
+
const peg$e77 = peg$otherExpectation("identifier");
|
|
294
|
+
const peg$e78 = peg$classExpectation([["a", "z"], ["A", "Z"], "_"], false, false, false);
|
|
295
295
|
const peg$e79 = peg$classExpectation([" ", " ", "\n", "\r"], false, false, false);
|
|
296
296
|
const peg$e80 = peg$otherExpectation("comment");
|
|
297
297
|
const peg$e81 = peg$classExpectation(["\n"], true, false, false);
|
|
@@ -485,13 +485,25 @@ function peg$parse(input, options) {
|
|
|
485
485
|
...attrsToObject(attrs)
|
|
486
486
|
});
|
|
487
487
|
}
|
|
488
|
-
function peg$f32(
|
|
488
|
+
function peg$f32(data, attrs) {
|
|
489
|
+
const columns = data.length > 0 ? data[0] : [];
|
|
490
|
+
const rows = data.slice(1);
|
|
491
|
+
return createNode("Table", {
|
|
492
|
+
columns,
|
|
493
|
+
rows,
|
|
494
|
+
...attrsToObject(attrs)
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
function peg$f33(attrs, rows) {
|
|
489
498
|
return createNode("Table", {
|
|
490
499
|
...attrsToObject(attrs),
|
|
491
500
|
...rows
|
|
492
501
|
});
|
|
493
502
|
}
|
|
494
|
-
function peg$
|
|
503
|
+
function peg$f34(first, rest) {
|
|
504
|
+
return [first, ...rest.map((r) => r[2])];
|
|
505
|
+
}
|
|
506
|
+
function peg$f35(items) {
|
|
495
507
|
const columns = [];
|
|
496
508
|
const rows = [];
|
|
497
509
|
for (const item of items.map((i) => i[0]).filter((i) => i !== null)) {
|
|
@@ -500,106 +512,121 @@ function peg$parse(input, options) {
|
|
|
500
512
|
}
|
|
501
513
|
return { columns, rows };
|
|
502
514
|
}
|
|
503
|
-
function peg$
|
|
515
|
+
function peg$f36(values) {
|
|
504
516
|
return { type: "columns", values };
|
|
505
517
|
}
|
|
506
|
-
function peg$
|
|
518
|
+
function peg$f37(values) {
|
|
507
519
|
return { type: "row", values };
|
|
508
520
|
}
|
|
509
|
-
function peg$
|
|
521
|
+
function peg$f38() {
|
|
510
522
|
return null;
|
|
511
523
|
}
|
|
512
|
-
function peg$
|
|
524
|
+
function peg$f39(items, attrs, block) {
|
|
513
525
|
return createNode("List", {
|
|
514
526
|
items: items || (block ? block : []),
|
|
515
527
|
...attrsToObject(attrs)
|
|
516
528
|
});
|
|
517
529
|
}
|
|
518
|
-
function peg$
|
|
530
|
+
function peg$f40(items) {
|
|
519
531
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
520
532
|
}
|
|
521
|
-
function peg$
|
|
533
|
+
function peg$f41(label, attrs, nested) {
|
|
522
534
|
return {
|
|
523
535
|
content: label,
|
|
524
536
|
...attrsToObject(attrs),
|
|
525
537
|
children: nested || []
|
|
526
538
|
};
|
|
527
539
|
}
|
|
528
|
-
function peg$
|
|
540
|
+
function peg$f42() {
|
|
529
541
|
return null;
|
|
530
542
|
}
|
|
531
|
-
function peg$
|
|
543
|
+
function peg$f43(label, attrs) {
|
|
532
544
|
return createNode("Alert", {
|
|
533
545
|
content: label,
|
|
534
546
|
...attrsToObject(attrs)
|
|
535
547
|
});
|
|
536
548
|
}
|
|
537
|
-
function peg$
|
|
549
|
+
function peg$f44(label, attrs) {
|
|
538
550
|
return createNode("Toast", {
|
|
539
551
|
content: label,
|
|
540
552
|
...attrsToObject(attrs)
|
|
541
553
|
});
|
|
542
554
|
}
|
|
543
|
-
function peg$
|
|
555
|
+
function peg$f45(attrs) {
|
|
544
556
|
return createNode("Progress", {
|
|
545
557
|
...attrsToObject(attrs)
|
|
546
558
|
});
|
|
547
559
|
}
|
|
548
|
-
function peg$
|
|
560
|
+
function peg$f46(label, attrs) {
|
|
549
561
|
return createNode("Spinner", {
|
|
550
562
|
label: label || null,
|
|
551
563
|
...attrsToObject(attrs)
|
|
552
564
|
});
|
|
553
565
|
}
|
|
554
|
-
function peg$
|
|
566
|
+
function peg$f47(label, attrs) {
|
|
555
567
|
return createNode("Tooltip", {
|
|
556
568
|
content: label,
|
|
557
569
|
...attrsToObject(attrs),
|
|
558
570
|
children: []
|
|
559
571
|
});
|
|
560
572
|
}
|
|
561
|
-
function peg$
|
|
573
|
+
function peg$f48(label, attrs, children) {
|
|
562
574
|
return createNode("Popover", {
|
|
563
575
|
title: label || null,
|
|
564
576
|
...attrsToObject(attrs),
|
|
565
577
|
children
|
|
566
578
|
});
|
|
567
579
|
}
|
|
568
|
-
function peg$
|
|
580
|
+
function peg$f49(items, attrs) {
|
|
581
|
+
const processedItems = items.map((item) => {
|
|
582
|
+
if (typeof item === "string") {
|
|
583
|
+
if (item === "---" || item === "-" || item === "divider") {
|
|
584
|
+
return { type: "divider" };
|
|
585
|
+
}
|
|
586
|
+
return { label: item };
|
|
587
|
+
}
|
|
588
|
+
return item;
|
|
589
|
+
});
|
|
590
|
+
return createNode("Dropdown", {
|
|
591
|
+
...attrsToObject(attrs),
|
|
592
|
+
items: processedItems
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
function peg$f50(attrs, items) {
|
|
569
596
|
return createNode("Dropdown", {
|
|
570
597
|
...attrsToObject(attrs),
|
|
571
598
|
items
|
|
572
599
|
});
|
|
573
600
|
}
|
|
574
|
-
function peg$
|
|
601
|
+
function peg$f51(items) {
|
|
575
602
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
576
603
|
}
|
|
577
|
-
function peg$
|
|
604
|
+
function peg$f52(label, attrs) {
|
|
578
605
|
return { label, ...attrsToObject(attrs) };
|
|
579
606
|
}
|
|
580
|
-
function peg$
|
|
607
|
+
function peg$f53() {
|
|
581
608
|
return { type: "divider" };
|
|
582
609
|
}
|
|
583
|
-
function peg$
|
|
610
|
+
function peg$f54() {
|
|
584
611
|
return null;
|
|
585
612
|
}
|
|
586
|
-
function peg$
|
|
613
|
+
function peg$f55(items, attrs, block) {
|
|
587
614
|
return createNode("Nav", {
|
|
588
615
|
items: items || [],
|
|
589
616
|
...attrsToObject(attrs),
|
|
590
617
|
children: block || []
|
|
591
618
|
});
|
|
592
619
|
}
|
|
593
|
-
function peg$
|
|
620
|
+
function peg$f56(content) {
|
|
594
621
|
return content.map((c) => c[0]).filter((c) => c !== null);
|
|
595
622
|
}
|
|
596
|
-
function peg$
|
|
623
|
+
function peg$f57() {
|
|
597
624
|
return { type: "divider" };
|
|
598
625
|
}
|
|
599
|
-
function peg$
|
|
626
|
+
function peg$f58() {
|
|
600
627
|
return null;
|
|
601
628
|
}
|
|
602
|
-
function peg$
|
|
629
|
+
function peg$f59(label, attrs, items) {
|
|
603
630
|
return {
|
|
604
631
|
type: "group",
|
|
605
632
|
label,
|
|
@@ -607,122 +634,122 @@ function peg$parse(input, options) {
|
|
|
607
634
|
items: items.map((i) => i[0]).filter((i) => i !== null)
|
|
608
635
|
};
|
|
609
636
|
}
|
|
610
|
-
function peg$
|
|
637
|
+
function peg$f60() {
|
|
611
638
|
return { type: "divider" };
|
|
612
639
|
}
|
|
613
|
-
function peg$
|
|
640
|
+
function peg$f61() {
|
|
614
641
|
return null;
|
|
615
642
|
}
|
|
616
|
-
function peg$
|
|
643
|
+
function peg$f62(label, attrs) {
|
|
617
644
|
return {
|
|
618
645
|
type: "item",
|
|
619
646
|
label,
|
|
620
647
|
...attrsToObject(attrs)
|
|
621
648
|
};
|
|
622
649
|
}
|
|
623
|
-
function peg$
|
|
650
|
+
function peg$f63(items, attrs, block) {
|
|
624
651
|
return createNode("Tabs", {
|
|
625
652
|
items: items || [],
|
|
626
653
|
...attrsToObject(attrs),
|
|
627
654
|
children: block || []
|
|
628
655
|
});
|
|
629
656
|
}
|
|
630
|
-
function peg$
|
|
657
|
+
function peg$f64(tabs) {
|
|
631
658
|
return tabs.map((t) => t[0]).filter((t) => t !== null);
|
|
632
659
|
}
|
|
633
|
-
function peg$
|
|
660
|
+
function peg$f65(label, attrs, children) {
|
|
634
661
|
return {
|
|
635
662
|
label,
|
|
636
663
|
...attrsToObject(attrs),
|
|
637
664
|
children
|
|
638
665
|
};
|
|
639
666
|
}
|
|
640
|
-
function peg$
|
|
667
|
+
function peg$f66() {
|
|
641
668
|
return null;
|
|
642
669
|
}
|
|
643
|
-
function peg$
|
|
670
|
+
function peg$f67(items, attrs) {
|
|
644
671
|
return createNode("Breadcrumb", {
|
|
645
672
|
items,
|
|
646
673
|
...attrsToObject(attrs)
|
|
647
674
|
});
|
|
648
675
|
}
|
|
649
|
-
function peg$
|
|
676
|
+
function peg$f68(attrs) {
|
|
650
677
|
return createNode("Divider", {
|
|
651
678
|
...attrsToObject(attrs)
|
|
652
679
|
});
|
|
653
680
|
}
|
|
654
|
-
function peg$
|
|
681
|
+
function peg$f69(attrs) {
|
|
655
682
|
return attrs;
|
|
656
683
|
}
|
|
657
|
-
function peg$
|
|
684
|
+
function peg$f70(name, value) {
|
|
658
685
|
return { name, value };
|
|
659
686
|
}
|
|
660
|
-
function peg$
|
|
687
|
+
function peg$f71(flag) {
|
|
661
688
|
return { name: flag, value: true };
|
|
662
689
|
}
|
|
663
|
-
function peg$
|
|
690
|
+
function peg$f72(name) {
|
|
664
691
|
return name;
|
|
665
692
|
}
|
|
666
|
-
function peg$
|
|
693
|
+
function peg$f73(chars) {
|
|
667
694
|
return chars.join("");
|
|
668
695
|
}
|
|
669
|
-
function peg$
|
|
696
|
+
function peg$f74(chars) {
|
|
670
697
|
return chars.join("");
|
|
671
698
|
}
|
|
672
|
-
function peg$
|
|
699
|
+
function peg$f75(char) {
|
|
673
700
|
return char;
|
|
674
701
|
}
|
|
675
|
-
function peg$
|
|
702
|
+
function peg$f76(seq) {
|
|
676
703
|
return seq;
|
|
677
704
|
}
|
|
678
|
-
function peg$
|
|
705
|
+
function peg$f77(char) {
|
|
679
706
|
return char;
|
|
680
707
|
}
|
|
681
|
-
function peg$
|
|
708
|
+
function peg$f78(seq) {
|
|
682
709
|
return seq;
|
|
683
710
|
}
|
|
684
|
-
function peg$
|
|
711
|
+
function peg$f79() {
|
|
685
712
|
return "\n";
|
|
686
713
|
}
|
|
687
|
-
function peg$
|
|
714
|
+
function peg$f80() {
|
|
688
715
|
return "\r";
|
|
689
716
|
}
|
|
690
|
-
function peg$
|
|
717
|
+
function peg$f81() {
|
|
691
718
|
return " ";
|
|
692
719
|
}
|
|
693
|
-
function peg$
|
|
720
|
+
function peg$f82() {
|
|
694
721
|
return "\\";
|
|
695
722
|
}
|
|
696
|
-
function peg$
|
|
723
|
+
function peg$f83() {
|
|
697
724
|
return '"';
|
|
698
725
|
}
|
|
699
|
-
function peg$
|
|
726
|
+
function peg$f84() {
|
|
700
727
|
return "'";
|
|
701
728
|
}
|
|
702
|
-
function peg$
|
|
729
|
+
function peg$f85(sign, digits, decimal) {
|
|
703
730
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
704
731
|
return parseFloat(num);
|
|
705
732
|
}
|
|
706
|
-
function peg$
|
|
733
|
+
function peg$f86(sign, digits, decimal, unit) {
|
|
707
734
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
708
735
|
return { value: parseFloat(num), unit };
|
|
709
736
|
}
|
|
710
|
-
function peg$
|
|
737
|
+
function peg$f87() {
|
|
711
738
|
return true;
|
|
712
739
|
}
|
|
713
|
-
function peg$
|
|
740
|
+
function peg$f88() {
|
|
714
741
|
return false;
|
|
715
742
|
}
|
|
716
|
-
function peg$
|
|
743
|
+
function peg$f89(head, tail) {
|
|
717
744
|
return head + tail.join("");
|
|
718
745
|
}
|
|
719
|
-
function peg$
|
|
746
|
+
function peg$f90(items) {
|
|
720
747
|
return items || [];
|
|
721
748
|
}
|
|
722
|
-
function peg$
|
|
749
|
+
function peg$f91(head, tail) {
|
|
723
750
|
return [head, ...tail.map((t) => t[3])];
|
|
724
751
|
}
|
|
725
|
-
function peg$
|
|
752
|
+
function peg$f92(props) {
|
|
726
753
|
const result = {};
|
|
727
754
|
if (props) {
|
|
728
755
|
for (const p of props) {
|
|
@@ -731,13 +758,13 @@ function peg$parse(input, options) {
|
|
|
731
758
|
}
|
|
732
759
|
return result;
|
|
733
760
|
}
|
|
734
|
-
function peg$
|
|
761
|
+
function peg$f93(head, tail) {
|
|
735
762
|
return [head, ...tail.map((t) => t[3])];
|
|
736
763
|
}
|
|
737
|
-
function peg$
|
|
764
|
+
function peg$f94(name, value) {
|
|
738
765
|
return { name, value };
|
|
739
766
|
}
|
|
740
|
-
function peg$
|
|
767
|
+
function peg$f95(name) {
|
|
741
768
|
return { name, value: true };
|
|
742
769
|
}
|
|
743
770
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -2435,36 +2462,177 @@ function peg$parse(input, options) {
|
|
|
2435
2462
|
}
|
|
2436
2463
|
if (s1 !== peg$FAILED) {
|
|
2437
2464
|
s2 = peg$parse_();
|
|
2438
|
-
s3 = peg$
|
|
2439
|
-
if (s3
|
|
2440
|
-
|
|
2465
|
+
s3 = peg$parseNestedArray();
|
|
2466
|
+
if (s3 !== peg$FAILED) {
|
|
2467
|
+
s4 = peg$parse_();
|
|
2468
|
+
s5 = peg$parseAttributes();
|
|
2469
|
+
if (s5 === peg$FAILED) {
|
|
2470
|
+
s5 = null;
|
|
2471
|
+
}
|
|
2472
|
+
peg$savedPos = s0;
|
|
2473
|
+
s0 = peg$f32(s3, s5);
|
|
2474
|
+
} else {
|
|
2475
|
+
peg$currPos = s0;
|
|
2476
|
+
s0 = peg$FAILED;
|
|
2441
2477
|
}
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2478
|
+
} else {
|
|
2479
|
+
peg$currPos = s0;
|
|
2480
|
+
s0 = peg$FAILED;
|
|
2481
|
+
}
|
|
2482
|
+
if (s0 === peg$FAILED) {
|
|
2483
|
+
s0 = peg$currPos;
|
|
2484
|
+
if (input.substr(peg$currPos, 5) === peg$c30) {
|
|
2485
|
+
s1 = peg$c30;
|
|
2486
|
+
peg$currPos += 5;
|
|
2446
2487
|
} else {
|
|
2447
|
-
|
|
2488
|
+
s1 = peg$FAILED;
|
|
2448
2489
|
if (peg$silentFails === 0) {
|
|
2449
|
-
peg$fail(peg$
|
|
2490
|
+
peg$fail(peg$e30);
|
|
2450
2491
|
}
|
|
2451
2492
|
}
|
|
2452
|
-
if (
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2493
|
+
if (s1 !== peg$FAILED) {
|
|
2494
|
+
s2 = peg$parse_();
|
|
2495
|
+
s3 = peg$parseAttributes();
|
|
2496
|
+
if (s3 === peg$FAILED) {
|
|
2497
|
+
s3 = null;
|
|
2498
|
+
}
|
|
2499
|
+
s4 = peg$parse_();
|
|
2500
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
2501
|
+
s5 = peg$c1;
|
|
2458
2502
|
peg$currPos++;
|
|
2459
2503
|
} else {
|
|
2460
|
-
|
|
2504
|
+
s5 = peg$FAILED;
|
|
2461
2505
|
if (peg$silentFails === 0) {
|
|
2462
|
-
peg$fail(peg$
|
|
2506
|
+
peg$fail(peg$e1);
|
|
2463
2507
|
}
|
|
2464
2508
|
}
|
|
2465
|
-
if (
|
|
2509
|
+
if (s5 !== peg$FAILED) {
|
|
2510
|
+
s6 = peg$parse_();
|
|
2511
|
+
s7 = peg$parseTableContent();
|
|
2512
|
+
s8 = peg$parse_();
|
|
2513
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
2514
|
+
s9 = peg$c2;
|
|
2515
|
+
peg$currPos++;
|
|
2516
|
+
} else {
|
|
2517
|
+
s9 = peg$FAILED;
|
|
2518
|
+
if (peg$silentFails === 0) {
|
|
2519
|
+
peg$fail(peg$e2);
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
if (s9 !== peg$FAILED) {
|
|
2523
|
+
peg$savedPos = s0;
|
|
2524
|
+
s0 = peg$f33(s3, s7);
|
|
2525
|
+
} else {
|
|
2526
|
+
peg$currPos = s0;
|
|
2527
|
+
s0 = peg$FAILED;
|
|
2528
|
+
}
|
|
2529
|
+
} else {
|
|
2530
|
+
peg$currPos = s0;
|
|
2531
|
+
s0 = peg$FAILED;
|
|
2532
|
+
}
|
|
2533
|
+
} else {
|
|
2534
|
+
peg$currPos = s0;
|
|
2535
|
+
s0 = peg$FAILED;
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
return s0;
|
|
2539
|
+
}
|
|
2540
|
+
function peg$parseNestedArray() {
|
|
2541
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
2542
|
+
s0 = peg$currPos;
|
|
2543
|
+
if (input.charCodeAt(peg$currPos) === 91) {
|
|
2544
|
+
s1 = peg$c31;
|
|
2545
|
+
peg$currPos++;
|
|
2546
|
+
} else {
|
|
2547
|
+
s1 = peg$FAILED;
|
|
2548
|
+
if (peg$silentFails === 0) {
|
|
2549
|
+
peg$fail(peg$e31);
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
if (s1 !== peg$FAILED) {
|
|
2553
|
+
s2 = peg$parse_();
|
|
2554
|
+
s3 = peg$parseArray();
|
|
2555
|
+
if (s3 !== peg$FAILED) {
|
|
2556
|
+
s4 = peg$parse_();
|
|
2557
|
+
s5 = [];
|
|
2558
|
+
s6 = peg$currPos;
|
|
2559
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2560
|
+
s7 = peg$c32;
|
|
2561
|
+
peg$currPos++;
|
|
2562
|
+
} else {
|
|
2563
|
+
s7 = peg$FAILED;
|
|
2564
|
+
if (peg$silentFails === 0) {
|
|
2565
|
+
peg$fail(peg$e32);
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
if (s7 !== peg$FAILED) {
|
|
2569
|
+
s8 = peg$parse_();
|
|
2570
|
+
s9 = peg$parseArray();
|
|
2571
|
+
if (s9 !== peg$FAILED) {
|
|
2572
|
+
s10 = peg$parse_();
|
|
2573
|
+
s7 = [s7, s8, s9, s10];
|
|
2574
|
+
s6 = s7;
|
|
2575
|
+
} else {
|
|
2576
|
+
peg$currPos = s6;
|
|
2577
|
+
s6 = peg$FAILED;
|
|
2578
|
+
}
|
|
2579
|
+
} else {
|
|
2580
|
+
peg$currPos = s6;
|
|
2581
|
+
s6 = peg$FAILED;
|
|
2582
|
+
}
|
|
2583
|
+
while (s6 !== peg$FAILED) {
|
|
2584
|
+
s5.push(s6);
|
|
2585
|
+
s6 = peg$currPos;
|
|
2586
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2587
|
+
s7 = peg$c32;
|
|
2588
|
+
peg$currPos++;
|
|
2589
|
+
} else {
|
|
2590
|
+
s7 = peg$FAILED;
|
|
2591
|
+
if (peg$silentFails === 0) {
|
|
2592
|
+
peg$fail(peg$e32);
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
if (s7 !== peg$FAILED) {
|
|
2596
|
+
s8 = peg$parse_();
|
|
2597
|
+
s9 = peg$parseArray();
|
|
2598
|
+
if (s9 !== peg$FAILED) {
|
|
2599
|
+
s10 = peg$parse_();
|
|
2600
|
+
s7 = [s7, s8, s9, s10];
|
|
2601
|
+
s6 = s7;
|
|
2602
|
+
} else {
|
|
2603
|
+
peg$currPos = s6;
|
|
2604
|
+
s6 = peg$FAILED;
|
|
2605
|
+
}
|
|
2606
|
+
} else {
|
|
2607
|
+
peg$currPos = s6;
|
|
2608
|
+
s6 = peg$FAILED;
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2612
|
+
s6 = peg$c32;
|
|
2613
|
+
peg$currPos++;
|
|
2614
|
+
} else {
|
|
2615
|
+
s6 = peg$FAILED;
|
|
2616
|
+
if (peg$silentFails === 0) {
|
|
2617
|
+
peg$fail(peg$e32);
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
if (s6 === peg$FAILED) {
|
|
2621
|
+
s6 = null;
|
|
2622
|
+
}
|
|
2623
|
+
s7 = peg$parse_();
|
|
2624
|
+
if (input.charCodeAt(peg$currPos) === 93) {
|
|
2625
|
+
s8 = peg$c33;
|
|
2626
|
+
peg$currPos++;
|
|
2627
|
+
} else {
|
|
2628
|
+
s8 = peg$FAILED;
|
|
2629
|
+
if (peg$silentFails === 0) {
|
|
2630
|
+
peg$fail(peg$e33);
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
if (s8 !== peg$FAILED) {
|
|
2466
2634
|
peg$savedPos = s0;
|
|
2467
|
-
s0 = peg$
|
|
2635
|
+
s0 = peg$f34(s3, s5);
|
|
2468
2636
|
} else {
|
|
2469
2637
|
peg$currPos = s0;
|
|
2470
2638
|
s0 = peg$FAILED;
|
|
@@ -2507,20 +2675,20 @@ function peg$parse(input, options) {
|
|
|
2507
2675
|
}
|
|
2508
2676
|
}
|
|
2509
2677
|
peg$savedPos = s0;
|
|
2510
|
-
s1 = peg$
|
|
2678
|
+
s1 = peg$f35(s1);
|
|
2511
2679
|
s0 = s1;
|
|
2512
2680
|
return s0;
|
|
2513
2681
|
}
|
|
2514
2682
|
function peg$parseTableRow() {
|
|
2515
2683
|
let s0, s1, s2, s3;
|
|
2516
2684
|
s0 = peg$currPos;
|
|
2517
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2518
|
-
s1 = peg$
|
|
2685
|
+
if (input.substr(peg$currPos, 7) === peg$c34) {
|
|
2686
|
+
s1 = peg$c34;
|
|
2519
2687
|
peg$currPos += 7;
|
|
2520
2688
|
} else {
|
|
2521
2689
|
s1 = peg$FAILED;
|
|
2522
2690
|
if (peg$silentFails === 0) {
|
|
2523
|
-
peg$fail(peg$
|
|
2691
|
+
peg$fail(peg$e34);
|
|
2524
2692
|
}
|
|
2525
2693
|
}
|
|
2526
2694
|
if (s1 !== peg$FAILED) {
|
|
@@ -2528,7 +2696,7 @@ function peg$parse(input, options) {
|
|
|
2528
2696
|
s3 = peg$parseArray();
|
|
2529
2697
|
if (s3 !== peg$FAILED) {
|
|
2530
2698
|
peg$savedPos = s0;
|
|
2531
|
-
s0 = peg$
|
|
2699
|
+
s0 = peg$f36(s3);
|
|
2532
2700
|
} else {
|
|
2533
2701
|
peg$currPos = s0;
|
|
2534
2702
|
s0 = peg$FAILED;
|
|
@@ -2553,7 +2721,7 @@ function peg$parse(input, options) {
|
|
|
2553
2721
|
s3 = peg$parseArray();
|
|
2554
2722
|
if (s3 !== peg$FAILED) {
|
|
2555
2723
|
peg$savedPos = s0;
|
|
2556
|
-
s0 = peg$
|
|
2724
|
+
s0 = peg$f37(s3);
|
|
2557
2725
|
} else {
|
|
2558
2726
|
peg$currPos = s0;
|
|
2559
2727
|
s0 = peg$FAILED;
|
|
@@ -2567,7 +2735,7 @@ function peg$parse(input, options) {
|
|
|
2567
2735
|
s1 = peg$parseComment();
|
|
2568
2736
|
if (s1 !== peg$FAILED) {
|
|
2569
2737
|
peg$savedPos = s0;
|
|
2570
|
-
s1 = peg$
|
|
2738
|
+
s1 = peg$f38();
|
|
2571
2739
|
}
|
|
2572
2740
|
s0 = s1;
|
|
2573
2741
|
}
|
|
@@ -2577,13 +2745,13 @@ function peg$parse(input, options) {
|
|
|
2577
2745
|
function peg$parseList() {
|
|
2578
2746
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2579
2747
|
s0 = peg$currPos;
|
|
2580
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2581
|
-
s1 = peg$
|
|
2748
|
+
if (input.substr(peg$currPos, 4) === peg$c35) {
|
|
2749
|
+
s1 = peg$c35;
|
|
2582
2750
|
peg$currPos += 4;
|
|
2583
2751
|
} else {
|
|
2584
2752
|
s1 = peg$FAILED;
|
|
2585
2753
|
if (peg$silentFails === 0) {
|
|
2586
|
-
peg$fail(peg$
|
|
2754
|
+
peg$fail(peg$e35);
|
|
2587
2755
|
}
|
|
2588
2756
|
}
|
|
2589
2757
|
if (s1 !== peg$FAILED) {
|
|
@@ -2603,7 +2771,7 @@ function peg$parse(input, options) {
|
|
|
2603
2771
|
s7 = null;
|
|
2604
2772
|
}
|
|
2605
2773
|
peg$savedPos = s0;
|
|
2606
|
-
s0 = peg$
|
|
2774
|
+
s0 = peg$f39(s3, s5, s7);
|
|
2607
2775
|
} else {
|
|
2608
2776
|
peg$currPos = s0;
|
|
2609
2777
|
s0 = peg$FAILED;
|
|
@@ -2659,7 +2827,7 @@ function peg$parse(input, options) {
|
|
|
2659
2827
|
}
|
|
2660
2828
|
if (s4 !== peg$FAILED) {
|
|
2661
2829
|
peg$savedPos = s0;
|
|
2662
|
-
s0 = peg$
|
|
2830
|
+
s0 = peg$f40(s3);
|
|
2663
2831
|
} else {
|
|
2664
2832
|
peg$currPos = s0;
|
|
2665
2833
|
s0 = peg$FAILED;
|
|
@@ -2673,13 +2841,13 @@ function peg$parse(input, options) {
|
|
|
2673
2841
|
function peg$parseListItem() {
|
|
2674
2842
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2675
2843
|
s0 = peg$currPos;
|
|
2676
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2677
|
-
s1 = peg$
|
|
2844
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
2845
|
+
s1 = peg$c36;
|
|
2678
2846
|
peg$currPos += 4;
|
|
2679
2847
|
} else {
|
|
2680
2848
|
s1 = peg$FAILED;
|
|
2681
2849
|
if (peg$silentFails === 0) {
|
|
2682
|
-
peg$fail(peg$
|
|
2850
|
+
peg$fail(peg$e36);
|
|
2683
2851
|
}
|
|
2684
2852
|
}
|
|
2685
2853
|
if (s1 !== peg$FAILED) {
|
|
@@ -2697,7 +2865,7 @@ function peg$parse(input, options) {
|
|
|
2697
2865
|
s7 = null;
|
|
2698
2866
|
}
|
|
2699
2867
|
peg$savedPos = s0;
|
|
2700
|
-
s0 = peg$
|
|
2868
|
+
s0 = peg$f41(s3, s5, s7);
|
|
2701
2869
|
} else {
|
|
2702
2870
|
peg$currPos = s0;
|
|
2703
2871
|
s0 = peg$FAILED;
|
|
@@ -2711,7 +2879,7 @@ function peg$parse(input, options) {
|
|
|
2711
2879
|
s1 = peg$parseComment();
|
|
2712
2880
|
if (s1 !== peg$FAILED) {
|
|
2713
2881
|
peg$savedPos = s0;
|
|
2714
|
-
s1 = peg$
|
|
2882
|
+
s1 = peg$f42();
|
|
2715
2883
|
}
|
|
2716
2884
|
s0 = s1;
|
|
2717
2885
|
}
|
|
@@ -2720,13 +2888,13 @@ function peg$parse(input, options) {
|
|
|
2720
2888
|
function peg$parseAlert() {
|
|
2721
2889
|
let s0, s1, s2, s3, s4, s5;
|
|
2722
2890
|
s0 = peg$currPos;
|
|
2723
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2724
|
-
s1 = peg$
|
|
2891
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
2892
|
+
s1 = peg$c37;
|
|
2725
2893
|
peg$currPos += 5;
|
|
2726
2894
|
} else {
|
|
2727
2895
|
s1 = peg$FAILED;
|
|
2728
2896
|
if (peg$silentFails === 0) {
|
|
2729
|
-
peg$fail(peg$
|
|
2897
|
+
peg$fail(peg$e37);
|
|
2730
2898
|
}
|
|
2731
2899
|
}
|
|
2732
2900
|
if (s1 !== peg$FAILED) {
|
|
@@ -2739,7 +2907,7 @@ function peg$parse(input, options) {
|
|
|
2739
2907
|
s5 = null;
|
|
2740
2908
|
}
|
|
2741
2909
|
peg$savedPos = s0;
|
|
2742
|
-
s0 = peg$
|
|
2910
|
+
s0 = peg$f43(s3, s5);
|
|
2743
2911
|
} else {
|
|
2744
2912
|
peg$currPos = s0;
|
|
2745
2913
|
s0 = peg$FAILED;
|
|
@@ -2753,13 +2921,13 @@ function peg$parse(input, options) {
|
|
|
2753
2921
|
function peg$parseToast() {
|
|
2754
2922
|
let s0, s1, s2, s3, s4, s5;
|
|
2755
2923
|
s0 = peg$currPos;
|
|
2756
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2757
|
-
s1 = peg$
|
|
2924
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
2925
|
+
s1 = peg$c38;
|
|
2758
2926
|
peg$currPos += 5;
|
|
2759
2927
|
} else {
|
|
2760
2928
|
s1 = peg$FAILED;
|
|
2761
2929
|
if (peg$silentFails === 0) {
|
|
2762
|
-
peg$fail(peg$
|
|
2930
|
+
peg$fail(peg$e38);
|
|
2763
2931
|
}
|
|
2764
2932
|
}
|
|
2765
2933
|
if (s1 !== peg$FAILED) {
|
|
@@ -2772,7 +2940,7 @@ function peg$parse(input, options) {
|
|
|
2772
2940
|
s5 = null;
|
|
2773
2941
|
}
|
|
2774
2942
|
peg$savedPos = s0;
|
|
2775
|
-
s0 = peg$
|
|
2943
|
+
s0 = peg$f44(s3, s5);
|
|
2776
2944
|
} else {
|
|
2777
2945
|
peg$currPos = s0;
|
|
2778
2946
|
s0 = peg$FAILED;
|
|
@@ -2786,13 +2954,13 @@ function peg$parse(input, options) {
|
|
|
2786
2954
|
function peg$parseProgress() {
|
|
2787
2955
|
let s0, s1, s2, s3;
|
|
2788
2956
|
s0 = peg$currPos;
|
|
2789
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2790
|
-
s1 = peg$
|
|
2957
|
+
if (input.substr(peg$currPos, 8) === peg$c39) {
|
|
2958
|
+
s1 = peg$c39;
|
|
2791
2959
|
peg$currPos += 8;
|
|
2792
2960
|
} else {
|
|
2793
2961
|
s1 = peg$FAILED;
|
|
2794
2962
|
if (peg$silentFails === 0) {
|
|
2795
|
-
peg$fail(peg$
|
|
2963
|
+
peg$fail(peg$e39);
|
|
2796
2964
|
}
|
|
2797
2965
|
}
|
|
2798
2966
|
if (s1 !== peg$FAILED) {
|
|
@@ -2802,7 +2970,7 @@ function peg$parse(input, options) {
|
|
|
2802
2970
|
s3 = null;
|
|
2803
2971
|
}
|
|
2804
2972
|
peg$savedPos = s0;
|
|
2805
|
-
s0 = peg$
|
|
2973
|
+
s0 = peg$f45(s3);
|
|
2806
2974
|
} else {
|
|
2807
2975
|
peg$currPos = s0;
|
|
2808
2976
|
s0 = peg$FAILED;
|
|
@@ -2812,13 +2980,13 @@ function peg$parse(input, options) {
|
|
|
2812
2980
|
function peg$parseSpinner() {
|
|
2813
2981
|
let s0, s1, s2, s3, s4, s5;
|
|
2814
2982
|
s0 = peg$currPos;
|
|
2815
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2816
|
-
s1 = peg$
|
|
2983
|
+
if (input.substr(peg$currPos, 7) === peg$c40) {
|
|
2984
|
+
s1 = peg$c40;
|
|
2817
2985
|
peg$currPos += 7;
|
|
2818
2986
|
} else {
|
|
2819
2987
|
s1 = peg$FAILED;
|
|
2820
2988
|
if (peg$silentFails === 0) {
|
|
2821
|
-
peg$fail(peg$
|
|
2989
|
+
peg$fail(peg$e40);
|
|
2822
2990
|
}
|
|
2823
2991
|
}
|
|
2824
2992
|
if (s1 !== peg$FAILED) {
|
|
@@ -2833,7 +3001,7 @@ function peg$parse(input, options) {
|
|
|
2833
3001
|
s5 = null;
|
|
2834
3002
|
}
|
|
2835
3003
|
peg$savedPos = s0;
|
|
2836
|
-
s0 = peg$
|
|
3004
|
+
s0 = peg$f46(s3, s5);
|
|
2837
3005
|
} else {
|
|
2838
3006
|
peg$currPos = s0;
|
|
2839
3007
|
s0 = peg$FAILED;
|
|
@@ -2843,13 +3011,13 @@ function peg$parse(input, options) {
|
|
|
2843
3011
|
function peg$parseTooltip() {
|
|
2844
3012
|
let s0, s1, s2, s3, s4, s5;
|
|
2845
3013
|
s0 = peg$currPos;
|
|
2846
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2847
|
-
s1 = peg$
|
|
3014
|
+
if (input.substr(peg$currPos, 7) === peg$c41) {
|
|
3015
|
+
s1 = peg$c41;
|
|
2848
3016
|
peg$currPos += 7;
|
|
2849
3017
|
} else {
|
|
2850
3018
|
s1 = peg$FAILED;
|
|
2851
3019
|
if (peg$silentFails === 0) {
|
|
2852
|
-
peg$fail(peg$
|
|
3020
|
+
peg$fail(peg$e41);
|
|
2853
3021
|
}
|
|
2854
3022
|
}
|
|
2855
3023
|
if (s1 !== peg$FAILED) {
|
|
@@ -2862,7 +3030,7 @@ function peg$parse(input, options) {
|
|
|
2862
3030
|
s5 = null;
|
|
2863
3031
|
}
|
|
2864
3032
|
peg$savedPos = s0;
|
|
2865
|
-
s0 = peg$
|
|
3033
|
+
s0 = peg$f47(s3, s5);
|
|
2866
3034
|
} else {
|
|
2867
3035
|
peg$currPos = s0;
|
|
2868
3036
|
s0 = peg$FAILED;
|
|
@@ -2876,13 +3044,13 @@ function peg$parse(input, options) {
|
|
|
2876
3044
|
function peg$parsePopover() {
|
|
2877
3045
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
2878
3046
|
s0 = peg$currPos;
|
|
2879
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2880
|
-
s1 = peg$
|
|
3047
|
+
if (input.substr(peg$currPos, 7) === peg$c42) {
|
|
3048
|
+
s1 = peg$c42;
|
|
2881
3049
|
peg$currPos += 7;
|
|
2882
3050
|
} else {
|
|
2883
3051
|
s1 = peg$FAILED;
|
|
2884
3052
|
if (peg$silentFails === 0) {
|
|
2885
|
-
peg$fail(peg$
|
|
3053
|
+
peg$fail(peg$e42);
|
|
2886
3054
|
}
|
|
2887
3055
|
}
|
|
2888
3056
|
if (s1 !== peg$FAILED) {
|
|
@@ -2922,7 +3090,7 @@ function peg$parse(input, options) {
|
|
|
2922
3090
|
}
|
|
2923
3091
|
if (s11 !== peg$FAILED) {
|
|
2924
3092
|
peg$savedPos = s0;
|
|
2925
|
-
s0 = peg$
|
|
3093
|
+
s0 = peg$f48(s3, s5, s9);
|
|
2926
3094
|
} else {
|
|
2927
3095
|
peg$currPos = s0;
|
|
2928
3096
|
s0 = peg$FAILED;
|
|
@@ -2944,47 +3112,81 @@ function peg$parse(input, options) {
|
|
|
2944
3112
|
function peg$parseDropdown() {
|
|
2945
3113
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
2946
3114
|
s0 = peg$currPos;
|
|
2947
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2948
|
-
s1 = peg$
|
|
3115
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
3116
|
+
s1 = peg$c43;
|
|
2949
3117
|
peg$currPos += 8;
|
|
2950
3118
|
} else {
|
|
2951
3119
|
s1 = peg$FAILED;
|
|
2952
3120
|
if (peg$silentFails === 0) {
|
|
2953
|
-
peg$fail(peg$
|
|
3121
|
+
peg$fail(peg$e43);
|
|
2954
3122
|
}
|
|
2955
3123
|
}
|
|
2956
3124
|
if (s1 !== peg$FAILED) {
|
|
2957
3125
|
s2 = peg$parse_();
|
|
2958
|
-
s3 = peg$
|
|
2959
|
-
if (s3
|
|
2960
|
-
|
|
3126
|
+
s3 = peg$parseArray();
|
|
3127
|
+
if (s3 !== peg$FAILED) {
|
|
3128
|
+
s4 = peg$parse_();
|
|
3129
|
+
s5 = peg$parseAttributes();
|
|
3130
|
+
if (s5 === peg$FAILED) {
|
|
3131
|
+
s5 = null;
|
|
3132
|
+
}
|
|
3133
|
+
peg$savedPos = s0;
|
|
3134
|
+
s0 = peg$f49(s3, s5);
|
|
3135
|
+
} else {
|
|
3136
|
+
peg$currPos = s0;
|
|
3137
|
+
s0 = peg$FAILED;
|
|
2961
3138
|
}
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
3139
|
+
} else {
|
|
3140
|
+
peg$currPos = s0;
|
|
3141
|
+
s0 = peg$FAILED;
|
|
3142
|
+
}
|
|
3143
|
+
if (s0 === peg$FAILED) {
|
|
3144
|
+
s0 = peg$currPos;
|
|
3145
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
3146
|
+
s1 = peg$c43;
|
|
3147
|
+
peg$currPos += 8;
|
|
2966
3148
|
} else {
|
|
2967
|
-
|
|
3149
|
+
s1 = peg$FAILED;
|
|
2968
3150
|
if (peg$silentFails === 0) {
|
|
2969
|
-
peg$fail(peg$
|
|
3151
|
+
peg$fail(peg$e43);
|
|
2970
3152
|
}
|
|
2971
3153
|
}
|
|
2972
|
-
if (
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
3154
|
+
if (s1 !== peg$FAILED) {
|
|
3155
|
+
s2 = peg$parse_();
|
|
3156
|
+
s3 = peg$parseAttributes();
|
|
3157
|
+
if (s3 === peg$FAILED) {
|
|
3158
|
+
s3 = null;
|
|
3159
|
+
}
|
|
3160
|
+
s4 = peg$parse_();
|
|
3161
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3162
|
+
s5 = peg$c1;
|
|
2978
3163
|
peg$currPos++;
|
|
2979
3164
|
} else {
|
|
2980
|
-
|
|
3165
|
+
s5 = peg$FAILED;
|
|
2981
3166
|
if (peg$silentFails === 0) {
|
|
2982
|
-
peg$fail(peg$
|
|
3167
|
+
peg$fail(peg$e1);
|
|
2983
3168
|
}
|
|
2984
3169
|
}
|
|
2985
|
-
if (
|
|
2986
|
-
|
|
2987
|
-
|
|
3170
|
+
if (s5 !== peg$FAILED) {
|
|
3171
|
+
s6 = peg$parse_();
|
|
3172
|
+
s7 = peg$parseDropdownContent();
|
|
3173
|
+
s8 = peg$parse_();
|
|
3174
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3175
|
+
s9 = peg$c2;
|
|
3176
|
+
peg$currPos++;
|
|
3177
|
+
} else {
|
|
3178
|
+
s9 = peg$FAILED;
|
|
3179
|
+
if (peg$silentFails === 0) {
|
|
3180
|
+
peg$fail(peg$e2);
|
|
3181
|
+
}
|
|
3182
|
+
}
|
|
3183
|
+
if (s9 !== peg$FAILED) {
|
|
3184
|
+
peg$savedPos = s0;
|
|
3185
|
+
s0 = peg$f50(s3, s7);
|
|
3186
|
+
} else {
|
|
3187
|
+
peg$currPos = s0;
|
|
3188
|
+
s0 = peg$FAILED;
|
|
3189
|
+
}
|
|
2988
3190
|
} else {
|
|
2989
3191
|
peg$currPos = s0;
|
|
2990
3192
|
s0 = peg$FAILED;
|
|
@@ -2993,9 +3195,6 @@ function peg$parse(input, options) {
|
|
|
2993
3195
|
peg$currPos = s0;
|
|
2994
3196
|
s0 = peg$FAILED;
|
|
2995
3197
|
}
|
|
2996
|
-
} else {
|
|
2997
|
-
peg$currPos = s0;
|
|
2998
|
-
s0 = peg$FAILED;
|
|
2999
3198
|
}
|
|
3000
3199
|
return s0;
|
|
3001
3200
|
}
|
|
@@ -3027,20 +3226,20 @@ function peg$parse(input, options) {
|
|
|
3027
3226
|
}
|
|
3028
3227
|
}
|
|
3029
3228
|
peg$savedPos = s0;
|
|
3030
|
-
s1 = peg$
|
|
3229
|
+
s1 = peg$f51(s1);
|
|
3031
3230
|
s0 = s1;
|
|
3032
3231
|
return s0;
|
|
3033
3232
|
}
|
|
3034
3233
|
function peg$parseDropdownItem() {
|
|
3035
3234
|
let s0, s1, s2, s3, s4, s5;
|
|
3036
3235
|
s0 = peg$currPos;
|
|
3037
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3038
|
-
s1 = peg$
|
|
3236
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
3237
|
+
s1 = peg$c36;
|
|
3039
3238
|
peg$currPos += 4;
|
|
3040
3239
|
} else {
|
|
3041
3240
|
s1 = peg$FAILED;
|
|
3042
3241
|
if (peg$silentFails === 0) {
|
|
3043
|
-
peg$fail(peg$
|
|
3242
|
+
peg$fail(peg$e36);
|
|
3044
3243
|
}
|
|
3045
3244
|
}
|
|
3046
3245
|
if (s1 !== peg$FAILED) {
|
|
@@ -3053,7 +3252,7 @@ function peg$parse(input, options) {
|
|
|
3053
3252
|
s5 = null;
|
|
3054
3253
|
}
|
|
3055
3254
|
peg$savedPos = s0;
|
|
3056
|
-
s0 = peg$
|
|
3255
|
+
s0 = peg$f52(s3, s5);
|
|
3057
3256
|
} else {
|
|
3058
3257
|
peg$currPos = s0;
|
|
3059
3258
|
s0 = peg$FAILED;
|
|
@@ -3064,18 +3263,18 @@ function peg$parse(input, options) {
|
|
|
3064
3263
|
}
|
|
3065
3264
|
if (s0 === peg$FAILED) {
|
|
3066
3265
|
s0 = peg$currPos;
|
|
3067
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3068
|
-
s1 = peg$
|
|
3266
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3267
|
+
s1 = peg$c44;
|
|
3069
3268
|
peg$currPos += 7;
|
|
3070
3269
|
} else {
|
|
3071
3270
|
s1 = peg$FAILED;
|
|
3072
3271
|
if (peg$silentFails === 0) {
|
|
3073
|
-
peg$fail(peg$
|
|
3272
|
+
peg$fail(peg$e44);
|
|
3074
3273
|
}
|
|
3075
3274
|
}
|
|
3076
3275
|
if (s1 !== peg$FAILED) {
|
|
3077
3276
|
peg$savedPos = s0;
|
|
3078
|
-
s1 = peg$
|
|
3277
|
+
s1 = peg$f53();
|
|
3079
3278
|
}
|
|
3080
3279
|
s0 = s1;
|
|
3081
3280
|
if (s0 === peg$FAILED) {
|
|
@@ -3083,7 +3282,7 @@ function peg$parse(input, options) {
|
|
|
3083
3282
|
s1 = peg$parseComment();
|
|
3084
3283
|
if (s1 !== peg$FAILED) {
|
|
3085
3284
|
peg$savedPos = s0;
|
|
3086
|
-
s1 = peg$
|
|
3285
|
+
s1 = peg$f54();
|
|
3087
3286
|
}
|
|
3088
3287
|
s0 = s1;
|
|
3089
3288
|
}
|
|
@@ -3093,13 +3292,13 @@ function peg$parse(input, options) {
|
|
|
3093
3292
|
function peg$parseNav() {
|
|
3094
3293
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3095
3294
|
s0 = peg$currPos;
|
|
3096
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3097
|
-
s1 = peg$
|
|
3295
|
+
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
3296
|
+
s1 = peg$c45;
|
|
3098
3297
|
peg$currPos += 3;
|
|
3099
3298
|
} else {
|
|
3100
3299
|
s1 = peg$FAILED;
|
|
3101
3300
|
if (peg$silentFails === 0) {
|
|
3102
|
-
peg$fail(peg$
|
|
3301
|
+
peg$fail(peg$e45);
|
|
3103
3302
|
}
|
|
3104
3303
|
}
|
|
3105
3304
|
if (s1 !== peg$FAILED) {
|
|
@@ -3119,7 +3318,7 @@ function peg$parse(input, options) {
|
|
|
3119
3318
|
s7 = null;
|
|
3120
3319
|
}
|
|
3121
3320
|
peg$savedPos = s0;
|
|
3122
|
-
s0 = peg$
|
|
3321
|
+
s0 = peg$f55(s3, s5, s7);
|
|
3123
3322
|
} else {
|
|
3124
3323
|
peg$currPos = s0;
|
|
3125
3324
|
s0 = peg$FAILED;
|
|
@@ -3175,7 +3374,7 @@ function peg$parse(input, options) {
|
|
|
3175
3374
|
}
|
|
3176
3375
|
if (s4 !== peg$FAILED) {
|
|
3177
3376
|
peg$savedPos = s0;
|
|
3178
|
-
s0 = peg$
|
|
3377
|
+
s0 = peg$f56(s3);
|
|
3179
3378
|
} else {
|
|
3180
3379
|
peg$currPos = s0;
|
|
3181
3380
|
s0 = peg$FAILED;
|
|
@@ -3193,19 +3392,19 @@ function peg$parse(input, options) {
|
|
|
3193
3392
|
s0 = peg$parseNavItem();
|
|
3194
3393
|
if (s0 === peg$FAILED) {
|
|
3195
3394
|
s0 = peg$currPos;
|
|
3196
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3197
|
-
s1 = peg$
|
|
3395
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3396
|
+
s1 = peg$c44;
|
|
3198
3397
|
peg$currPos += 7;
|
|
3199
3398
|
} else {
|
|
3200
3399
|
s1 = peg$FAILED;
|
|
3201
3400
|
if (peg$silentFails === 0) {
|
|
3202
|
-
peg$fail(peg$
|
|
3401
|
+
peg$fail(peg$e44);
|
|
3203
3402
|
}
|
|
3204
3403
|
}
|
|
3205
3404
|
if (s1 !== peg$FAILED) {
|
|
3206
3405
|
s2 = peg$parse_();
|
|
3207
3406
|
peg$savedPos = s0;
|
|
3208
|
-
s0 = peg$
|
|
3407
|
+
s0 = peg$f57();
|
|
3209
3408
|
} else {
|
|
3210
3409
|
peg$currPos = s0;
|
|
3211
3410
|
s0 = peg$FAILED;
|
|
@@ -3215,7 +3414,7 @@ function peg$parse(input, options) {
|
|
|
3215
3414
|
s1 = peg$parseComment();
|
|
3216
3415
|
if (s1 !== peg$FAILED) {
|
|
3217
3416
|
peg$savedPos = s0;
|
|
3218
|
-
s1 = peg$
|
|
3417
|
+
s1 = peg$f58();
|
|
3219
3418
|
}
|
|
3220
3419
|
s0 = s1;
|
|
3221
3420
|
}
|
|
@@ -3226,13 +3425,13 @@ function peg$parse(input, options) {
|
|
|
3226
3425
|
function peg$parseNavGroup() {
|
|
3227
3426
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
3228
3427
|
s0 = peg$currPos;
|
|
3229
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
3230
|
-
s1 = peg$
|
|
3428
|
+
if (input.substr(peg$currPos, 5) === peg$c46) {
|
|
3429
|
+
s1 = peg$c46;
|
|
3231
3430
|
peg$currPos += 5;
|
|
3232
3431
|
} else {
|
|
3233
3432
|
s1 = peg$FAILED;
|
|
3234
3433
|
if (peg$silentFails === 0) {
|
|
3235
|
-
peg$fail(peg$
|
|
3434
|
+
peg$fail(peg$e46);
|
|
3236
3435
|
}
|
|
3237
3436
|
}
|
|
3238
3437
|
if (s1 !== peg$FAILED) {
|
|
@@ -3291,7 +3490,7 @@ function peg$parse(input, options) {
|
|
|
3291
3490
|
}
|
|
3292
3491
|
if (s10 !== peg$FAILED) {
|
|
3293
3492
|
peg$savedPos = s0;
|
|
3294
|
-
s0 = peg$
|
|
3493
|
+
s0 = peg$f59(s3, s5, s9);
|
|
3295
3494
|
} else {
|
|
3296
3495
|
peg$currPos = s0;
|
|
3297
3496
|
s0 = peg$FAILED;
|
|
@@ -3315,19 +3514,19 @@ function peg$parse(input, options) {
|
|
|
3315
3514
|
s0 = peg$parseNavItem();
|
|
3316
3515
|
if (s0 === peg$FAILED) {
|
|
3317
3516
|
s0 = peg$currPos;
|
|
3318
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3319
|
-
s1 = peg$
|
|
3517
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3518
|
+
s1 = peg$c44;
|
|
3320
3519
|
peg$currPos += 7;
|
|
3321
3520
|
} else {
|
|
3322
3521
|
s1 = peg$FAILED;
|
|
3323
3522
|
if (peg$silentFails === 0) {
|
|
3324
|
-
peg$fail(peg$
|
|
3523
|
+
peg$fail(peg$e44);
|
|
3325
3524
|
}
|
|
3326
3525
|
}
|
|
3327
3526
|
if (s1 !== peg$FAILED) {
|
|
3328
3527
|
s2 = peg$parse_();
|
|
3329
3528
|
peg$savedPos = s0;
|
|
3330
|
-
s0 = peg$
|
|
3529
|
+
s0 = peg$f60();
|
|
3331
3530
|
} else {
|
|
3332
3531
|
peg$currPos = s0;
|
|
3333
3532
|
s0 = peg$FAILED;
|
|
@@ -3337,7 +3536,7 @@ function peg$parse(input, options) {
|
|
|
3337
3536
|
s1 = peg$parseComment();
|
|
3338
3537
|
if (s1 !== peg$FAILED) {
|
|
3339
3538
|
peg$savedPos = s0;
|
|
3340
|
-
s1 = peg$
|
|
3539
|
+
s1 = peg$f61();
|
|
3341
3540
|
}
|
|
3342
3541
|
s0 = s1;
|
|
3343
3542
|
}
|
|
@@ -3347,13 +3546,13 @@ function peg$parse(input, options) {
|
|
|
3347
3546
|
function peg$parseNavItem() {
|
|
3348
3547
|
let s0, s1, s2, s3, s4, s5;
|
|
3349
3548
|
s0 = peg$currPos;
|
|
3350
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3351
|
-
s1 = peg$
|
|
3549
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
3550
|
+
s1 = peg$c36;
|
|
3352
3551
|
peg$currPos += 4;
|
|
3353
3552
|
} else {
|
|
3354
3553
|
s1 = peg$FAILED;
|
|
3355
3554
|
if (peg$silentFails === 0) {
|
|
3356
|
-
peg$fail(peg$
|
|
3555
|
+
peg$fail(peg$e36);
|
|
3357
3556
|
}
|
|
3358
3557
|
}
|
|
3359
3558
|
if (s1 !== peg$FAILED) {
|
|
@@ -3366,7 +3565,7 @@ function peg$parse(input, options) {
|
|
|
3366
3565
|
s5 = null;
|
|
3367
3566
|
}
|
|
3368
3567
|
peg$savedPos = s0;
|
|
3369
|
-
s0 = peg$
|
|
3568
|
+
s0 = peg$f62(s3, s5);
|
|
3370
3569
|
} else {
|
|
3371
3570
|
peg$currPos = s0;
|
|
3372
3571
|
s0 = peg$FAILED;
|
|
@@ -3380,13 +3579,13 @@ function peg$parse(input, options) {
|
|
|
3380
3579
|
function peg$parseTabs() {
|
|
3381
3580
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3382
3581
|
s0 = peg$currPos;
|
|
3383
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3384
|
-
s1 = peg$
|
|
3582
|
+
if (input.substr(peg$currPos, 4) === peg$c47) {
|
|
3583
|
+
s1 = peg$c47;
|
|
3385
3584
|
peg$currPos += 4;
|
|
3386
3585
|
} else {
|
|
3387
3586
|
s1 = peg$FAILED;
|
|
3388
3587
|
if (peg$silentFails === 0) {
|
|
3389
|
-
peg$fail(peg$
|
|
3588
|
+
peg$fail(peg$e47);
|
|
3390
3589
|
}
|
|
3391
3590
|
}
|
|
3392
3591
|
if (s1 !== peg$FAILED) {
|
|
@@ -3406,7 +3605,7 @@ function peg$parse(input, options) {
|
|
|
3406
3605
|
s7 = null;
|
|
3407
3606
|
}
|
|
3408
3607
|
peg$savedPos = s0;
|
|
3409
|
-
s0 = peg$
|
|
3608
|
+
s0 = peg$f63(s3, s5, s7);
|
|
3410
3609
|
} else {
|
|
3411
3610
|
peg$currPos = s0;
|
|
3412
3611
|
s0 = peg$FAILED;
|
|
@@ -3462,7 +3661,7 @@ function peg$parse(input, options) {
|
|
|
3462
3661
|
}
|
|
3463
3662
|
if (s4 !== peg$FAILED) {
|
|
3464
3663
|
peg$savedPos = s0;
|
|
3465
|
-
s0 = peg$
|
|
3664
|
+
s0 = peg$f64(s3);
|
|
3466
3665
|
} else {
|
|
3467
3666
|
peg$currPos = s0;
|
|
3468
3667
|
s0 = peg$FAILED;
|
|
@@ -3476,13 +3675,13 @@ function peg$parse(input, options) {
|
|
|
3476
3675
|
function peg$parseTabItem() {
|
|
3477
3676
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
3478
3677
|
s0 = peg$currPos;
|
|
3479
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3480
|
-
s1 = peg$
|
|
3678
|
+
if (input.substr(peg$currPos, 3) === peg$c48) {
|
|
3679
|
+
s1 = peg$c48;
|
|
3481
3680
|
peg$currPos += 3;
|
|
3482
3681
|
} else {
|
|
3483
3682
|
s1 = peg$FAILED;
|
|
3484
3683
|
if (peg$silentFails === 0) {
|
|
3485
|
-
peg$fail(peg$
|
|
3684
|
+
peg$fail(peg$e48);
|
|
3486
3685
|
}
|
|
3487
3686
|
}
|
|
3488
3687
|
if (s1 !== peg$FAILED) {
|
|
@@ -3520,7 +3719,7 @@ function peg$parse(input, options) {
|
|
|
3520
3719
|
}
|
|
3521
3720
|
if (s11 !== peg$FAILED) {
|
|
3522
3721
|
peg$savedPos = s0;
|
|
3523
|
-
s0 = peg$
|
|
3722
|
+
s0 = peg$f65(s3, s5, s9);
|
|
3524
3723
|
} else {
|
|
3525
3724
|
peg$currPos = s0;
|
|
3526
3725
|
s0 = peg$FAILED;
|
|
@@ -3546,7 +3745,7 @@ function peg$parse(input, options) {
|
|
|
3546
3745
|
s1 = peg$parseComment();
|
|
3547
3746
|
if (s1 !== peg$FAILED) {
|
|
3548
3747
|
peg$savedPos = s0;
|
|
3549
|
-
s1 = peg$
|
|
3748
|
+
s1 = peg$f66();
|
|
3550
3749
|
}
|
|
3551
3750
|
s0 = s1;
|
|
3552
3751
|
}
|
|
@@ -3555,13 +3754,13 @@ function peg$parse(input, options) {
|
|
|
3555
3754
|
function peg$parseBreadcrumb() {
|
|
3556
3755
|
let s0, s1, s2, s3, s4, s5;
|
|
3557
3756
|
s0 = peg$currPos;
|
|
3558
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
3559
|
-
s1 = peg$
|
|
3757
|
+
if (input.substr(peg$currPos, 10) === peg$c49) {
|
|
3758
|
+
s1 = peg$c49;
|
|
3560
3759
|
peg$currPos += 10;
|
|
3561
3760
|
} else {
|
|
3562
3761
|
s1 = peg$FAILED;
|
|
3563
3762
|
if (peg$silentFails === 0) {
|
|
3564
|
-
peg$fail(peg$
|
|
3763
|
+
peg$fail(peg$e49);
|
|
3565
3764
|
}
|
|
3566
3765
|
}
|
|
3567
3766
|
if (s1 !== peg$FAILED) {
|
|
@@ -3574,7 +3773,7 @@ function peg$parse(input, options) {
|
|
|
3574
3773
|
s5 = null;
|
|
3575
3774
|
}
|
|
3576
3775
|
peg$savedPos = s0;
|
|
3577
|
-
s0 = peg$
|
|
3776
|
+
s0 = peg$f67(s3, s5);
|
|
3578
3777
|
} else {
|
|
3579
3778
|
peg$currPos = s0;
|
|
3580
3779
|
s0 = peg$FAILED;
|
|
@@ -3588,13 +3787,13 @@ function peg$parse(input, options) {
|
|
|
3588
3787
|
function peg$parseDivider() {
|
|
3589
3788
|
let s0, s1, s2, s3;
|
|
3590
3789
|
s0 = peg$currPos;
|
|
3591
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3592
|
-
s1 = peg$
|
|
3790
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3791
|
+
s1 = peg$c44;
|
|
3593
3792
|
peg$currPos += 7;
|
|
3594
3793
|
} else {
|
|
3595
3794
|
s1 = peg$FAILED;
|
|
3596
3795
|
if (peg$silentFails === 0) {
|
|
3597
|
-
peg$fail(peg$
|
|
3796
|
+
peg$fail(peg$e44);
|
|
3598
3797
|
}
|
|
3599
3798
|
}
|
|
3600
3799
|
if (s1 !== peg$FAILED) {
|
|
@@ -3604,7 +3803,7 @@ function peg$parse(input, options) {
|
|
|
3604
3803
|
s3 = null;
|
|
3605
3804
|
}
|
|
3606
3805
|
peg$savedPos = s0;
|
|
3607
|
-
s0 = peg$
|
|
3806
|
+
s0 = peg$f68(s3);
|
|
3608
3807
|
} else {
|
|
3609
3808
|
peg$currPos = s0;
|
|
3610
3809
|
s0 = peg$FAILED;
|
|
@@ -3626,7 +3825,7 @@ function peg$parse(input, options) {
|
|
|
3626
3825
|
}
|
|
3627
3826
|
if (s1 !== peg$FAILED) {
|
|
3628
3827
|
peg$savedPos = s0;
|
|
3629
|
-
s1 = peg$
|
|
3828
|
+
s1 = peg$f69(s1);
|
|
3630
3829
|
}
|
|
3631
3830
|
s0 = s1;
|
|
3632
3831
|
return s0;
|
|
@@ -3639,12 +3838,12 @@ function peg$parse(input, options) {
|
|
|
3639
3838
|
if (s2 !== peg$FAILED) {
|
|
3640
3839
|
s3 = peg$parse_();
|
|
3641
3840
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
3642
|
-
s4 = peg$
|
|
3841
|
+
s4 = peg$c50;
|
|
3643
3842
|
peg$currPos++;
|
|
3644
3843
|
} else {
|
|
3645
3844
|
s4 = peg$FAILED;
|
|
3646
3845
|
if (peg$silentFails === 0) {
|
|
3647
|
-
peg$fail(peg$
|
|
3846
|
+
peg$fail(peg$e50);
|
|
3648
3847
|
}
|
|
3649
3848
|
}
|
|
3650
3849
|
if (s4 !== peg$FAILED) {
|
|
@@ -3652,7 +3851,7 @@ function peg$parse(input, options) {
|
|
|
3652
3851
|
s6 = peg$parseAttributeValue();
|
|
3653
3852
|
if (s6 !== peg$FAILED) {
|
|
3654
3853
|
peg$savedPos = s0;
|
|
3655
|
-
s0 = peg$
|
|
3854
|
+
s0 = peg$f70(s2, s6);
|
|
3656
3855
|
} else {
|
|
3657
3856
|
peg$currPos = s0;
|
|
3658
3857
|
s0 = peg$FAILED;
|
|
@@ -3684,27 +3883,27 @@ function peg$parse(input, options) {
|
|
|
3684
3883
|
} else {
|
|
3685
3884
|
s6 = peg$FAILED;
|
|
3686
3885
|
if (peg$silentFails === 0) {
|
|
3687
|
-
peg$fail(peg$
|
|
3886
|
+
peg$fail(peg$e51);
|
|
3688
3887
|
}
|
|
3689
3888
|
}
|
|
3690
3889
|
if (s6 === peg$FAILED) {
|
|
3691
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3692
|
-
s6 = peg$
|
|
3890
|
+
if (input.substr(peg$currPos, 2) === peg$c51) {
|
|
3891
|
+
s6 = peg$c51;
|
|
3693
3892
|
peg$currPos += 2;
|
|
3694
3893
|
} else {
|
|
3695
3894
|
s6 = peg$FAILED;
|
|
3696
3895
|
if (peg$silentFails === 0) {
|
|
3697
|
-
peg$fail(peg$
|
|
3896
|
+
peg$fail(peg$e52);
|
|
3698
3897
|
}
|
|
3699
3898
|
}
|
|
3700
3899
|
if (s6 === peg$FAILED) {
|
|
3701
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3702
|
-
s6 = peg$
|
|
3900
|
+
if (input.substr(peg$currPos, 2) === peg$c52) {
|
|
3901
|
+
s6 = peg$c52;
|
|
3703
3902
|
peg$currPos += 2;
|
|
3704
3903
|
} else {
|
|
3705
3904
|
s6 = peg$FAILED;
|
|
3706
3905
|
if (peg$silentFails === 0) {
|
|
3707
|
-
peg$fail(peg$
|
|
3906
|
+
peg$fail(peg$e53);
|
|
3708
3907
|
}
|
|
3709
3908
|
}
|
|
3710
3909
|
if (s6 === peg$FAILED) {
|
|
@@ -3716,7 +3915,7 @@ function peg$parse(input, options) {
|
|
|
3716
3915
|
} else {
|
|
3717
3916
|
s7 = peg$FAILED;
|
|
3718
3917
|
if (peg$silentFails === 0) {
|
|
3719
|
-
peg$fail(peg$
|
|
3918
|
+
peg$fail(peg$e54);
|
|
3720
3919
|
}
|
|
3721
3920
|
}
|
|
3722
3921
|
peg$silentFails--;
|
|
@@ -3747,7 +3946,7 @@ function peg$parse(input, options) {
|
|
|
3747
3946
|
}
|
|
3748
3947
|
if (s3 !== peg$FAILED) {
|
|
3749
3948
|
peg$savedPos = s0;
|
|
3750
|
-
s0 = peg$
|
|
3949
|
+
s0 = peg$f71(s2);
|
|
3751
3950
|
} else {
|
|
3752
3951
|
peg$currPos = s0;
|
|
3753
3952
|
s0 = peg$FAILED;
|
|
@@ -3776,7 +3975,7 @@ function peg$parse(input, options) {
|
|
|
3776
3975
|
s2 = peg$parseIdentifier();
|
|
3777
3976
|
if (s2 !== peg$FAILED) {
|
|
3778
3977
|
peg$savedPos = s0;
|
|
3779
|
-
s0 = peg$
|
|
3978
|
+
s0 = peg$f72(s2);
|
|
3780
3979
|
} else {
|
|
3781
3980
|
peg$currPos = s0;
|
|
3782
3981
|
s0 = peg$FAILED;
|
|
@@ -4050,163 +4249,163 @@ function peg$parse(input, options) {
|
|
|
4050
4249
|
}
|
|
4051
4250
|
}
|
|
4052
4251
|
if (s1 === peg$FAILED) {
|
|
4053
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4054
|
-
s1 = peg$
|
|
4252
|
+
if (input.substr(peg$currPos, 7) === peg$c34) {
|
|
4253
|
+
s1 = peg$c34;
|
|
4055
4254
|
peg$currPos += 7;
|
|
4056
4255
|
} else {
|
|
4057
4256
|
s1 = peg$FAILED;
|
|
4058
4257
|
if (peg$silentFails === 0) {
|
|
4059
|
-
peg$fail(peg$
|
|
4258
|
+
peg$fail(peg$e34);
|
|
4060
4259
|
}
|
|
4061
4260
|
}
|
|
4062
4261
|
if (s1 === peg$FAILED) {
|
|
4063
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4064
|
-
s1 = peg$
|
|
4262
|
+
if (input.substr(peg$currPos, 4) === peg$c35) {
|
|
4263
|
+
s1 = peg$c35;
|
|
4065
4264
|
peg$currPos += 4;
|
|
4066
4265
|
} else {
|
|
4067
4266
|
s1 = peg$FAILED;
|
|
4068
4267
|
if (peg$silentFails === 0) {
|
|
4069
|
-
peg$fail(peg$
|
|
4268
|
+
peg$fail(peg$e35);
|
|
4070
4269
|
}
|
|
4071
4270
|
}
|
|
4072
4271
|
if (s1 === peg$FAILED) {
|
|
4073
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4074
|
-
s1 = peg$
|
|
4272
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
4273
|
+
s1 = peg$c36;
|
|
4075
4274
|
peg$currPos += 4;
|
|
4076
4275
|
} else {
|
|
4077
4276
|
s1 = peg$FAILED;
|
|
4078
4277
|
if (peg$silentFails === 0) {
|
|
4079
|
-
peg$fail(peg$
|
|
4278
|
+
peg$fail(peg$e36);
|
|
4080
4279
|
}
|
|
4081
4280
|
}
|
|
4082
4281
|
if (s1 === peg$FAILED) {
|
|
4083
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4084
|
-
s1 = peg$
|
|
4282
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
4283
|
+
s1 = peg$c37;
|
|
4085
4284
|
peg$currPos += 5;
|
|
4086
4285
|
} else {
|
|
4087
4286
|
s1 = peg$FAILED;
|
|
4088
4287
|
if (peg$silentFails === 0) {
|
|
4089
|
-
peg$fail(peg$
|
|
4288
|
+
peg$fail(peg$e37);
|
|
4090
4289
|
}
|
|
4091
4290
|
}
|
|
4092
4291
|
if (s1 === peg$FAILED) {
|
|
4093
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4094
|
-
s1 = peg$
|
|
4292
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
4293
|
+
s1 = peg$c38;
|
|
4095
4294
|
peg$currPos += 5;
|
|
4096
4295
|
} else {
|
|
4097
4296
|
s1 = peg$FAILED;
|
|
4098
4297
|
if (peg$silentFails === 0) {
|
|
4099
|
-
peg$fail(peg$
|
|
4298
|
+
peg$fail(peg$e38);
|
|
4100
4299
|
}
|
|
4101
4300
|
}
|
|
4102
4301
|
if (s1 === peg$FAILED) {
|
|
4103
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
4104
|
-
s1 = peg$
|
|
4302
|
+
if (input.substr(peg$currPos, 8) === peg$c39) {
|
|
4303
|
+
s1 = peg$c39;
|
|
4105
4304
|
peg$currPos += 8;
|
|
4106
4305
|
} else {
|
|
4107
4306
|
s1 = peg$FAILED;
|
|
4108
4307
|
if (peg$silentFails === 0) {
|
|
4109
|
-
peg$fail(peg$
|
|
4308
|
+
peg$fail(peg$e39);
|
|
4110
4309
|
}
|
|
4111
4310
|
}
|
|
4112
4311
|
if (s1 === peg$FAILED) {
|
|
4113
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4114
|
-
s1 = peg$
|
|
4312
|
+
if (input.substr(peg$currPos, 7) === peg$c40) {
|
|
4313
|
+
s1 = peg$c40;
|
|
4115
4314
|
peg$currPos += 7;
|
|
4116
4315
|
} else {
|
|
4117
4316
|
s1 = peg$FAILED;
|
|
4118
4317
|
if (peg$silentFails === 0) {
|
|
4119
|
-
peg$fail(peg$
|
|
4318
|
+
peg$fail(peg$e40);
|
|
4120
4319
|
}
|
|
4121
4320
|
}
|
|
4122
4321
|
if (s1 === peg$FAILED) {
|
|
4123
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4124
|
-
s1 = peg$
|
|
4322
|
+
if (input.substr(peg$currPos, 7) === peg$c41) {
|
|
4323
|
+
s1 = peg$c41;
|
|
4125
4324
|
peg$currPos += 7;
|
|
4126
4325
|
} else {
|
|
4127
4326
|
s1 = peg$FAILED;
|
|
4128
4327
|
if (peg$silentFails === 0) {
|
|
4129
|
-
peg$fail(peg$
|
|
4328
|
+
peg$fail(peg$e41);
|
|
4130
4329
|
}
|
|
4131
4330
|
}
|
|
4132
4331
|
if (s1 === peg$FAILED) {
|
|
4133
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4134
|
-
s1 = peg$
|
|
4332
|
+
if (input.substr(peg$currPos, 7) === peg$c42) {
|
|
4333
|
+
s1 = peg$c42;
|
|
4135
4334
|
peg$currPos += 7;
|
|
4136
4335
|
} else {
|
|
4137
4336
|
s1 = peg$FAILED;
|
|
4138
4337
|
if (peg$silentFails === 0) {
|
|
4139
|
-
peg$fail(peg$
|
|
4338
|
+
peg$fail(peg$e42);
|
|
4140
4339
|
}
|
|
4141
4340
|
}
|
|
4142
4341
|
if (s1 === peg$FAILED) {
|
|
4143
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
4144
|
-
s1 = peg$
|
|
4342
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
4343
|
+
s1 = peg$c43;
|
|
4145
4344
|
peg$currPos += 8;
|
|
4146
4345
|
} else {
|
|
4147
4346
|
s1 = peg$FAILED;
|
|
4148
4347
|
if (peg$silentFails === 0) {
|
|
4149
|
-
peg$fail(peg$
|
|
4348
|
+
peg$fail(peg$e43);
|
|
4150
4349
|
}
|
|
4151
4350
|
}
|
|
4152
4351
|
if (s1 === peg$FAILED) {
|
|
4153
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4154
|
-
s1 = peg$
|
|
4352
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
4353
|
+
s1 = peg$c44;
|
|
4155
4354
|
peg$currPos += 7;
|
|
4156
4355
|
} else {
|
|
4157
4356
|
s1 = peg$FAILED;
|
|
4158
4357
|
if (peg$silentFails === 0) {
|
|
4159
|
-
peg$fail(peg$
|
|
4358
|
+
peg$fail(peg$e44);
|
|
4160
4359
|
}
|
|
4161
4360
|
}
|
|
4162
4361
|
if (s1 === peg$FAILED) {
|
|
4163
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4164
|
-
s1 = peg$
|
|
4362
|
+
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
4363
|
+
s1 = peg$c45;
|
|
4165
4364
|
peg$currPos += 3;
|
|
4166
4365
|
} else {
|
|
4167
4366
|
s1 = peg$FAILED;
|
|
4168
4367
|
if (peg$silentFails === 0) {
|
|
4169
|
-
peg$fail(peg$
|
|
4368
|
+
peg$fail(peg$e45);
|
|
4170
4369
|
}
|
|
4171
4370
|
}
|
|
4172
4371
|
if (s1 === peg$FAILED) {
|
|
4173
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4174
|
-
s1 = peg$
|
|
4372
|
+
if (input.substr(peg$currPos, 4) === peg$c47) {
|
|
4373
|
+
s1 = peg$c47;
|
|
4175
4374
|
peg$currPos += 4;
|
|
4176
4375
|
} else {
|
|
4177
4376
|
s1 = peg$FAILED;
|
|
4178
4377
|
if (peg$silentFails === 0) {
|
|
4179
|
-
peg$fail(peg$
|
|
4378
|
+
peg$fail(peg$e47);
|
|
4180
4379
|
}
|
|
4181
4380
|
}
|
|
4182
4381
|
if (s1 === peg$FAILED) {
|
|
4183
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4184
|
-
s1 = peg$
|
|
4382
|
+
if (input.substr(peg$currPos, 3) === peg$c48) {
|
|
4383
|
+
s1 = peg$c48;
|
|
4185
4384
|
peg$currPos += 3;
|
|
4186
4385
|
} else {
|
|
4187
4386
|
s1 = peg$FAILED;
|
|
4188
4387
|
if (peg$silentFails === 0) {
|
|
4189
|
-
peg$fail(peg$
|
|
4388
|
+
peg$fail(peg$e48);
|
|
4190
4389
|
}
|
|
4191
4390
|
}
|
|
4192
4391
|
if (s1 === peg$FAILED) {
|
|
4193
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
4194
|
-
s1 = peg$
|
|
4392
|
+
if (input.substr(peg$currPos, 10) === peg$c49) {
|
|
4393
|
+
s1 = peg$c49;
|
|
4195
4394
|
peg$currPos += 10;
|
|
4196
4395
|
} else {
|
|
4197
4396
|
s1 = peg$FAILED;
|
|
4198
4397
|
if (peg$silentFails === 0) {
|
|
4199
|
-
peg$fail(peg$
|
|
4398
|
+
peg$fail(peg$e49);
|
|
4200
4399
|
}
|
|
4201
4400
|
}
|
|
4202
4401
|
if (s1 === peg$FAILED) {
|
|
4203
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4204
|
-
s1 = peg$
|
|
4402
|
+
if (input.substr(peg$currPos, 5) === peg$c46) {
|
|
4403
|
+
s1 = peg$c46;
|
|
4205
4404
|
peg$currPos += 5;
|
|
4206
4405
|
} else {
|
|
4207
4406
|
s1 = peg$FAILED;
|
|
4208
4407
|
if (peg$silentFails === 0) {
|
|
4209
|
-
peg$fail(peg$
|
|
4408
|
+
peg$fail(peg$e46);
|
|
4210
4409
|
}
|
|
4211
4410
|
}
|
|
4212
4411
|
}
|
|
@@ -4282,7 +4481,7 @@ function peg$parse(input, options) {
|
|
|
4282
4481
|
} else {
|
|
4283
4482
|
s0 = peg$FAILED;
|
|
4284
4483
|
if (peg$silentFails === 0) {
|
|
4285
|
-
peg$fail(peg$
|
|
4484
|
+
peg$fail(peg$e55);
|
|
4286
4485
|
}
|
|
4287
4486
|
}
|
|
4288
4487
|
return s0;
|
|
@@ -4315,12 +4514,12 @@ function peg$parse(input, options) {
|
|
|
4315
4514
|
peg$silentFails++;
|
|
4316
4515
|
s0 = peg$currPos;
|
|
4317
4516
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4318
|
-
s1 = peg$
|
|
4517
|
+
s1 = peg$c53;
|
|
4319
4518
|
peg$currPos++;
|
|
4320
4519
|
} else {
|
|
4321
4520
|
s1 = peg$FAILED;
|
|
4322
4521
|
if (peg$silentFails === 0) {
|
|
4323
|
-
peg$fail(peg$
|
|
4522
|
+
peg$fail(peg$e57);
|
|
4324
4523
|
}
|
|
4325
4524
|
}
|
|
4326
4525
|
if (s1 !== peg$FAILED) {
|
|
@@ -4331,17 +4530,17 @@ function peg$parse(input, options) {
|
|
|
4331
4530
|
s3 = peg$parseDoubleStringChar();
|
|
4332
4531
|
}
|
|
4333
4532
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4334
|
-
s3 = peg$
|
|
4533
|
+
s3 = peg$c53;
|
|
4335
4534
|
peg$currPos++;
|
|
4336
4535
|
} else {
|
|
4337
4536
|
s3 = peg$FAILED;
|
|
4338
4537
|
if (peg$silentFails === 0) {
|
|
4339
|
-
peg$fail(peg$
|
|
4538
|
+
peg$fail(peg$e57);
|
|
4340
4539
|
}
|
|
4341
4540
|
}
|
|
4342
4541
|
if (s3 !== peg$FAILED) {
|
|
4343
4542
|
peg$savedPos = s0;
|
|
4344
|
-
s0 = peg$
|
|
4543
|
+
s0 = peg$f73(s2);
|
|
4345
4544
|
} else {
|
|
4346
4545
|
peg$currPos = s0;
|
|
4347
4546
|
s0 = peg$FAILED;
|
|
@@ -4353,12 +4552,12 @@ function peg$parse(input, options) {
|
|
|
4353
4552
|
if (s0 === peg$FAILED) {
|
|
4354
4553
|
s0 = peg$currPos;
|
|
4355
4554
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4356
|
-
s1 = peg$
|
|
4555
|
+
s1 = peg$c54;
|
|
4357
4556
|
peg$currPos++;
|
|
4358
4557
|
} else {
|
|
4359
4558
|
s1 = peg$FAILED;
|
|
4360
4559
|
if (peg$silentFails === 0) {
|
|
4361
|
-
peg$fail(peg$
|
|
4560
|
+
peg$fail(peg$e58);
|
|
4362
4561
|
}
|
|
4363
4562
|
}
|
|
4364
4563
|
if (s1 !== peg$FAILED) {
|
|
@@ -4369,17 +4568,17 @@ function peg$parse(input, options) {
|
|
|
4369
4568
|
s3 = peg$parseSingleStringChar();
|
|
4370
4569
|
}
|
|
4371
4570
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4372
|
-
s3 = peg$
|
|
4571
|
+
s3 = peg$c54;
|
|
4373
4572
|
peg$currPos++;
|
|
4374
4573
|
} else {
|
|
4375
4574
|
s3 = peg$FAILED;
|
|
4376
4575
|
if (peg$silentFails === 0) {
|
|
4377
|
-
peg$fail(peg$
|
|
4576
|
+
peg$fail(peg$e58);
|
|
4378
4577
|
}
|
|
4379
4578
|
}
|
|
4380
4579
|
if (s3 !== peg$FAILED) {
|
|
4381
4580
|
peg$savedPos = s0;
|
|
4382
|
-
s0 = peg$
|
|
4581
|
+
s0 = peg$f74(s2);
|
|
4383
4582
|
} else {
|
|
4384
4583
|
peg$currPos = s0;
|
|
4385
4584
|
s0 = peg$FAILED;
|
|
@@ -4393,7 +4592,7 @@ function peg$parse(input, options) {
|
|
|
4393
4592
|
if (s0 === peg$FAILED) {
|
|
4394
4593
|
s1 = peg$FAILED;
|
|
4395
4594
|
if (peg$silentFails === 0) {
|
|
4396
|
-
peg$fail(peg$
|
|
4595
|
+
peg$fail(peg$e56);
|
|
4397
4596
|
}
|
|
4398
4597
|
}
|
|
4399
4598
|
return s0;
|
|
@@ -4404,12 +4603,12 @@ function peg$parse(input, options) {
|
|
|
4404
4603
|
s1 = peg$currPos;
|
|
4405
4604
|
peg$silentFails++;
|
|
4406
4605
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4407
|
-
s2 = peg$
|
|
4606
|
+
s2 = peg$c53;
|
|
4408
4607
|
peg$currPos++;
|
|
4409
4608
|
} else {
|
|
4410
4609
|
s2 = peg$FAILED;
|
|
4411
4610
|
if (peg$silentFails === 0) {
|
|
4412
|
-
peg$fail(peg$
|
|
4611
|
+
peg$fail(peg$e57);
|
|
4413
4612
|
}
|
|
4414
4613
|
}
|
|
4415
4614
|
peg$silentFails--;
|
|
@@ -4423,12 +4622,12 @@ function peg$parse(input, options) {
|
|
|
4423
4622
|
s2 = peg$currPos;
|
|
4424
4623
|
peg$silentFails++;
|
|
4425
4624
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4426
|
-
s3 = peg$
|
|
4625
|
+
s3 = peg$c55;
|
|
4427
4626
|
peg$currPos++;
|
|
4428
4627
|
} else {
|
|
4429
4628
|
s3 = peg$FAILED;
|
|
4430
4629
|
if (peg$silentFails === 0) {
|
|
4431
|
-
peg$fail(peg$
|
|
4630
|
+
peg$fail(peg$e59);
|
|
4432
4631
|
}
|
|
4433
4632
|
}
|
|
4434
4633
|
peg$silentFails--;
|
|
@@ -4445,12 +4644,12 @@ function peg$parse(input, options) {
|
|
|
4445
4644
|
} else {
|
|
4446
4645
|
s3 = peg$FAILED;
|
|
4447
4646
|
if (peg$silentFails === 0) {
|
|
4448
|
-
peg$fail(peg$
|
|
4647
|
+
peg$fail(peg$e54);
|
|
4449
4648
|
}
|
|
4450
4649
|
}
|
|
4451
4650
|
if (s3 !== peg$FAILED) {
|
|
4452
4651
|
peg$savedPos = s0;
|
|
4453
|
-
s0 = peg$
|
|
4652
|
+
s0 = peg$f75(s3);
|
|
4454
4653
|
} else {
|
|
4455
4654
|
peg$currPos = s0;
|
|
4456
4655
|
s0 = peg$FAILED;
|
|
@@ -4466,19 +4665,19 @@ function peg$parse(input, options) {
|
|
|
4466
4665
|
if (s0 === peg$FAILED) {
|
|
4467
4666
|
s0 = peg$currPos;
|
|
4468
4667
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4469
|
-
s1 = peg$
|
|
4668
|
+
s1 = peg$c55;
|
|
4470
4669
|
peg$currPos++;
|
|
4471
4670
|
} else {
|
|
4472
4671
|
s1 = peg$FAILED;
|
|
4473
4672
|
if (peg$silentFails === 0) {
|
|
4474
|
-
peg$fail(peg$
|
|
4673
|
+
peg$fail(peg$e59);
|
|
4475
4674
|
}
|
|
4476
4675
|
}
|
|
4477
4676
|
if (s1 !== peg$FAILED) {
|
|
4478
4677
|
s2 = peg$parseEscapeSequence();
|
|
4479
4678
|
if (s2 !== peg$FAILED) {
|
|
4480
4679
|
peg$savedPos = s0;
|
|
4481
|
-
s0 = peg$
|
|
4680
|
+
s0 = peg$f76(s2);
|
|
4482
4681
|
} else {
|
|
4483
4682
|
peg$currPos = s0;
|
|
4484
4683
|
s0 = peg$FAILED;
|
|
@@ -4496,12 +4695,12 @@ function peg$parse(input, options) {
|
|
|
4496
4695
|
s1 = peg$currPos;
|
|
4497
4696
|
peg$silentFails++;
|
|
4498
4697
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4499
|
-
s2 = peg$
|
|
4698
|
+
s2 = peg$c54;
|
|
4500
4699
|
peg$currPos++;
|
|
4501
4700
|
} else {
|
|
4502
4701
|
s2 = peg$FAILED;
|
|
4503
4702
|
if (peg$silentFails === 0) {
|
|
4504
|
-
peg$fail(peg$
|
|
4703
|
+
peg$fail(peg$e58);
|
|
4505
4704
|
}
|
|
4506
4705
|
}
|
|
4507
4706
|
peg$silentFails--;
|
|
@@ -4515,12 +4714,12 @@ function peg$parse(input, options) {
|
|
|
4515
4714
|
s2 = peg$currPos;
|
|
4516
4715
|
peg$silentFails++;
|
|
4517
4716
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4518
|
-
s3 = peg$
|
|
4717
|
+
s3 = peg$c55;
|
|
4519
4718
|
peg$currPos++;
|
|
4520
4719
|
} else {
|
|
4521
4720
|
s3 = peg$FAILED;
|
|
4522
4721
|
if (peg$silentFails === 0) {
|
|
4523
|
-
peg$fail(peg$
|
|
4722
|
+
peg$fail(peg$e59);
|
|
4524
4723
|
}
|
|
4525
4724
|
}
|
|
4526
4725
|
peg$silentFails--;
|
|
@@ -4537,12 +4736,12 @@ function peg$parse(input, options) {
|
|
|
4537
4736
|
} else {
|
|
4538
4737
|
s3 = peg$FAILED;
|
|
4539
4738
|
if (peg$silentFails === 0) {
|
|
4540
|
-
peg$fail(peg$
|
|
4739
|
+
peg$fail(peg$e54);
|
|
4541
4740
|
}
|
|
4542
4741
|
}
|
|
4543
4742
|
if (s3 !== peg$FAILED) {
|
|
4544
4743
|
peg$savedPos = s0;
|
|
4545
|
-
s0 = peg$
|
|
4744
|
+
s0 = peg$f77(s3);
|
|
4546
4745
|
} else {
|
|
4547
4746
|
peg$currPos = s0;
|
|
4548
4747
|
s0 = peg$FAILED;
|
|
@@ -4558,19 +4757,19 @@ function peg$parse(input, options) {
|
|
|
4558
4757
|
if (s0 === peg$FAILED) {
|
|
4559
4758
|
s0 = peg$currPos;
|
|
4560
4759
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4561
|
-
s1 = peg$
|
|
4760
|
+
s1 = peg$c55;
|
|
4562
4761
|
peg$currPos++;
|
|
4563
4762
|
} else {
|
|
4564
4763
|
s1 = peg$FAILED;
|
|
4565
4764
|
if (peg$silentFails === 0) {
|
|
4566
|
-
peg$fail(peg$
|
|
4765
|
+
peg$fail(peg$e59);
|
|
4567
4766
|
}
|
|
4568
4767
|
}
|
|
4569
4768
|
if (s1 !== peg$FAILED) {
|
|
4570
4769
|
s2 = peg$parseEscapeSequence();
|
|
4571
4770
|
if (s2 !== peg$FAILED) {
|
|
4572
4771
|
peg$savedPos = s0;
|
|
4573
|
-
s0 = peg$
|
|
4772
|
+
s0 = peg$f78(s2);
|
|
4574
4773
|
} else {
|
|
4575
4774
|
peg$currPos = s0;
|
|
4576
4775
|
s0 = peg$FAILED;
|
|
@@ -4586,97 +4785,97 @@ function peg$parse(input, options) {
|
|
|
4586
4785
|
let s0, s1;
|
|
4587
4786
|
s0 = peg$currPos;
|
|
4588
4787
|
if (input.charCodeAt(peg$currPos) === 110) {
|
|
4589
|
-
s1 = peg$
|
|
4788
|
+
s1 = peg$c56;
|
|
4590
4789
|
peg$currPos++;
|
|
4591
4790
|
} else {
|
|
4592
4791
|
s1 = peg$FAILED;
|
|
4593
4792
|
if (peg$silentFails === 0) {
|
|
4594
|
-
peg$fail(peg$
|
|
4793
|
+
peg$fail(peg$e60);
|
|
4595
4794
|
}
|
|
4596
4795
|
}
|
|
4597
4796
|
if (s1 !== peg$FAILED) {
|
|
4598
4797
|
peg$savedPos = s0;
|
|
4599
|
-
s1 = peg$
|
|
4798
|
+
s1 = peg$f79();
|
|
4600
4799
|
}
|
|
4601
4800
|
s0 = s1;
|
|
4602
4801
|
if (s0 === peg$FAILED) {
|
|
4603
4802
|
s0 = peg$currPos;
|
|
4604
4803
|
if (input.charCodeAt(peg$currPos) === 114) {
|
|
4605
|
-
s1 = peg$
|
|
4804
|
+
s1 = peg$c57;
|
|
4606
4805
|
peg$currPos++;
|
|
4607
4806
|
} else {
|
|
4608
4807
|
s1 = peg$FAILED;
|
|
4609
4808
|
if (peg$silentFails === 0) {
|
|
4610
|
-
peg$fail(peg$
|
|
4809
|
+
peg$fail(peg$e61);
|
|
4611
4810
|
}
|
|
4612
4811
|
}
|
|
4613
4812
|
if (s1 !== peg$FAILED) {
|
|
4614
4813
|
peg$savedPos = s0;
|
|
4615
|
-
s1 = peg$
|
|
4814
|
+
s1 = peg$f80();
|
|
4616
4815
|
}
|
|
4617
4816
|
s0 = s1;
|
|
4618
4817
|
if (s0 === peg$FAILED) {
|
|
4619
4818
|
s0 = peg$currPos;
|
|
4620
4819
|
if (input.charCodeAt(peg$currPos) === 116) {
|
|
4621
|
-
s1 = peg$
|
|
4820
|
+
s1 = peg$c58;
|
|
4622
4821
|
peg$currPos++;
|
|
4623
4822
|
} else {
|
|
4624
4823
|
s1 = peg$FAILED;
|
|
4625
4824
|
if (peg$silentFails === 0) {
|
|
4626
|
-
peg$fail(peg$
|
|
4825
|
+
peg$fail(peg$e62);
|
|
4627
4826
|
}
|
|
4628
4827
|
}
|
|
4629
4828
|
if (s1 !== peg$FAILED) {
|
|
4630
4829
|
peg$savedPos = s0;
|
|
4631
|
-
s1 = peg$
|
|
4830
|
+
s1 = peg$f81();
|
|
4632
4831
|
}
|
|
4633
4832
|
s0 = s1;
|
|
4634
4833
|
if (s0 === peg$FAILED) {
|
|
4635
4834
|
s0 = peg$currPos;
|
|
4636
4835
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4637
|
-
s1 = peg$
|
|
4836
|
+
s1 = peg$c55;
|
|
4638
4837
|
peg$currPos++;
|
|
4639
4838
|
} else {
|
|
4640
4839
|
s1 = peg$FAILED;
|
|
4641
4840
|
if (peg$silentFails === 0) {
|
|
4642
|
-
peg$fail(peg$
|
|
4841
|
+
peg$fail(peg$e59);
|
|
4643
4842
|
}
|
|
4644
4843
|
}
|
|
4645
4844
|
if (s1 !== peg$FAILED) {
|
|
4646
4845
|
peg$savedPos = s0;
|
|
4647
|
-
s1 = peg$
|
|
4846
|
+
s1 = peg$f82();
|
|
4648
4847
|
}
|
|
4649
4848
|
s0 = s1;
|
|
4650
4849
|
if (s0 === peg$FAILED) {
|
|
4651
4850
|
s0 = peg$currPos;
|
|
4652
4851
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4653
|
-
s1 = peg$
|
|
4852
|
+
s1 = peg$c53;
|
|
4654
4853
|
peg$currPos++;
|
|
4655
4854
|
} else {
|
|
4656
4855
|
s1 = peg$FAILED;
|
|
4657
4856
|
if (peg$silentFails === 0) {
|
|
4658
|
-
peg$fail(peg$
|
|
4857
|
+
peg$fail(peg$e57);
|
|
4659
4858
|
}
|
|
4660
4859
|
}
|
|
4661
4860
|
if (s1 !== peg$FAILED) {
|
|
4662
4861
|
peg$savedPos = s0;
|
|
4663
|
-
s1 = peg$
|
|
4862
|
+
s1 = peg$f83();
|
|
4664
4863
|
}
|
|
4665
4864
|
s0 = s1;
|
|
4666
4865
|
if (s0 === peg$FAILED) {
|
|
4667
4866
|
s0 = peg$currPos;
|
|
4668
4867
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4669
|
-
s1 = peg$
|
|
4868
|
+
s1 = peg$c54;
|
|
4670
4869
|
peg$currPos++;
|
|
4671
4870
|
} else {
|
|
4672
4871
|
s1 = peg$FAILED;
|
|
4673
4872
|
if (peg$silentFails === 0) {
|
|
4674
|
-
peg$fail(peg$
|
|
4873
|
+
peg$fail(peg$e58);
|
|
4675
4874
|
}
|
|
4676
4875
|
}
|
|
4677
4876
|
if (s1 !== peg$FAILED) {
|
|
4678
4877
|
peg$savedPos = s0;
|
|
4679
|
-
s1 = peg$
|
|
4878
|
+
s1 = peg$f84();
|
|
4680
4879
|
}
|
|
4681
4880
|
s0 = s1;
|
|
4682
4881
|
}
|
|
@@ -4691,12 +4890,12 @@ function peg$parse(input, options) {
|
|
|
4691
4890
|
peg$silentFails++;
|
|
4692
4891
|
s0 = peg$currPos;
|
|
4693
4892
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4694
|
-
s1 = peg$
|
|
4893
|
+
s1 = peg$c59;
|
|
4695
4894
|
peg$currPos++;
|
|
4696
4895
|
} else {
|
|
4697
4896
|
s1 = peg$FAILED;
|
|
4698
4897
|
if (peg$silentFails === 0) {
|
|
4699
|
-
peg$fail(peg$
|
|
4898
|
+
peg$fail(peg$e64);
|
|
4700
4899
|
}
|
|
4701
4900
|
}
|
|
4702
4901
|
if (s1 === peg$FAILED) {
|
|
@@ -4709,7 +4908,7 @@ function peg$parse(input, options) {
|
|
|
4709
4908
|
} else {
|
|
4710
4909
|
s3 = peg$FAILED;
|
|
4711
4910
|
if (peg$silentFails === 0) {
|
|
4712
|
-
peg$fail(peg$
|
|
4911
|
+
peg$fail(peg$e65);
|
|
4713
4912
|
}
|
|
4714
4913
|
}
|
|
4715
4914
|
if (s3 !== peg$FAILED) {
|
|
@@ -4721,7 +4920,7 @@ function peg$parse(input, options) {
|
|
|
4721
4920
|
} else {
|
|
4722
4921
|
s3 = peg$FAILED;
|
|
4723
4922
|
if (peg$silentFails === 0) {
|
|
4724
|
-
peg$fail(peg$
|
|
4923
|
+
peg$fail(peg$e65);
|
|
4725
4924
|
}
|
|
4726
4925
|
}
|
|
4727
4926
|
}
|
|
@@ -4731,12 +4930,12 @@ function peg$parse(input, options) {
|
|
|
4731
4930
|
if (s2 !== peg$FAILED) {
|
|
4732
4931
|
s3 = peg$currPos;
|
|
4733
4932
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4734
|
-
s4 = peg$
|
|
4933
|
+
s4 = peg$c60;
|
|
4735
4934
|
peg$currPos++;
|
|
4736
4935
|
} else {
|
|
4737
4936
|
s4 = peg$FAILED;
|
|
4738
4937
|
if (peg$silentFails === 0) {
|
|
4739
|
-
peg$fail(peg$
|
|
4938
|
+
peg$fail(peg$e66);
|
|
4740
4939
|
}
|
|
4741
4940
|
}
|
|
4742
4941
|
if (s4 !== peg$FAILED) {
|
|
@@ -4747,7 +4946,7 @@ function peg$parse(input, options) {
|
|
|
4747
4946
|
} else {
|
|
4748
4947
|
s6 = peg$FAILED;
|
|
4749
4948
|
if (peg$silentFails === 0) {
|
|
4750
|
-
peg$fail(peg$
|
|
4949
|
+
peg$fail(peg$e65);
|
|
4751
4950
|
}
|
|
4752
4951
|
}
|
|
4753
4952
|
if (s6 !== peg$FAILED) {
|
|
@@ -4759,7 +4958,7 @@ function peg$parse(input, options) {
|
|
|
4759
4958
|
} else {
|
|
4760
4959
|
s6 = peg$FAILED;
|
|
4761
4960
|
if (peg$silentFails === 0) {
|
|
4762
|
-
peg$fail(peg$
|
|
4961
|
+
peg$fail(peg$e65);
|
|
4763
4962
|
}
|
|
4764
4963
|
}
|
|
4765
4964
|
}
|
|
@@ -4781,7 +4980,7 @@ function peg$parse(input, options) {
|
|
|
4781
4980
|
s3 = null;
|
|
4782
4981
|
}
|
|
4783
4982
|
peg$savedPos = s0;
|
|
4784
|
-
s0 = peg$
|
|
4983
|
+
s0 = peg$f85(s1, s2, s3);
|
|
4785
4984
|
} else {
|
|
4786
4985
|
peg$currPos = s0;
|
|
4787
4986
|
s0 = peg$FAILED;
|
|
@@ -4790,7 +4989,7 @@ function peg$parse(input, options) {
|
|
|
4790
4989
|
if (s0 === peg$FAILED) {
|
|
4791
4990
|
s1 = peg$FAILED;
|
|
4792
4991
|
if (peg$silentFails === 0) {
|
|
4793
|
-
peg$fail(peg$
|
|
4992
|
+
peg$fail(peg$e63);
|
|
4794
4993
|
}
|
|
4795
4994
|
}
|
|
4796
4995
|
return s0;
|
|
@@ -4800,12 +4999,12 @@ function peg$parse(input, options) {
|
|
|
4800
4999
|
peg$silentFails++;
|
|
4801
5000
|
s0 = peg$currPos;
|
|
4802
5001
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4803
|
-
s1 = peg$
|
|
5002
|
+
s1 = peg$c59;
|
|
4804
5003
|
peg$currPos++;
|
|
4805
5004
|
} else {
|
|
4806
5005
|
s1 = peg$FAILED;
|
|
4807
5006
|
if (peg$silentFails === 0) {
|
|
4808
|
-
peg$fail(peg$
|
|
5007
|
+
peg$fail(peg$e64);
|
|
4809
5008
|
}
|
|
4810
5009
|
}
|
|
4811
5010
|
if (s1 === peg$FAILED) {
|
|
@@ -4818,7 +5017,7 @@ function peg$parse(input, options) {
|
|
|
4818
5017
|
} else {
|
|
4819
5018
|
s3 = peg$FAILED;
|
|
4820
5019
|
if (peg$silentFails === 0) {
|
|
4821
|
-
peg$fail(peg$
|
|
5020
|
+
peg$fail(peg$e65);
|
|
4822
5021
|
}
|
|
4823
5022
|
}
|
|
4824
5023
|
if (s3 !== peg$FAILED) {
|
|
@@ -4830,7 +5029,7 @@ function peg$parse(input, options) {
|
|
|
4830
5029
|
} else {
|
|
4831
5030
|
s3 = peg$FAILED;
|
|
4832
5031
|
if (peg$silentFails === 0) {
|
|
4833
|
-
peg$fail(peg$
|
|
5032
|
+
peg$fail(peg$e65);
|
|
4834
5033
|
}
|
|
4835
5034
|
}
|
|
4836
5035
|
}
|
|
@@ -4840,12 +5039,12 @@ function peg$parse(input, options) {
|
|
|
4840
5039
|
if (s2 !== peg$FAILED) {
|
|
4841
5040
|
s3 = peg$currPos;
|
|
4842
5041
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4843
|
-
s4 = peg$
|
|
5042
|
+
s4 = peg$c60;
|
|
4844
5043
|
peg$currPos++;
|
|
4845
5044
|
} else {
|
|
4846
5045
|
s4 = peg$FAILED;
|
|
4847
5046
|
if (peg$silentFails === 0) {
|
|
4848
|
-
peg$fail(peg$
|
|
5047
|
+
peg$fail(peg$e66);
|
|
4849
5048
|
}
|
|
4850
5049
|
}
|
|
4851
5050
|
if (s4 !== peg$FAILED) {
|
|
@@ -4856,7 +5055,7 @@ function peg$parse(input, options) {
|
|
|
4856
5055
|
} else {
|
|
4857
5056
|
s6 = peg$FAILED;
|
|
4858
5057
|
if (peg$silentFails === 0) {
|
|
4859
|
-
peg$fail(peg$
|
|
5058
|
+
peg$fail(peg$e65);
|
|
4860
5059
|
}
|
|
4861
5060
|
}
|
|
4862
5061
|
if (s6 !== peg$FAILED) {
|
|
@@ -4868,7 +5067,7 @@ function peg$parse(input, options) {
|
|
|
4868
5067
|
} else {
|
|
4869
5068
|
s6 = peg$FAILED;
|
|
4870
5069
|
if (peg$silentFails === 0) {
|
|
4871
|
-
peg$fail(peg$
|
|
5070
|
+
peg$fail(peg$e65);
|
|
4872
5071
|
}
|
|
4873
5072
|
}
|
|
4874
5073
|
}
|
|
@@ -4889,63 +5088,63 @@ function peg$parse(input, options) {
|
|
|
4889
5088
|
if (s3 === peg$FAILED) {
|
|
4890
5089
|
s3 = null;
|
|
4891
5090
|
}
|
|
4892
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4893
|
-
s4 = peg$
|
|
5091
|
+
if (input.substr(peg$currPos, 2) === peg$c61) {
|
|
5092
|
+
s4 = peg$c61;
|
|
4894
5093
|
peg$currPos += 2;
|
|
4895
5094
|
} else {
|
|
4896
5095
|
s4 = peg$FAILED;
|
|
4897
5096
|
if (peg$silentFails === 0) {
|
|
4898
|
-
peg$fail(peg$
|
|
5097
|
+
peg$fail(peg$e68);
|
|
4899
5098
|
}
|
|
4900
5099
|
}
|
|
4901
5100
|
if (s4 === peg$FAILED) {
|
|
4902
5101
|
if (input.charCodeAt(peg$currPos) === 37) {
|
|
4903
|
-
s4 = peg$
|
|
5102
|
+
s4 = peg$c62;
|
|
4904
5103
|
peg$currPos++;
|
|
4905
5104
|
} else {
|
|
4906
5105
|
s4 = peg$FAILED;
|
|
4907
5106
|
if (peg$silentFails === 0) {
|
|
4908
|
-
peg$fail(peg$
|
|
5107
|
+
peg$fail(peg$e69);
|
|
4909
5108
|
}
|
|
4910
5109
|
}
|
|
4911
5110
|
if (s4 === peg$FAILED) {
|
|
4912
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4913
|
-
s4 = peg$
|
|
5111
|
+
if (input.substr(peg$currPos, 2) === peg$c63) {
|
|
5112
|
+
s4 = peg$c63;
|
|
4914
5113
|
peg$currPos += 2;
|
|
4915
5114
|
} else {
|
|
4916
5115
|
s4 = peg$FAILED;
|
|
4917
5116
|
if (peg$silentFails === 0) {
|
|
4918
|
-
peg$fail(peg$
|
|
5117
|
+
peg$fail(peg$e70);
|
|
4919
5118
|
}
|
|
4920
5119
|
}
|
|
4921
5120
|
if (s4 === peg$FAILED) {
|
|
4922
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4923
|
-
s4 = peg$
|
|
5121
|
+
if (input.substr(peg$currPos, 3) === peg$c64) {
|
|
5122
|
+
s4 = peg$c64;
|
|
4924
5123
|
peg$currPos += 3;
|
|
4925
5124
|
} else {
|
|
4926
5125
|
s4 = peg$FAILED;
|
|
4927
5126
|
if (peg$silentFails === 0) {
|
|
4928
|
-
peg$fail(peg$
|
|
5127
|
+
peg$fail(peg$e71);
|
|
4929
5128
|
}
|
|
4930
5129
|
}
|
|
4931
5130
|
if (s4 === peg$FAILED) {
|
|
4932
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4933
|
-
s4 = peg$
|
|
5131
|
+
if (input.substr(peg$currPos, 2) === peg$c65) {
|
|
5132
|
+
s4 = peg$c65;
|
|
4934
5133
|
peg$currPos += 2;
|
|
4935
5134
|
} else {
|
|
4936
5135
|
s4 = peg$FAILED;
|
|
4937
5136
|
if (peg$silentFails === 0) {
|
|
4938
|
-
peg$fail(peg$
|
|
5137
|
+
peg$fail(peg$e72);
|
|
4939
5138
|
}
|
|
4940
5139
|
}
|
|
4941
5140
|
if (s4 === peg$FAILED) {
|
|
4942
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4943
|
-
s4 = peg$
|
|
5141
|
+
if (input.substr(peg$currPos, 2) === peg$c66) {
|
|
5142
|
+
s4 = peg$c66;
|
|
4944
5143
|
peg$currPos += 2;
|
|
4945
5144
|
} else {
|
|
4946
5145
|
s4 = peg$FAILED;
|
|
4947
5146
|
if (peg$silentFails === 0) {
|
|
4948
|
-
peg$fail(peg$
|
|
5147
|
+
peg$fail(peg$e73);
|
|
4949
5148
|
}
|
|
4950
5149
|
}
|
|
4951
5150
|
}
|
|
@@ -4955,7 +5154,7 @@ function peg$parse(input, options) {
|
|
|
4955
5154
|
}
|
|
4956
5155
|
if (s4 !== peg$FAILED) {
|
|
4957
5156
|
peg$savedPos = s0;
|
|
4958
|
-
s0 = peg$
|
|
5157
|
+
s0 = peg$f86(s1, s2, s3, s4);
|
|
4959
5158
|
} else {
|
|
4960
5159
|
peg$currPos = s0;
|
|
4961
5160
|
s0 = peg$FAILED;
|
|
@@ -4968,7 +5167,7 @@ function peg$parse(input, options) {
|
|
|
4968
5167
|
if (s0 === peg$FAILED) {
|
|
4969
5168
|
s1 = peg$FAILED;
|
|
4970
5169
|
if (peg$silentFails === 0) {
|
|
4971
|
-
peg$fail(peg$
|
|
5170
|
+
peg$fail(peg$e67);
|
|
4972
5171
|
}
|
|
4973
5172
|
}
|
|
4974
5173
|
return s0;
|
|
@@ -4977,34 +5176,34 @@ function peg$parse(input, options) {
|
|
|
4977
5176
|
let s0, s1;
|
|
4978
5177
|
peg$silentFails++;
|
|
4979
5178
|
s0 = peg$currPos;
|
|
4980
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4981
|
-
s1 = peg$
|
|
5179
|
+
if (input.substr(peg$currPos, 4) === peg$c67) {
|
|
5180
|
+
s1 = peg$c67;
|
|
4982
5181
|
peg$currPos += 4;
|
|
4983
5182
|
} else {
|
|
4984
5183
|
s1 = peg$FAILED;
|
|
4985
5184
|
if (peg$silentFails === 0) {
|
|
4986
|
-
peg$fail(peg$
|
|
5185
|
+
peg$fail(peg$e75);
|
|
4987
5186
|
}
|
|
4988
5187
|
}
|
|
4989
5188
|
if (s1 !== peg$FAILED) {
|
|
4990
5189
|
peg$savedPos = s0;
|
|
4991
|
-
s1 = peg$
|
|
5190
|
+
s1 = peg$f87();
|
|
4992
5191
|
}
|
|
4993
5192
|
s0 = s1;
|
|
4994
5193
|
if (s0 === peg$FAILED) {
|
|
4995
5194
|
s0 = peg$currPos;
|
|
4996
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4997
|
-
s1 = peg$
|
|
5195
|
+
if (input.substr(peg$currPos, 5) === peg$c68) {
|
|
5196
|
+
s1 = peg$c68;
|
|
4998
5197
|
peg$currPos += 5;
|
|
4999
5198
|
} else {
|
|
5000
5199
|
s1 = peg$FAILED;
|
|
5001
5200
|
if (peg$silentFails === 0) {
|
|
5002
|
-
peg$fail(peg$
|
|
5201
|
+
peg$fail(peg$e76);
|
|
5003
5202
|
}
|
|
5004
5203
|
}
|
|
5005
5204
|
if (s1 !== peg$FAILED) {
|
|
5006
5205
|
peg$savedPos = s0;
|
|
5007
|
-
s1 = peg$
|
|
5206
|
+
s1 = peg$f88();
|
|
5008
5207
|
}
|
|
5009
5208
|
s0 = s1;
|
|
5010
5209
|
}
|
|
@@ -5012,7 +5211,7 @@ function peg$parse(input, options) {
|
|
|
5012
5211
|
if (s0 === peg$FAILED) {
|
|
5013
5212
|
s1 = peg$FAILED;
|
|
5014
5213
|
if (peg$silentFails === 0) {
|
|
5015
|
-
peg$fail(peg$
|
|
5214
|
+
peg$fail(peg$e74);
|
|
5016
5215
|
}
|
|
5017
5216
|
}
|
|
5018
5217
|
return s0;
|
|
@@ -5027,7 +5226,7 @@ function peg$parse(input, options) {
|
|
|
5027
5226
|
} else {
|
|
5028
5227
|
s1 = peg$FAILED;
|
|
5029
5228
|
if (peg$silentFails === 0) {
|
|
5030
|
-
peg$fail(peg$
|
|
5229
|
+
peg$fail(peg$e78);
|
|
5031
5230
|
}
|
|
5032
5231
|
}
|
|
5033
5232
|
if (s1 !== peg$FAILED) {
|
|
@@ -5038,7 +5237,7 @@ function peg$parse(input, options) {
|
|
|
5038
5237
|
} else {
|
|
5039
5238
|
s3 = peg$FAILED;
|
|
5040
5239
|
if (peg$silentFails === 0) {
|
|
5041
|
-
peg$fail(peg$
|
|
5240
|
+
peg$fail(peg$e55);
|
|
5042
5241
|
}
|
|
5043
5242
|
}
|
|
5044
5243
|
while (s3 !== peg$FAILED) {
|
|
@@ -5049,12 +5248,12 @@ function peg$parse(input, options) {
|
|
|
5049
5248
|
} else {
|
|
5050
5249
|
s3 = peg$FAILED;
|
|
5051
5250
|
if (peg$silentFails === 0) {
|
|
5052
|
-
peg$fail(peg$
|
|
5251
|
+
peg$fail(peg$e55);
|
|
5053
5252
|
}
|
|
5054
5253
|
}
|
|
5055
5254
|
}
|
|
5056
5255
|
peg$savedPos = s0;
|
|
5057
|
-
s0 = peg$
|
|
5256
|
+
s0 = peg$f89(s1, s2);
|
|
5058
5257
|
} else {
|
|
5059
5258
|
peg$currPos = s0;
|
|
5060
5259
|
s0 = peg$FAILED;
|
|
@@ -5063,7 +5262,7 @@ function peg$parse(input, options) {
|
|
|
5063
5262
|
if (s0 === peg$FAILED) {
|
|
5064
5263
|
s1 = peg$FAILED;
|
|
5065
5264
|
if (peg$silentFails === 0) {
|
|
5066
|
-
peg$fail(peg$
|
|
5265
|
+
peg$fail(peg$e77);
|
|
5067
5266
|
}
|
|
5068
5267
|
}
|
|
5069
5268
|
return s0;
|
|
@@ -5072,12 +5271,12 @@ function peg$parse(input, options) {
|
|
|
5072
5271
|
let s0, s1, s2, s3, s4, s5;
|
|
5073
5272
|
s0 = peg$currPos;
|
|
5074
5273
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
5075
|
-
s1 = peg$
|
|
5274
|
+
s1 = peg$c31;
|
|
5076
5275
|
peg$currPos++;
|
|
5077
5276
|
} else {
|
|
5078
5277
|
s1 = peg$FAILED;
|
|
5079
5278
|
if (peg$silentFails === 0) {
|
|
5080
|
-
peg$fail(peg$
|
|
5279
|
+
peg$fail(peg$e31);
|
|
5081
5280
|
}
|
|
5082
5281
|
}
|
|
5083
5282
|
if (s1 !== peg$FAILED) {
|
|
@@ -5088,17 +5287,17 @@ function peg$parse(input, options) {
|
|
|
5088
5287
|
}
|
|
5089
5288
|
s4 = peg$parse_();
|
|
5090
5289
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
5091
|
-
s5 = peg$
|
|
5290
|
+
s5 = peg$c33;
|
|
5092
5291
|
peg$currPos++;
|
|
5093
5292
|
} else {
|
|
5094
5293
|
s5 = peg$FAILED;
|
|
5095
5294
|
if (peg$silentFails === 0) {
|
|
5096
|
-
peg$fail(peg$
|
|
5295
|
+
peg$fail(peg$e33);
|
|
5097
5296
|
}
|
|
5098
5297
|
}
|
|
5099
5298
|
if (s5 !== peg$FAILED) {
|
|
5100
5299
|
peg$savedPos = s0;
|
|
5101
|
-
s0 = peg$
|
|
5300
|
+
s0 = peg$f90(s3);
|
|
5102
5301
|
} else {
|
|
5103
5302
|
peg$currPos = s0;
|
|
5104
5303
|
s0 = peg$FAILED;
|
|
@@ -5118,12 +5317,12 @@ function peg$parse(input, options) {
|
|
|
5118
5317
|
s3 = peg$currPos;
|
|
5119
5318
|
s4 = peg$parse_();
|
|
5120
5319
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5121
|
-
s5 = peg$
|
|
5320
|
+
s5 = peg$c32;
|
|
5122
5321
|
peg$currPos++;
|
|
5123
5322
|
} else {
|
|
5124
5323
|
s5 = peg$FAILED;
|
|
5125
5324
|
if (peg$silentFails === 0) {
|
|
5126
|
-
peg$fail(peg$
|
|
5325
|
+
peg$fail(peg$e32);
|
|
5127
5326
|
}
|
|
5128
5327
|
}
|
|
5129
5328
|
if (s5 === peg$FAILED) {
|
|
@@ -5143,12 +5342,12 @@ function peg$parse(input, options) {
|
|
|
5143
5342
|
s3 = peg$currPos;
|
|
5144
5343
|
s4 = peg$parse_();
|
|
5145
5344
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5146
|
-
s5 = peg$
|
|
5345
|
+
s5 = peg$c32;
|
|
5147
5346
|
peg$currPos++;
|
|
5148
5347
|
} else {
|
|
5149
5348
|
s5 = peg$FAILED;
|
|
5150
5349
|
if (peg$silentFails === 0) {
|
|
5151
|
-
peg$fail(peg$
|
|
5350
|
+
peg$fail(peg$e32);
|
|
5152
5351
|
}
|
|
5153
5352
|
}
|
|
5154
5353
|
if (s5 === peg$FAILED) {
|
|
@@ -5167,12 +5366,12 @@ function peg$parse(input, options) {
|
|
|
5167
5366
|
s3 = peg$currPos;
|
|
5168
5367
|
s4 = peg$parse_();
|
|
5169
5368
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5170
|
-
s5 = peg$
|
|
5369
|
+
s5 = peg$c32;
|
|
5171
5370
|
peg$currPos++;
|
|
5172
5371
|
} else {
|
|
5173
5372
|
s5 = peg$FAILED;
|
|
5174
5373
|
if (peg$silentFails === 0) {
|
|
5175
|
-
peg$fail(peg$
|
|
5374
|
+
peg$fail(peg$e32);
|
|
5176
5375
|
}
|
|
5177
5376
|
}
|
|
5178
5377
|
if (s5 !== peg$FAILED) {
|
|
@@ -5186,7 +5385,7 @@ function peg$parse(input, options) {
|
|
|
5186
5385
|
s3 = null;
|
|
5187
5386
|
}
|
|
5188
5387
|
peg$savedPos = s0;
|
|
5189
|
-
s0 = peg$
|
|
5388
|
+
s0 = peg$f91(s1, s2);
|
|
5190
5389
|
} else {
|
|
5191
5390
|
peg$currPos = s0;
|
|
5192
5391
|
s0 = peg$FAILED;
|
|
@@ -5240,7 +5439,7 @@ function peg$parse(input, options) {
|
|
|
5240
5439
|
}
|
|
5241
5440
|
if (s5 !== peg$FAILED) {
|
|
5242
5441
|
peg$savedPos = s0;
|
|
5243
|
-
s0 = peg$
|
|
5442
|
+
s0 = peg$f92(s3);
|
|
5244
5443
|
} else {
|
|
5245
5444
|
peg$currPos = s0;
|
|
5246
5445
|
s0 = peg$FAILED;
|
|
@@ -5260,12 +5459,12 @@ function peg$parse(input, options) {
|
|
|
5260
5459
|
s3 = peg$currPos;
|
|
5261
5460
|
s4 = peg$parse_();
|
|
5262
5461
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5263
|
-
s5 = peg$
|
|
5462
|
+
s5 = peg$c32;
|
|
5264
5463
|
peg$currPos++;
|
|
5265
5464
|
} else {
|
|
5266
5465
|
s5 = peg$FAILED;
|
|
5267
5466
|
if (peg$silentFails === 0) {
|
|
5268
|
-
peg$fail(peg$
|
|
5467
|
+
peg$fail(peg$e32);
|
|
5269
5468
|
}
|
|
5270
5469
|
}
|
|
5271
5470
|
if (s5 === peg$FAILED) {
|
|
@@ -5285,12 +5484,12 @@ function peg$parse(input, options) {
|
|
|
5285
5484
|
s3 = peg$currPos;
|
|
5286
5485
|
s4 = peg$parse_();
|
|
5287
5486
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5288
|
-
s5 = peg$
|
|
5487
|
+
s5 = peg$c32;
|
|
5289
5488
|
peg$currPos++;
|
|
5290
5489
|
} else {
|
|
5291
5490
|
s5 = peg$FAILED;
|
|
5292
5491
|
if (peg$silentFails === 0) {
|
|
5293
|
-
peg$fail(peg$
|
|
5492
|
+
peg$fail(peg$e32);
|
|
5294
5493
|
}
|
|
5295
5494
|
}
|
|
5296
5495
|
if (s5 === peg$FAILED) {
|
|
@@ -5307,7 +5506,7 @@ function peg$parse(input, options) {
|
|
|
5307
5506
|
}
|
|
5308
5507
|
}
|
|
5309
5508
|
peg$savedPos = s0;
|
|
5310
|
-
s0 = peg$
|
|
5509
|
+
s0 = peg$f93(s1, s2);
|
|
5311
5510
|
} else {
|
|
5312
5511
|
peg$currPos = s0;
|
|
5313
5512
|
s0 = peg$FAILED;
|
|
@@ -5321,12 +5520,12 @@ function peg$parse(input, options) {
|
|
|
5321
5520
|
if (s1 !== peg$FAILED) {
|
|
5322
5521
|
s2 = peg$parse_();
|
|
5323
5522
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
5324
|
-
s3 = peg$
|
|
5523
|
+
s3 = peg$c50;
|
|
5325
5524
|
peg$currPos++;
|
|
5326
5525
|
} else {
|
|
5327
5526
|
s3 = peg$FAILED;
|
|
5328
5527
|
if (peg$silentFails === 0) {
|
|
5329
|
-
peg$fail(peg$
|
|
5528
|
+
peg$fail(peg$e50);
|
|
5330
5529
|
}
|
|
5331
5530
|
}
|
|
5332
5531
|
if (s3 !== peg$FAILED) {
|
|
@@ -5334,7 +5533,7 @@ function peg$parse(input, options) {
|
|
|
5334
5533
|
s5 = peg$parseAttributeValue();
|
|
5335
5534
|
if (s5 !== peg$FAILED) {
|
|
5336
5535
|
peg$savedPos = s0;
|
|
5337
|
-
s0 = peg$
|
|
5536
|
+
s0 = peg$f94(s1, s5);
|
|
5338
5537
|
} else {
|
|
5339
5538
|
peg$currPos = s0;
|
|
5340
5539
|
s0 = peg$FAILED;
|
|
@@ -5352,7 +5551,7 @@ function peg$parse(input, options) {
|
|
|
5352
5551
|
s1 = peg$parseIdentifier();
|
|
5353
5552
|
if (s1 !== peg$FAILED) {
|
|
5354
5553
|
peg$savedPos = s0;
|
|
5355
|
-
s1 = peg$
|
|
5554
|
+
s1 = peg$f95(s1);
|
|
5356
5555
|
}
|
|
5357
5556
|
s0 = s1;
|
|
5358
5557
|
}
|
|
@@ -5425,13 +5624,13 @@ function peg$parse(input, options) {
|
|
|
5425
5624
|
function peg$parseLineComment() {
|
|
5426
5625
|
let s0, s1, s2, s3, s4;
|
|
5427
5626
|
s0 = peg$currPos;
|
|
5428
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5429
|
-
s1 = peg$
|
|
5627
|
+
if (input.substr(peg$currPos, 2) === peg$c51) {
|
|
5628
|
+
s1 = peg$c51;
|
|
5430
5629
|
peg$currPos += 2;
|
|
5431
5630
|
} else {
|
|
5432
5631
|
s1 = peg$FAILED;
|
|
5433
5632
|
if (peg$silentFails === 0) {
|
|
5434
|
-
peg$fail(peg$
|
|
5633
|
+
peg$fail(peg$e52);
|
|
5435
5634
|
}
|
|
5436
5635
|
}
|
|
5437
5636
|
if (s1 !== peg$FAILED) {
|
|
@@ -5475,7 +5674,7 @@ function peg$parse(input, options) {
|
|
|
5475
5674
|
} else {
|
|
5476
5675
|
s4 = peg$FAILED;
|
|
5477
5676
|
if (peg$silentFails === 0) {
|
|
5478
|
-
peg$fail(peg$
|
|
5677
|
+
peg$fail(peg$e54);
|
|
5479
5678
|
}
|
|
5480
5679
|
}
|
|
5481
5680
|
peg$silentFails--;
|
|
@@ -5502,13 +5701,13 @@ function peg$parse(input, options) {
|
|
|
5502
5701
|
function peg$parseBlockComment() {
|
|
5503
5702
|
let s0, s1, s2, s3, s4, s5;
|
|
5504
5703
|
s0 = peg$currPos;
|
|
5505
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5506
|
-
s1 = peg$
|
|
5704
|
+
if (input.substr(peg$currPos, 2) === peg$c52) {
|
|
5705
|
+
s1 = peg$c52;
|
|
5507
5706
|
peg$currPos += 2;
|
|
5508
5707
|
} else {
|
|
5509
5708
|
s1 = peg$FAILED;
|
|
5510
5709
|
if (peg$silentFails === 0) {
|
|
5511
|
-
peg$fail(peg$
|
|
5710
|
+
peg$fail(peg$e53);
|
|
5512
5711
|
}
|
|
5513
5712
|
}
|
|
5514
5713
|
if (s1 !== peg$FAILED) {
|
|
@@ -5539,7 +5738,7 @@ function peg$parse(input, options) {
|
|
|
5539
5738
|
} else {
|
|
5540
5739
|
s5 = peg$FAILED;
|
|
5541
5740
|
if (peg$silentFails === 0) {
|
|
5542
|
-
peg$fail(peg$
|
|
5741
|
+
peg$fail(peg$e54);
|
|
5543
5742
|
}
|
|
5544
5743
|
}
|
|
5545
5744
|
if (s5 !== peg$FAILED) {
|
|
@@ -5581,7 +5780,7 @@ function peg$parse(input, options) {
|
|
|
5581
5780
|
} else {
|
|
5582
5781
|
s5 = peg$FAILED;
|
|
5583
5782
|
if (peg$silentFails === 0) {
|
|
5584
|
-
peg$fail(peg$
|
|
5783
|
+
peg$fail(peg$e54);
|
|
5585
5784
|
}
|
|
5586
5785
|
}
|
|
5587
5786
|
if (s5 !== peg$FAILED) {
|