@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.js
CHANGED
|
@@ -138,44 +138,44 @@ function peg$parse(input, options) {
|
|
|
138
138
|
const peg$c28 = "badge";
|
|
139
139
|
const peg$c29 = "icon";
|
|
140
140
|
const peg$c30 = "table";
|
|
141
|
-
const peg$c31 = "
|
|
142
|
-
const peg$c32 = "
|
|
143
|
-
const peg$c33 = "
|
|
144
|
-
const peg$c34 = "
|
|
145
|
-
const peg$c35 = "
|
|
146
|
-
const peg$c36 = "
|
|
147
|
-
const peg$c37 = "
|
|
148
|
-
const peg$c38 = "
|
|
149
|
-
const peg$c39 = "
|
|
150
|
-
const peg$c40 = "
|
|
151
|
-
const peg$c41 = "
|
|
152
|
-
const peg$c42 = "
|
|
153
|
-
const peg$c43 = "
|
|
154
|
-
const peg$c44 = "
|
|
155
|
-
const peg$c45 = "
|
|
156
|
-
const peg$c46 = "
|
|
157
|
-
const peg$c47 = "
|
|
158
|
-
const peg$c48 = "
|
|
159
|
-
const peg$c49 = "
|
|
160
|
-
const peg$c50 =
|
|
161
|
-
const peg$c51 = "
|
|
162
|
-
const peg$c52 = "
|
|
163
|
-
const peg$c53 = "
|
|
164
|
-
const peg$c54 = "
|
|
165
|
-
const peg$c55 = "
|
|
166
|
-
const peg$c56 = "
|
|
167
|
-
const peg$c57 = "
|
|
168
|
-
const peg$c58 = "
|
|
169
|
-
const peg$c59 = "
|
|
170
|
-
const peg$c60 = "
|
|
171
|
-
const peg$c61 = "
|
|
172
|
-
const peg$c62 = "
|
|
173
|
-
const peg$c63 = "
|
|
174
|
-
const peg$c64 = "
|
|
175
|
-
const peg$c65 = "
|
|
176
|
-
const peg$c66 = "
|
|
177
|
-
const peg$c67 = "
|
|
178
|
-
const peg$c68 = "
|
|
141
|
+
const peg$c31 = "[";
|
|
142
|
+
const peg$c32 = ",";
|
|
143
|
+
const peg$c33 = "]";
|
|
144
|
+
const peg$c34 = "columns";
|
|
145
|
+
const peg$c35 = "list";
|
|
146
|
+
const peg$c36 = "item";
|
|
147
|
+
const peg$c37 = "alert";
|
|
148
|
+
const peg$c38 = "toast";
|
|
149
|
+
const peg$c39 = "progress";
|
|
150
|
+
const peg$c40 = "spinner";
|
|
151
|
+
const peg$c41 = "tooltip";
|
|
152
|
+
const peg$c42 = "popover";
|
|
153
|
+
const peg$c43 = "dropdown";
|
|
154
|
+
const peg$c44 = "divider";
|
|
155
|
+
const peg$c45 = "nav";
|
|
156
|
+
const peg$c46 = "group";
|
|
157
|
+
const peg$c47 = "tabs";
|
|
158
|
+
const peg$c48 = "tab";
|
|
159
|
+
const peg$c49 = "breadcrumb";
|
|
160
|
+
const peg$c50 = "=";
|
|
161
|
+
const peg$c51 = "//";
|
|
162
|
+
const peg$c52 = "/*";
|
|
163
|
+
const peg$c53 = '"';
|
|
164
|
+
const peg$c54 = "'";
|
|
165
|
+
const peg$c55 = "\\";
|
|
166
|
+
const peg$c56 = "n";
|
|
167
|
+
const peg$c57 = "r";
|
|
168
|
+
const peg$c58 = "t";
|
|
169
|
+
const peg$c59 = "-";
|
|
170
|
+
const peg$c60 = ".";
|
|
171
|
+
const peg$c61 = "px";
|
|
172
|
+
const peg$c62 = "%";
|
|
173
|
+
const peg$c63 = "em";
|
|
174
|
+
const peg$c64 = "rem";
|
|
175
|
+
const peg$c65 = "vh";
|
|
176
|
+
const peg$c66 = "vw";
|
|
177
|
+
const peg$c67 = "true";
|
|
178
|
+
const peg$c68 = "false";
|
|
179
179
|
const peg$c69 = "\n";
|
|
180
180
|
const peg$c70 = "*/";
|
|
181
181
|
const peg$r0 = /^[=[{}]/;
|
|
@@ -215,54 +215,54 @@ function peg$parse(input, options) {
|
|
|
215
215
|
const peg$e28 = peg$literalExpectation("badge", false);
|
|
216
216
|
const peg$e29 = peg$literalExpectation("icon", false);
|
|
217
217
|
const peg$e30 = peg$literalExpectation("table", false);
|
|
218
|
-
const peg$e31 = peg$literalExpectation("
|
|
219
|
-
const peg$e32 = peg$literalExpectation("
|
|
220
|
-
const peg$e33 = peg$literalExpectation("
|
|
221
|
-
const peg$e34 = peg$literalExpectation("
|
|
222
|
-
const peg$e35 = peg$literalExpectation("
|
|
223
|
-
const peg$e36 = peg$literalExpectation("
|
|
224
|
-
const peg$e37 = peg$literalExpectation("
|
|
225
|
-
const peg$e38 = peg$literalExpectation("
|
|
226
|
-
const peg$e39 = peg$literalExpectation("
|
|
227
|
-
const peg$e40 = peg$literalExpectation("
|
|
228
|
-
const peg$e41 = peg$literalExpectation("
|
|
229
|
-
const peg$e42 = peg$literalExpectation("
|
|
230
|
-
const peg$e43 = peg$literalExpectation("
|
|
231
|
-
const peg$e44 = peg$literalExpectation("
|
|
232
|
-
const peg$e45 = peg$literalExpectation("
|
|
233
|
-
const peg$e46 = peg$literalExpectation("
|
|
234
|
-
const peg$e47 = peg$literalExpectation("
|
|
235
|
-
const peg$e48 = peg$
|
|
236
|
-
const peg$e49 = peg$literalExpectation("
|
|
237
|
-
const peg$e50 = peg$literalExpectation("
|
|
238
|
-
const peg$e51 = peg$
|
|
239
|
-
const peg$e52 = peg$
|
|
240
|
-
const peg$e53 = peg$
|
|
241
|
-
const peg$e54 = peg$
|
|
242
|
-
const peg$e55 = peg$
|
|
243
|
-
const peg$e56 = peg$
|
|
244
|
-
const peg$e57 = peg$literalExpectation("
|
|
245
|
-
const peg$e58 = peg$literalExpectation("
|
|
246
|
-
const peg$e59 = peg$literalExpectation("
|
|
247
|
-
const peg$e60 = peg$
|
|
248
|
-
const peg$e61 = peg$literalExpectation("
|
|
249
|
-
const peg$e62 = peg$
|
|
250
|
-
const peg$e63 = peg$
|
|
251
|
-
const peg$e64 = peg$
|
|
252
|
-
const peg$e65 = peg$
|
|
253
|
-
const peg$e66 = peg$literalExpectation("
|
|
254
|
-
const peg$e67 = peg$
|
|
255
|
-
const peg$e68 = peg$literalExpectation("
|
|
256
|
-
const peg$e69 = peg$literalExpectation("
|
|
257
|
-
const peg$e70 = peg$literalExpectation("
|
|
258
|
-
const peg$e71 = peg$
|
|
259
|
-
const peg$e72 = peg$literalExpectation("
|
|
260
|
-
const peg$e73 = peg$literalExpectation("
|
|
261
|
-
const peg$e74 = peg$otherExpectation("
|
|
262
|
-
const peg$e75 = peg$
|
|
263
|
-
const peg$e76 = peg$literalExpectation("
|
|
264
|
-
const peg$e77 = peg$
|
|
265
|
-
const peg$e78 = peg$
|
|
218
|
+
const peg$e31 = peg$literalExpectation("[", false);
|
|
219
|
+
const peg$e32 = peg$literalExpectation(",", false);
|
|
220
|
+
const peg$e33 = peg$literalExpectation("]", false);
|
|
221
|
+
const peg$e34 = peg$literalExpectation("columns", false);
|
|
222
|
+
const peg$e35 = peg$literalExpectation("list", false);
|
|
223
|
+
const peg$e36 = peg$literalExpectation("item", false);
|
|
224
|
+
const peg$e37 = peg$literalExpectation("alert", false);
|
|
225
|
+
const peg$e38 = peg$literalExpectation("toast", false);
|
|
226
|
+
const peg$e39 = peg$literalExpectation("progress", false);
|
|
227
|
+
const peg$e40 = peg$literalExpectation("spinner", false);
|
|
228
|
+
const peg$e41 = peg$literalExpectation("tooltip", false);
|
|
229
|
+
const peg$e42 = peg$literalExpectation("popover", false);
|
|
230
|
+
const peg$e43 = peg$literalExpectation("dropdown", false);
|
|
231
|
+
const peg$e44 = peg$literalExpectation("divider", false);
|
|
232
|
+
const peg$e45 = peg$literalExpectation("nav", false);
|
|
233
|
+
const peg$e46 = peg$literalExpectation("group", false);
|
|
234
|
+
const peg$e47 = peg$literalExpectation("tabs", false);
|
|
235
|
+
const peg$e48 = peg$literalExpectation("tab", false);
|
|
236
|
+
const peg$e49 = peg$literalExpectation("breadcrumb", false);
|
|
237
|
+
const peg$e50 = peg$literalExpectation("=", false);
|
|
238
|
+
const peg$e51 = peg$classExpectation(["=", "[", "{", "}"], false, false, false);
|
|
239
|
+
const peg$e52 = peg$literalExpectation("//", false);
|
|
240
|
+
const peg$e53 = peg$literalExpectation("/*", false);
|
|
241
|
+
const peg$e54 = peg$anyExpectation();
|
|
242
|
+
const peg$e55 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", "-"], false, false, false);
|
|
243
|
+
const peg$e56 = peg$otherExpectation("string");
|
|
244
|
+
const peg$e57 = peg$literalExpectation('"', false);
|
|
245
|
+
const peg$e58 = peg$literalExpectation("'", false);
|
|
246
|
+
const peg$e59 = peg$literalExpectation("\\", false);
|
|
247
|
+
const peg$e60 = peg$literalExpectation("n", false);
|
|
248
|
+
const peg$e61 = peg$literalExpectation("r", false);
|
|
249
|
+
const peg$e62 = peg$literalExpectation("t", false);
|
|
250
|
+
const peg$e63 = peg$otherExpectation("number");
|
|
251
|
+
const peg$e64 = peg$literalExpectation("-", false);
|
|
252
|
+
const peg$e65 = peg$classExpectation([["0", "9"]], false, false, false);
|
|
253
|
+
const peg$e66 = peg$literalExpectation(".", false);
|
|
254
|
+
const peg$e67 = peg$otherExpectation("value with unit");
|
|
255
|
+
const peg$e68 = peg$literalExpectation("px", false);
|
|
256
|
+
const peg$e69 = peg$literalExpectation("%", false);
|
|
257
|
+
const peg$e70 = peg$literalExpectation("em", false);
|
|
258
|
+
const peg$e71 = peg$literalExpectation("rem", false);
|
|
259
|
+
const peg$e72 = peg$literalExpectation("vh", false);
|
|
260
|
+
const peg$e73 = peg$literalExpectation("vw", false);
|
|
261
|
+
const peg$e74 = peg$otherExpectation("boolean");
|
|
262
|
+
const peg$e75 = peg$literalExpectation("true", false);
|
|
263
|
+
const peg$e76 = peg$literalExpectation("false", false);
|
|
264
|
+
const peg$e77 = peg$otherExpectation("identifier");
|
|
265
|
+
const peg$e78 = peg$classExpectation([["a", "z"], ["A", "Z"], "_"], false, false, false);
|
|
266
266
|
const peg$e79 = peg$classExpectation([" ", " ", "\n", "\r"], false, false, false);
|
|
267
267
|
const peg$e80 = peg$otherExpectation("comment");
|
|
268
268
|
const peg$e81 = peg$classExpectation(["\n"], true, false, false);
|
|
@@ -456,13 +456,25 @@ function peg$parse(input, options) {
|
|
|
456
456
|
...attrsToObject(attrs)
|
|
457
457
|
});
|
|
458
458
|
}
|
|
459
|
-
function peg$f32(
|
|
459
|
+
function peg$f32(data, attrs) {
|
|
460
|
+
const columns = data.length > 0 ? data[0] : [];
|
|
461
|
+
const rows = data.slice(1);
|
|
462
|
+
return createNode("Table", {
|
|
463
|
+
columns,
|
|
464
|
+
rows,
|
|
465
|
+
...attrsToObject(attrs)
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
function peg$f33(attrs, rows) {
|
|
460
469
|
return createNode("Table", {
|
|
461
470
|
...attrsToObject(attrs),
|
|
462
471
|
...rows
|
|
463
472
|
});
|
|
464
473
|
}
|
|
465
|
-
function peg$
|
|
474
|
+
function peg$f34(first, rest) {
|
|
475
|
+
return [first, ...rest.map((r) => r[2])];
|
|
476
|
+
}
|
|
477
|
+
function peg$f35(items) {
|
|
466
478
|
const columns = [];
|
|
467
479
|
const rows = [];
|
|
468
480
|
for (const item of items.map((i) => i[0]).filter((i) => i !== null)) {
|
|
@@ -471,106 +483,121 @@ function peg$parse(input, options) {
|
|
|
471
483
|
}
|
|
472
484
|
return { columns, rows };
|
|
473
485
|
}
|
|
474
|
-
function peg$
|
|
486
|
+
function peg$f36(values) {
|
|
475
487
|
return { type: "columns", values };
|
|
476
488
|
}
|
|
477
|
-
function peg$
|
|
489
|
+
function peg$f37(values) {
|
|
478
490
|
return { type: "row", values };
|
|
479
491
|
}
|
|
480
|
-
function peg$
|
|
492
|
+
function peg$f38() {
|
|
481
493
|
return null;
|
|
482
494
|
}
|
|
483
|
-
function peg$
|
|
495
|
+
function peg$f39(items, attrs, block) {
|
|
484
496
|
return createNode("List", {
|
|
485
497
|
items: items || (block ? block : []),
|
|
486
498
|
...attrsToObject(attrs)
|
|
487
499
|
});
|
|
488
500
|
}
|
|
489
|
-
function peg$
|
|
501
|
+
function peg$f40(items) {
|
|
490
502
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
491
503
|
}
|
|
492
|
-
function peg$
|
|
504
|
+
function peg$f41(label, attrs, nested) {
|
|
493
505
|
return {
|
|
494
506
|
content: label,
|
|
495
507
|
...attrsToObject(attrs),
|
|
496
508
|
children: nested || []
|
|
497
509
|
};
|
|
498
510
|
}
|
|
499
|
-
function peg$
|
|
511
|
+
function peg$f42() {
|
|
500
512
|
return null;
|
|
501
513
|
}
|
|
502
|
-
function peg$
|
|
514
|
+
function peg$f43(label, attrs) {
|
|
503
515
|
return createNode("Alert", {
|
|
504
516
|
content: label,
|
|
505
517
|
...attrsToObject(attrs)
|
|
506
518
|
});
|
|
507
519
|
}
|
|
508
|
-
function peg$
|
|
520
|
+
function peg$f44(label, attrs) {
|
|
509
521
|
return createNode("Toast", {
|
|
510
522
|
content: label,
|
|
511
523
|
...attrsToObject(attrs)
|
|
512
524
|
});
|
|
513
525
|
}
|
|
514
|
-
function peg$
|
|
526
|
+
function peg$f45(attrs) {
|
|
515
527
|
return createNode("Progress", {
|
|
516
528
|
...attrsToObject(attrs)
|
|
517
529
|
});
|
|
518
530
|
}
|
|
519
|
-
function peg$
|
|
531
|
+
function peg$f46(label, attrs) {
|
|
520
532
|
return createNode("Spinner", {
|
|
521
533
|
label: label || null,
|
|
522
534
|
...attrsToObject(attrs)
|
|
523
535
|
});
|
|
524
536
|
}
|
|
525
|
-
function peg$
|
|
537
|
+
function peg$f47(label, attrs) {
|
|
526
538
|
return createNode("Tooltip", {
|
|
527
539
|
content: label,
|
|
528
540
|
...attrsToObject(attrs),
|
|
529
541
|
children: []
|
|
530
542
|
});
|
|
531
543
|
}
|
|
532
|
-
function peg$
|
|
544
|
+
function peg$f48(label, attrs, children) {
|
|
533
545
|
return createNode("Popover", {
|
|
534
546
|
title: label || null,
|
|
535
547
|
...attrsToObject(attrs),
|
|
536
548
|
children
|
|
537
549
|
});
|
|
538
550
|
}
|
|
539
|
-
function peg$
|
|
551
|
+
function peg$f49(items, attrs) {
|
|
552
|
+
const processedItems = items.map((item) => {
|
|
553
|
+
if (typeof item === "string") {
|
|
554
|
+
if (item === "---" || item === "-" || item === "divider") {
|
|
555
|
+
return { type: "divider" };
|
|
556
|
+
}
|
|
557
|
+
return { label: item };
|
|
558
|
+
}
|
|
559
|
+
return item;
|
|
560
|
+
});
|
|
561
|
+
return createNode("Dropdown", {
|
|
562
|
+
...attrsToObject(attrs),
|
|
563
|
+
items: processedItems
|
|
564
|
+
});
|
|
565
|
+
}
|
|
566
|
+
function peg$f50(attrs, items) {
|
|
540
567
|
return createNode("Dropdown", {
|
|
541
568
|
...attrsToObject(attrs),
|
|
542
569
|
items
|
|
543
570
|
});
|
|
544
571
|
}
|
|
545
|
-
function peg$
|
|
572
|
+
function peg$f51(items) {
|
|
546
573
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
547
574
|
}
|
|
548
|
-
function peg$
|
|
575
|
+
function peg$f52(label, attrs) {
|
|
549
576
|
return { label, ...attrsToObject(attrs) };
|
|
550
577
|
}
|
|
551
|
-
function peg$
|
|
578
|
+
function peg$f53() {
|
|
552
579
|
return { type: "divider" };
|
|
553
580
|
}
|
|
554
|
-
function peg$
|
|
581
|
+
function peg$f54() {
|
|
555
582
|
return null;
|
|
556
583
|
}
|
|
557
|
-
function peg$
|
|
584
|
+
function peg$f55(items, attrs, block) {
|
|
558
585
|
return createNode("Nav", {
|
|
559
586
|
items: items || [],
|
|
560
587
|
...attrsToObject(attrs),
|
|
561
588
|
children: block || []
|
|
562
589
|
});
|
|
563
590
|
}
|
|
564
|
-
function peg$
|
|
591
|
+
function peg$f56(content) {
|
|
565
592
|
return content.map((c) => c[0]).filter((c) => c !== null);
|
|
566
593
|
}
|
|
567
|
-
function peg$
|
|
594
|
+
function peg$f57() {
|
|
568
595
|
return { type: "divider" };
|
|
569
596
|
}
|
|
570
|
-
function peg$
|
|
597
|
+
function peg$f58() {
|
|
571
598
|
return null;
|
|
572
599
|
}
|
|
573
|
-
function peg$
|
|
600
|
+
function peg$f59(label, attrs, items) {
|
|
574
601
|
return {
|
|
575
602
|
type: "group",
|
|
576
603
|
label,
|
|
@@ -578,122 +605,122 @@ function peg$parse(input, options) {
|
|
|
578
605
|
items: items.map((i) => i[0]).filter((i) => i !== null)
|
|
579
606
|
};
|
|
580
607
|
}
|
|
581
|
-
function peg$
|
|
608
|
+
function peg$f60() {
|
|
582
609
|
return { type: "divider" };
|
|
583
610
|
}
|
|
584
|
-
function peg$
|
|
611
|
+
function peg$f61() {
|
|
585
612
|
return null;
|
|
586
613
|
}
|
|
587
|
-
function peg$
|
|
614
|
+
function peg$f62(label, attrs) {
|
|
588
615
|
return {
|
|
589
616
|
type: "item",
|
|
590
617
|
label,
|
|
591
618
|
...attrsToObject(attrs)
|
|
592
619
|
};
|
|
593
620
|
}
|
|
594
|
-
function peg$
|
|
621
|
+
function peg$f63(items, attrs, block) {
|
|
595
622
|
return createNode("Tabs", {
|
|
596
623
|
items: items || [],
|
|
597
624
|
...attrsToObject(attrs),
|
|
598
625
|
children: block || []
|
|
599
626
|
});
|
|
600
627
|
}
|
|
601
|
-
function peg$
|
|
628
|
+
function peg$f64(tabs) {
|
|
602
629
|
return tabs.map((t) => t[0]).filter((t) => t !== null);
|
|
603
630
|
}
|
|
604
|
-
function peg$
|
|
631
|
+
function peg$f65(label, attrs, children) {
|
|
605
632
|
return {
|
|
606
633
|
label,
|
|
607
634
|
...attrsToObject(attrs),
|
|
608
635
|
children
|
|
609
636
|
};
|
|
610
637
|
}
|
|
611
|
-
function peg$
|
|
638
|
+
function peg$f66() {
|
|
612
639
|
return null;
|
|
613
640
|
}
|
|
614
|
-
function peg$
|
|
641
|
+
function peg$f67(items, attrs) {
|
|
615
642
|
return createNode("Breadcrumb", {
|
|
616
643
|
items,
|
|
617
644
|
...attrsToObject(attrs)
|
|
618
645
|
});
|
|
619
646
|
}
|
|
620
|
-
function peg$
|
|
647
|
+
function peg$f68(attrs) {
|
|
621
648
|
return createNode("Divider", {
|
|
622
649
|
...attrsToObject(attrs)
|
|
623
650
|
});
|
|
624
651
|
}
|
|
625
|
-
function peg$
|
|
652
|
+
function peg$f69(attrs) {
|
|
626
653
|
return attrs;
|
|
627
654
|
}
|
|
628
|
-
function peg$
|
|
655
|
+
function peg$f70(name, value) {
|
|
629
656
|
return { name, value };
|
|
630
657
|
}
|
|
631
|
-
function peg$
|
|
658
|
+
function peg$f71(flag) {
|
|
632
659
|
return { name: flag, value: true };
|
|
633
660
|
}
|
|
634
|
-
function peg$
|
|
661
|
+
function peg$f72(name) {
|
|
635
662
|
return name;
|
|
636
663
|
}
|
|
637
|
-
function peg$
|
|
664
|
+
function peg$f73(chars) {
|
|
638
665
|
return chars.join("");
|
|
639
666
|
}
|
|
640
|
-
function peg$
|
|
667
|
+
function peg$f74(chars) {
|
|
641
668
|
return chars.join("");
|
|
642
669
|
}
|
|
643
|
-
function peg$
|
|
670
|
+
function peg$f75(char) {
|
|
644
671
|
return char;
|
|
645
672
|
}
|
|
646
|
-
function peg$
|
|
673
|
+
function peg$f76(seq) {
|
|
647
674
|
return seq;
|
|
648
675
|
}
|
|
649
|
-
function peg$
|
|
676
|
+
function peg$f77(char) {
|
|
650
677
|
return char;
|
|
651
678
|
}
|
|
652
|
-
function peg$
|
|
679
|
+
function peg$f78(seq) {
|
|
653
680
|
return seq;
|
|
654
681
|
}
|
|
655
|
-
function peg$
|
|
682
|
+
function peg$f79() {
|
|
656
683
|
return "\n";
|
|
657
684
|
}
|
|
658
|
-
function peg$
|
|
685
|
+
function peg$f80() {
|
|
659
686
|
return "\r";
|
|
660
687
|
}
|
|
661
|
-
function peg$
|
|
688
|
+
function peg$f81() {
|
|
662
689
|
return " ";
|
|
663
690
|
}
|
|
664
|
-
function peg$
|
|
691
|
+
function peg$f82() {
|
|
665
692
|
return "\\";
|
|
666
693
|
}
|
|
667
|
-
function peg$
|
|
694
|
+
function peg$f83() {
|
|
668
695
|
return '"';
|
|
669
696
|
}
|
|
670
|
-
function peg$
|
|
697
|
+
function peg$f84() {
|
|
671
698
|
return "'";
|
|
672
699
|
}
|
|
673
|
-
function peg$
|
|
700
|
+
function peg$f85(sign, digits, decimal) {
|
|
674
701
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
675
702
|
return parseFloat(num);
|
|
676
703
|
}
|
|
677
|
-
function peg$
|
|
704
|
+
function peg$f86(sign, digits, decimal, unit) {
|
|
678
705
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
679
706
|
return { value: parseFloat(num), unit };
|
|
680
707
|
}
|
|
681
|
-
function peg$
|
|
708
|
+
function peg$f87() {
|
|
682
709
|
return true;
|
|
683
710
|
}
|
|
684
|
-
function peg$
|
|
711
|
+
function peg$f88() {
|
|
685
712
|
return false;
|
|
686
713
|
}
|
|
687
|
-
function peg$
|
|
714
|
+
function peg$f89(head, tail) {
|
|
688
715
|
return head + tail.join("");
|
|
689
716
|
}
|
|
690
|
-
function peg$
|
|
717
|
+
function peg$f90(items) {
|
|
691
718
|
return items || [];
|
|
692
719
|
}
|
|
693
|
-
function peg$
|
|
720
|
+
function peg$f91(head, tail) {
|
|
694
721
|
return [head, ...tail.map((t) => t[3])];
|
|
695
722
|
}
|
|
696
|
-
function peg$
|
|
723
|
+
function peg$f92(props) {
|
|
697
724
|
const result = {};
|
|
698
725
|
if (props) {
|
|
699
726
|
for (const p of props) {
|
|
@@ -702,13 +729,13 @@ function peg$parse(input, options) {
|
|
|
702
729
|
}
|
|
703
730
|
return result;
|
|
704
731
|
}
|
|
705
|
-
function peg$
|
|
732
|
+
function peg$f93(head, tail) {
|
|
706
733
|
return [head, ...tail.map((t) => t[3])];
|
|
707
734
|
}
|
|
708
|
-
function peg$
|
|
735
|
+
function peg$f94(name, value) {
|
|
709
736
|
return { name, value };
|
|
710
737
|
}
|
|
711
|
-
function peg$
|
|
738
|
+
function peg$f95(name) {
|
|
712
739
|
return { name, value: true };
|
|
713
740
|
}
|
|
714
741
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -2406,36 +2433,177 @@ function peg$parse(input, options) {
|
|
|
2406
2433
|
}
|
|
2407
2434
|
if (s1 !== peg$FAILED) {
|
|
2408
2435
|
s2 = peg$parse_();
|
|
2409
|
-
s3 = peg$
|
|
2410
|
-
if (s3
|
|
2411
|
-
|
|
2436
|
+
s3 = peg$parseNestedArray();
|
|
2437
|
+
if (s3 !== peg$FAILED) {
|
|
2438
|
+
s4 = peg$parse_();
|
|
2439
|
+
s5 = peg$parseAttributes();
|
|
2440
|
+
if (s5 === peg$FAILED) {
|
|
2441
|
+
s5 = null;
|
|
2442
|
+
}
|
|
2443
|
+
peg$savedPos = s0;
|
|
2444
|
+
s0 = peg$f32(s3, s5);
|
|
2445
|
+
} else {
|
|
2446
|
+
peg$currPos = s0;
|
|
2447
|
+
s0 = peg$FAILED;
|
|
2412
2448
|
}
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2449
|
+
} else {
|
|
2450
|
+
peg$currPos = s0;
|
|
2451
|
+
s0 = peg$FAILED;
|
|
2452
|
+
}
|
|
2453
|
+
if (s0 === peg$FAILED) {
|
|
2454
|
+
s0 = peg$currPos;
|
|
2455
|
+
if (input.substr(peg$currPos, 5) === peg$c30) {
|
|
2456
|
+
s1 = peg$c30;
|
|
2457
|
+
peg$currPos += 5;
|
|
2417
2458
|
} else {
|
|
2418
|
-
|
|
2459
|
+
s1 = peg$FAILED;
|
|
2419
2460
|
if (peg$silentFails === 0) {
|
|
2420
|
-
peg$fail(peg$
|
|
2461
|
+
peg$fail(peg$e30);
|
|
2421
2462
|
}
|
|
2422
2463
|
}
|
|
2423
|
-
if (
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2464
|
+
if (s1 !== peg$FAILED) {
|
|
2465
|
+
s2 = peg$parse_();
|
|
2466
|
+
s3 = peg$parseAttributes();
|
|
2467
|
+
if (s3 === peg$FAILED) {
|
|
2468
|
+
s3 = null;
|
|
2469
|
+
}
|
|
2470
|
+
s4 = peg$parse_();
|
|
2471
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
2472
|
+
s5 = peg$c1;
|
|
2429
2473
|
peg$currPos++;
|
|
2430
2474
|
} else {
|
|
2431
|
-
|
|
2475
|
+
s5 = peg$FAILED;
|
|
2432
2476
|
if (peg$silentFails === 0) {
|
|
2433
|
-
peg$fail(peg$
|
|
2477
|
+
peg$fail(peg$e1);
|
|
2434
2478
|
}
|
|
2435
2479
|
}
|
|
2436
|
-
if (
|
|
2480
|
+
if (s5 !== peg$FAILED) {
|
|
2481
|
+
s6 = peg$parse_();
|
|
2482
|
+
s7 = peg$parseTableContent();
|
|
2483
|
+
s8 = peg$parse_();
|
|
2484
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
2485
|
+
s9 = peg$c2;
|
|
2486
|
+
peg$currPos++;
|
|
2487
|
+
} else {
|
|
2488
|
+
s9 = peg$FAILED;
|
|
2489
|
+
if (peg$silentFails === 0) {
|
|
2490
|
+
peg$fail(peg$e2);
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
if (s9 !== peg$FAILED) {
|
|
2494
|
+
peg$savedPos = s0;
|
|
2495
|
+
s0 = peg$f33(s3, s7);
|
|
2496
|
+
} else {
|
|
2497
|
+
peg$currPos = s0;
|
|
2498
|
+
s0 = peg$FAILED;
|
|
2499
|
+
}
|
|
2500
|
+
} else {
|
|
2501
|
+
peg$currPos = s0;
|
|
2502
|
+
s0 = peg$FAILED;
|
|
2503
|
+
}
|
|
2504
|
+
} else {
|
|
2505
|
+
peg$currPos = s0;
|
|
2506
|
+
s0 = peg$FAILED;
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
return s0;
|
|
2510
|
+
}
|
|
2511
|
+
function peg$parseNestedArray() {
|
|
2512
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
2513
|
+
s0 = peg$currPos;
|
|
2514
|
+
if (input.charCodeAt(peg$currPos) === 91) {
|
|
2515
|
+
s1 = peg$c31;
|
|
2516
|
+
peg$currPos++;
|
|
2517
|
+
} else {
|
|
2518
|
+
s1 = peg$FAILED;
|
|
2519
|
+
if (peg$silentFails === 0) {
|
|
2520
|
+
peg$fail(peg$e31);
|
|
2521
|
+
}
|
|
2522
|
+
}
|
|
2523
|
+
if (s1 !== peg$FAILED) {
|
|
2524
|
+
s2 = peg$parse_();
|
|
2525
|
+
s3 = peg$parseArray();
|
|
2526
|
+
if (s3 !== peg$FAILED) {
|
|
2527
|
+
s4 = peg$parse_();
|
|
2528
|
+
s5 = [];
|
|
2529
|
+
s6 = peg$currPos;
|
|
2530
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2531
|
+
s7 = peg$c32;
|
|
2532
|
+
peg$currPos++;
|
|
2533
|
+
} else {
|
|
2534
|
+
s7 = peg$FAILED;
|
|
2535
|
+
if (peg$silentFails === 0) {
|
|
2536
|
+
peg$fail(peg$e32);
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
if (s7 !== peg$FAILED) {
|
|
2540
|
+
s8 = peg$parse_();
|
|
2541
|
+
s9 = peg$parseArray();
|
|
2542
|
+
if (s9 !== peg$FAILED) {
|
|
2543
|
+
s10 = peg$parse_();
|
|
2544
|
+
s7 = [s7, s8, s9, s10];
|
|
2545
|
+
s6 = s7;
|
|
2546
|
+
} else {
|
|
2547
|
+
peg$currPos = s6;
|
|
2548
|
+
s6 = peg$FAILED;
|
|
2549
|
+
}
|
|
2550
|
+
} else {
|
|
2551
|
+
peg$currPos = s6;
|
|
2552
|
+
s6 = peg$FAILED;
|
|
2553
|
+
}
|
|
2554
|
+
while (s6 !== peg$FAILED) {
|
|
2555
|
+
s5.push(s6);
|
|
2556
|
+
s6 = peg$currPos;
|
|
2557
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2558
|
+
s7 = peg$c32;
|
|
2559
|
+
peg$currPos++;
|
|
2560
|
+
} else {
|
|
2561
|
+
s7 = peg$FAILED;
|
|
2562
|
+
if (peg$silentFails === 0) {
|
|
2563
|
+
peg$fail(peg$e32);
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
if (s7 !== peg$FAILED) {
|
|
2567
|
+
s8 = peg$parse_();
|
|
2568
|
+
s9 = peg$parseArray();
|
|
2569
|
+
if (s9 !== peg$FAILED) {
|
|
2570
|
+
s10 = peg$parse_();
|
|
2571
|
+
s7 = [s7, s8, s9, s10];
|
|
2572
|
+
s6 = s7;
|
|
2573
|
+
} else {
|
|
2574
|
+
peg$currPos = s6;
|
|
2575
|
+
s6 = peg$FAILED;
|
|
2576
|
+
}
|
|
2577
|
+
} else {
|
|
2578
|
+
peg$currPos = s6;
|
|
2579
|
+
s6 = peg$FAILED;
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2583
|
+
s6 = peg$c32;
|
|
2584
|
+
peg$currPos++;
|
|
2585
|
+
} else {
|
|
2586
|
+
s6 = peg$FAILED;
|
|
2587
|
+
if (peg$silentFails === 0) {
|
|
2588
|
+
peg$fail(peg$e32);
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
if (s6 === peg$FAILED) {
|
|
2592
|
+
s6 = null;
|
|
2593
|
+
}
|
|
2594
|
+
s7 = peg$parse_();
|
|
2595
|
+
if (input.charCodeAt(peg$currPos) === 93) {
|
|
2596
|
+
s8 = peg$c33;
|
|
2597
|
+
peg$currPos++;
|
|
2598
|
+
} else {
|
|
2599
|
+
s8 = peg$FAILED;
|
|
2600
|
+
if (peg$silentFails === 0) {
|
|
2601
|
+
peg$fail(peg$e33);
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
2604
|
+
if (s8 !== peg$FAILED) {
|
|
2437
2605
|
peg$savedPos = s0;
|
|
2438
|
-
s0 = peg$
|
|
2606
|
+
s0 = peg$f34(s3, s5);
|
|
2439
2607
|
} else {
|
|
2440
2608
|
peg$currPos = s0;
|
|
2441
2609
|
s0 = peg$FAILED;
|
|
@@ -2478,20 +2646,20 @@ function peg$parse(input, options) {
|
|
|
2478
2646
|
}
|
|
2479
2647
|
}
|
|
2480
2648
|
peg$savedPos = s0;
|
|
2481
|
-
s1 = peg$
|
|
2649
|
+
s1 = peg$f35(s1);
|
|
2482
2650
|
s0 = s1;
|
|
2483
2651
|
return s0;
|
|
2484
2652
|
}
|
|
2485
2653
|
function peg$parseTableRow() {
|
|
2486
2654
|
let s0, s1, s2, s3;
|
|
2487
2655
|
s0 = peg$currPos;
|
|
2488
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2489
|
-
s1 = peg$
|
|
2656
|
+
if (input.substr(peg$currPos, 7) === peg$c34) {
|
|
2657
|
+
s1 = peg$c34;
|
|
2490
2658
|
peg$currPos += 7;
|
|
2491
2659
|
} else {
|
|
2492
2660
|
s1 = peg$FAILED;
|
|
2493
2661
|
if (peg$silentFails === 0) {
|
|
2494
|
-
peg$fail(peg$
|
|
2662
|
+
peg$fail(peg$e34);
|
|
2495
2663
|
}
|
|
2496
2664
|
}
|
|
2497
2665
|
if (s1 !== peg$FAILED) {
|
|
@@ -2499,7 +2667,7 @@ function peg$parse(input, options) {
|
|
|
2499
2667
|
s3 = peg$parseArray();
|
|
2500
2668
|
if (s3 !== peg$FAILED) {
|
|
2501
2669
|
peg$savedPos = s0;
|
|
2502
|
-
s0 = peg$
|
|
2670
|
+
s0 = peg$f36(s3);
|
|
2503
2671
|
} else {
|
|
2504
2672
|
peg$currPos = s0;
|
|
2505
2673
|
s0 = peg$FAILED;
|
|
@@ -2524,7 +2692,7 @@ function peg$parse(input, options) {
|
|
|
2524
2692
|
s3 = peg$parseArray();
|
|
2525
2693
|
if (s3 !== peg$FAILED) {
|
|
2526
2694
|
peg$savedPos = s0;
|
|
2527
|
-
s0 = peg$
|
|
2695
|
+
s0 = peg$f37(s3);
|
|
2528
2696
|
} else {
|
|
2529
2697
|
peg$currPos = s0;
|
|
2530
2698
|
s0 = peg$FAILED;
|
|
@@ -2538,7 +2706,7 @@ function peg$parse(input, options) {
|
|
|
2538
2706
|
s1 = peg$parseComment();
|
|
2539
2707
|
if (s1 !== peg$FAILED) {
|
|
2540
2708
|
peg$savedPos = s0;
|
|
2541
|
-
s1 = peg$
|
|
2709
|
+
s1 = peg$f38();
|
|
2542
2710
|
}
|
|
2543
2711
|
s0 = s1;
|
|
2544
2712
|
}
|
|
@@ -2548,13 +2716,13 @@ function peg$parse(input, options) {
|
|
|
2548
2716
|
function peg$parseList() {
|
|
2549
2717
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2550
2718
|
s0 = peg$currPos;
|
|
2551
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2552
|
-
s1 = peg$
|
|
2719
|
+
if (input.substr(peg$currPos, 4) === peg$c35) {
|
|
2720
|
+
s1 = peg$c35;
|
|
2553
2721
|
peg$currPos += 4;
|
|
2554
2722
|
} else {
|
|
2555
2723
|
s1 = peg$FAILED;
|
|
2556
2724
|
if (peg$silentFails === 0) {
|
|
2557
|
-
peg$fail(peg$
|
|
2725
|
+
peg$fail(peg$e35);
|
|
2558
2726
|
}
|
|
2559
2727
|
}
|
|
2560
2728
|
if (s1 !== peg$FAILED) {
|
|
@@ -2574,7 +2742,7 @@ function peg$parse(input, options) {
|
|
|
2574
2742
|
s7 = null;
|
|
2575
2743
|
}
|
|
2576
2744
|
peg$savedPos = s0;
|
|
2577
|
-
s0 = peg$
|
|
2745
|
+
s0 = peg$f39(s3, s5, s7);
|
|
2578
2746
|
} else {
|
|
2579
2747
|
peg$currPos = s0;
|
|
2580
2748
|
s0 = peg$FAILED;
|
|
@@ -2630,7 +2798,7 @@ function peg$parse(input, options) {
|
|
|
2630
2798
|
}
|
|
2631
2799
|
if (s4 !== peg$FAILED) {
|
|
2632
2800
|
peg$savedPos = s0;
|
|
2633
|
-
s0 = peg$
|
|
2801
|
+
s0 = peg$f40(s3);
|
|
2634
2802
|
} else {
|
|
2635
2803
|
peg$currPos = s0;
|
|
2636
2804
|
s0 = peg$FAILED;
|
|
@@ -2644,13 +2812,13 @@ function peg$parse(input, options) {
|
|
|
2644
2812
|
function peg$parseListItem() {
|
|
2645
2813
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2646
2814
|
s0 = peg$currPos;
|
|
2647
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2648
|
-
s1 = peg$
|
|
2815
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
2816
|
+
s1 = peg$c36;
|
|
2649
2817
|
peg$currPos += 4;
|
|
2650
2818
|
} else {
|
|
2651
2819
|
s1 = peg$FAILED;
|
|
2652
2820
|
if (peg$silentFails === 0) {
|
|
2653
|
-
peg$fail(peg$
|
|
2821
|
+
peg$fail(peg$e36);
|
|
2654
2822
|
}
|
|
2655
2823
|
}
|
|
2656
2824
|
if (s1 !== peg$FAILED) {
|
|
@@ -2668,7 +2836,7 @@ function peg$parse(input, options) {
|
|
|
2668
2836
|
s7 = null;
|
|
2669
2837
|
}
|
|
2670
2838
|
peg$savedPos = s0;
|
|
2671
|
-
s0 = peg$
|
|
2839
|
+
s0 = peg$f41(s3, s5, s7);
|
|
2672
2840
|
} else {
|
|
2673
2841
|
peg$currPos = s0;
|
|
2674
2842
|
s0 = peg$FAILED;
|
|
@@ -2682,7 +2850,7 @@ function peg$parse(input, options) {
|
|
|
2682
2850
|
s1 = peg$parseComment();
|
|
2683
2851
|
if (s1 !== peg$FAILED) {
|
|
2684
2852
|
peg$savedPos = s0;
|
|
2685
|
-
s1 = peg$
|
|
2853
|
+
s1 = peg$f42();
|
|
2686
2854
|
}
|
|
2687
2855
|
s0 = s1;
|
|
2688
2856
|
}
|
|
@@ -2691,13 +2859,13 @@ function peg$parse(input, options) {
|
|
|
2691
2859
|
function peg$parseAlert() {
|
|
2692
2860
|
let s0, s1, s2, s3, s4, s5;
|
|
2693
2861
|
s0 = peg$currPos;
|
|
2694
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2695
|
-
s1 = peg$
|
|
2862
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
2863
|
+
s1 = peg$c37;
|
|
2696
2864
|
peg$currPos += 5;
|
|
2697
2865
|
} else {
|
|
2698
2866
|
s1 = peg$FAILED;
|
|
2699
2867
|
if (peg$silentFails === 0) {
|
|
2700
|
-
peg$fail(peg$
|
|
2868
|
+
peg$fail(peg$e37);
|
|
2701
2869
|
}
|
|
2702
2870
|
}
|
|
2703
2871
|
if (s1 !== peg$FAILED) {
|
|
@@ -2710,7 +2878,7 @@ function peg$parse(input, options) {
|
|
|
2710
2878
|
s5 = null;
|
|
2711
2879
|
}
|
|
2712
2880
|
peg$savedPos = s0;
|
|
2713
|
-
s0 = peg$
|
|
2881
|
+
s0 = peg$f43(s3, s5);
|
|
2714
2882
|
} else {
|
|
2715
2883
|
peg$currPos = s0;
|
|
2716
2884
|
s0 = peg$FAILED;
|
|
@@ -2724,13 +2892,13 @@ function peg$parse(input, options) {
|
|
|
2724
2892
|
function peg$parseToast() {
|
|
2725
2893
|
let s0, s1, s2, s3, s4, s5;
|
|
2726
2894
|
s0 = peg$currPos;
|
|
2727
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2728
|
-
s1 = peg$
|
|
2895
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
2896
|
+
s1 = peg$c38;
|
|
2729
2897
|
peg$currPos += 5;
|
|
2730
2898
|
} else {
|
|
2731
2899
|
s1 = peg$FAILED;
|
|
2732
2900
|
if (peg$silentFails === 0) {
|
|
2733
|
-
peg$fail(peg$
|
|
2901
|
+
peg$fail(peg$e38);
|
|
2734
2902
|
}
|
|
2735
2903
|
}
|
|
2736
2904
|
if (s1 !== peg$FAILED) {
|
|
@@ -2743,7 +2911,7 @@ function peg$parse(input, options) {
|
|
|
2743
2911
|
s5 = null;
|
|
2744
2912
|
}
|
|
2745
2913
|
peg$savedPos = s0;
|
|
2746
|
-
s0 = peg$
|
|
2914
|
+
s0 = peg$f44(s3, s5);
|
|
2747
2915
|
} else {
|
|
2748
2916
|
peg$currPos = s0;
|
|
2749
2917
|
s0 = peg$FAILED;
|
|
@@ -2757,13 +2925,13 @@ function peg$parse(input, options) {
|
|
|
2757
2925
|
function peg$parseProgress() {
|
|
2758
2926
|
let s0, s1, s2, s3;
|
|
2759
2927
|
s0 = peg$currPos;
|
|
2760
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2761
|
-
s1 = peg$
|
|
2928
|
+
if (input.substr(peg$currPos, 8) === peg$c39) {
|
|
2929
|
+
s1 = peg$c39;
|
|
2762
2930
|
peg$currPos += 8;
|
|
2763
2931
|
} else {
|
|
2764
2932
|
s1 = peg$FAILED;
|
|
2765
2933
|
if (peg$silentFails === 0) {
|
|
2766
|
-
peg$fail(peg$
|
|
2934
|
+
peg$fail(peg$e39);
|
|
2767
2935
|
}
|
|
2768
2936
|
}
|
|
2769
2937
|
if (s1 !== peg$FAILED) {
|
|
@@ -2773,7 +2941,7 @@ function peg$parse(input, options) {
|
|
|
2773
2941
|
s3 = null;
|
|
2774
2942
|
}
|
|
2775
2943
|
peg$savedPos = s0;
|
|
2776
|
-
s0 = peg$
|
|
2944
|
+
s0 = peg$f45(s3);
|
|
2777
2945
|
} else {
|
|
2778
2946
|
peg$currPos = s0;
|
|
2779
2947
|
s0 = peg$FAILED;
|
|
@@ -2783,13 +2951,13 @@ function peg$parse(input, options) {
|
|
|
2783
2951
|
function peg$parseSpinner() {
|
|
2784
2952
|
let s0, s1, s2, s3, s4, s5;
|
|
2785
2953
|
s0 = peg$currPos;
|
|
2786
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2787
|
-
s1 = peg$
|
|
2954
|
+
if (input.substr(peg$currPos, 7) === peg$c40) {
|
|
2955
|
+
s1 = peg$c40;
|
|
2788
2956
|
peg$currPos += 7;
|
|
2789
2957
|
} else {
|
|
2790
2958
|
s1 = peg$FAILED;
|
|
2791
2959
|
if (peg$silentFails === 0) {
|
|
2792
|
-
peg$fail(peg$
|
|
2960
|
+
peg$fail(peg$e40);
|
|
2793
2961
|
}
|
|
2794
2962
|
}
|
|
2795
2963
|
if (s1 !== peg$FAILED) {
|
|
@@ -2804,7 +2972,7 @@ function peg$parse(input, options) {
|
|
|
2804
2972
|
s5 = null;
|
|
2805
2973
|
}
|
|
2806
2974
|
peg$savedPos = s0;
|
|
2807
|
-
s0 = peg$
|
|
2975
|
+
s0 = peg$f46(s3, s5);
|
|
2808
2976
|
} else {
|
|
2809
2977
|
peg$currPos = s0;
|
|
2810
2978
|
s0 = peg$FAILED;
|
|
@@ -2814,13 +2982,13 @@ function peg$parse(input, options) {
|
|
|
2814
2982
|
function peg$parseTooltip() {
|
|
2815
2983
|
let s0, s1, s2, s3, s4, s5;
|
|
2816
2984
|
s0 = peg$currPos;
|
|
2817
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2818
|
-
s1 = peg$
|
|
2985
|
+
if (input.substr(peg$currPos, 7) === peg$c41) {
|
|
2986
|
+
s1 = peg$c41;
|
|
2819
2987
|
peg$currPos += 7;
|
|
2820
2988
|
} else {
|
|
2821
2989
|
s1 = peg$FAILED;
|
|
2822
2990
|
if (peg$silentFails === 0) {
|
|
2823
|
-
peg$fail(peg$
|
|
2991
|
+
peg$fail(peg$e41);
|
|
2824
2992
|
}
|
|
2825
2993
|
}
|
|
2826
2994
|
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$f47(s3, s5);
|
|
2837
3005
|
} else {
|
|
2838
3006
|
peg$currPos = s0;
|
|
2839
3007
|
s0 = peg$FAILED;
|
|
@@ -2847,13 +3015,13 @@ function peg$parse(input, options) {
|
|
|
2847
3015
|
function peg$parsePopover() {
|
|
2848
3016
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
2849
3017
|
s0 = peg$currPos;
|
|
2850
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2851
|
-
s1 = peg$
|
|
3018
|
+
if (input.substr(peg$currPos, 7) === peg$c42) {
|
|
3019
|
+
s1 = peg$c42;
|
|
2852
3020
|
peg$currPos += 7;
|
|
2853
3021
|
} else {
|
|
2854
3022
|
s1 = peg$FAILED;
|
|
2855
3023
|
if (peg$silentFails === 0) {
|
|
2856
|
-
peg$fail(peg$
|
|
3024
|
+
peg$fail(peg$e42);
|
|
2857
3025
|
}
|
|
2858
3026
|
}
|
|
2859
3027
|
if (s1 !== peg$FAILED) {
|
|
@@ -2893,7 +3061,7 @@ function peg$parse(input, options) {
|
|
|
2893
3061
|
}
|
|
2894
3062
|
if (s11 !== peg$FAILED) {
|
|
2895
3063
|
peg$savedPos = s0;
|
|
2896
|
-
s0 = peg$
|
|
3064
|
+
s0 = peg$f48(s3, s5, s9);
|
|
2897
3065
|
} else {
|
|
2898
3066
|
peg$currPos = s0;
|
|
2899
3067
|
s0 = peg$FAILED;
|
|
@@ -2915,47 +3083,81 @@ function peg$parse(input, options) {
|
|
|
2915
3083
|
function peg$parseDropdown() {
|
|
2916
3084
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
2917
3085
|
s0 = peg$currPos;
|
|
2918
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2919
|
-
s1 = peg$
|
|
3086
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
3087
|
+
s1 = peg$c43;
|
|
2920
3088
|
peg$currPos += 8;
|
|
2921
3089
|
} else {
|
|
2922
3090
|
s1 = peg$FAILED;
|
|
2923
3091
|
if (peg$silentFails === 0) {
|
|
2924
|
-
peg$fail(peg$
|
|
3092
|
+
peg$fail(peg$e43);
|
|
2925
3093
|
}
|
|
2926
3094
|
}
|
|
2927
3095
|
if (s1 !== peg$FAILED) {
|
|
2928
3096
|
s2 = peg$parse_();
|
|
2929
|
-
s3 = peg$
|
|
2930
|
-
if (s3
|
|
2931
|
-
|
|
3097
|
+
s3 = peg$parseArray();
|
|
3098
|
+
if (s3 !== peg$FAILED) {
|
|
3099
|
+
s4 = peg$parse_();
|
|
3100
|
+
s5 = peg$parseAttributes();
|
|
3101
|
+
if (s5 === peg$FAILED) {
|
|
3102
|
+
s5 = null;
|
|
3103
|
+
}
|
|
3104
|
+
peg$savedPos = s0;
|
|
3105
|
+
s0 = peg$f49(s3, s5);
|
|
3106
|
+
} else {
|
|
3107
|
+
peg$currPos = s0;
|
|
3108
|
+
s0 = peg$FAILED;
|
|
2932
3109
|
}
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
3110
|
+
} else {
|
|
3111
|
+
peg$currPos = s0;
|
|
3112
|
+
s0 = peg$FAILED;
|
|
3113
|
+
}
|
|
3114
|
+
if (s0 === peg$FAILED) {
|
|
3115
|
+
s0 = peg$currPos;
|
|
3116
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
3117
|
+
s1 = peg$c43;
|
|
3118
|
+
peg$currPos += 8;
|
|
2937
3119
|
} else {
|
|
2938
|
-
|
|
3120
|
+
s1 = peg$FAILED;
|
|
2939
3121
|
if (peg$silentFails === 0) {
|
|
2940
|
-
peg$fail(peg$
|
|
3122
|
+
peg$fail(peg$e43);
|
|
2941
3123
|
}
|
|
2942
3124
|
}
|
|
2943
|
-
if (
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
3125
|
+
if (s1 !== peg$FAILED) {
|
|
3126
|
+
s2 = peg$parse_();
|
|
3127
|
+
s3 = peg$parseAttributes();
|
|
3128
|
+
if (s3 === peg$FAILED) {
|
|
3129
|
+
s3 = null;
|
|
3130
|
+
}
|
|
3131
|
+
s4 = peg$parse_();
|
|
3132
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3133
|
+
s5 = peg$c1;
|
|
2949
3134
|
peg$currPos++;
|
|
2950
3135
|
} else {
|
|
2951
|
-
|
|
3136
|
+
s5 = peg$FAILED;
|
|
2952
3137
|
if (peg$silentFails === 0) {
|
|
2953
|
-
peg$fail(peg$
|
|
3138
|
+
peg$fail(peg$e1);
|
|
2954
3139
|
}
|
|
2955
3140
|
}
|
|
2956
|
-
if (
|
|
2957
|
-
|
|
2958
|
-
|
|
3141
|
+
if (s5 !== peg$FAILED) {
|
|
3142
|
+
s6 = peg$parse_();
|
|
3143
|
+
s7 = peg$parseDropdownContent();
|
|
3144
|
+
s8 = peg$parse_();
|
|
3145
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3146
|
+
s9 = peg$c2;
|
|
3147
|
+
peg$currPos++;
|
|
3148
|
+
} else {
|
|
3149
|
+
s9 = peg$FAILED;
|
|
3150
|
+
if (peg$silentFails === 0) {
|
|
3151
|
+
peg$fail(peg$e2);
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3154
|
+
if (s9 !== peg$FAILED) {
|
|
3155
|
+
peg$savedPos = s0;
|
|
3156
|
+
s0 = peg$f50(s3, s7);
|
|
3157
|
+
} else {
|
|
3158
|
+
peg$currPos = s0;
|
|
3159
|
+
s0 = peg$FAILED;
|
|
3160
|
+
}
|
|
2959
3161
|
} else {
|
|
2960
3162
|
peg$currPos = s0;
|
|
2961
3163
|
s0 = peg$FAILED;
|
|
@@ -2964,9 +3166,6 @@ function peg$parse(input, options) {
|
|
|
2964
3166
|
peg$currPos = s0;
|
|
2965
3167
|
s0 = peg$FAILED;
|
|
2966
3168
|
}
|
|
2967
|
-
} else {
|
|
2968
|
-
peg$currPos = s0;
|
|
2969
|
-
s0 = peg$FAILED;
|
|
2970
3169
|
}
|
|
2971
3170
|
return s0;
|
|
2972
3171
|
}
|
|
@@ -2998,20 +3197,20 @@ function peg$parse(input, options) {
|
|
|
2998
3197
|
}
|
|
2999
3198
|
}
|
|
3000
3199
|
peg$savedPos = s0;
|
|
3001
|
-
s1 = peg$
|
|
3200
|
+
s1 = peg$f51(s1);
|
|
3002
3201
|
s0 = s1;
|
|
3003
3202
|
return s0;
|
|
3004
3203
|
}
|
|
3005
3204
|
function peg$parseDropdownItem() {
|
|
3006
3205
|
let s0, s1, s2, s3, s4, s5;
|
|
3007
3206
|
s0 = peg$currPos;
|
|
3008
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3009
|
-
s1 = peg$
|
|
3207
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
3208
|
+
s1 = peg$c36;
|
|
3010
3209
|
peg$currPos += 4;
|
|
3011
3210
|
} else {
|
|
3012
3211
|
s1 = peg$FAILED;
|
|
3013
3212
|
if (peg$silentFails === 0) {
|
|
3014
|
-
peg$fail(peg$
|
|
3213
|
+
peg$fail(peg$e36);
|
|
3015
3214
|
}
|
|
3016
3215
|
}
|
|
3017
3216
|
if (s1 !== peg$FAILED) {
|
|
@@ -3024,7 +3223,7 @@ function peg$parse(input, options) {
|
|
|
3024
3223
|
s5 = null;
|
|
3025
3224
|
}
|
|
3026
3225
|
peg$savedPos = s0;
|
|
3027
|
-
s0 = peg$
|
|
3226
|
+
s0 = peg$f52(s3, s5);
|
|
3028
3227
|
} else {
|
|
3029
3228
|
peg$currPos = s0;
|
|
3030
3229
|
s0 = peg$FAILED;
|
|
@@ -3035,18 +3234,18 @@ function peg$parse(input, options) {
|
|
|
3035
3234
|
}
|
|
3036
3235
|
if (s0 === peg$FAILED) {
|
|
3037
3236
|
s0 = peg$currPos;
|
|
3038
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3039
|
-
s1 = peg$
|
|
3237
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3238
|
+
s1 = peg$c44;
|
|
3040
3239
|
peg$currPos += 7;
|
|
3041
3240
|
} else {
|
|
3042
3241
|
s1 = peg$FAILED;
|
|
3043
3242
|
if (peg$silentFails === 0) {
|
|
3044
|
-
peg$fail(peg$
|
|
3243
|
+
peg$fail(peg$e44);
|
|
3045
3244
|
}
|
|
3046
3245
|
}
|
|
3047
3246
|
if (s1 !== peg$FAILED) {
|
|
3048
3247
|
peg$savedPos = s0;
|
|
3049
|
-
s1 = peg$
|
|
3248
|
+
s1 = peg$f53();
|
|
3050
3249
|
}
|
|
3051
3250
|
s0 = s1;
|
|
3052
3251
|
if (s0 === peg$FAILED) {
|
|
@@ -3054,7 +3253,7 @@ function peg$parse(input, options) {
|
|
|
3054
3253
|
s1 = peg$parseComment();
|
|
3055
3254
|
if (s1 !== peg$FAILED) {
|
|
3056
3255
|
peg$savedPos = s0;
|
|
3057
|
-
s1 = peg$
|
|
3256
|
+
s1 = peg$f54();
|
|
3058
3257
|
}
|
|
3059
3258
|
s0 = s1;
|
|
3060
3259
|
}
|
|
@@ -3064,13 +3263,13 @@ function peg$parse(input, options) {
|
|
|
3064
3263
|
function peg$parseNav() {
|
|
3065
3264
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3066
3265
|
s0 = peg$currPos;
|
|
3067
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3068
|
-
s1 = peg$
|
|
3266
|
+
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
3267
|
+
s1 = peg$c45;
|
|
3069
3268
|
peg$currPos += 3;
|
|
3070
3269
|
} else {
|
|
3071
3270
|
s1 = peg$FAILED;
|
|
3072
3271
|
if (peg$silentFails === 0) {
|
|
3073
|
-
peg$fail(peg$
|
|
3272
|
+
peg$fail(peg$e45);
|
|
3074
3273
|
}
|
|
3075
3274
|
}
|
|
3076
3275
|
if (s1 !== peg$FAILED) {
|
|
@@ -3090,7 +3289,7 @@ function peg$parse(input, options) {
|
|
|
3090
3289
|
s7 = null;
|
|
3091
3290
|
}
|
|
3092
3291
|
peg$savedPos = s0;
|
|
3093
|
-
s0 = peg$
|
|
3292
|
+
s0 = peg$f55(s3, s5, s7);
|
|
3094
3293
|
} else {
|
|
3095
3294
|
peg$currPos = s0;
|
|
3096
3295
|
s0 = peg$FAILED;
|
|
@@ -3146,7 +3345,7 @@ function peg$parse(input, options) {
|
|
|
3146
3345
|
}
|
|
3147
3346
|
if (s4 !== peg$FAILED) {
|
|
3148
3347
|
peg$savedPos = s0;
|
|
3149
|
-
s0 = peg$
|
|
3348
|
+
s0 = peg$f56(s3);
|
|
3150
3349
|
} else {
|
|
3151
3350
|
peg$currPos = s0;
|
|
3152
3351
|
s0 = peg$FAILED;
|
|
@@ -3164,19 +3363,19 @@ function peg$parse(input, options) {
|
|
|
3164
3363
|
s0 = peg$parseNavItem();
|
|
3165
3364
|
if (s0 === peg$FAILED) {
|
|
3166
3365
|
s0 = peg$currPos;
|
|
3167
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3168
|
-
s1 = peg$
|
|
3366
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3367
|
+
s1 = peg$c44;
|
|
3169
3368
|
peg$currPos += 7;
|
|
3170
3369
|
} else {
|
|
3171
3370
|
s1 = peg$FAILED;
|
|
3172
3371
|
if (peg$silentFails === 0) {
|
|
3173
|
-
peg$fail(peg$
|
|
3372
|
+
peg$fail(peg$e44);
|
|
3174
3373
|
}
|
|
3175
3374
|
}
|
|
3176
3375
|
if (s1 !== peg$FAILED) {
|
|
3177
3376
|
s2 = peg$parse_();
|
|
3178
3377
|
peg$savedPos = s0;
|
|
3179
|
-
s0 = peg$
|
|
3378
|
+
s0 = peg$f57();
|
|
3180
3379
|
} else {
|
|
3181
3380
|
peg$currPos = s0;
|
|
3182
3381
|
s0 = peg$FAILED;
|
|
@@ -3186,7 +3385,7 @@ function peg$parse(input, options) {
|
|
|
3186
3385
|
s1 = peg$parseComment();
|
|
3187
3386
|
if (s1 !== peg$FAILED) {
|
|
3188
3387
|
peg$savedPos = s0;
|
|
3189
|
-
s1 = peg$
|
|
3388
|
+
s1 = peg$f58();
|
|
3190
3389
|
}
|
|
3191
3390
|
s0 = s1;
|
|
3192
3391
|
}
|
|
@@ -3197,13 +3396,13 @@ function peg$parse(input, options) {
|
|
|
3197
3396
|
function peg$parseNavGroup() {
|
|
3198
3397
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
3199
3398
|
s0 = peg$currPos;
|
|
3200
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
3201
|
-
s1 = peg$
|
|
3399
|
+
if (input.substr(peg$currPos, 5) === peg$c46) {
|
|
3400
|
+
s1 = peg$c46;
|
|
3202
3401
|
peg$currPos += 5;
|
|
3203
3402
|
} else {
|
|
3204
3403
|
s1 = peg$FAILED;
|
|
3205
3404
|
if (peg$silentFails === 0) {
|
|
3206
|
-
peg$fail(peg$
|
|
3405
|
+
peg$fail(peg$e46);
|
|
3207
3406
|
}
|
|
3208
3407
|
}
|
|
3209
3408
|
if (s1 !== peg$FAILED) {
|
|
@@ -3262,7 +3461,7 @@ function peg$parse(input, options) {
|
|
|
3262
3461
|
}
|
|
3263
3462
|
if (s10 !== peg$FAILED) {
|
|
3264
3463
|
peg$savedPos = s0;
|
|
3265
|
-
s0 = peg$
|
|
3464
|
+
s0 = peg$f59(s3, s5, s9);
|
|
3266
3465
|
} else {
|
|
3267
3466
|
peg$currPos = s0;
|
|
3268
3467
|
s0 = peg$FAILED;
|
|
@@ -3286,19 +3485,19 @@ function peg$parse(input, options) {
|
|
|
3286
3485
|
s0 = peg$parseNavItem();
|
|
3287
3486
|
if (s0 === peg$FAILED) {
|
|
3288
3487
|
s0 = peg$currPos;
|
|
3289
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3290
|
-
s1 = peg$
|
|
3488
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3489
|
+
s1 = peg$c44;
|
|
3291
3490
|
peg$currPos += 7;
|
|
3292
3491
|
} else {
|
|
3293
3492
|
s1 = peg$FAILED;
|
|
3294
3493
|
if (peg$silentFails === 0) {
|
|
3295
|
-
peg$fail(peg$
|
|
3494
|
+
peg$fail(peg$e44);
|
|
3296
3495
|
}
|
|
3297
3496
|
}
|
|
3298
3497
|
if (s1 !== peg$FAILED) {
|
|
3299
3498
|
s2 = peg$parse_();
|
|
3300
3499
|
peg$savedPos = s0;
|
|
3301
|
-
s0 = peg$
|
|
3500
|
+
s0 = peg$f60();
|
|
3302
3501
|
} else {
|
|
3303
3502
|
peg$currPos = s0;
|
|
3304
3503
|
s0 = peg$FAILED;
|
|
@@ -3308,7 +3507,7 @@ function peg$parse(input, options) {
|
|
|
3308
3507
|
s1 = peg$parseComment();
|
|
3309
3508
|
if (s1 !== peg$FAILED) {
|
|
3310
3509
|
peg$savedPos = s0;
|
|
3311
|
-
s1 = peg$
|
|
3510
|
+
s1 = peg$f61();
|
|
3312
3511
|
}
|
|
3313
3512
|
s0 = s1;
|
|
3314
3513
|
}
|
|
@@ -3318,13 +3517,13 @@ function peg$parse(input, options) {
|
|
|
3318
3517
|
function peg$parseNavItem() {
|
|
3319
3518
|
let s0, s1, s2, s3, s4, s5;
|
|
3320
3519
|
s0 = peg$currPos;
|
|
3321
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3322
|
-
s1 = peg$
|
|
3520
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
3521
|
+
s1 = peg$c36;
|
|
3323
3522
|
peg$currPos += 4;
|
|
3324
3523
|
} else {
|
|
3325
3524
|
s1 = peg$FAILED;
|
|
3326
3525
|
if (peg$silentFails === 0) {
|
|
3327
|
-
peg$fail(peg$
|
|
3526
|
+
peg$fail(peg$e36);
|
|
3328
3527
|
}
|
|
3329
3528
|
}
|
|
3330
3529
|
if (s1 !== peg$FAILED) {
|
|
@@ -3337,7 +3536,7 @@ function peg$parse(input, options) {
|
|
|
3337
3536
|
s5 = null;
|
|
3338
3537
|
}
|
|
3339
3538
|
peg$savedPos = s0;
|
|
3340
|
-
s0 = peg$
|
|
3539
|
+
s0 = peg$f62(s3, s5);
|
|
3341
3540
|
} else {
|
|
3342
3541
|
peg$currPos = s0;
|
|
3343
3542
|
s0 = peg$FAILED;
|
|
@@ -3351,13 +3550,13 @@ function peg$parse(input, options) {
|
|
|
3351
3550
|
function peg$parseTabs() {
|
|
3352
3551
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3353
3552
|
s0 = peg$currPos;
|
|
3354
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3355
|
-
s1 = peg$
|
|
3553
|
+
if (input.substr(peg$currPos, 4) === peg$c47) {
|
|
3554
|
+
s1 = peg$c47;
|
|
3356
3555
|
peg$currPos += 4;
|
|
3357
3556
|
} else {
|
|
3358
3557
|
s1 = peg$FAILED;
|
|
3359
3558
|
if (peg$silentFails === 0) {
|
|
3360
|
-
peg$fail(peg$
|
|
3559
|
+
peg$fail(peg$e47);
|
|
3361
3560
|
}
|
|
3362
3561
|
}
|
|
3363
3562
|
if (s1 !== peg$FAILED) {
|
|
@@ -3377,7 +3576,7 @@ function peg$parse(input, options) {
|
|
|
3377
3576
|
s7 = null;
|
|
3378
3577
|
}
|
|
3379
3578
|
peg$savedPos = s0;
|
|
3380
|
-
s0 = peg$
|
|
3579
|
+
s0 = peg$f63(s3, s5, s7);
|
|
3381
3580
|
} else {
|
|
3382
3581
|
peg$currPos = s0;
|
|
3383
3582
|
s0 = peg$FAILED;
|
|
@@ -3433,7 +3632,7 @@ function peg$parse(input, options) {
|
|
|
3433
3632
|
}
|
|
3434
3633
|
if (s4 !== peg$FAILED) {
|
|
3435
3634
|
peg$savedPos = s0;
|
|
3436
|
-
s0 = peg$
|
|
3635
|
+
s0 = peg$f64(s3);
|
|
3437
3636
|
} else {
|
|
3438
3637
|
peg$currPos = s0;
|
|
3439
3638
|
s0 = peg$FAILED;
|
|
@@ -3447,13 +3646,13 @@ function peg$parse(input, options) {
|
|
|
3447
3646
|
function peg$parseTabItem() {
|
|
3448
3647
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
3449
3648
|
s0 = peg$currPos;
|
|
3450
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3451
|
-
s1 = peg$
|
|
3649
|
+
if (input.substr(peg$currPos, 3) === peg$c48) {
|
|
3650
|
+
s1 = peg$c48;
|
|
3452
3651
|
peg$currPos += 3;
|
|
3453
3652
|
} else {
|
|
3454
3653
|
s1 = peg$FAILED;
|
|
3455
3654
|
if (peg$silentFails === 0) {
|
|
3456
|
-
peg$fail(peg$
|
|
3655
|
+
peg$fail(peg$e48);
|
|
3457
3656
|
}
|
|
3458
3657
|
}
|
|
3459
3658
|
if (s1 !== peg$FAILED) {
|
|
@@ -3491,7 +3690,7 @@ function peg$parse(input, options) {
|
|
|
3491
3690
|
}
|
|
3492
3691
|
if (s11 !== peg$FAILED) {
|
|
3493
3692
|
peg$savedPos = s0;
|
|
3494
|
-
s0 = peg$
|
|
3693
|
+
s0 = peg$f65(s3, s5, s9);
|
|
3495
3694
|
} else {
|
|
3496
3695
|
peg$currPos = s0;
|
|
3497
3696
|
s0 = peg$FAILED;
|
|
@@ -3517,7 +3716,7 @@ function peg$parse(input, options) {
|
|
|
3517
3716
|
s1 = peg$parseComment();
|
|
3518
3717
|
if (s1 !== peg$FAILED) {
|
|
3519
3718
|
peg$savedPos = s0;
|
|
3520
|
-
s1 = peg$
|
|
3719
|
+
s1 = peg$f66();
|
|
3521
3720
|
}
|
|
3522
3721
|
s0 = s1;
|
|
3523
3722
|
}
|
|
@@ -3526,13 +3725,13 @@ function peg$parse(input, options) {
|
|
|
3526
3725
|
function peg$parseBreadcrumb() {
|
|
3527
3726
|
let s0, s1, s2, s3, s4, s5;
|
|
3528
3727
|
s0 = peg$currPos;
|
|
3529
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
3530
|
-
s1 = peg$
|
|
3728
|
+
if (input.substr(peg$currPos, 10) === peg$c49) {
|
|
3729
|
+
s1 = peg$c49;
|
|
3531
3730
|
peg$currPos += 10;
|
|
3532
3731
|
} else {
|
|
3533
3732
|
s1 = peg$FAILED;
|
|
3534
3733
|
if (peg$silentFails === 0) {
|
|
3535
|
-
peg$fail(peg$
|
|
3734
|
+
peg$fail(peg$e49);
|
|
3536
3735
|
}
|
|
3537
3736
|
}
|
|
3538
3737
|
if (s1 !== peg$FAILED) {
|
|
@@ -3545,7 +3744,7 @@ function peg$parse(input, options) {
|
|
|
3545
3744
|
s5 = null;
|
|
3546
3745
|
}
|
|
3547
3746
|
peg$savedPos = s0;
|
|
3548
|
-
s0 = peg$
|
|
3747
|
+
s0 = peg$f67(s3, s5);
|
|
3549
3748
|
} else {
|
|
3550
3749
|
peg$currPos = s0;
|
|
3551
3750
|
s0 = peg$FAILED;
|
|
@@ -3559,13 +3758,13 @@ function peg$parse(input, options) {
|
|
|
3559
3758
|
function peg$parseDivider() {
|
|
3560
3759
|
let s0, s1, s2, s3;
|
|
3561
3760
|
s0 = peg$currPos;
|
|
3562
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3563
|
-
s1 = peg$
|
|
3761
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3762
|
+
s1 = peg$c44;
|
|
3564
3763
|
peg$currPos += 7;
|
|
3565
3764
|
} else {
|
|
3566
3765
|
s1 = peg$FAILED;
|
|
3567
3766
|
if (peg$silentFails === 0) {
|
|
3568
|
-
peg$fail(peg$
|
|
3767
|
+
peg$fail(peg$e44);
|
|
3569
3768
|
}
|
|
3570
3769
|
}
|
|
3571
3770
|
if (s1 !== peg$FAILED) {
|
|
@@ -3575,7 +3774,7 @@ function peg$parse(input, options) {
|
|
|
3575
3774
|
s3 = null;
|
|
3576
3775
|
}
|
|
3577
3776
|
peg$savedPos = s0;
|
|
3578
|
-
s0 = peg$
|
|
3777
|
+
s0 = peg$f68(s3);
|
|
3579
3778
|
} else {
|
|
3580
3779
|
peg$currPos = s0;
|
|
3581
3780
|
s0 = peg$FAILED;
|
|
@@ -3597,7 +3796,7 @@ function peg$parse(input, options) {
|
|
|
3597
3796
|
}
|
|
3598
3797
|
if (s1 !== peg$FAILED) {
|
|
3599
3798
|
peg$savedPos = s0;
|
|
3600
|
-
s1 = peg$
|
|
3799
|
+
s1 = peg$f69(s1);
|
|
3601
3800
|
}
|
|
3602
3801
|
s0 = s1;
|
|
3603
3802
|
return s0;
|
|
@@ -3610,12 +3809,12 @@ function peg$parse(input, options) {
|
|
|
3610
3809
|
if (s2 !== peg$FAILED) {
|
|
3611
3810
|
s3 = peg$parse_();
|
|
3612
3811
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
3613
|
-
s4 = peg$
|
|
3812
|
+
s4 = peg$c50;
|
|
3614
3813
|
peg$currPos++;
|
|
3615
3814
|
} else {
|
|
3616
3815
|
s4 = peg$FAILED;
|
|
3617
3816
|
if (peg$silentFails === 0) {
|
|
3618
|
-
peg$fail(peg$
|
|
3817
|
+
peg$fail(peg$e50);
|
|
3619
3818
|
}
|
|
3620
3819
|
}
|
|
3621
3820
|
if (s4 !== peg$FAILED) {
|
|
@@ -3623,7 +3822,7 @@ function peg$parse(input, options) {
|
|
|
3623
3822
|
s6 = peg$parseAttributeValue();
|
|
3624
3823
|
if (s6 !== peg$FAILED) {
|
|
3625
3824
|
peg$savedPos = s0;
|
|
3626
|
-
s0 = peg$
|
|
3825
|
+
s0 = peg$f70(s2, s6);
|
|
3627
3826
|
} else {
|
|
3628
3827
|
peg$currPos = s0;
|
|
3629
3828
|
s0 = peg$FAILED;
|
|
@@ -3655,27 +3854,27 @@ function peg$parse(input, options) {
|
|
|
3655
3854
|
} else {
|
|
3656
3855
|
s6 = peg$FAILED;
|
|
3657
3856
|
if (peg$silentFails === 0) {
|
|
3658
|
-
peg$fail(peg$
|
|
3857
|
+
peg$fail(peg$e51);
|
|
3659
3858
|
}
|
|
3660
3859
|
}
|
|
3661
3860
|
if (s6 === peg$FAILED) {
|
|
3662
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3663
|
-
s6 = peg$
|
|
3861
|
+
if (input.substr(peg$currPos, 2) === peg$c51) {
|
|
3862
|
+
s6 = peg$c51;
|
|
3664
3863
|
peg$currPos += 2;
|
|
3665
3864
|
} else {
|
|
3666
3865
|
s6 = peg$FAILED;
|
|
3667
3866
|
if (peg$silentFails === 0) {
|
|
3668
|
-
peg$fail(peg$
|
|
3867
|
+
peg$fail(peg$e52);
|
|
3669
3868
|
}
|
|
3670
3869
|
}
|
|
3671
3870
|
if (s6 === peg$FAILED) {
|
|
3672
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3673
|
-
s6 = peg$
|
|
3871
|
+
if (input.substr(peg$currPos, 2) === peg$c52) {
|
|
3872
|
+
s6 = peg$c52;
|
|
3674
3873
|
peg$currPos += 2;
|
|
3675
3874
|
} else {
|
|
3676
3875
|
s6 = peg$FAILED;
|
|
3677
3876
|
if (peg$silentFails === 0) {
|
|
3678
|
-
peg$fail(peg$
|
|
3877
|
+
peg$fail(peg$e53);
|
|
3679
3878
|
}
|
|
3680
3879
|
}
|
|
3681
3880
|
if (s6 === peg$FAILED) {
|
|
@@ -3687,7 +3886,7 @@ function peg$parse(input, options) {
|
|
|
3687
3886
|
} else {
|
|
3688
3887
|
s7 = peg$FAILED;
|
|
3689
3888
|
if (peg$silentFails === 0) {
|
|
3690
|
-
peg$fail(peg$
|
|
3889
|
+
peg$fail(peg$e54);
|
|
3691
3890
|
}
|
|
3692
3891
|
}
|
|
3693
3892
|
peg$silentFails--;
|
|
@@ -3718,7 +3917,7 @@ function peg$parse(input, options) {
|
|
|
3718
3917
|
}
|
|
3719
3918
|
if (s3 !== peg$FAILED) {
|
|
3720
3919
|
peg$savedPos = s0;
|
|
3721
|
-
s0 = peg$
|
|
3920
|
+
s0 = peg$f71(s2);
|
|
3722
3921
|
} else {
|
|
3723
3922
|
peg$currPos = s0;
|
|
3724
3923
|
s0 = peg$FAILED;
|
|
@@ -3747,7 +3946,7 @@ function peg$parse(input, options) {
|
|
|
3747
3946
|
s2 = peg$parseIdentifier();
|
|
3748
3947
|
if (s2 !== peg$FAILED) {
|
|
3749
3948
|
peg$savedPos = s0;
|
|
3750
|
-
s0 = peg$
|
|
3949
|
+
s0 = peg$f72(s2);
|
|
3751
3950
|
} else {
|
|
3752
3951
|
peg$currPos = s0;
|
|
3753
3952
|
s0 = peg$FAILED;
|
|
@@ -4021,163 +4220,163 @@ function peg$parse(input, options) {
|
|
|
4021
4220
|
}
|
|
4022
4221
|
}
|
|
4023
4222
|
if (s1 === peg$FAILED) {
|
|
4024
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4025
|
-
s1 = peg$
|
|
4223
|
+
if (input.substr(peg$currPos, 7) === peg$c34) {
|
|
4224
|
+
s1 = peg$c34;
|
|
4026
4225
|
peg$currPos += 7;
|
|
4027
4226
|
} else {
|
|
4028
4227
|
s1 = peg$FAILED;
|
|
4029
4228
|
if (peg$silentFails === 0) {
|
|
4030
|
-
peg$fail(peg$
|
|
4229
|
+
peg$fail(peg$e34);
|
|
4031
4230
|
}
|
|
4032
4231
|
}
|
|
4033
4232
|
if (s1 === peg$FAILED) {
|
|
4034
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4035
|
-
s1 = peg$
|
|
4233
|
+
if (input.substr(peg$currPos, 4) === peg$c35) {
|
|
4234
|
+
s1 = peg$c35;
|
|
4036
4235
|
peg$currPos += 4;
|
|
4037
4236
|
} else {
|
|
4038
4237
|
s1 = peg$FAILED;
|
|
4039
4238
|
if (peg$silentFails === 0) {
|
|
4040
|
-
peg$fail(peg$
|
|
4239
|
+
peg$fail(peg$e35);
|
|
4041
4240
|
}
|
|
4042
4241
|
}
|
|
4043
4242
|
if (s1 === peg$FAILED) {
|
|
4044
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4045
|
-
s1 = peg$
|
|
4243
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
4244
|
+
s1 = peg$c36;
|
|
4046
4245
|
peg$currPos += 4;
|
|
4047
4246
|
} else {
|
|
4048
4247
|
s1 = peg$FAILED;
|
|
4049
4248
|
if (peg$silentFails === 0) {
|
|
4050
|
-
peg$fail(peg$
|
|
4249
|
+
peg$fail(peg$e36);
|
|
4051
4250
|
}
|
|
4052
4251
|
}
|
|
4053
4252
|
if (s1 === peg$FAILED) {
|
|
4054
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4055
|
-
s1 = peg$
|
|
4253
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
4254
|
+
s1 = peg$c37;
|
|
4056
4255
|
peg$currPos += 5;
|
|
4057
4256
|
} else {
|
|
4058
4257
|
s1 = peg$FAILED;
|
|
4059
4258
|
if (peg$silentFails === 0) {
|
|
4060
|
-
peg$fail(peg$
|
|
4259
|
+
peg$fail(peg$e37);
|
|
4061
4260
|
}
|
|
4062
4261
|
}
|
|
4063
4262
|
if (s1 === peg$FAILED) {
|
|
4064
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4065
|
-
s1 = peg$
|
|
4263
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
4264
|
+
s1 = peg$c38;
|
|
4066
4265
|
peg$currPos += 5;
|
|
4067
4266
|
} else {
|
|
4068
4267
|
s1 = peg$FAILED;
|
|
4069
4268
|
if (peg$silentFails === 0) {
|
|
4070
|
-
peg$fail(peg$
|
|
4269
|
+
peg$fail(peg$e38);
|
|
4071
4270
|
}
|
|
4072
4271
|
}
|
|
4073
4272
|
if (s1 === peg$FAILED) {
|
|
4074
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
4075
|
-
s1 = peg$
|
|
4273
|
+
if (input.substr(peg$currPos, 8) === peg$c39) {
|
|
4274
|
+
s1 = peg$c39;
|
|
4076
4275
|
peg$currPos += 8;
|
|
4077
4276
|
} else {
|
|
4078
4277
|
s1 = peg$FAILED;
|
|
4079
4278
|
if (peg$silentFails === 0) {
|
|
4080
|
-
peg$fail(peg$
|
|
4279
|
+
peg$fail(peg$e39);
|
|
4081
4280
|
}
|
|
4082
4281
|
}
|
|
4083
4282
|
if (s1 === peg$FAILED) {
|
|
4084
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4085
|
-
s1 = peg$
|
|
4283
|
+
if (input.substr(peg$currPos, 7) === peg$c40) {
|
|
4284
|
+
s1 = peg$c40;
|
|
4086
4285
|
peg$currPos += 7;
|
|
4087
4286
|
} else {
|
|
4088
4287
|
s1 = peg$FAILED;
|
|
4089
4288
|
if (peg$silentFails === 0) {
|
|
4090
|
-
peg$fail(peg$
|
|
4289
|
+
peg$fail(peg$e40);
|
|
4091
4290
|
}
|
|
4092
4291
|
}
|
|
4093
4292
|
if (s1 === peg$FAILED) {
|
|
4094
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4095
|
-
s1 = peg$
|
|
4293
|
+
if (input.substr(peg$currPos, 7) === peg$c41) {
|
|
4294
|
+
s1 = peg$c41;
|
|
4096
4295
|
peg$currPos += 7;
|
|
4097
4296
|
} else {
|
|
4098
4297
|
s1 = peg$FAILED;
|
|
4099
4298
|
if (peg$silentFails === 0) {
|
|
4100
|
-
peg$fail(peg$
|
|
4299
|
+
peg$fail(peg$e41);
|
|
4101
4300
|
}
|
|
4102
4301
|
}
|
|
4103
4302
|
if (s1 === peg$FAILED) {
|
|
4104
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4105
|
-
s1 = peg$
|
|
4303
|
+
if (input.substr(peg$currPos, 7) === peg$c42) {
|
|
4304
|
+
s1 = peg$c42;
|
|
4106
4305
|
peg$currPos += 7;
|
|
4107
4306
|
} else {
|
|
4108
4307
|
s1 = peg$FAILED;
|
|
4109
4308
|
if (peg$silentFails === 0) {
|
|
4110
|
-
peg$fail(peg$
|
|
4309
|
+
peg$fail(peg$e42);
|
|
4111
4310
|
}
|
|
4112
4311
|
}
|
|
4113
4312
|
if (s1 === peg$FAILED) {
|
|
4114
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
4115
|
-
s1 = peg$
|
|
4313
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
4314
|
+
s1 = peg$c43;
|
|
4116
4315
|
peg$currPos += 8;
|
|
4117
4316
|
} else {
|
|
4118
4317
|
s1 = peg$FAILED;
|
|
4119
4318
|
if (peg$silentFails === 0) {
|
|
4120
|
-
peg$fail(peg$
|
|
4319
|
+
peg$fail(peg$e43);
|
|
4121
4320
|
}
|
|
4122
4321
|
}
|
|
4123
4322
|
if (s1 === peg$FAILED) {
|
|
4124
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4125
|
-
s1 = peg$
|
|
4323
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
4324
|
+
s1 = peg$c44;
|
|
4126
4325
|
peg$currPos += 7;
|
|
4127
4326
|
} else {
|
|
4128
4327
|
s1 = peg$FAILED;
|
|
4129
4328
|
if (peg$silentFails === 0) {
|
|
4130
|
-
peg$fail(peg$
|
|
4329
|
+
peg$fail(peg$e44);
|
|
4131
4330
|
}
|
|
4132
4331
|
}
|
|
4133
4332
|
if (s1 === peg$FAILED) {
|
|
4134
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4135
|
-
s1 = peg$
|
|
4333
|
+
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
4334
|
+
s1 = peg$c45;
|
|
4136
4335
|
peg$currPos += 3;
|
|
4137
4336
|
} else {
|
|
4138
4337
|
s1 = peg$FAILED;
|
|
4139
4338
|
if (peg$silentFails === 0) {
|
|
4140
|
-
peg$fail(peg$
|
|
4339
|
+
peg$fail(peg$e45);
|
|
4141
4340
|
}
|
|
4142
4341
|
}
|
|
4143
4342
|
if (s1 === peg$FAILED) {
|
|
4144
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4145
|
-
s1 = peg$
|
|
4343
|
+
if (input.substr(peg$currPos, 4) === peg$c47) {
|
|
4344
|
+
s1 = peg$c47;
|
|
4146
4345
|
peg$currPos += 4;
|
|
4147
4346
|
} else {
|
|
4148
4347
|
s1 = peg$FAILED;
|
|
4149
4348
|
if (peg$silentFails === 0) {
|
|
4150
|
-
peg$fail(peg$
|
|
4349
|
+
peg$fail(peg$e47);
|
|
4151
4350
|
}
|
|
4152
4351
|
}
|
|
4153
4352
|
if (s1 === peg$FAILED) {
|
|
4154
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4155
|
-
s1 = peg$
|
|
4353
|
+
if (input.substr(peg$currPos, 3) === peg$c48) {
|
|
4354
|
+
s1 = peg$c48;
|
|
4156
4355
|
peg$currPos += 3;
|
|
4157
4356
|
} else {
|
|
4158
4357
|
s1 = peg$FAILED;
|
|
4159
4358
|
if (peg$silentFails === 0) {
|
|
4160
|
-
peg$fail(peg$
|
|
4359
|
+
peg$fail(peg$e48);
|
|
4161
4360
|
}
|
|
4162
4361
|
}
|
|
4163
4362
|
if (s1 === peg$FAILED) {
|
|
4164
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
4165
|
-
s1 = peg$
|
|
4363
|
+
if (input.substr(peg$currPos, 10) === peg$c49) {
|
|
4364
|
+
s1 = peg$c49;
|
|
4166
4365
|
peg$currPos += 10;
|
|
4167
4366
|
} else {
|
|
4168
4367
|
s1 = peg$FAILED;
|
|
4169
4368
|
if (peg$silentFails === 0) {
|
|
4170
|
-
peg$fail(peg$
|
|
4369
|
+
peg$fail(peg$e49);
|
|
4171
4370
|
}
|
|
4172
4371
|
}
|
|
4173
4372
|
if (s1 === peg$FAILED) {
|
|
4174
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4175
|
-
s1 = peg$
|
|
4373
|
+
if (input.substr(peg$currPos, 5) === peg$c46) {
|
|
4374
|
+
s1 = peg$c46;
|
|
4176
4375
|
peg$currPos += 5;
|
|
4177
4376
|
} else {
|
|
4178
4377
|
s1 = peg$FAILED;
|
|
4179
4378
|
if (peg$silentFails === 0) {
|
|
4180
|
-
peg$fail(peg$
|
|
4379
|
+
peg$fail(peg$e46);
|
|
4181
4380
|
}
|
|
4182
4381
|
}
|
|
4183
4382
|
}
|
|
@@ -4253,7 +4452,7 @@ function peg$parse(input, options) {
|
|
|
4253
4452
|
} else {
|
|
4254
4453
|
s0 = peg$FAILED;
|
|
4255
4454
|
if (peg$silentFails === 0) {
|
|
4256
|
-
peg$fail(peg$
|
|
4455
|
+
peg$fail(peg$e55);
|
|
4257
4456
|
}
|
|
4258
4457
|
}
|
|
4259
4458
|
return s0;
|
|
@@ -4286,12 +4485,12 @@ function peg$parse(input, options) {
|
|
|
4286
4485
|
peg$silentFails++;
|
|
4287
4486
|
s0 = peg$currPos;
|
|
4288
4487
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4289
|
-
s1 = peg$
|
|
4488
|
+
s1 = peg$c53;
|
|
4290
4489
|
peg$currPos++;
|
|
4291
4490
|
} else {
|
|
4292
4491
|
s1 = peg$FAILED;
|
|
4293
4492
|
if (peg$silentFails === 0) {
|
|
4294
|
-
peg$fail(peg$
|
|
4493
|
+
peg$fail(peg$e57);
|
|
4295
4494
|
}
|
|
4296
4495
|
}
|
|
4297
4496
|
if (s1 !== peg$FAILED) {
|
|
@@ -4302,17 +4501,17 @@ function peg$parse(input, options) {
|
|
|
4302
4501
|
s3 = peg$parseDoubleStringChar();
|
|
4303
4502
|
}
|
|
4304
4503
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4305
|
-
s3 = peg$
|
|
4504
|
+
s3 = peg$c53;
|
|
4306
4505
|
peg$currPos++;
|
|
4307
4506
|
} else {
|
|
4308
4507
|
s3 = peg$FAILED;
|
|
4309
4508
|
if (peg$silentFails === 0) {
|
|
4310
|
-
peg$fail(peg$
|
|
4509
|
+
peg$fail(peg$e57);
|
|
4311
4510
|
}
|
|
4312
4511
|
}
|
|
4313
4512
|
if (s3 !== peg$FAILED) {
|
|
4314
4513
|
peg$savedPos = s0;
|
|
4315
|
-
s0 = peg$
|
|
4514
|
+
s0 = peg$f73(s2);
|
|
4316
4515
|
} else {
|
|
4317
4516
|
peg$currPos = s0;
|
|
4318
4517
|
s0 = peg$FAILED;
|
|
@@ -4324,12 +4523,12 @@ function peg$parse(input, options) {
|
|
|
4324
4523
|
if (s0 === peg$FAILED) {
|
|
4325
4524
|
s0 = peg$currPos;
|
|
4326
4525
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4327
|
-
s1 = peg$
|
|
4526
|
+
s1 = peg$c54;
|
|
4328
4527
|
peg$currPos++;
|
|
4329
4528
|
} else {
|
|
4330
4529
|
s1 = peg$FAILED;
|
|
4331
4530
|
if (peg$silentFails === 0) {
|
|
4332
|
-
peg$fail(peg$
|
|
4531
|
+
peg$fail(peg$e58);
|
|
4333
4532
|
}
|
|
4334
4533
|
}
|
|
4335
4534
|
if (s1 !== peg$FAILED) {
|
|
@@ -4340,17 +4539,17 @@ function peg$parse(input, options) {
|
|
|
4340
4539
|
s3 = peg$parseSingleStringChar();
|
|
4341
4540
|
}
|
|
4342
4541
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4343
|
-
s3 = peg$
|
|
4542
|
+
s3 = peg$c54;
|
|
4344
4543
|
peg$currPos++;
|
|
4345
4544
|
} else {
|
|
4346
4545
|
s3 = peg$FAILED;
|
|
4347
4546
|
if (peg$silentFails === 0) {
|
|
4348
|
-
peg$fail(peg$
|
|
4547
|
+
peg$fail(peg$e58);
|
|
4349
4548
|
}
|
|
4350
4549
|
}
|
|
4351
4550
|
if (s3 !== peg$FAILED) {
|
|
4352
4551
|
peg$savedPos = s0;
|
|
4353
|
-
s0 = peg$
|
|
4552
|
+
s0 = peg$f74(s2);
|
|
4354
4553
|
} else {
|
|
4355
4554
|
peg$currPos = s0;
|
|
4356
4555
|
s0 = peg$FAILED;
|
|
@@ -4364,7 +4563,7 @@ function peg$parse(input, options) {
|
|
|
4364
4563
|
if (s0 === peg$FAILED) {
|
|
4365
4564
|
s1 = peg$FAILED;
|
|
4366
4565
|
if (peg$silentFails === 0) {
|
|
4367
|
-
peg$fail(peg$
|
|
4566
|
+
peg$fail(peg$e56);
|
|
4368
4567
|
}
|
|
4369
4568
|
}
|
|
4370
4569
|
return s0;
|
|
@@ -4375,12 +4574,12 @@ function peg$parse(input, options) {
|
|
|
4375
4574
|
s1 = peg$currPos;
|
|
4376
4575
|
peg$silentFails++;
|
|
4377
4576
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4378
|
-
s2 = peg$
|
|
4577
|
+
s2 = peg$c53;
|
|
4379
4578
|
peg$currPos++;
|
|
4380
4579
|
} else {
|
|
4381
4580
|
s2 = peg$FAILED;
|
|
4382
4581
|
if (peg$silentFails === 0) {
|
|
4383
|
-
peg$fail(peg$
|
|
4582
|
+
peg$fail(peg$e57);
|
|
4384
4583
|
}
|
|
4385
4584
|
}
|
|
4386
4585
|
peg$silentFails--;
|
|
@@ -4394,12 +4593,12 @@ function peg$parse(input, options) {
|
|
|
4394
4593
|
s2 = peg$currPos;
|
|
4395
4594
|
peg$silentFails++;
|
|
4396
4595
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4397
|
-
s3 = peg$
|
|
4596
|
+
s3 = peg$c55;
|
|
4398
4597
|
peg$currPos++;
|
|
4399
4598
|
} else {
|
|
4400
4599
|
s3 = peg$FAILED;
|
|
4401
4600
|
if (peg$silentFails === 0) {
|
|
4402
|
-
peg$fail(peg$
|
|
4601
|
+
peg$fail(peg$e59);
|
|
4403
4602
|
}
|
|
4404
4603
|
}
|
|
4405
4604
|
peg$silentFails--;
|
|
@@ -4416,12 +4615,12 @@ function peg$parse(input, options) {
|
|
|
4416
4615
|
} else {
|
|
4417
4616
|
s3 = peg$FAILED;
|
|
4418
4617
|
if (peg$silentFails === 0) {
|
|
4419
|
-
peg$fail(peg$
|
|
4618
|
+
peg$fail(peg$e54);
|
|
4420
4619
|
}
|
|
4421
4620
|
}
|
|
4422
4621
|
if (s3 !== peg$FAILED) {
|
|
4423
4622
|
peg$savedPos = s0;
|
|
4424
|
-
s0 = peg$
|
|
4623
|
+
s0 = peg$f75(s3);
|
|
4425
4624
|
} else {
|
|
4426
4625
|
peg$currPos = s0;
|
|
4427
4626
|
s0 = peg$FAILED;
|
|
@@ -4437,19 +4636,19 @@ function peg$parse(input, options) {
|
|
|
4437
4636
|
if (s0 === peg$FAILED) {
|
|
4438
4637
|
s0 = peg$currPos;
|
|
4439
4638
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4440
|
-
s1 = peg$
|
|
4639
|
+
s1 = peg$c55;
|
|
4441
4640
|
peg$currPos++;
|
|
4442
4641
|
} else {
|
|
4443
4642
|
s1 = peg$FAILED;
|
|
4444
4643
|
if (peg$silentFails === 0) {
|
|
4445
|
-
peg$fail(peg$
|
|
4644
|
+
peg$fail(peg$e59);
|
|
4446
4645
|
}
|
|
4447
4646
|
}
|
|
4448
4647
|
if (s1 !== peg$FAILED) {
|
|
4449
4648
|
s2 = peg$parseEscapeSequence();
|
|
4450
4649
|
if (s2 !== peg$FAILED) {
|
|
4451
4650
|
peg$savedPos = s0;
|
|
4452
|
-
s0 = peg$
|
|
4651
|
+
s0 = peg$f76(s2);
|
|
4453
4652
|
} else {
|
|
4454
4653
|
peg$currPos = s0;
|
|
4455
4654
|
s0 = peg$FAILED;
|
|
@@ -4467,12 +4666,12 @@ function peg$parse(input, options) {
|
|
|
4467
4666
|
s1 = peg$currPos;
|
|
4468
4667
|
peg$silentFails++;
|
|
4469
4668
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4470
|
-
s2 = peg$
|
|
4669
|
+
s2 = peg$c54;
|
|
4471
4670
|
peg$currPos++;
|
|
4472
4671
|
} else {
|
|
4473
4672
|
s2 = peg$FAILED;
|
|
4474
4673
|
if (peg$silentFails === 0) {
|
|
4475
|
-
peg$fail(peg$
|
|
4674
|
+
peg$fail(peg$e58);
|
|
4476
4675
|
}
|
|
4477
4676
|
}
|
|
4478
4677
|
peg$silentFails--;
|
|
@@ -4486,12 +4685,12 @@ function peg$parse(input, options) {
|
|
|
4486
4685
|
s2 = peg$currPos;
|
|
4487
4686
|
peg$silentFails++;
|
|
4488
4687
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4489
|
-
s3 = peg$
|
|
4688
|
+
s3 = peg$c55;
|
|
4490
4689
|
peg$currPos++;
|
|
4491
4690
|
} else {
|
|
4492
4691
|
s3 = peg$FAILED;
|
|
4493
4692
|
if (peg$silentFails === 0) {
|
|
4494
|
-
peg$fail(peg$
|
|
4693
|
+
peg$fail(peg$e59);
|
|
4495
4694
|
}
|
|
4496
4695
|
}
|
|
4497
4696
|
peg$silentFails--;
|
|
@@ -4508,12 +4707,12 @@ function peg$parse(input, options) {
|
|
|
4508
4707
|
} else {
|
|
4509
4708
|
s3 = peg$FAILED;
|
|
4510
4709
|
if (peg$silentFails === 0) {
|
|
4511
|
-
peg$fail(peg$
|
|
4710
|
+
peg$fail(peg$e54);
|
|
4512
4711
|
}
|
|
4513
4712
|
}
|
|
4514
4713
|
if (s3 !== peg$FAILED) {
|
|
4515
4714
|
peg$savedPos = s0;
|
|
4516
|
-
s0 = peg$
|
|
4715
|
+
s0 = peg$f77(s3);
|
|
4517
4716
|
} else {
|
|
4518
4717
|
peg$currPos = s0;
|
|
4519
4718
|
s0 = peg$FAILED;
|
|
@@ -4529,19 +4728,19 @@ function peg$parse(input, options) {
|
|
|
4529
4728
|
if (s0 === peg$FAILED) {
|
|
4530
4729
|
s0 = peg$currPos;
|
|
4531
4730
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4532
|
-
s1 = peg$
|
|
4731
|
+
s1 = peg$c55;
|
|
4533
4732
|
peg$currPos++;
|
|
4534
4733
|
} else {
|
|
4535
4734
|
s1 = peg$FAILED;
|
|
4536
4735
|
if (peg$silentFails === 0) {
|
|
4537
|
-
peg$fail(peg$
|
|
4736
|
+
peg$fail(peg$e59);
|
|
4538
4737
|
}
|
|
4539
4738
|
}
|
|
4540
4739
|
if (s1 !== peg$FAILED) {
|
|
4541
4740
|
s2 = peg$parseEscapeSequence();
|
|
4542
4741
|
if (s2 !== peg$FAILED) {
|
|
4543
4742
|
peg$savedPos = s0;
|
|
4544
|
-
s0 = peg$
|
|
4743
|
+
s0 = peg$f78(s2);
|
|
4545
4744
|
} else {
|
|
4546
4745
|
peg$currPos = s0;
|
|
4547
4746
|
s0 = peg$FAILED;
|
|
@@ -4557,97 +4756,97 @@ function peg$parse(input, options) {
|
|
|
4557
4756
|
let s0, s1;
|
|
4558
4757
|
s0 = peg$currPos;
|
|
4559
4758
|
if (input.charCodeAt(peg$currPos) === 110) {
|
|
4560
|
-
s1 = peg$
|
|
4759
|
+
s1 = peg$c56;
|
|
4561
4760
|
peg$currPos++;
|
|
4562
4761
|
} else {
|
|
4563
4762
|
s1 = peg$FAILED;
|
|
4564
4763
|
if (peg$silentFails === 0) {
|
|
4565
|
-
peg$fail(peg$
|
|
4764
|
+
peg$fail(peg$e60);
|
|
4566
4765
|
}
|
|
4567
4766
|
}
|
|
4568
4767
|
if (s1 !== peg$FAILED) {
|
|
4569
4768
|
peg$savedPos = s0;
|
|
4570
|
-
s1 = peg$
|
|
4769
|
+
s1 = peg$f79();
|
|
4571
4770
|
}
|
|
4572
4771
|
s0 = s1;
|
|
4573
4772
|
if (s0 === peg$FAILED) {
|
|
4574
4773
|
s0 = peg$currPos;
|
|
4575
4774
|
if (input.charCodeAt(peg$currPos) === 114) {
|
|
4576
|
-
s1 = peg$
|
|
4775
|
+
s1 = peg$c57;
|
|
4577
4776
|
peg$currPos++;
|
|
4578
4777
|
} else {
|
|
4579
4778
|
s1 = peg$FAILED;
|
|
4580
4779
|
if (peg$silentFails === 0) {
|
|
4581
|
-
peg$fail(peg$
|
|
4780
|
+
peg$fail(peg$e61);
|
|
4582
4781
|
}
|
|
4583
4782
|
}
|
|
4584
4783
|
if (s1 !== peg$FAILED) {
|
|
4585
4784
|
peg$savedPos = s0;
|
|
4586
|
-
s1 = peg$
|
|
4785
|
+
s1 = peg$f80();
|
|
4587
4786
|
}
|
|
4588
4787
|
s0 = s1;
|
|
4589
4788
|
if (s0 === peg$FAILED) {
|
|
4590
4789
|
s0 = peg$currPos;
|
|
4591
4790
|
if (input.charCodeAt(peg$currPos) === 116) {
|
|
4592
|
-
s1 = peg$
|
|
4791
|
+
s1 = peg$c58;
|
|
4593
4792
|
peg$currPos++;
|
|
4594
4793
|
} else {
|
|
4595
4794
|
s1 = peg$FAILED;
|
|
4596
4795
|
if (peg$silentFails === 0) {
|
|
4597
|
-
peg$fail(peg$
|
|
4796
|
+
peg$fail(peg$e62);
|
|
4598
4797
|
}
|
|
4599
4798
|
}
|
|
4600
4799
|
if (s1 !== peg$FAILED) {
|
|
4601
4800
|
peg$savedPos = s0;
|
|
4602
|
-
s1 = peg$
|
|
4801
|
+
s1 = peg$f81();
|
|
4603
4802
|
}
|
|
4604
4803
|
s0 = s1;
|
|
4605
4804
|
if (s0 === peg$FAILED) {
|
|
4606
4805
|
s0 = peg$currPos;
|
|
4607
4806
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4608
|
-
s1 = peg$
|
|
4807
|
+
s1 = peg$c55;
|
|
4609
4808
|
peg$currPos++;
|
|
4610
4809
|
} else {
|
|
4611
4810
|
s1 = peg$FAILED;
|
|
4612
4811
|
if (peg$silentFails === 0) {
|
|
4613
|
-
peg$fail(peg$
|
|
4812
|
+
peg$fail(peg$e59);
|
|
4614
4813
|
}
|
|
4615
4814
|
}
|
|
4616
4815
|
if (s1 !== peg$FAILED) {
|
|
4617
4816
|
peg$savedPos = s0;
|
|
4618
|
-
s1 = peg$
|
|
4817
|
+
s1 = peg$f82();
|
|
4619
4818
|
}
|
|
4620
4819
|
s0 = s1;
|
|
4621
4820
|
if (s0 === peg$FAILED) {
|
|
4622
4821
|
s0 = peg$currPos;
|
|
4623
4822
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4624
|
-
s1 = peg$
|
|
4823
|
+
s1 = peg$c53;
|
|
4625
4824
|
peg$currPos++;
|
|
4626
4825
|
} else {
|
|
4627
4826
|
s1 = peg$FAILED;
|
|
4628
4827
|
if (peg$silentFails === 0) {
|
|
4629
|
-
peg$fail(peg$
|
|
4828
|
+
peg$fail(peg$e57);
|
|
4630
4829
|
}
|
|
4631
4830
|
}
|
|
4632
4831
|
if (s1 !== peg$FAILED) {
|
|
4633
4832
|
peg$savedPos = s0;
|
|
4634
|
-
s1 = peg$
|
|
4833
|
+
s1 = peg$f83();
|
|
4635
4834
|
}
|
|
4636
4835
|
s0 = s1;
|
|
4637
4836
|
if (s0 === peg$FAILED) {
|
|
4638
4837
|
s0 = peg$currPos;
|
|
4639
4838
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4640
|
-
s1 = peg$
|
|
4839
|
+
s1 = peg$c54;
|
|
4641
4840
|
peg$currPos++;
|
|
4642
4841
|
} else {
|
|
4643
4842
|
s1 = peg$FAILED;
|
|
4644
4843
|
if (peg$silentFails === 0) {
|
|
4645
|
-
peg$fail(peg$
|
|
4844
|
+
peg$fail(peg$e58);
|
|
4646
4845
|
}
|
|
4647
4846
|
}
|
|
4648
4847
|
if (s1 !== peg$FAILED) {
|
|
4649
4848
|
peg$savedPos = s0;
|
|
4650
|
-
s1 = peg$
|
|
4849
|
+
s1 = peg$f84();
|
|
4651
4850
|
}
|
|
4652
4851
|
s0 = s1;
|
|
4653
4852
|
}
|
|
@@ -4662,12 +4861,12 @@ function peg$parse(input, options) {
|
|
|
4662
4861
|
peg$silentFails++;
|
|
4663
4862
|
s0 = peg$currPos;
|
|
4664
4863
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4665
|
-
s1 = peg$
|
|
4864
|
+
s1 = peg$c59;
|
|
4666
4865
|
peg$currPos++;
|
|
4667
4866
|
} else {
|
|
4668
4867
|
s1 = peg$FAILED;
|
|
4669
4868
|
if (peg$silentFails === 0) {
|
|
4670
|
-
peg$fail(peg$
|
|
4869
|
+
peg$fail(peg$e64);
|
|
4671
4870
|
}
|
|
4672
4871
|
}
|
|
4673
4872
|
if (s1 === peg$FAILED) {
|
|
@@ -4680,7 +4879,7 @@ function peg$parse(input, options) {
|
|
|
4680
4879
|
} else {
|
|
4681
4880
|
s3 = peg$FAILED;
|
|
4682
4881
|
if (peg$silentFails === 0) {
|
|
4683
|
-
peg$fail(peg$
|
|
4882
|
+
peg$fail(peg$e65);
|
|
4684
4883
|
}
|
|
4685
4884
|
}
|
|
4686
4885
|
if (s3 !== peg$FAILED) {
|
|
@@ -4692,7 +4891,7 @@ function peg$parse(input, options) {
|
|
|
4692
4891
|
} else {
|
|
4693
4892
|
s3 = peg$FAILED;
|
|
4694
4893
|
if (peg$silentFails === 0) {
|
|
4695
|
-
peg$fail(peg$
|
|
4894
|
+
peg$fail(peg$e65);
|
|
4696
4895
|
}
|
|
4697
4896
|
}
|
|
4698
4897
|
}
|
|
@@ -4702,12 +4901,12 @@ function peg$parse(input, options) {
|
|
|
4702
4901
|
if (s2 !== peg$FAILED) {
|
|
4703
4902
|
s3 = peg$currPos;
|
|
4704
4903
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4705
|
-
s4 = peg$
|
|
4904
|
+
s4 = peg$c60;
|
|
4706
4905
|
peg$currPos++;
|
|
4707
4906
|
} else {
|
|
4708
4907
|
s4 = peg$FAILED;
|
|
4709
4908
|
if (peg$silentFails === 0) {
|
|
4710
|
-
peg$fail(peg$
|
|
4909
|
+
peg$fail(peg$e66);
|
|
4711
4910
|
}
|
|
4712
4911
|
}
|
|
4713
4912
|
if (s4 !== peg$FAILED) {
|
|
@@ -4718,7 +4917,7 @@ function peg$parse(input, options) {
|
|
|
4718
4917
|
} else {
|
|
4719
4918
|
s6 = peg$FAILED;
|
|
4720
4919
|
if (peg$silentFails === 0) {
|
|
4721
|
-
peg$fail(peg$
|
|
4920
|
+
peg$fail(peg$e65);
|
|
4722
4921
|
}
|
|
4723
4922
|
}
|
|
4724
4923
|
if (s6 !== peg$FAILED) {
|
|
@@ -4730,7 +4929,7 @@ function peg$parse(input, options) {
|
|
|
4730
4929
|
} else {
|
|
4731
4930
|
s6 = peg$FAILED;
|
|
4732
4931
|
if (peg$silentFails === 0) {
|
|
4733
|
-
peg$fail(peg$
|
|
4932
|
+
peg$fail(peg$e65);
|
|
4734
4933
|
}
|
|
4735
4934
|
}
|
|
4736
4935
|
}
|
|
@@ -4752,7 +4951,7 @@ function peg$parse(input, options) {
|
|
|
4752
4951
|
s3 = null;
|
|
4753
4952
|
}
|
|
4754
4953
|
peg$savedPos = s0;
|
|
4755
|
-
s0 = peg$
|
|
4954
|
+
s0 = peg$f85(s1, s2, s3);
|
|
4756
4955
|
} else {
|
|
4757
4956
|
peg$currPos = s0;
|
|
4758
4957
|
s0 = peg$FAILED;
|
|
@@ -4761,7 +4960,7 @@ function peg$parse(input, options) {
|
|
|
4761
4960
|
if (s0 === peg$FAILED) {
|
|
4762
4961
|
s1 = peg$FAILED;
|
|
4763
4962
|
if (peg$silentFails === 0) {
|
|
4764
|
-
peg$fail(peg$
|
|
4963
|
+
peg$fail(peg$e63);
|
|
4765
4964
|
}
|
|
4766
4965
|
}
|
|
4767
4966
|
return s0;
|
|
@@ -4771,12 +4970,12 @@ function peg$parse(input, options) {
|
|
|
4771
4970
|
peg$silentFails++;
|
|
4772
4971
|
s0 = peg$currPos;
|
|
4773
4972
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4774
|
-
s1 = peg$
|
|
4973
|
+
s1 = peg$c59;
|
|
4775
4974
|
peg$currPos++;
|
|
4776
4975
|
} else {
|
|
4777
4976
|
s1 = peg$FAILED;
|
|
4778
4977
|
if (peg$silentFails === 0) {
|
|
4779
|
-
peg$fail(peg$
|
|
4978
|
+
peg$fail(peg$e64);
|
|
4780
4979
|
}
|
|
4781
4980
|
}
|
|
4782
4981
|
if (s1 === peg$FAILED) {
|
|
@@ -4789,7 +4988,7 @@ function peg$parse(input, options) {
|
|
|
4789
4988
|
} else {
|
|
4790
4989
|
s3 = peg$FAILED;
|
|
4791
4990
|
if (peg$silentFails === 0) {
|
|
4792
|
-
peg$fail(peg$
|
|
4991
|
+
peg$fail(peg$e65);
|
|
4793
4992
|
}
|
|
4794
4993
|
}
|
|
4795
4994
|
if (s3 !== peg$FAILED) {
|
|
@@ -4801,7 +5000,7 @@ function peg$parse(input, options) {
|
|
|
4801
5000
|
} else {
|
|
4802
5001
|
s3 = peg$FAILED;
|
|
4803
5002
|
if (peg$silentFails === 0) {
|
|
4804
|
-
peg$fail(peg$
|
|
5003
|
+
peg$fail(peg$e65);
|
|
4805
5004
|
}
|
|
4806
5005
|
}
|
|
4807
5006
|
}
|
|
@@ -4811,12 +5010,12 @@ function peg$parse(input, options) {
|
|
|
4811
5010
|
if (s2 !== peg$FAILED) {
|
|
4812
5011
|
s3 = peg$currPos;
|
|
4813
5012
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4814
|
-
s4 = peg$
|
|
5013
|
+
s4 = peg$c60;
|
|
4815
5014
|
peg$currPos++;
|
|
4816
5015
|
} else {
|
|
4817
5016
|
s4 = peg$FAILED;
|
|
4818
5017
|
if (peg$silentFails === 0) {
|
|
4819
|
-
peg$fail(peg$
|
|
5018
|
+
peg$fail(peg$e66);
|
|
4820
5019
|
}
|
|
4821
5020
|
}
|
|
4822
5021
|
if (s4 !== peg$FAILED) {
|
|
@@ -4827,7 +5026,7 @@ function peg$parse(input, options) {
|
|
|
4827
5026
|
} else {
|
|
4828
5027
|
s6 = peg$FAILED;
|
|
4829
5028
|
if (peg$silentFails === 0) {
|
|
4830
|
-
peg$fail(peg$
|
|
5029
|
+
peg$fail(peg$e65);
|
|
4831
5030
|
}
|
|
4832
5031
|
}
|
|
4833
5032
|
if (s6 !== peg$FAILED) {
|
|
@@ -4839,7 +5038,7 @@ function peg$parse(input, options) {
|
|
|
4839
5038
|
} else {
|
|
4840
5039
|
s6 = peg$FAILED;
|
|
4841
5040
|
if (peg$silentFails === 0) {
|
|
4842
|
-
peg$fail(peg$
|
|
5041
|
+
peg$fail(peg$e65);
|
|
4843
5042
|
}
|
|
4844
5043
|
}
|
|
4845
5044
|
}
|
|
@@ -4860,63 +5059,63 @@ function peg$parse(input, options) {
|
|
|
4860
5059
|
if (s3 === peg$FAILED) {
|
|
4861
5060
|
s3 = null;
|
|
4862
5061
|
}
|
|
4863
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4864
|
-
s4 = peg$
|
|
5062
|
+
if (input.substr(peg$currPos, 2) === peg$c61) {
|
|
5063
|
+
s4 = peg$c61;
|
|
4865
5064
|
peg$currPos += 2;
|
|
4866
5065
|
} else {
|
|
4867
5066
|
s4 = peg$FAILED;
|
|
4868
5067
|
if (peg$silentFails === 0) {
|
|
4869
|
-
peg$fail(peg$
|
|
5068
|
+
peg$fail(peg$e68);
|
|
4870
5069
|
}
|
|
4871
5070
|
}
|
|
4872
5071
|
if (s4 === peg$FAILED) {
|
|
4873
5072
|
if (input.charCodeAt(peg$currPos) === 37) {
|
|
4874
|
-
s4 = peg$
|
|
5073
|
+
s4 = peg$c62;
|
|
4875
5074
|
peg$currPos++;
|
|
4876
5075
|
} else {
|
|
4877
5076
|
s4 = peg$FAILED;
|
|
4878
5077
|
if (peg$silentFails === 0) {
|
|
4879
|
-
peg$fail(peg$
|
|
5078
|
+
peg$fail(peg$e69);
|
|
4880
5079
|
}
|
|
4881
5080
|
}
|
|
4882
5081
|
if (s4 === peg$FAILED) {
|
|
4883
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4884
|
-
s4 = peg$
|
|
5082
|
+
if (input.substr(peg$currPos, 2) === peg$c63) {
|
|
5083
|
+
s4 = peg$c63;
|
|
4885
5084
|
peg$currPos += 2;
|
|
4886
5085
|
} else {
|
|
4887
5086
|
s4 = peg$FAILED;
|
|
4888
5087
|
if (peg$silentFails === 0) {
|
|
4889
|
-
peg$fail(peg$
|
|
5088
|
+
peg$fail(peg$e70);
|
|
4890
5089
|
}
|
|
4891
5090
|
}
|
|
4892
5091
|
if (s4 === peg$FAILED) {
|
|
4893
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4894
|
-
s4 = peg$
|
|
5092
|
+
if (input.substr(peg$currPos, 3) === peg$c64) {
|
|
5093
|
+
s4 = peg$c64;
|
|
4895
5094
|
peg$currPos += 3;
|
|
4896
5095
|
} else {
|
|
4897
5096
|
s4 = peg$FAILED;
|
|
4898
5097
|
if (peg$silentFails === 0) {
|
|
4899
|
-
peg$fail(peg$
|
|
5098
|
+
peg$fail(peg$e71);
|
|
4900
5099
|
}
|
|
4901
5100
|
}
|
|
4902
5101
|
if (s4 === peg$FAILED) {
|
|
4903
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4904
|
-
s4 = peg$
|
|
5102
|
+
if (input.substr(peg$currPos, 2) === peg$c65) {
|
|
5103
|
+
s4 = peg$c65;
|
|
4905
5104
|
peg$currPos += 2;
|
|
4906
5105
|
} else {
|
|
4907
5106
|
s4 = peg$FAILED;
|
|
4908
5107
|
if (peg$silentFails === 0) {
|
|
4909
|
-
peg$fail(peg$
|
|
5108
|
+
peg$fail(peg$e72);
|
|
4910
5109
|
}
|
|
4911
5110
|
}
|
|
4912
5111
|
if (s4 === peg$FAILED) {
|
|
4913
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4914
|
-
s4 = peg$
|
|
5112
|
+
if (input.substr(peg$currPos, 2) === peg$c66) {
|
|
5113
|
+
s4 = peg$c66;
|
|
4915
5114
|
peg$currPos += 2;
|
|
4916
5115
|
} else {
|
|
4917
5116
|
s4 = peg$FAILED;
|
|
4918
5117
|
if (peg$silentFails === 0) {
|
|
4919
|
-
peg$fail(peg$
|
|
5118
|
+
peg$fail(peg$e73);
|
|
4920
5119
|
}
|
|
4921
5120
|
}
|
|
4922
5121
|
}
|
|
@@ -4926,7 +5125,7 @@ function peg$parse(input, options) {
|
|
|
4926
5125
|
}
|
|
4927
5126
|
if (s4 !== peg$FAILED) {
|
|
4928
5127
|
peg$savedPos = s0;
|
|
4929
|
-
s0 = peg$
|
|
5128
|
+
s0 = peg$f86(s1, s2, s3, s4);
|
|
4930
5129
|
} else {
|
|
4931
5130
|
peg$currPos = s0;
|
|
4932
5131
|
s0 = peg$FAILED;
|
|
@@ -4939,7 +5138,7 @@ function peg$parse(input, options) {
|
|
|
4939
5138
|
if (s0 === peg$FAILED) {
|
|
4940
5139
|
s1 = peg$FAILED;
|
|
4941
5140
|
if (peg$silentFails === 0) {
|
|
4942
|
-
peg$fail(peg$
|
|
5141
|
+
peg$fail(peg$e67);
|
|
4943
5142
|
}
|
|
4944
5143
|
}
|
|
4945
5144
|
return s0;
|
|
@@ -4948,34 +5147,34 @@ function peg$parse(input, options) {
|
|
|
4948
5147
|
let s0, s1;
|
|
4949
5148
|
peg$silentFails++;
|
|
4950
5149
|
s0 = peg$currPos;
|
|
4951
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4952
|
-
s1 = peg$
|
|
5150
|
+
if (input.substr(peg$currPos, 4) === peg$c67) {
|
|
5151
|
+
s1 = peg$c67;
|
|
4953
5152
|
peg$currPos += 4;
|
|
4954
5153
|
} else {
|
|
4955
5154
|
s1 = peg$FAILED;
|
|
4956
5155
|
if (peg$silentFails === 0) {
|
|
4957
|
-
peg$fail(peg$
|
|
5156
|
+
peg$fail(peg$e75);
|
|
4958
5157
|
}
|
|
4959
5158
|
}
|
|
4960
5159
|
if (s1 !== peg$FAILED) {
|
|
4961
5160
|
peg$savedPos = s0;
|
|
4962
|
-
s1 = peg$
|
|
5161
|
+
s1 = peg$f87();
|
|
4963
5162
|
}
|
|
4964
5163
|
s0 = s1;
|
|
4965
5164
|
if (s0 === peg$FAILED) {
|
|
4966
5165
|
s0 = peg$currPos;
|
|
4967
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4968
|
-
s1 = peg$
|
|
5166
|
+
if (input.substr(peg$currPos, 5) === peg$c68) {
|
|
5167
|
+
s1 = peg$c68;
|
|
4969
5168
|
peg$currPos += 5;
|
|
4970
5169
|
} else {
|
|
4971
5170
|
s1 = peg$FAILED;
|
|
4972
5171
|
if (peg$silentFails === 0) {
|
|
4973
|
-
peg$fail(peg$
|
|
5172
|
+
peg$fail(peg$e76);
|
|
4974
5173
|
}
|
|
4975
5174
|
}
|
|
4976
5175
|
if (s1 !== peg$FAILED) {
|
|
4977
5176
|
peg$savedPos = s0;
|
|
4978
|
-
s1 = peg$
|
|
5177
|
+
s1 = peg$f88();
|
|
4979
5178
|
}
|
|
4980
5179
|
s0 = s1;
|
|
4981
5180
|
}
|
|
@@ -4983,7 +5182,7 @@ function peg$parse(input, options) {
|
|
|
4983
5182
|
if (s0 === peg$FAILED) {
|
|
4984
5183
|
s1 = peg$FAILED;
|
|
4985
5184
|
if (peg$silentFails === 0) {
|
|
4986
|
-
peg$fail(peg$
|
|
5185
|
+
peg$fail(peg$e74);
|
|
4987
5186
|
}
|
|
4988
5187
|
}
|
|
4989
5188
|
return s0;
|
|
@@ -4998,7 +5197,7 @@ function peg$parse(input, options) {
|
|
|
4998
5197
|
} else {
|
|
4999
5198
|
s1 = peg$FAILED;
|
|
5000
5199
|
if (peg$silentFails === 0) {
|
|
5001
|
-
peg$fail(peg$
|
|
5200
|
+
peg$fail(peg$e78);
|
|
5002
5201
|
}
|
|
5003
5202
|
}
|
|
5004
5203
|
if (s1 !== peg$FAILED) {
|
|
@@ -5009,7 +5208,7 @@ function peg$parse(input, options) {
|
|
|
5009
5208
|
} else {
|
|
5010
5209
|
s3 = peg$FAILED;
|
|
5011
5210
|
if (peg$silentFails === 0) {
|
|
5012
|
-
peg$fail(peg$
|
|
5211
|
+
peg$fail(peg$e55);
|
|
5013
5212
|
}
|
|
5014
5213
|
}
|
|
5015
5214
|
while (s3 !== peg$FAILED) {
|
|
@@ -5020,12 +5219,12 @@ function peg$parse(input, options) {
|
|
|
5020
5219
|
} else {
|
|
5021
5220
|
s3 = peg$FAILED;
|
|
5022
5221
|
if (peg$silentFails === 0) {
|
|
5023
|
-
peg$fail(peg$
|
|
5222
|
+
peg$fail(peg$e55);
|
|
5024
5223
|
}
|
|
5025
5224
|
}
|
|
5026
5225
|
}
|
|
5027
5226
|
peg$savedPos = s0;
|
|
5028
|
-
s0 = peg$
|
|
5227
|
+
s0 = peg$f89(s1, s2);
|
|
5029
5228
|
} else {
|
|
5030
5229
|
peg$currPos = s0;
|
|
5031
5230
|
s0 = peg$FAILED;
|
|
@@ -5034,7 +5233,7 @@ function peg$parse(input, options) {
|
|
|
5034
5233
|
if (s0 === peg$FAILED) {
|
|
5035
5234
|
s1 = peg$FAILED;
|
|
5036
5235
|
if (peg$silentFails === 0) {
|
|
5037
|
-
peg$fail(peg$
|
|
5236
|
+
peg$fail(peg$e77);
|
|
5038
5237
|
}
|
|
5039
5238
|
}
|
|
5040
5239
|
return s0;
|
|
@@ -5043,12 +5242,12 @@ function peg$parse(input, options) {
|
|
|
5043
5242
|
let s0, s1, s2, s3, s4, s5;
|
|
5044
5243
|
s0 = peg$currPos;
|
|
5045
5244
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
5046
|
-
s1 = peg$
|
|
5245
|
+
s1 = peg$c31;
|
|
5047
5246
|
peg$currPos++;
|
|
5048
5247
|
} else {
|
|
5049
5248
|
s1 = peg$FAILED;
|
|
5050
5249
|
if (peg$silentFails === 0) {
|
|
5051
|
-
peg$fail(peg$
|
|
5250
|
+
peg$fail(peg$e31);
|
|
5052
5251
|
}
|
|
5053
5252
|
}
|
|
5054
5253
|
if (s1 !== peg$FAILED) {
|
|
@@ -5059,17 +5258,17 @@ function peg$parse(input, options) {
|
|
|
5059
5258
|
}
|
|
5060
5259
|
s4 = peg$parse_();
|
|
5061
5260
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
5062
|
-
s5 = peg$
|
|
5261
|
+
s5 = peg$c33;
|
|
5063
5262
|
peg$currPos++;
|
|
5064
5263
|
} else {
|
|
5065
5264
|
s5 = peg$FAILED;
|
|
5066
5265
|
if (peg$silentFails === 0) {
|
|
5067
|
-
peg$fail(peg$
|
|
5266
|
+
peg$fail(peg$e33);
|
|
5068
5267
|
}
|
|
5069
5268
|
}
|
|
5070
5269
|
if (s5 !== peg$FAILED) {
|
|
5071
5270
|
peg$savedPos = s0;
|
|
5072
|
-
s0 = peg$
|
|
5271
|
+
s0 = peg$f90(s3);
|
|
5073
5272
|
} else {
|
|
5074
5273
|
peg$currPos = s0;
|
|
5075
5274
|
s0 = peg$FAILED;
|
|
@@ -5089,12 +5288,12 @@ function peg$parse(input, options) {
|
|
|
5089
5288
|
s3 = peg$currPos;
|
|
5090
5289
|
s4 = peg$parse_();
|
|
5091
5290
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5092
|
-
s5 = peg$
|
|
5291
|
+
s5 = peg$c32;
|
|
5093
5292
|
peg$currPos++;
|
|
5094
5293
|
} else {
|
|
5095
5294
|
s5 = peg$FAILED;
|
|
5096
5295
|
if (peg$silentFails === 0) {
|
|
5097
|
-
peg$fail(peg$
|
|
5296
|
+
peg$fail(peg$e32);
|
|
5098
5297
|
}
|
|
5099
5298
|
}
|
|
5100
5299
|
if (s5 === peg$FAILED) {
|
|
@@ -5114,12 +5313,12 @@ function peg$parse(input, options) {
|
|
|
5114
5313
|
s3 = peg$currPos;
|
|
5115
5314
|
s4 = peg$parse_();
|
|
5116
5315
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5117
|
-
s5 = peg$
|
|
5316
|
+
s5 = peg$c32;
|
|
5118
5317
|
peg$currPos++;
|
|
5119
5318
|
} else {
|
|
5120
5319
|
s5 = peg$FAILED;
|
|
5121
5320
|
if (peg$silentFails === 0) {
|
|
5122
|
-
peg$fail(peg$
|
|
5321
|
+
peg$fail(peg$e32);
|
|
5123
5322
|
}
|
|
5124
5323
|
}
|
|
5125
5324
|
if (s5 === peg$FAILED) {
|
|
@@ -5138,12 +5337,12 @@ function peg$parse(input, options) {
|
|
|
5138
5337
|
s3 = peg$currPos;
|
|
5139
5338
|
s4 = peg$parse_();
|
|
5140
5339
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5141
|
-
s5 = peg$
|
|
5340
|
+
s5 = peg$c32;
|
|
5142
5341
|
peg$currPos++;
|
|
5143
5342
|
} else {
|
|
5144
5343
|
s5 = peg$FAILED;
|
|
5145
5344
|
if (peg$silentFails === 0) {
|
|
5146
|
-
peg$fail(peg$
|
|
5345
|
+
peg$fail(peg$e32);
|
|
5147
5346
|
}
|
|
5148
5347
|
}
|
|
5149
5348
|
if (s5 !== peg$FAILED) {
|
|
@@ -5157,7 +5356,7 @@ function peg$parse(input, options) {
|
|
|
5157
5356
|
s3 = null;
|
|
5158
5357
|
}
|
|
5159
5358
|
peg$savedPos = s0;
|
|
5160
|
-
s0 = peg$
|
|
5359
|
+
s0 = peg$f91(s1, s2);
|
|
5161
5360
|
} else {
|
|
5162
5361
|
peg$currPos = s0;
|
|
5163
5362
|
s0 = peg$FAILED;
|
|
@@ -5211,7 +5410,7 @@ function peg$parse(input, options) {
|
|
|
5211
5410
|
}
|
|
5212
5411
|
if (s5 !== peg$FAILED) {
|
|
5213
5412
|
peg$savedPos = s0;
|
|
5214
|
-
s0 = peg$
|
|
5413
|
+
s0 = peg$f92(s3);
|
|
5215
5414
|
} else {
|
|
5216
5415
|
peg$currPos = s0;
|
|
5217
5416
|
s0 = peg$FAILED;
|
|
@@ -5231,12 +5430,12 @@ function peg$parse(input, options) {
|
|
|
5231
5430
|
s3 = peg$currPos;
|
|
5232
5431
|
s4 = peg$parse_();
|
|
5233
5432
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5234
|
-
s5 = peg$
|
|
5433
|
+
s5 = peg$c32;
|
|
5235
5434
|
peg$currPos++;
|
|
5236
5435
|
} else {
|
|
5237
5436
|
s5 = peg$FAILED;
|
|
5238
5437
|
if (peg$silentFails === 0) {
|
|
5239
|
-
peg$fail(peg$
|
|
5438
|
+
peg$fail(peg$e32);
|
|
5240
5439
|
}
|
|
5241
5440
|
}
|
|
5242
5441
|
if (s5 === peg$FAILED) {
|
|
@@ -5256,12 +5455,12 @@ function peg$parse(input, options) {
|
|
|
5256
5455
|
s3 = peg$currPos;
|
|
5257
5456
|
s4 = peg$parse_();
|
|
5258
5457
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5259
|
-
s5 = peg$
|
|
5458
|
+
s5 = peg$c32;
|
|
5260
5459
|
peg$currPos++;
|
|
5261
5460
|
} else {
|
|
5262
5461
|
s5 = peg$FAILED;
|
|
5263
5462
|
if (peg$silentFails === 0) {
|
|
5264
|
-
peg$fail(peg$
|
|
5463
|
+
peg$fail(peg$e32);
|
|
5265
5464
|
}
|
|
5266
5465
|
}
|
|
5267
5466
|
if (s5 === peg$FAILED) {
|
|
@@ -5278,7 +5477,7 @@ function peg$parse(input, options) {
|
|
|
5278
5477
|
}
|
|
5279
5478
|
}
|
|
5280
5479
|
peg$savedPos = s0;
|
|
5281
|
-
s0 = peg$
|
|
5480
|
+
s0 = peg$f93(s1, s2);
|
|
5282
5481
|
} else {
|
|
5283
5482
|
peg$currPos = s0;
|
|
5284
5483
|
s0 = peg$FAILED;
|
|
@@ -5292,12 +5491,12 @@ function peg$parse(input, options) {
|
|
|
5292
5491
|
if (s1 !== peg$FAILED) {
|
|
5293
5492
|
s2 = peg$parse_();
|
|
5294
5493
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
5295
|
-
s3 = peg$
|
|
5494
|
+
s3 = peg$c50;
|
|
5296
5495
|
peg$currPos++;
|
|
5297
5496
|
} else {
|
|
5298
5497
|
s3 = peg$FAILED;
|
|
5299
5498
|
if (peg$silentFails === 0) {
|
|
5300
|
-
peg$fail(peg$
|
|
5499
|
+
peg$fail(peg$e50);
|
|
5301
5500
|
}
|
|
5302
5501
|
}
|
|
5303
5502
|
if (s3 !== peg$FAILED) {
|
|
@@ -5305,7 +5504,7 @@ function peg$parse(input, options) {
|
|
|
5305
5504
|
s5 = peg$parseAttributeValue();
|
|
5306
5505
|
if (s5 !== peg$FAILED) {
|
|
5307
5506
|
peg$savedPos = s0;
|
|
5308
|
-
s0 = peg$
|
|
5507
|
+
s0 = peg$f94(s1, s5);
|
|
5309
5508
|
} else {
|
|
5310
5509
|
peg$currPos = s0;
|
|
5311
5510
|
s0 = peg$FAILED;
|
|
@@ -5323,7 +5522,7 @@ function peg$parse(input, options) {
|
|
|
5323
5522
|
s1 = peg$parseIdentifier();
|
|
5324
5523
|
if (s1 !== peg$FAILED) {
|
|
5325
5524
|
peg$savedPos = s0;
|
|
5326
|
-
s1 = peg$
|
|
5525
|
+
s1 = peg$f95(s1);
|
|
5327
5526
|
}
|
|
5328
5527
|
s0 = s1;
|
|
5329
5528
|
}
|
|
@@ -5396,13 +5595,13 @@ function peg$parse(input, options) {
|
|
|
5396
5595
|
function peg$parseLineComment() {
|
|
5397
5596
|
let s0, s1, s2, s3, s4;
|
|
5398
5597
|
s0 = peg$currPos;
|
|
5399
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5400
|
-
s1 = peg$
|
|
5598
|
+
if (input.substr(peg$currPos, 2) === peg$c51) {
|
|
5599
|
+
s1 = peg$c51;
|
|
5401
5600
|
peg$currPos += 2;
|
|
5402
5601
|
} else {
|
|
5403
5602
|
s1 = peg$FAILED;
|
|
5404
5603
|
if (peg$silentFails === 0) {
|
|
5405
|
-
peg$fail(peg$
|
|
5604
|
+
peg$fail(peg$e52);
|
|
5406
5605
|
}
|
|
5407
5606
|
}
|
|
5408
5607
|
if (s1 !== peg$FAILED) {
|
|
@@ -5446,7 +5645,7 @@ function peg$parse(input, options) {
|
|
|
5446
5645
|
} else {
|
|
5447
5646
|
s4 = peg$FAILED;
|
|
5448
5647
|
if (peg$silentFails === 0) {
|
|
5449
|
-
peg$fail(peg$
|
|
5648
|
+
peg$fail(peg$e54);
|
|
5450
5649
|
}
|
|
5451
5650
|
}
|
|
5452
5651
|
peg$silentFails--;
|
|
@@ -5473,13 +5672,13 @@ function peg$parse(input, options) {
|
|
|
5473
5672
|
function peg$parseBlockComment() {
|
|
5474
5673
|
let s0, s1, s2, s3, s4, s5;
|
|
5475
5674
|
s0 = peg$currPos;
|
|
5476
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5477
|
-
s1 = peg$
|
|
5675
|
+
if (input.substr(peg$currPos, 2) === peg$c52) {
|
|
5676
|
+
s1 = peg$c52;
|
|
5478
5677
|
peg$currPos += 2;
|
|
5479
5678
|
} else {
|
|
5480
5679
|
s1 = peg$FAILED;
|
|
5481
5680
|
if (peg$silentFails === 0) {
|
|
5482
|
-
peg$fail(peg$
|
|
5681
|
+
peg$fail(peg$e53);
|
|
5483
5682
|
}
|
|
5484
5683
|
}
|
|
5485
5684
|
if (s1 !== peg$FAILED) {
|
|
@@ -5510,7 +5709,7 @@ function peg$parse(input, options) {
|
|
|
5510
5709
|
} else {
|
|
5511
5710
|
s5 = peg$FAILED;
|
|
5512
5711
|
if (peg$silentFails === 0) {
|
|
5513
|
-
peg$fail(peg$
|
|
5712
|
+
peg$fail(peg$e54);
|
|
5514
5713
|
}
|
|
5515
5714
|
}
|
|
5516
5715
|
if (s5 !== peg$FAILED) {
|
|
@@ -5552,7 +5751,7 @@ function peg$parse(input, options) {
|
|
|
5552
5751
|
} else {
|
|
5553
5752
|
s5 = peg$FAILED;
|
|
5554
5753
|
if (peg$silentFails === 0) {
|
|
5555
|
-
peg$fail(peg$
|
|
5754
|
+
peg$fail(peg$e54);
|
|
5556
5755
|
}
|
|
5557
5756
|
}
|
|
5558
5757
|
if (s5 !== peg$FAILED) {
|