@wireweave/core 1.1.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 +5151 -2219
- package/dist/index.d.cts +783 -4
- package/dist/index.d.ts +783 -4
- package/dist/index.js +5120 -2216
- package/dist/parser.cjs +1017 -474
- package/dist/parser.d.cts +1 -1
- package/dist/parser.d.ts +1 -1
- package/dist/parser.js +1017 -474
- package/dist/renderer.cjs +1244 -1673
- package/dist/renderer.d.cts +42 -133
- package/dist/renderer.d.ts +42 -133
- package/dist/renderer.js +1244 -1670
- package/dist/{types-DtovIYS6.d.cts → types-lcJzPcR0.d.cts} +40 -2
- package/dist/{types-DtovIYS6.d.ts → types-lcJzPcR0.d.ts} +40 -2
- package/package.json +1 -1
package/dist/parser.js
CHANGED
|
@@ -138,45 +138,46 @@ 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 = "
|
|
179
|
-
const peg$c69 = "
|
|
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
|
+
const peg$c69 = "\n";
|
|
180
|
+
const peg$c70 = "*/";
|
|
180
181
|
const peg$r0 = /^[=[{}]/;
|
|
181
182
|
const peg$r1 = /^[a-zA-Z0-9_\-]/;
|
|
182
183
|
const peg$r2 = /^[0-9]/;
|
|
@@ -214,58 +215,59 @@ function peg$parse(input, options) {
|
|
|
214
215
|
const peg$e28 = peg$literalExpectation("badge", false);
|
|
215
216
|
const peg$e29 = peg$literalExpectation("icon", false);
|
|
216
217
|
const peg$e30 = peg$literalExpectation("table", false);
|
|
217
|
-
const peg$e31 = peg$literalExpectation("
|
|
218
|
-
const peg$e32 = peg$literalExpectation("
|
|
219
|
-
const peg$e33 = peg$literalExpectation("
|
|
220
|
-
const peg$e34 = peg$literalExpectation("
|
|
221
|
-
const peg$e35 = peg$literalExpectation("
|
|
222
|
-
const peg$e36 = peg$literalExpectation("
|
|
223
|
-
const peg$e37 = peg$literalExpectation("
|
|
224
|
-
const peg$e38 = peg$literalExpectation("
|
|
225
|
-
const peg$e39 = peg$literalExpectation("
|
|
226
|
-
const peg$e40 = peg$literalExpectation("
|
|
227
|
-
const peg$e41 = peg$literalExpectation("
|
|
228
|
-
const peg$e42 = peg$literalExpectation("
|
|
229
|
-
const peg$e43 = peg$literalExpectation("
|
|
230
|
-
const peg$e44 = peg$literalExpectation("
|
|
231
|
-
const peg$e45 = peg$literalExpectation("
|
|
232
|
-
const peg$e46 = peg$literalExpectation("
|
|
233
|
-
const peg$e47 = peg$
|
|
234
|
-
const peg$e48 = peg$literalExpectation("
|
|
235
|
-
const peg$e49 = peg$literalExpectation("
|
|
236
|
-
const peg$e50 = peg$
|
|
237
|
-
const peg$e51 = peg$classExpectation([
|
|
238
|
-
const peg$e52 = peg$
|
|
239
|
-
const peg$e53 = peg$literalExpectation(
|
|
240
|
-
const peg$e54 = peg$
|
|
241
|
-
const peg$e55 = peg$
|
|
242
|
-
const peg$e56 = peg$
|
|
243
|
-
const peg$e57 = peg$literalExpectation("
|
|
244
|
-
const peg$e58 = peg$literalExpectation("
|
|
245
|
-
const peg$e59 = peg$
|
|
246
|
-
const peg$e60 = peg$literalExpectation("
|
|
247
|
-
const peg$e61 = peg$
|
|
248
|
-
const peg$e62 = peg$literalExpectation("
|
|
249
|
-
const peg$e63 = peg$otherExpectation("
|
|
250
|
-
const peg$e64 = peg$literalExpectation("
|
|
251
|
-
const peg$e65 = peg$
|
|
252
|
-
const peg$e66 = peg$literalExpectation("
|
|
253
|
-
const peg$e67 = peg$
|
|
254
|
-
const peg$e68 = peg$literalExpectation("
|
|
255
|
-
const peg$e69 = peg$literalExpectation("
|
|
256
|
-
const peg$e70 = peg$
|
|
257
|
-
const peg$e71 = peg$literalExpectation("
|
|
258
|
-
const peg$e72 = peg$literalExpectation("
|
|
259
|
-
const peg$e73 = peg$
|
|
260
|
-
const peg$e74 = peg$
|
|
261
|
-
const peg$e75 = peg$literalExpectation("
|
|
262
|
-
const peg$e76 = peg$literalExpectation("
|
|
263
|
-
const peg$e77 = peg$
|
|
264
|
-
const peg$e78 = peg$classExpectation([" ", "
|
|
265
|
-
const peg$e79 = peg$
|
|
266
|
-
const peg$e80 = peg$
|
|
267
|
-
const peg$e81 = peg$
|
|
268
|
-
const peg$e82 = peg$literalExpectation("
|
|
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
|
+
const peg$e79 = peg$classExpectation([" ", " ", "\n", "\r"], false, false, false);
|
|
267
|
+
const peg$e80 = peg$otherExpectation("comment");
|
|
268
|
+
const peg$e81 = peg$classExpectation(["\n"], true, false, false);
|
|
269
|
+
const peg$e82 = peg$literalExpectation("\n", false);
|
|
270
|
+
const peg$e83 = peg$literalExpectation("*/", false);
|
|
269
271
|
function peg$f0(children) {
|
|
270
272
|
return createNode("Document", { children: children.filter((c) => c !== null) });
|
|
271
273
|
}
|
|
@@ -429,10 +431,11 @@ function peg$parse(input, options) {
|
|
|
429
431
|
...attrsToObject(attrs)
|
|
430
432
|
});
|
|
431
433
|
}
|
|
432
|
-
function peg$f28(label, attrs) {
|
|
434
|
+
function peg$f28(label, attrs, block) {
|
|
433
435
|
return createNode("Placeholder", {
|
|
434
436
|
label: label || null,
|
|
435
|
-
...attrsToObject(attrs)
|
|
437
|
+
...attrsToObject(attrs),
|
|
438
|
+
children: block ? block[2] : []
|
|
436
439
|
});
|
|
437
440
|
}
|
|
438
441
|
function peg$f29(label, attrs) {
|
|
@@ -453,13 +456,25 @@ function peg$parse(input, options) {
|
|
|
453
456
|
...attrsToObject(attrs)
|
|
454
457
|
});
|
|
455
458
|
}
|
|
456
|
-
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) {
|
|
457
469
|
return createNode("Table", {
|
|
458
470
|
...attrsToObject(attrs),
|
|
459
471
|
...rows
|
|
460
472
|
});
|
|
461
473
|
}
|
|
462
|
-
function peg$
|
|
474
|
+
function peg$f34(first, rest) {
|
|
475
|
+
return [first, ...rest.map((r) => r[2])];
|
|
476
|
+
}
|
|
477
|
+
function peg$f35(items) {
|
|
463
478
|
const columns = [];
|
|
464
479
|
const rows = [];
|
|
465
480
|
for (const item of items.map((i) => i[0]).filter((i) => i !== null)) {
|
|
@@ -468,198 +483,244 @@ function peg$parse(input, options) {
|
|
|
468
483
|
}
|
|
469
484
|
return { columns, rows };
|
|
470
485
|
}
|
|
471
|
-
function peg$
|
|
486
|
+
function peg$f36(values) {
|
|
472
487
|
return { type: "columns", values };
|
|
473
488
|
}
|
|
474
|
-
function peg$
|
|
489
|
+
function peg$f37(values) {
|
|
475
490
|
return { type: "row", values };
|
|
476
491
|
}
|
|
477
|
-
function peg$
|
|
492
|
+
function peg$f38() {
|
|
478
493
|
return null;
|
|
479
494
|
}
|
|
480
|
-
function peg$
|
|
495
|
+
function peg$f39(items, attrs, block) {
|
|
481
496
|
return createNode("List", {
|
|
482
497
|
items: items || (block ? block : []),
|
|
483
498
|
...attrsToObject(attrs)
|
|
484
499
|
});
|
|
485
500
|
}
|
|
486
|
-
function peg$
|
|
501
|
+
function peg$f40(items) {
|
|
487
502
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
488
503
|
}
|
|
489
|
-
function peg$
|
|
504
|
+
function peg$f41(label, attrs, nested) {
|
|
490
505
|
return {
|
|
491
506
|
content: label,
|
|
492
507
|
...attrsToObject(attrs),
|
|
493
508
|
children: nested || []
|
|
494
509
|
};
|
|
495
510
|
}
|
|
496
|
-
function peg$
|
|
511
|
+
function peg$f42() {
|
|
497
512
|
return null;
|
|
498
513
|
}
|
|
499
|
-
function peg$
|
|
514
|
+
function peg$f43(label, attrs) {
|
|
500
515
|
return createNode("Alert", {
|
|
501
516
|
content: label,
|
|
502
517
|
...attrsToObject(attrs)
|
|
503
518
|
});
|
|
504
519
|
}
|
|
505
|
-
function peg$
|
|
520
|
+
function peg$f44(label, attrs) {
|
|
506
521
|
return createNode("Toast", {
|
|
507
522
|
content: label,
|
|
508
523
|
...attrsToObject(attrs)
|
|
509
524
|
});
|
|
510
525
|
}
|
|
511
|
-
function peg$
|
|
526
|
+
function peg$f45(attrs) {
|
|
512
527
|
return createNode("Progress", {
|
|
513
528
|
...attrsToObject(attrs)
|
|
514
529
|
});
|
|
515
530
|
}
|
|
516
|
-
function peg$
|
|
531
|
+
function peg$f46(label, attrs) {
|
|
517
532
|
return createNode("Spinner", {
|
|
518
533
|
label: label || null,
|
|
519
534
|
...attrsToObject(attrs)
|
|
520
535
|
});
|
|
521
536
|
}
|
|
522
|
-
function peg$
|
|
537
|
+
function peg$f47(label, attrs) {
|
|
523
538
|
return createNode("Tooltip", {
|
|
524
539
|
content: label,
|
|
525
540
|
...attrsToObject(attrs),
|
|
526
541
|
children: []
|
|
527
542
|
});
|
|
528
543
|
}
|
|
529
|
-
function peg$
|
|
544
|
+
function peg$f48(label, attrs, children) {
|
|
530
545
|
return createNode("Popover", {
|
|
531
546
|
title: label || null,
|
|
532
547
|
...attrsToObject(attrs),
|
|
533
548
|
children
|
|
534
549
|
});
|
|
535
550
|
}
|
|
536
|
-
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) {
|
|
537
567
|
return createNode("Dropdown", {
|
|
538
568
|
...attrsToObject(attrs),
|
|
539
569
|
items
|
|
540
570
|
});
|
|
541
571
|
}
|
|
542
|
-
function peg$
|
|
572
|
+
function peg$f51(items) {
|
|
543
573
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
544
574
|
}
|
|
545
|
-
function peg$
|
|
575
|
+
function peg$f52(label, attrs) {
|
|
546
576
|
return { label, ...attrsToObject(attrs) };
|
|
547
577
|
}
|
|
548
|
-
function peg$
|
|
578
|
+
function peg$f53() {
|
|
549
579
|
return { type: "divider" };
|
|
550
580
|
}
|
|
551
|
-
function peg$
|
|
581
|
+
function peg$f54() {
|
|
552
582
|
return null;
|
|
553
583
|
}
|
|
554
|
-
function peg$
|
|
584
|
+
function peg$f55(items, attrs, block) {
|
|
555
585
|
return createNode("Nav", {
|
|
556
586
|
items: items || [],
|
|
557
|
-
...attrsToObject(attrs)
|
|
587
|
+
...attrsToObject(attrs),
|
|
588
|
+
children: block || []
|
|
558
589
|
});
|
|
559
590
|
}
|
|
560
|
-
function peg$
|
|
591
|
+
function peg$f56(content) {
|
|
592
|
+
return content.map((c) => c[0]).filter((c) => c !== null);
|
|
593
|
+
}
|
|
594
|
+
function peg$f57() {
|
|
595
|
+
return { type: "divider" };
|
|
596
|
+
}
|
|
597
|
+
function peg$f58() {
|
|
598
|
+
return null;
|
|
599
|
+
}
|
|
600
|
+
function peg$f59(label, attrs, items) {
|
|
601
|
+
return {
|
|
602
|
+
type: "group",
|
|
603
|
+
label,
|
|
604
|
+
...attrsToObject(attrs),
|
|
605
|
+
items: items.map((i) => i[0]).filter((i) => i !== null)
|
|
606
|
+
};
|
|
607
|
+
}
|
|
608
|
+
function peg$f60() {
|
|
609
|
+
return { type: "divider" };
|
|
610
|
+
}
|
|
611
|
+
function peg$f61() {
|
|
612
|
+
return null;
|
|
613
|
+
}
|
|
614
|
+
function peg$f62(label, attrs) {
|
|
615
|
+
return {
|
|
616
|
+
type: "item",
|
|
617
|
+
label,
|
|
618
|
+
...attrsToObject(attrs)
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
function peg$f63(items, attrs, block) {
|
|
561
622
|
return createNode("Tabs", {
|
|
562
623
|
items: items || [],
|
|
563
624
|
...attrsToObject(attrs),
|
|
564
625
|
children: block || []
|
|
565
626
|
});
|
|
566
627
|
}
|
|
567
|
-
function peg$
|
|
628
|
+
function peg$f64(tabs) {
|
|
568
629
|
return tabs.map((t) => t[0]).filter((t) => t !== null);
|
|
569
630
|
}
|
|
570
|
-
function peg$
|
|
631
|
+
function peg$f65(label, attrs, children) {
|
|
571
632
|
return {
|
|
572
633
|
label,
|
|
573
634
|
...attrsToObject(attrs),
|
|
574
635
|
children
|
|
575
636
|
};
|
|
576
637
|
}
|
|
577
|
-
function peg$
|
|
638
|
+
function peg$f66() {
|
|
578
639
|
return null;
|
|
579
640
|
}
|
|
580
|
-
function peg$
|
|
641
|
+
function peg$f67(items, attrs) {
|
|
581
642
|
return createNode("Breadcrumb", {
|
|
582
643
|
items,
|
|
583
644
|
...attrsToObject(attrs)
|
|
584
645
|
});
|
|
585
646
|
}
|
|
586
|
-
function peg$
|
|
647
|
+
function peg$f68(attrs) {
|
|
587
648
|
return createNode("Divider", {
|
|
588
649
|
...attrsToObject(attrs)
|
|
589
650
|
});
|
|
590
651
|
}
|
|
591
|
-
function peg$
|
|
652
|
+
function peg$f69(attrs) {
|
|
592
653
|
return attrs;
|
|
593
654
|
}
|
|
594
|
-
function peg$
|
|
655
|
+
function peg$f70(name, value) {
|
|
595
656
|
return { name, value };
|
|
596
657
|
}
|
|
597
|
-
function peg$
|
|
658
|
+
function peg$f71(flag) {
|
|
598
659
|
return { name: flag, value: true };
|
|
599
660
|
}
|
|
600
|
-
function peg$
|
|
661
|
+
function peg$f72(name) {
|
|
601
662
|
return name;
|
|
602
663
|
}
|
|
603
|
-
function peg$
|
|
664
|
+
function peg$f73(chars) {
|
|
604
665
|
return chars.join("");
|
|
605
666
|
}
|
|
606
|
-
function peg$
|
|
667
|
+
function peg$f74(chars) {
|
|
607
668
|
return chars.join("");
|
|
608
669
|
}
|
|
609
|
-
function peg$
|
|
670
|
+
function peg$f75(char) {
|
|
610
671
|
return char;
|
|
611
672
|
}
|
|
612
|
-
function peg$
|
|
673
|
+
function peg$f76(seq) {
|
|
613
674
|
return seq;
|
|
614
675
|
}
|
|
615
|
-
function peg$
|
|
676
|
+
function peg$f77(char) {
|
|
616
677
|
return char;
|
|
617
678
|
}
|
|
618
|
-
function peg$
|
|
679
|
+
function peg$f78(seq) {
|
|
619
680
|
return seq;
|
|
620
681
|
}
|
|
621
|
-
function peg$
|
|
682
|
+
function peg$f79() {
|
|
622
683
|
return "\n";
|
|
623
684
|
}
|
|
624
|
-
function peg$
|
|
685
|
+
function peg$f80() {
|
|
625
686
|
return "\r";
|
|
626
687
|
}
|
|
627
|
-
function peg$
|
|
688
|
+
function peg$f81() {
|
|
628
689
|
return " ";
|
|
629
690
|
}
|
|
630
|
-
function peg$
|
|
691
|
+
function peg$f82() {
|
|
631
692
|
return "\\";
|
|
632
693
|
}
|
|
633
|
-
function peg$
|
|
694
|
+
function peg$f83() {
|
|
634
695
|
return '"';
|
|
635
696
|
}
|
|
636
|
-
function peg$
|
|
697
|
+
function peg$f84() {
|
|
637
698
|
return "'";
|
|
638
699
|
}
|
|
639
|
-
function peg$
|
|
700
|
+
function peg$f85(sign, digits, decimal) {
|
|
640
701
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
641
702
|
return parseFloat(num);
|
|
642
703
|
}
|
|
643
|
-
function peg$
|
|
704
|
+
function peg$f86(sign, digits, decimal, unit) {
|
|
644
705
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
645
706
|
return { value: parseFloat(num), unit };
|
|
646
707
|
}
|
|
647
|
-
function peg$
|
|
708
|
+
function peg$f87() {
|
|
648
709
|
return true;
|
|
649
710
|
}
|
|
650
|
-
function peg$
|
|
711
|
+
function peg$f88() {
|
|
651
712
|
return false;
|
|
652
713
|
}
|
|
653
|
-
function peg$
|
|
714
|
+
function peg$f89(head, tail) {
|
|
654
715
|
return head + tail.join("");
|
|
655
716
|
}
|
|
656
|
-
function peg$
|
|
717
|
+
function peg$f90(items) {
|
|
657
718
|
return items || [];
|
|
658
719
|
}
|
|
659
|
-
function peg$
|
|
720
|
+
function peg$f91(head, tail) {
|
|
660
721
|
return [head, ...tail.map((t) => t[3])];
|
|
661
722
|
}
|
|
662
|
-
function peg$
|
|
723
|
+
function peg$f92(props) {
|
|
663
724
|
const result = {};
|
|
664
725
|
if (props) {
|
|
665
726
|
for (const p of props) {
|
|
@@ -668,13 +729,13 @@ function peg$parse(input, options) {
|
|
|
668
729
|
}
|
|
669
730
|
return result;
|
|
670
731
|
}
|
|
671
|
-
function peg$
|
|
732
|
+
function peg$f93(head, tail) {
|
|
672
733
|
return [head, ...tail.map((t) => t[3])];
|
|
673
734
|
}
|
|
674
|
-
function peg$
|
|
735
|
+
function peg$f94(name, value) {
|
|
675
736
|
return { name, value };
|
|
676
737
|
}
|
|
677
|
-
function peg$
|
|
738
|
+
function peg$f95(name) {
|
|
678
739
|
return { name, value: true };
|
|
679
740
|
}
|
|
680
741
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -2188,7 +2249,7 @@ function peg$parse(input, options) {
|
|
|
2188
2249
|
return s0;
|
|
2189
2250
|
}
|
|
2190
2251
|
function peg$parsePlaceholder() {
|
|
2191
|
-
let s0, s1, s2, s3, s4, s5;
|
|
2252
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
2192
2253
|
s0 = peg$currPos;
|
|
2193
2254
|
if (input.substr(peg$currPos, 11) === peg$c26) {
|
|
2194
2255
|
s1 = peg$c26;
|
|
@@ -2210,8 +2271,51 @@ function peg$parse(input, options) {
|
|
|
2210
2271
|
if (s5 === peg$FAILED) {
|
|
2211
2272
|
s5 = null;
|
|
2212
2273
|
}
|
|
2274
|
+
s6 = peg$parse_();
|
|
2275
|
+
s7 = peg$currPos;
|
|
2276
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
2277
|
+
s8 = peg$c1;
|
|
2278
|
+
peg$currPos++;
|
|
2279
|
+
} else {
|
|
2280
|
+
s8 = peg$FAILED;
|
|
2281
|
+
if (peg$silentFails === 0) {
|
|
2282
|
+
peg$fail(peg$e1);
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
if (s8 !== peg$FAILED) {
|
|
2286
|
+
s9 = peg$parse_();
|
|
2287
|
+
s10 = peg$parseChildren();
|
|
2288
|
+
if (s10 !== peg$FAILED) {
|
|
2289
|
+
s11 = peg$parse_();
|
|
2290
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
2291
|
+
s12 = peg$c2;
|
|
2292
|
+
peg$currPos++;
|
|
2293
|
+
} else {
|
|
2294
|
+
s12 = peg$FAILED;
|
|
2295
|
+
if (peg$silentFails === 0) {
|
|
2296
|
+
peg$fail(peg$e2);
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
if (s12 !== peg$FAILED) {
|
|
2300
|
+
s8 = [s8, s9, s10, s11, s12];
|
|
2301
|
+
s7 = s8;
|
|
2302
|
+
} else {
|
|
2303
|
+
peg$currPos = s7;
|
|
2304
|
+
s7 = peg$FAILED;
|
|
2305
|
+
}
|
|
2306
|
+
} else {
|
|
2307
|
+
peg$currPos = s7;
|
|
2308
|
+
s7 = peg$FAILED;
|
|
2309
|
+
}
|
|
2310
|
+
} else {
|
|
2311
|
+
peg$currPos = s7;
|
|
2312
|
+
s7 = peg$FAILED;
|
|
2313
|
+
}
|
|
2314
|
+
if (s7 === peg$FAILED) {
|
|
2315
|
+
s7 = null;
|
|
2316
|
+
}
|
|
2213
2317
|
peg$savedPos = s0;
|
|
2214
|
-
s0 = peg$f28(s3, s5);
|
|
2318
|
+
s0 = peg$f28(s3, s5, s7);
|
|
2215
2319
|
} else {
|
|
2216
2320
|
peg$currPos = s0;
|
|
2217
2321
|
s0 = peg$FAILED;
|
|
@@ -2329,36 +2433,177 @@ function peg$parse(input, options) {
|
|
|
2329
2433
|
}
|
|
2330
2434
|
if (s1 !== peg$FAILED) {
|
|
2331
2435
|
s2 = peg$parse_();
|
|
2332
|
-
s3 = peg$
|
|
2333
|
-
if (s3
|
|
2334
|
-
|
|
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;
|
|
2335
2448
|
}
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
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;
|
|
2340
2458
|
} else {
|
|
2341
|
-
|
|
2459
|
+
s1 = peg$FAILED;
|
|
2342
2460
|
if (peg$silentFails === 0) {
|
|
2343
|
-
peg$fail(peg$
|
|
2461
|
+
peg$fail(peg$e30);
|
|
2344
2462
|
}
|
|
2345
2463
|
}
|
|
2346
|
-
if (
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
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;
|
|
2352
2473
|
peg$currPos++;
|
|
2353
2474
|
} else {
|
|
2354
|
-
|
|
2475
|
+
s5 = peg$FAILED;
|
|
2355
2476
|
if (peg$silentFails === 0) {
|
|
2356
|
-
peg$fail(peg$
|
|
2477
|
+
peg$fail(peg$e1);
|
|
2357
2478
|
}
|
|
2358
2479
|
}
|
|
2359
|
-
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) {
|
|
2360
2605
|
peg$savedPos = s0;
|
|
2361
|
-
s0 = peg$
|
|
2606
|
+
s0 = peg$f34(s3, s5);
|
|
2362
2607
|
} else {
|
|
2363
2608
|
peg$currPos = s0;
|
|
2364
2609
|
s0 = peg$FAILED;
|
|
@@ -2401,20 +2646,20 @@ function peg$parse(input, options) {
|
|
|
2401
2646
|
}
|
|
2402
2647
|
}
|
|
2403
2648
|
peg$savedPos = s0;
|
|
2404
|
-
s1 = peg$
|
|
2649
|
+
s1 = peg$f35(s1);
|
|
2405
2650
|
s0 = s1;
|
|
2406
2651
|
return s0;
|
|
2407
2652
|
}
|
|
2408
2653
|
function peg$parseTableRow() {
|
|
2409
2654
|
let s0, s1, s2, s3;
|
|
2410
2655
|
s0 = peg$currPos;
|
|
2411
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2412
|
-
s1 = peg$
|
|
2656
|
+
if (input.substr(peg$currPos, 7) === peg$c34) {
|
|
2657
|
+
s1 = peg$c34;
|
|
2413
2658
|
peg$currPos += 7;
|
|
2414
2659
|
} else {
|
|
2415
2660
|
s1 = peg$FAILED;
|
|
2416
2661
|
if (peg$silentFails === 0) {
|
|
2417
|
-
peg$fail(peg$
|
|
2662
|
+
peg$fail(peg$e34);
|
|
2418
2663
|
}
|
|
2419
2664
|
}
|
|
2420
2665
|
if (s1 !== peg$FAILED) {
|
|
@@ -2422,7 +2667,7 @@ function peg$parse(input, options) {
|
|
|
2422
2667
|
s3 = peg$parseArray();
|
|
2423
2668
|
if (s3 !== peg$FAILED) {
|
|
2424
2669
|
peg$savedPos = s0;
|
|
2425
|
-
s0 = peg$
|
|
2670
|
+
s0 = peg$f36(s3);
|
|
2426
2671
|
} else {
|
|
2427
2672
|
peg$currPos = s0;
|
|
2428
2673
|
s0 = peg$FAILED;
|
|
@@ -2447,7 +2692,7 @@ function peg$parse(input, options) {
|
|
|
2447
2692
|
s3 = peg$parseArray();
|
|
2448
2693
|
if (s3 !== peg$FAILED) {
|
|
2449
2694
|
peg$savedPos = s0;
|
|
2450
|
-
s0 = peg$
|
|
2695
|
+
s0 = peg$f37(s3);
|
|
2451
2696
|
} else {
|
|
2452
2697
|
peg$currPos = s0;
|
|
2453
2698
|
s0 = peg$FAILED;
|
|
@@ -2461,7 +2706,7 @@ function peg$parse(input, options) {
|
|
|
2461
2706
|
s1 = peg$parseComment();
|
|
2462
2707
|
if (s1 !== peg$FAILED) {
|
|
2463
2708
|
peg$savedPos = s0;
|
|
2464
|
-
s1 = peg$
|
|
2709
|
+
s1 = peg$f38();
|
|
2465
2710
|
}
|
|
2466
2711
|
s0 = s1;
|
|
2467
2712
|
}
|
|
@@ -2471,13 +2716,13 @@ function peg$parse(input, options) {
|
|
|
2471
2716
|
function peg$parseList() {
|
|
2472
2717
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2473
2718
|
s0 = peg$currPos;
|
|
2474
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2475
|
-
s1 = peg$
|
|
2719
|
+
if (input.substr(peg$currPos, 4) === peg$c35) {
|
|
2720
|
+
s1 = peg$c35;
|
|
2476
2721
|
peg$currPos += 4;
|
|
2477
2722
|
} else {
|
|
2478
2723
|
s1 = peg$FAILED;
|
|
2479
2724
|
if (peg$silentFails === 0) {
|
|
2480
|
-
peg$fail(peg$
|
|
2725
|
+
peg$fail(peg$e35);
|
|
2481
2726
|
}
|
|
2482
2727
|
}
|
|
2483
2728
|
if (s1 !== peg$FAILED) {
|
|
@@ -2497,7 +2742,7 @@ function peg$parse(input, options) {
|
|
|
2497
2742
|
s7 = null;
|
|
2498
2743
|
}
|
|
2499
2744
|
peg$savedPos = s0;
|
|
2500
|
-
s0 = peg$
|
|
2745
|
+
s0 = peg$f39(s3, s5, s7);
|
|
2501
2746
|
} else {
|
|
2502
2747
|
peg$currPos = s0;
|
|
2503
2748
|
s0 = peg$FAILED;
|
|
@@ -2553,7 +2798,7 @@ function peg$parse(input, options) {
|
|
|
2553
2798
|
}
|
|
2554
2799
|
if (s4 !== peg$FAILED) {
|
|
2555
2800
|
peg$savedPos = s0;
|
|
2556
|
-
s0 = peg$
|
|
2801
|
+
s0 = peg$f40(s3);
|
|
2557
2802
|
} else {
|
|
2558
2803
|
peg$currPos = s0;
|
|
2559
2804
|
s0 = peg$FAILED;
|
|
@@ -2567,13 +2812,13 @@ function peg$parse(input, options) {
|
|
|
2567
2812
|
function peg$parseListItem() {
|
|
2568
2813
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2569
2814
|
s0 = peg$currPos;
|
|
2570
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2571
|
-
s1 = peg$
|
|
2815
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
2816
|
+
s1 = peg$c36;
|
|
2572
2817
|
peg$currPos += 4;
|
|
2573
2818
|
} else {
|
|
2574
2819
|
s1 = peg$FAILED;
|
|
2575
2820
|
if (peg$silentFails === 0) {
|
|
2576
|
-
peg$fail(peg$
|
|
2821
|
+
peg$fail(peg$e36);
|
|
2577
2822
|
}
|
|
2578
2823
|
}
|
|
2579
2824
|
if (s1 !== peg$FAILED) {
|
|
@@ -2591,7 +2836,7 @@ function peg$parse(input, options) {
|
|
|
2591
2836
|
s7 = null;
|
|
2592
2837
|
}
|
|
2593
2838
|
peg$savedPos = s0;
|
|
2594
|
-
s0 = peg$
|
|
2839
|
+
s0 = peg$f41(s3, s5, s7);
|
|
2595
2840
|
} else {
|
|
2596
2841
|
peg$currPos = s0;
|
|
2597
2842
|
s0 = peg$FAILED;
|
|
@@ -2605,7 +2850,7 @@ function peg$parse(input, options) {
|
|
|
2605
2850
|
s1 = peg$parseComment();
|
|
2606
2851
|
if (s1 !== peg$FAILED) {
|
|
2607
2852
|
peg$savedPos = s0;
|
|
2608
|
-
s1 = peg$
|
|
2853
|
+
s1 = peg$f42();
|
|
2609
2854
|
}
|
|
2610
2855
|
s0 = s1;
|
|
2611
2856
|
}
|
|
@@ -2614,13 +2859,13 @@ function peg$parse(input, options) {
|
|
|
2614
2859
|
function peg$parseAlert() {
|
|
2615
2860
|
let s0, s1, s2, s3, s4, s5;
|
|
2616
2861
|
s0 = peg$currPos;
|
|
2617
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2618
|
-
s1 = peg$
|
|
2862
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
2863
|
+
s1 = peg$c37;
|
|
2619
2864
|
peg$currPos += 5;
|
|
2620
2865
|
} else {
|
|
2621
2866
|
s1 = peg$FAILED;
|
|
2622
2867
|
if (peg$silentFails === 0) {
|
|
2623
|
-
peg$fail(peg$
|
|
2868
|
+
peg$fail(peg$e37);
|
|
2624
2869
|
}
|
|
2625
2870
|
}
|
|
2626
2871
|
if (s1 !== peg$FAILED) {
|
|
@@ -2633,7 +2878,7 @@ function peg$parse(input, options) {
|
|
|
2633
2878
|
s5 = null;
|
|
2634
2879
|
}
|
|
2635
2880
|
peg$savedPos = s0;
|
|
2636
|
-
s0 = peg$
|
|
2881
|
+
s0 = peg$f43(s3, s5);
|
|
2637
2882
|
} else {
|
|
2638
2883
|
peg$currPos = s0;
|
|
2639
2884
|
s0 = peg$FAILED;
|
|
@@ -2647,13 +2892,13 @@ function peg$parse(input, options) {
|
|
|
2647
2892
|
function peg$parseToast() {
|
|
2648
2893
|
let s0, s1, s2, s3, s4, s5;
|
|
2649
2894
|
s0 = peg$currPos;
|
|
2650
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2651
|
-
s1 = peg$
|
|
2895
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
2896
|
+
s1 = peg$c38;
|
|
2652
2897
|
peg$currPos += 5;
|
|
2653
2898
|
} else {
|
|
2654
2899
|
s1 = peg$FAILED;
|
|
2655
2900
|
if (peg$silentFails === 0) {
|
|
2656
|
-
peg$fail(peg$
|
|
2901
|
+
peg$fail(peg$e38);
|
|
2657
2902
|
}
|
|
2658
2903
|
}
|
|
2659
2904
|
if (s1 !== peg$FAILED) {
|
|
@@ -2666,7 +2911,7 @@ function peg$parse(input, options) {
|
|
|
2666
2911
|
s5 = null;
|
|
2667
2912
|
}
|
|
2668
2913
|
peg$savedPos = s0;
|
|
2669
|
-
s0 = peg$
|
|
2914
|
+
s0 = peg$f44(s3, s5);
|
|
2670
2915
|
} else {
|
|
2671
2916
|
peg$currPos = s0;
|
|
2672
2917
|
s0 = peg$FAILED;
|
|
@@ -2680,13 +2925,13 @@ function peg$parse(input, options) {
|
|
|
2680
2925
|
function peg$parseProgress() {
|
|
2681
2926
|
let s0, s1, s2, s3;
|
|
2682
2927
|
s0 = peg$currPos;
|
|
2683
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2684
|
-
s1 = peg$
|
|
2928
|
+
if (input.substr(peg$currPos, 8) === peg$c39) {
|
|
2929
|
+
s1 = peg$c39;
|
|
2685
2930
|
peg$currPos += 8;
|
|
2686
2931
|
} else {
|
|
2687
2932
|
s1 = peg$FAILED;
|
|
2688
2933
|
if (peg$silentFails === 0) {
|
|
2689
|
-
peg$fail(peg$
|
|
2934
|
+
peg$fail(peg$e39);
|
|
2690
2935
|
}
|
|
2691
2936
|
}
|
|
2692
2937
|
if (s1 !== peg$FAILED) {
|
|
@@ -2696,7 +2941,7 @@ function peg$parse(input, options) {
|
|
|
2696
2941
|
s3 = null;
|
|
2697
2942
|
}
|
|
2698
2943
|
peg$savedPos = s0;
|
|
2699
|
-
s0 = peg$
|
|
2944
|
+
s0 = peg$f45(s3);
|
|
2700
2945
|
} else {
|
|
2701
2946
|
peg$currPos = s0;
|
|
2702
2947
|
s0 = peg$FAILED;
|
|
@@ -2706,13 +2951,13 @@ function peg$parse(input, options) {
|
|
|
2706
2951
|
function peg$parseSpinner() {
|
|
2707
2952
|
let s0, s1, s2, s3, s4, s5;
|
|
2708
2953
|
s0 = peg$currPos;
|
|
2709
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2710
|
-
s1 = peg$
|
|
2954
|
+
if (input.substr(peg$currPos, 7) === peg$c40) {
|
|
2955
|
+
s1 = peg$c40;
|
|
2711
2956
|
peg$currPos += 7;
|
|
2712
2957
|
} else {
|
|
2713
2958
|
s1 = peg$FAILED;
|
|
2714
2959
|
if (peg$silentFails === 0) {
|
|
2715
|
-
peg$fail(peg$
|
|
2960
|
+
peg$fail(peg$e40);
|
|
2716
2961
|
}
|
|
2717
2962
|
}
|
|
2718
2963
|
if (s1 !== peg$FAILED) {
|
|
@@ -2727,7 +2972,7 @@ function peg$parse(input, options) {
|
|
|
2727
2972
|
s5 = null;
|
|
2728
2973
|
}
|
|
2729
2974
|
peg$savedPos = s0;
|
|
2730
|
-
s0 = peg$
|
|
2975
|
+
s0 = peg$f46(s3, s5);
|
|
2731
2976
|
} else {
|
|
2732
2977
|
peg$currPos = s0;
|
|
2733
2978
|
s0 = peg$FAILED;
|
|
@@ -2737,13 +2982,13 @@ function peg$parse(input, options) {
|
|
|
2737
2982
|
function peg$parseTooltip() {
|
|
2738
2983
|
let s0, s1, s2, s3, s4, s5;
|
|
2739
2984
|
s0 = peg$currPos;
|
|
2740
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2741
|
-
s1 = peg$
|
|
2985
|
+
if (input.substr(peg$currPos, 7) === peg$c41) {
|
|
2986
|
+
s1 = peg$c41;
|
|
2742
2987
|
peg$currPos += 7;
|
|
2743
2988
|
} else {
|
|
2744
2989
|
s1 = peg$FAILED;
|
|
2745
2990
|
if (peg$silentFails === 0) {
|
|
2746
|
-
peg$fail(peg$
|
|
2991
|
+
peg$fail(peg$e41);
|
|
2747
2992
|
}
|
|
2748
2993
|
}
|
|
2749
2994
|
if (s1 !== peg$FAILED) {
|
|
@@ -2756,7 +3001,7 @@ function peg$parse(input, options) {
|
|
|
2756
3001
|
s5 = null;
|
|
2757
3002
|
}
|
|
2758
3003
|
peg$savedPos = s0;
|
|
2759
|
-
s0 = peg$
|
|
3004
|
+
s0 = peg$f47(s3, s5);
|
|
2760
3005
|
} else {
|
|
2761
3006
|
peg$currPos = s0;
|
|
2762
3007
|
s0 = peg$FAILED;
|
|
@@ -2770,13 +3015,13 @@ function peg$parse(input, options) {
|
|
|
2770
3015
|
function peg$parsePopover() {
|
|
2771
3016
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
2772
3017
|
s0 = peg$currPos;
|
|
2773
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2774
|
-
s1 = peg$
|
|
3018
|
+
if (input.substr(peg$currPos, 7) === peg$c42) {
|
|
3019
|
+
s1 = peg$c42;
|
|
2775
3020
|
peg$currPos += 7;
|
|
2776
3021
|
} else {
|
|
2777
3022
|
s1 = peg$FAILED;
|
|
2778
3023
|
if (peg$silentFails === 0) {
|
|
2779
|
-
peg$fail(peg$
|
|
3024
|
+
peg$fail(peg$e42);
|
|
2780
3025
|
}
|
|
2781
3026
|
}
|
|
2782
3027
|
if (s1 !== peg$FAILED) {
|
|
@@ -2816,7 +3061,7 @@ function peg$parse(input, options) {
|
|
|
2816
3061
|
}
|
|
2817
3062
|
if (s11 !== peg$FAILED) {
|
|
2818
3063
|
peg$savedPos = s0;
|
|
2819
|
-
s0 = peg$
|
|
3064
|
+
s0 = peg$f48(s3, s5, s9);
|
|
2820
3065
|
} else {
|
|
2821
3066
|
peg$currPos = s0;
|
|
2822
3067
|
s0 = peg$FAILED;
|
|
@@ -2838,47 +3083,81 @@ function peg$parse(input, options) {
|
|
|
2838
3083
|
function peg$parseDropdown() {
|
|
2839
3084
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
2840
3085
|
s0 = peg$currPos;
|
|
2841
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2842
|
-
s1 = peg$
|
|
3086
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
3087
|
+
s1 = peg$c43;
|
|
2843
3088
|
peg$currPos += 8;
|
|
2844
3089
|
} else {
|
|
2845
3090
|
s1 = peg$FAILED;
|
|
2846
3091
|
if (peg$silentFails === 0) {
|
|
2847
|
-
peg$fail(peg$
|
|
3092
|
+
peg$fail(peg$e43);
|
|
2848
3093
|
}
|
|
2849
3094
|
}
|
|
2850
3095
|
if (s1 !== peg$FAILED) {
|
|
2851
3096
|
s2 = peg$parse_();
|
|
2852
|
-
s3 = peg$
|
|
2853
|
-
if (s3
|
|
2854
|
-
|
|
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;
|
|
2855
3109
|
}
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
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;
|
|
2860
3119
|
} else {
|
|
2861
|
-
|
|
3120
|
+
s1 = peg$FAILED;
|
|
2862
3121
|
if (peg$silentFails === 0) {
|
|
2863
|
-
peg$fail(peg$
|
|
3122
|
+
peg$fail(peg$e43);
|
|
2864
3123
|
}
|
|
2865
3124
|
}
|
|
2866
|
-
if (
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
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;
|
|
2872
3134
|
peg$currPos++;
|
|
2873
3135
|
} else {
|
|
2874
|
-
|
|
3136
|
+
s5 = peg$FAILED;
|
|
2875
3137
|
if (peg$silentFails === 0) {
|
|
2876
|
-
peg$fail(peg$
|
|
3138
|
+
peg$fail(peg$e1);
|
|
2877
3139
|
}
|
|
2878
3140
|
}
|
|
2879
|
-
if (
|
|
2880
|
-
|
|
2881
|
-
|
|
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
|
+
}
|
|
2882
3161
|
} else {
|
|
2883
3162
|
peg$currPos = s0;
|
|
2884
3163
|
s0 = peg$FAILED;
|
|
@@ -2887,9 +3166,6 @@ function peg$parse(input, options) {
|
|
|
2887
3166
|
peg$currPos = s0;
|
|
2888
3167
|
s0 = peg$FAILED;
|
|
2889
3168
|
}
|
|
2890
|
-
} else {
|
|
2891
|
-
peg$currPos = s0;
|
|
2892
|
-
s0 = peg$FAILED;
|
|
2893
3169
|
}
|
|
2894
3170
|
return s0;
|
|
2895
3171
|
}
|
|
@@ -2921,20 +3197,20 @@ function peg$parse(input, options) {
|
|
|
2921
3197
|
}
|
|
2922
3198
|
}
|
|
2923
3199
|
peg$savedPos = s0;
|
|
2924
|
-
s1 = peg$
|
|
3200
|
+
s1 = peg$f51(s1);
|
|
2925
3201
|
s0 = s1;
|
|
2926
3202
|
return s0;
|
|
2927
3203
|
}
|
|
2928
3204
|
function peg$parseDropdownItem() {
|
|
2929
3205
|
let s0, s1, s2, s3, s4, s5;
|
|
2930
3206
|
s0 = peg$currPos;
|
|
2931
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2932
|
-
s1 = peg$
|
|
3207
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
3208
|
+
s1 = peg$c36;
|
|
2933
3209
|
peg$currPos += 4;
|
|
2934
3210
|
} else {
|
|
2935
3211
|
s1 = peg$FAILED;
|
|
2936
3212
|
if (peg$silentFails === 0) {
|
|
2937
|
-
peg$fail(peg$
|
|
3213
|
+
peg$fail(peg$e36);
|
|
2938
3214
|
}
|
|
2939
3215
|
}
|
|
2940
3216
|
if (s1 !== peg$FAILED) {
|
|
@@ -2947,7 +3223,7 @@ function peg$parse(input, options) {
|
|
|
2947
3223
|
s5 = null;
|
|
2948
3224
|
}
|
|
2949
3225
|
peg$savedPos = s0;
|
|
2950
|
-
s0 = peg$
|
|
3226
|
+
s0 = peg$f52(s3, s5);
|
|
2951
3227
|
} else {
|
|
2952
3228
|
peg$currPos = s0;
|
|
2953
3229
|
s0 = peg$FAILED;
|
|
@@ -2958,18 +3234,18 @@ function peg$parse(input, options) {
|
|
|
2958
3234
|
}
|
|
2959
3235
|
if (s0 === peg$FAILED) {
|
|
2960
3236
|
s0 = peg$currPos;
|
|
2961
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2962
|
-
s1 = peg$
|
|
3237
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3238
|
+
s1 = peg$c44;
|
|
2963
3239
|
peg$currPos += 7;
|
|
2964
3240
|
} else {
|
|
2965
3241
|
s1 = peg$FAILED;
|
|
2966
3242
|
if (peg$silentFails === 0) {
|
|
2967
|
-
peg$fail(peg$
|
|
3243
|
+
peg$fail(peg$e44);
|
|
2968
3244
|
}
|
|
2969
3245
|
}
|
|
2970
3246
|
if (s1 !== peg$FAILED) {
|
|
2971
3247
|
peg$savedPos = s0;
|
|
2972
|
-
s1 = peg$
|
|
3248
|
+
s1 = peg$f53();
|
|
2973
3249
|
}
|
|
2974
3250
|
s0 = s1;
|
|
2975
3251
|
if (s0 === peg$FAILED) {
|
|
@@ -2977,7 +3253,7 @@ function peg$parse(input, options) {
|
|
|
2977
3253
|
s1 = peg$parseComment();
|
|
2978
3254
|
if (s1 !== peg$FAILED) {
|
|
2979
3255
|
peg$savedPos = s0;
|
|
2980
|
-
s1 = peg$
|
|
3256
|
+
s1 = peg$f54();
|
|
2981
3257
|
}
|
|
2982
3258
|
s0 = s1;
|
|
2983
3259
|
}
|
|
@@ -2985,15 +3261,15 @@ function peg$parse(input, options) {
|
|
|
2985
3261
|
return s0;
|
|
2986
3262
|
}
|
|
2987
3263
|
function peg$parseNav() {
|
|
2988
|
-
let s0, s1, s2, s3, s4, s5;
|
|
3264
|
+
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2989
3265
|
s0 = peg$currPos;
|
|
2990
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
2991
|
-
s1 = peg$
|
|
3266
|
+
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
3267
|
+
s1 = peg$c45;
|
|
2992
3268
|
peg$currPos += 3;
|
|
2993
3269
|
} else {
|
|
2994
3270
|
s1 = peg$FAILED;
|
|
2995
3271
|
if (peg$silentFails === 0) {
|
|
2996
|
-
peg$fail(peg$
|
|
3272
|
+
peg$fail(peg$e45);
|
|
2997
3273
|
}
|
|
2998
3274
|
}
|
|
2999
3275
|
if (s1 !== peg$FAILED) {
|
|
@@ -3007,8 +3283,264 @@ function peg$parse(input, options) {
|
|
|
3007
3283
|
if (s5 === peg$FAILED) {
|
|
3008
3284
|
s5 = null;
|
|
3009
3285
|
}
|
|
3286
|
+
s6 = peg$parse_();
|
|
3287
|
+
s7 = peg$parseNavBlock();
|
|
3288
|
+
if (s7 === peg$FAILED) {
|
|
3289
|
+
s7 = null;
|
|
3290
|
+
}
|
|
3010
3291
|
peg$savedPos = s0;
|
|
3011
|
-
s0 = peg$
|
|
3292
|
+
s0 = peg$f55(s3, s5, s7);
|
|
3293
|
+
} else {
|
|
3294
|
+
peg$currPos = s0;
|
|
3295
|
+
s0 = peg$FAILED;
|
|
3296
|
+
}
|
|
3297
|
+
return s0;
|
|
3298
|
+
}
|
|
3299
|
+
function peg$parseNavBlock() {
|
|
3300
|
+
let s0, s1, s2, s3, s4, s5, s6;
|
|
3301
|
+
s0 = peg$currPos;
|
|
3302
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3303
|
+
s1 = peg$c1;
|
|
3304
|
+
peg$currPos++;
|
|
3305
|
+
} else {
|
|
3306
|
+
s1 = peg$FAILED;
|
|
3307
|
+
if (peg$silentFails === 0) {
|
|
3308
|
+
peg$fail(peg$e1);
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
if (s1 !== peg$FAILED) {
|
|
3312
|
+
s2 = peg$parse_();
|
|
3313
|
+
s3 = [];
|
|
3314
|
+
s4 = peg$currPos;
|
|
3315
|
+
s5 = peg$parseNavBlockItem();
|
|
3316
|
+
if (s5 !== peg$FAILED) {
|
|
3317
|
+
s6 = peg$parse_();
|
|
3318
|
+
s5 = [s5, s6];
|
|
3319
|
+
s4 = s5;
|
|
3320
|
+
} else {
|
|
3321
|
+
peg$currPos = s4;
|
|
3322
|
+
s4 = peg$FAILED;
|
|
3323
|
+
}
|
|
3324
|
+
while (s4 !== peg$FAILED) {
|
|
3325
|
+
s3.push(s4);
|
|
3326
|
+
s4 = peg$currPos;
|
|
3327
|
+
s5 = peg$parseNavBlockItem();
|
|
3328
|
+
if (s5 !== peg$FAILED) {
|
|
3329
|
+
s6 = peg$parse_();
|
|
3330
|
+
s5 = [s5, s6];
|
|
3331
|
+
s4 = s5;
|
|
3332
|
+
} else {
|
|
3333
|
+
peg$currPos = s4;
|
|
3334
|
+
s4 = peg$FAILED;
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3338
|
+
s4 = peg$c2;
|
|
3339
|
+
peg$currPos++;
|
|
3340
|
+
} else {
|
|
3341
|
+
s4 = peg$FAILED;
|
|
3342
|
+
if (peg$silentFails === 0) {
|
|
3343
|
+
peg$fail(peg$e2);
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3346
|
+
if (s4 !== peg$FAILED) {
|
|
3347
|
+
peg$savedPos = s0;
|
|
3348
|
+
s0 = peg$f56(s3);
|
|
3349
|
+
} else {
|
|
3350
|
+
peg$currPos = s0;
|
|
3351
|
+
s0 = peg$FAILED;
|
|
3352
|
+
}
|
|
3353
|
+
} else {
|
|
3354
|
+
peg$currPos = s0;
|
|
3355
|
+
s0 = peg$FAILED;
|
|
3356
|
+
}
|
|
3357
|
+
return s0;
|
|
3358
|
+
}
|
|
3359
|
+
function peg$parseNavBlockItem() {
|
|
3360
|
+
let s0, s1, s2;
|
|
3361
|
+
s0 = peg$parseNavGroup();
|
|
3362
|
+
if (s0 === peg$FAILED) {
|
|
3363
|
+
s0 = peg$parseNavItem();
|
|
3364
|
+
if (s0 === peg$FAILED) {
|
|
3365
|
+
s0 = peg$currPos;
|
|
3366
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3367
|
+
s1 = peg$c44;
|
|
3368
|
+
peg$currPos += 7;
|
|
3369
|
+
} else {
|
|
3370
|
+
s1 = peg$FAILED;
|
|
3371
|
+
if (peg$silentFails === 0) {
|
|
3372
|
+
peg$fail(peg$e44);
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
if (s1 !== peg$FAILED) {
|
|
3376
|
+
s2 = peg$parse_();
|
|
3377
|
+
peg$savedPos = s0;
|
|
3378
|
+
s0 = peg$f57();
|
|
3379
|
+
} else {
|
|
3380
|
+
peg$currPos = s0;
|
|
3381
|
+
s0 = peg$FAILED;
|
|
3382
|
+
}
|
|
3383
|
+
if (s0 === peg$FAILED) {
|
|
3384
|
+
s0 = peg$currPos;
|
|
3385
|
+
s1 = peg$parseComment();
|
|
3386
|
+
if (s1 !== peg$FAILED) {
|
|
3387
|
+
peg$savedPos = s0;
|
|
3388
|
+
s1 = peg$f58();
|
|
3389
|
+
}
|
|
3390
|
+
s0 = s1;
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3393
|
+
}
|
|
3394
|
+
return s0;
|
|
3395
|
+
}
|
|
3396
|
+
function peg$parseNavGroup() {
|
|
3397
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
3398
|
+
s0 = peg$currPos;
|
|
3399
|
+
if (input.substr(peg$currPos, 5) === peg$c46) {
|
|
3400
|
+
s1 = peg$c46;
|
|
3401
|
+
peg$currPos += 5;
|
|
3402
|
+
} else {
|
|
3403
|
+
s1 = peg$FAILED;
|
|
3404
|
+
if (peg$silentFails === 0) {
|
|
3405
|
+
peg$fail(peg$e46);
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
if (s1 !== peg$FAILED) {
|
|
3409
|
+
s2 = peg$parse_();
|
|
3410
|
+
s3 = peg$parseStringLiteral();
|
|
3411
|
+
if (s3 !== peg$FAILED) {
|
|
3412
|
+
s4 = peg$parse_();
|
|
3413
|
+
s5 = peg$parseAttributes();
|
|
3414
|
+
if (s5 === peg$FAILED) {
|
|
3415
|
+
s5 = null;
|
|
3416
|
+
}
|
|
3417
|
+
s6 = peg$parse_();
|
|
3418
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3419
|
+
s7 = peg$c1;
|
|
3420
|
+
peg$currPos++;
|
|
3421
|
+
} else {
|
|
3422
|
+
s7 = peg$FAILED;
|
|
3423
|
+
if (peg$silentFails === 0) {
|
|
3424
|
+
peg$fail(peg$e1);
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
if (s7 !== peg$FAILED) {
|
|
3428
|
+
s8 = peg$parse_();
|
|
3429
|
+
s9 = [];
|
|
3430
|
+
s10 = peg$currPos;
|
|
3431
|
+
s11 = peg$parseNavGroupItem();
|
|
3432
|
+
if (s11 !== peg$FAILED) {
|
|
3433
|
+
s12 = peg$parse_();
|
|
3434
|
+
s11 = [s11, s12];
|
|
3435
|
+
s10 = s11;
|
|
3436
|
+
} else {
|
|
3437
|
+
peg$currPos = s10;
|
|
3438
|
+
s10 = peg$FAILED;
|
|
3439
|
+
}
|
|
3440
|
+
while (s10 !== peg$FAILED) {
|
|
3441
|
+
s9.push(s10);
|
|
3442
|
+
s10 = peg$currPos;
|
|
3443
|
+
s11 = peg$parseNavGroupItem();
|
|
3444
|
+
if (s11 !== peg$FAILED) {
|
|
3445
|
+
s12 = peg$parse_();
|
|
3446
|
+
s11 = [s11, s12];
|
|
3447
|
+
s10 = s11;
|
|
3448
|
+
} else {
|
|
3449
|
+
peg$currPos = s10;
|
|
3450
|
+
s10 = peg$FAILED;
|
|
3451
|
+
}
|
|
3452
|
+
}
|
|
3453
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3454
|
+
s10 = peg$c2;
|
|
3455
|
+
peg$currPos++;
|
|
3456
|
+
} else {
|
|
3457
|
+
s10 = peg$FAILED;
|
|
3458
|
+
if (peg$silentFails === 0) {
|
|
3459
|
+
peg$fail(peg$e2);
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
3462
|
+
if (s10 !== peg$FAILED) {
|
|
3463
|
+
peg$savedPos = s0;
|
|
3464
|
+
s0 = peg$f59(s3, s5, s9);
|
|
3465
|
+
} else {
|
|
3466
|
+
peg$currPos = s0;
|
|
3467
|
+
s0 = peg$FAILED;
|
|
3468
|
+
}
|
|
3469
|
+
} else {
|
|
3470
|
+
peg$currPos = s0;
|
|
3471
|
+
s0 = peg$FAILED;
|
|
3472
|
+
}
|
|
3473
|
+
} else {
|
|
3474
|
+
peg$currPos = s0;
|
|
3475
|
+
s0 = peg$FAILED;
|
|
3476
|
+
}
|
|
3477
|
+
} else {
|
|
3478
|
+
peg$currPos = s0;
|
|
3479
|
+
s0 = peg$FAILED;
|
|
3480
|
+
}
|
|
3481
|
+
return s0;
|
|
3482
|
+
}
|
|
3483
|
+
function peg$parseNavGroupItem() {
|
|
3484
|
+
let s0, s1, s2;
|
|
3485
|
+
s0 = peg$parseNavItem();
|
|
3486
|
+
if (s0 === peg$FAILED) {
|
|
3487
|
+
s0 = peg$currPos;
|
|
3488
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3489
|
+
s1 = peg$c44;
|
|
3490
|
+
peg$currPos += 7;
|
|
3491
|
+
} else {
|
|
3492
|
+
s1 = peg$FAILED;
|
|
3493
|
+
if (peg$silentFails === 0) {
|
|
3494
|
+
peg$fail(peg$e44);
|
|
3495
|
+
}
|
|
3496
|
+
}
|
|
3497
|
+
if (s1 !== peg$FAILED) {
|
|
3498
|
+
s2 = peg$parse_();
|
|
3499
|
+
peg$savedPos = s0;
|
|
3500
|
+
s0 = peg$f60();
|
|
3501
|
+
} else {
|
|
3502
|
+
peg$currPos = s0;
|
|
3503
|
+
s0 = peg$FAILED;
|
|
3504
|
+
}
|
|
3505
|
+
if (s0 === peg$FAILED) {
|
|
3506
|
+
s0 = peg$currPos;
|
|
3507
|
+
s1 = peg$parseComment();
|
|
3508
|
+
if (s1 !== peg$FAILED) {
|
|
3509
|
+
peg$savedPos = s0;
|
|
3510
|
+
s1 = peg$f61();
|
|
3511
|
+
}
|
|
3512
|
+
s0 = s1;
|
|
3513
|
+
}
|
|
3514
|
+
}
|
|
3515
|
+
return s0;
|
|
3516
|
+
}
|
|
3517
|
+
function peg$parseNavItem() {
|
|
3518
|
+
let s0, s1, s2, s3, s4, s5;
|
|
3519
|
+
s0 = peg$currPos;
|
|
3520
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
3521
|
+
s1 = peg$c36;
|
|
3522
|
+
peg$currPos += 4;
|
|
3523
|
+
} else {
|
|
3524
|
+
s1 = peg$FAILED;
|
|
3525
|
+
if (peg$silentFails === 0) {
|
|
3526
|
+
peg$fail(peg$e36);
|
|
3527
|
+
}
|
|
3528
|
+
}
|
|
3529
|
+
if (s1 !== peg$FAILED) {
|
|
3530
|
+
s2 = peg$parse_();
|
|
3531
|
+
s3 = peg$parseStringLiteral();
|
|
3532
|
+
if (s3 !== peg$FAILED) {
|
|
3533
|
+
s4 = peg$parse_();
|
|
3534
|
+
s5 = peg$parseAttributes();
|
|
3535
|
+
if (s5 === peg$FAILED) {
|
|
3536
|
+
s5 = null;
|
|
3537
|
+
}
|
|
3538
|
+
peg$savedPos = s0;
|
|
3539
|
+
s0 = peg$f62(s3, s5);
|
|
3540
|
+
} else {
|
|
3541
|
+
peg$currPos = s0;
|
|
3542
|
+
s0 = peg$FAILED;
|
|
3543
|
+
}
|
|
3012
3544
|
} else {
|
|
3013
3545
|
peg$currPos = s0;
|
|
3014
3546
|
s0 = peg$FAILED;
|
|
@@ -3018,13 +3550,13 @@ function peg$parse(input, options) {
|
|
|
3018
3550
|
function peg$parseTabs() {
|
|
3019
3551
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3020
3552
|
s0 = peg$currPos;
|
|
3021
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3022
|
-
s1 = peg$
|
|
3553
|
+
if (input.substr(peg$currPos, 4) === peg$c47) {
|
|
3554
|
+
s1 = peg$c47;
|
|
3023
3555
|
peg$currPos += 4;
|
|
3024
3556
|
} else {
|
|
3025
3557
|
s1 = peg$FAILED;
|
|
3026
3558
|
if (peg$silentFails === 0) {
|
|
3027
|
-
peg$fail(peg$
|
|
3559
|
+
peg$fail(peg$e47);
|
|
3028
3560
|
}
|
|
3029
3561
|
}
|
|
3030
3562
|
if (s1 !== peg$FAILED) {
|
|
@@ -3044,7 +3576,7 @@ function peg$parse(input, options) {
|
|
|
3044
3576
|
s7 = null;
|
|
3045
3577
|
}
|
|
3046
3578
|
peg$savedPos = s0;
|
|
3047
|
-
s0 = peg$
|
|
3579
|
+
s0 = peg$f63(s3, s5, s7);
|
|
3048
3580
|
} else {
|
|
3049
3581
|
peg$currPos = s0;
|
|
3050
3582
|
s0 = peg$FAILED;
|
|
@@ -3100,7 +3632,7 @@ function peg$parse(input, options) {
|
|
|
3100
3632
|
}
|
|
3101
3633
|
if (s4 !== peg$FAILED) {
|
|
3102
3634
|
peg$savedPos = s0;
|
|
3103
|
-
s0 = peg$
|
|
3635
|
+
s0 = peg$f64(s3);
|
|
3104
3636
|
} else {
|
|
3105
3637
|
peg$currPos = s0;
|
|
3106
3638
|
s0 = peg$FAILED;
|
|
@@ -3114,13 +3646,13 @@ function peg$parse(input, options) {
|
|
|
3114
3646
|
function peg$parseTabItem() {
|
|
3115
3647
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
3116
3648
|
s0 = peg$currPos;
|
|
3117
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3118
|
-
s1 = peg$
|
|
3649
|
+
if (input.substr(peg$currPos, 3) === peg$c48) {
|
|
3650
|
+
s1 = peg$c48;
|
|
3119
3651
|
peg$currPos += 3;
|
|
3120
3652
|
} else {
|
|
3121
3653
|
s1 = peg$FAILED;
|
|
3122
3654
|
if (peg$silentFails === 0) {
|
|
3123
|
-
peg$fail(peg$
|
|
3655
|
+
peg$fail(peg$e48);
|
|
3124
3656
|
}
|
|
3125
3657
|
}
|
|
3126
3658
|
if (s1 !== peg$FAILED) {
|
|
@@ -3158,7 +3690,7 @@ function peg$parse(input, options) {
|
|
|
3158
3690
|
}
|
|
3159
3691
|
if (s11 !== peg$FAILED) {
|
|
3160
3692
|
peg$savedPos = s0;
|
|
3161
|
-
s0 = peg$
|
|
3693
|
+
s0 = peg$f65(s3, s5, s9);
|
|
3162
3694
|
} else {
|
|
3163
3695
|
peg$currPos = s0;
|
|
3164
3696
|
s0 = peg$FAILED;
|
|
@@ -3184,7 +3716,7 @@ function peg$parse(input, options) {
|
|
|
3184
3716
|
s1 = peg$parseComment();
|
|
3185
3717
|
if (s1 !== peg$FAILED) {
|
|
3186
3718
|
peg$savedPos = s0;
|
|
3187
|
-
s1 = peg$
|
|
3719
|
+
s1 = peg$f66();
|
|
3188
3720
|
}
|
|
3189
3721
|
s0 = s1;
|
|
3190
3722
|
}
|
|
@@ -3193,13 +3725,13 @@ function peg$parse(input, options) {
|
|
|
3193
3725
|
function peg$parseBreadcrumb() {
|
|
3194
3726
|
let s0, s1, s2, s3, s4, s5;
|
|
3195
3727
|
s0 = peg$currPos;
|
|
3196
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
3197
|
-
s1 = peg$
|
|
3728
|
+
if (input.substr(peg$currPos, 10) === peg$c49) {
|
|
3729
|
+
s1 = peg$c49;
|
|
3198
3730
|
peg$currPos += 10;
|
|
3199
3731
|
} else {
|
|
3200
3732
|
s1 = peg$FAILED;
|
|
3201
3733
|
if (peg$silentFails === 0) {
|
|
3202
|
-
peg$fail(peg$
|
|
3734
|
+
peg$fail(peg$e49);
|
|
3203
3735
|
}
|
|
3204
3736
|
}
|
|
3205
3737
|
if (s1 !== peg$FAILED) {
|
|
@@ -3212,7 +3744,7 @@ function peg$parse(input, options) {
|
|
|
3212
3744
|
s5 = null;
|
|
3213
3745
|
}
|
|
3214
3746
|
peg$savedPos = s0;
|
|
3215
|
-
s0 = peg$
|
|
3747
|
+
s0 = peg$f67(s3, s5);
|
|
3216
3748
|
} else {
|
|
3217
3749
|
peg$currPos = s0;
|
|
3218
3750
|
s0 = peg$FAILED;
|
|
@@ -3226,13 +3758,13 @@ function peg$parse(input, options) {
|
|
|
3226
3758
|
function peg$parseDivider() {
|
|
3227
3759
|
let s0, s1, s2, s3;
|
|
3228
3760
|
s0 = peg$currPos;
|
|
3229
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3230
|
-
s1 = peg$
|
|
3761
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3762
|
+
s1 = peg$c44;
|
|
3231
3763
|
peg$currPos += 7;
|
|
3232
3764
|
} else {
|
|
3233
3765
|
s1 = peg$FAILED;
|
|
3234
3766
|
if (peg$silentFails === 0) {
|
|
3235
|
-
peg$fail(peg$
|
|
3767
|
+
peg$fail(peg$e44);
|
|
3236
3768
|
}
|
|
3237
3769
|
}
|
|
3238
3770
|
if (s1 !== peg$FAILED) {
|
|
@@ -3242,7 +3774,7 @@ function peg$parse(input, options) {
|
|
|
3242
3774
|
s3 = null;
|
|
3243
3775
|
}
|
|
3244
3776
|
peg$savedPos = s0;
|
|
3245
|
-
s0 = peg$
|
|
3777
|
+
s0 = peg$f68(s3);
|
|
3246
3778
|
} else {
|
|
3247
3779
|
peg$currPos = s0;
|
|
3248
3780
|
s0 = peg$FAILED;
|
|
@@ -3264,7 +3796,7 @@ function peg$parse(input, options) {
|
|
|
3264
3796
|
}
|
|
3265
3797
|
if (s1 !== peg$FAILED) {
|
|
3266
3798
|
peg$savedPos = s0;
|
|
3267
|
-
s1 = peg$
|
|
3799
|
+
s1 = peg$f69(s1);
|
|
3268
3800
|
}
|
|
3269
3801
|
s0 = s1;
|
|
3270
3802
|
return s0;
|
|
@@ -3277,12 +3809,12 @@ function peg$parse(input, options) {
|
|
|
3277
3809
|
if (s2 !== peg$FAILED) {
|
|
3278
3810
|
s3 = peg$parse_();
|
|
3279
3811
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
3280
|
-
s4 = peg$
|
|
3812
|
+
s4 = peg$c50;
|
|
3281
3813
|
peg$currPos++;
|
|
3282
3814
|
} else {
|
|
3283
3815
|
s4 = peg$FAILED;
|
|
3284
3816
|
if (peg$silentFails === 0) {
|
|
3285
|
-
peg$fail(peg$
|
|
3817
|
+
peg$fail(peg$e50);
|
|
3286
3818
|
}
|
|
3287
3819
|
}
|
|
3288
3820
|
if (s4 !== peg$FAILED) {
|
|
@@ -3290,7 +3822,7 @@ function peg$parse(input, options) {
|
|
|
3290
3822
|
s6 = peg$parseAttributeValue();
|
|
3291
3823
|
if (s6 !== peg$FAILED) {
|
|
3292
3824
|
peg$savedPos = s0;
|
|
3293
|
-
s0 = peg$
|
|
3825
|
+
s0 = peg$f70(s2, s6);
|
|
3294
3826
|
} else {
|
|
3295
3827
|
peg$currPos = s0;
|
|
3296
3828
|
s0 = peg$FAILED;
|
|
@@ -3322,27 +3854,27 @@ function peg$parse(input, options) {
|
|
|
3322
3854
|
} else {
|
|
3323
3855
|
s6 = peg$FAILED;
|
|
3324
3856
|
if (peg$silentFails === 0) {
|
|
3325
|
-
peg$fail(peg$
|
|
3857
|
+
peg$fail(peg$e51);
|
|
3326
3858
|
}
|
|
3327
3859
|
}
|
|
3328
3860
|
if (s6 === peg$FAILED) {
|
|
3329
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3330
|
-
s6 = peg$
|
|
3861
|
+
if (input.substr(peg$currPos, 2) === peg$c51) {
|
|
3862
|
+
s6 = peg$c51;
|
|
3331
3863
|
peg$currPos += 2;
|
|
3332
3864
|
} else {
|
|
3333
3865
|
s6 = peg$FAILED;
|
|
3334
3866
|
if (peg$silentFails === 0) {
|
|
3335
|
-
peg$fail(peg$
|
|
3867
|
+
peg$fail(peg$e52);
|
|
3336
3868
|
}
|
|
3337
3869
|
}
|
|
3338
3870
|
if (s6 === peg$FAILED) {
|
|
3339
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3340
|
-
s6 = peg$
|
|
3871
|
+
if (input.substr(peg$currPos, 2) === peg$c52) {
|
|
3872
|
+
s6 = peg$c52;
|
|
3341
3873
|
peg$currPos += 2;
|
|
3342
3874
|
} else {
|
|
3343
3875
|
s6 = peg$FAILED;
|
|
3344
3876
|
if (peg$silentFails === 0) {
|
|
3345
|
-
peg$fail(peg$
|
|
3877
|
+
peg$fail(peg$e53);
|
|
3346
3878
|
}
|
|
3347
3879
|
}
|
|
3348
3880
|
if (s6 === peg$FAILED) {
|
|
@@ -3354,7 +3886,7 @@ function peg$parse(input, options) {
|
|
|
3354
3886
|
} else {
|
|
3355
3887
|
s7 = peg$FAILED;
|
|
3356
3888
|
if (peg$silentFails === 0) {
|
|
3357
|
-
peg$fail(peg$
|
|
3889
|
+
peg$fail(peg$e54);
|
|
3358
3890
|
}
|
|
3359
3891
|
}
|
|
3360
3892
|
peg$silentFails--;
|
|
@@ -3385,7 +3917,7 @@ function peg$parse(input, options) {
|
|
|
3385
3917
|
}
|
|
3386
3918
|
if (s3 !== peg$FAILED) {
|
|
3387
3919
|
peg$savedPos = s0;
|
|
3388
|
-
s0 = peg$
|
|
3920
|
+
s0 = peg$f71(s2);
|
|
3389
3921
|
} else {
|
|
3390
3922
|
peg$currPos = s0;
|
|
3391
3923
|
s0 = peg$FAILED;
|
|
@@ -3414,7 +3946,7 @@ function peg$parse(input, options) {
|
|
|
3414
3946
|
s2 = peg$parseIdentifier();
|
|
3415
3947
|
if (s2 !== peg$FAILED) {
|
|
3416
3948
|
peg$savedPos = s0;
|
|
3417
|
-
s0 = peg$
|
|
3949
|
+
s0 = peg$f72(s2);
|
|
3418
3950
|
} else {
|
|
3419
3951
|
peg$currPos = s0;
|
|
3420
3952
|
s0 = peg$FAILED;
|
|
@@ -3688,153 +4220,164 @@ function peg$parse(input, options) {
|
|
|
3688
4220
|
}
|
|
3689
4221
|
}
|
|
3690
4222
|
if (s1 === peg$FAILED) {
|
|
3691
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3692
|
-
s1 = peg$
|
|
4223
|
+
if (input.substr(peg$currPos, 7) === peg$c34) {
|
|
4224
|
+
s1 = peg$c34;
|
|
3693
4225
|
peg$currPos += 7;
|
|
3694
4226
|
} else {
|
|
3695
4227
|
s1 = peg$FAILED;
|
|
3696
4228
|
if (peg$silentFails === 0) {
|
|
3697
|
-
peg$fail(peg$
|
|
4229
|
+
peg$fail(peg$e34);
|
|
3698
4230
|
}
|
|
3699
4231
|
}
|
|
3700
4232
|
if (s1 === peg$FAILED) {
|
|
3701
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3702
|
-
s1 = peg$
|
|
4233
|
+
if (input.substr(peg$currPos, 4) === peg$c35) {
|
|
4234
|
+
s1 = peg$c35;
|
|
3703
4235
|
peg$currPos += 4;
|
|
3704
4236
|
} else {
|
|
3705
4237
|
s1 = peg$FAILED;
|
|
3706
4238
|
if (peg$silentFails === 0) {
|
|
3707
|
-
peg$fail(peg$
|
|
4239
|
+
peg$fail(peg$e35);
|
|
3708
4240
|
}
|
|
3709
4241
|
}
|
|
3710
4242
|
if (s1 === peg$FAILED) {
|
|
3711
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3712
|
-
s1 = peg$
|
|
4243
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
4244
|
+
s1 = peg$c36;
|
|
3713
4245
|
peg$currPos += 4;
|
|
3714
4246
|
} else {
|
|
3715
4247
|
s1 = peg$FAILED;
|
|
3716
4248
|
if (peg$silentFails === 0) {
|
|
3717
|
-
peg$fail(peg$
|
|
4249
|
+
peg$fail(peg$e36);
|
|
3718
4250
|
}
|
|
3719
4251
|
}
|
|
3720
4252
|
if (s1 === peg$FAILED) {
|
|
3721
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
3722
|
-
s1 = peg$
|
|
4253
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
4254
|
+
s1 = peg$c37;
|
|
3723
4255
|
peg$currPos += 5;
|
|
3724
4256
|
} else {
|
|
3725
4257
|
s1 = peg$FAILED;
|
|
3726
4258
|
if (peg$silentFails === 0) {
|
|
3727
|
-
peg$fail(peg$
|
|
4259
|
+
peg$fail(peg$e37);
|
|
3728
4260
|
}
|
|
3729
4261
|
}
|
|
3730
4262
|
if (s1 === peg$FAILED) {
|
|
3731
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
3732
|
-
s1 = peg$
|
|
4263
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
4264
|
+
s1 = peg$c38;
|
|
3733
4265
|
peg$currPos += 5;
|
|
3734
4266
|
} else {
|
|
3735
4267
|
s1 = peg$FAILED;
|
|
3736
4268
|
if (peg$silentFails === 0) {
|
|
3737
|
-
peg$fail(peg$
|
|
4269
|
+
peg$fail(peg$e38);
|
|
3738
4270
|
}
|
|
3739
4271
|
}
|
|
3740
4272
|
if (s1 === peg$FAILED) {
|
|
3741
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
3742
|
-
s1 = peg$
|
|
4273
|
+
if (input.substr(peg$currPos, 8) === peg$c39) {
|
|
4274
|
+
s1 = peg$c39;
|
|
3743
4275
|
peg$currPos += 8;
|
|
3744
4276
|
} else {
|
|
3745
4277
|
s1 = peg$FAILED;
|
|
3746
4278
|
if (peg$silentFails === 0) {
|
|
3747
|
-
peg$fail(peg$
|
|
4279
|
+
peg$fail(peg$e39);
|
|
3748
4280
|
}
|
|
3749
4281
|
}
|
|
3750
4282
|
if (s1 === peg$FAILED) {
|
|
3751
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3752
|
-
s1 = peg$
|
|
4283
|
+
if (input.substr(peg$currPos, 7) === peg$c40) {
|
|
4284
|
+
s1 = peg$c40;
|
|
3753
4285
|
peg$currPos += 7;
|
|
3754
4286
|
} else {
|
|
3755
4287
|
s1 = peg$FAILED;
|
|
3756
4288
|
if (peg$silentFails === 0) {
|
|
3757
|
-
peg$fail(peg$
|
|
4289
|
+
peg$fail(peg$e40);
|
|
3758
4290
|
}
|
|
3759
4291
|
}
|
|
3760
4292
|
if (s1 === peg$FAILED) {
|
|
3761
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3762
|
-
s1 = peg$
|
|
4293
|
+
if (input.substr(peg$currPos, 7) === peg$c41) {
|
|
4294
|
+
s1 = peg$c41;
|
|
3763
4295
|
peg$currPos += 7;
|
|
3764
4296
|
} else {
|
|
3765
4297
|
s1 = peg$FAILED;
|
|
3766
4298
|
if (peg$silentFails === 0) {
|
|
3767
|
-
peg$fail(peg$
|
|
4299
|
+
peg$fail(peg$e41);
|
|
3768
4300
|
}
|
|
3769
4301
|
}
|
|
3770
4302
|
if (s1 === peg$FAILED) {
|
|
3771
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3772
|
-
s1 = peg$
|
|
4303
|
+
if (input.substr(peg$currPos, 7) === peg$c42) {
|
|
4304
|
+
s1 = peg$c42;
|
|
3773
4305
|
peg$currPos += 7;
|
|
3774
4306
|
} else {
|
|
3775
4307
|
s1 = peg$FAILED;
|
|
3776
4308
|
if (peg$silentFails === 0) {
|
|
3777
|
-
peg$fail(peg$
|
|
4309
|
+
peg$fail(peg$e42);
|
|
3778
4310
|
}
|
|
3779
4311
|
}
|
|
3780
4312
|
if (s1 === peg$FAILED) {
|
|
3781
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
3782
|
-
s1 = peg$
|
|
4313
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
4314
|
+
s1 = peg$c43;
|
|
3783
4315
|
peg$currPos += 8;
|
|
3784
4316
|
} else {
|
|
3785
4317
|
s1 = peg$FAILED;
|
|
3786
4318
|
if (peg$silentFails === 0) {
|
|
3787
|
-
peg$fail(peg$
|
|
4319
|
+
peg$fail(peg$e43);
|
|
3788
4320
|
}
|
|
3789
4321
|
}
|
|
3790
4322
|
if (s1 === peg$FAILED) {
|
|
3791
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3792
|
-
s1 = peg$
|
|
4323
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
4324
|
+
s1 = peg$c44;
|
|
3793
4325
|
peg$currPos += 7;
|
|
3794
4326
|
} else {
|
|
3795
4327
|
s1 = peg$FAILED;
|
|
3796
4328
|
if (peg$silentFails === 0) {
|
|
3797
|
-
peg$fail(peg$
|
|
4329
|
+
peg$fail(peg$e44);
|
|
3798
4330
|
}
|
|
3799
4331
|
}
|
|
3800
4332
|
if (s1 === peg$FAILED) {
|
|
3801
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3802
|
-
s1 = peg$
|
|
4333
|
+
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
4334
|
+
s1 = peg$c45;
|
|
3803
4335
|
peg$currPos += 3;
|
|
3804
4336
|
} else {
|
|
3805
4337
|
s1 = peg$FAILED;
|
|
3806
4338
|
if (peg$silentFails === 0) {
|
|
3807
|
-
peg$fail(peg$
|
|
4339
|
+
peg$fail(peg$e45);
|
|
3808
4340
|
}
|
|
3809
4341
|
}
|
|
3810
4342
|
if (s1 === peg$FAILED) {
|
|
3811
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3812
|
-
s1 = peg$
|
|
4343
|
+
if (input.substr(peg$currPos, 4) === peg$c47) {
|
|
4344
|
+
s1 = peg$c47;
|
|
3813
4345
|
peg$currPos += 4;
|
|
3814
4346
|
} else {
|
|
3815
4347
|
s1 = peg$FAILED;
|
|
3816
4348
|
if (peg$silentFails === 0) {
|
|
3817
|
-
peg$fail(peg$
|
|
4349
|
+
peg$fail(peg$e47);
|
|
3818
4350
|
}
|
|
3819
4351
|
}
|
|
3820
4352
|
if (s1 === peg$FAILED) {
|
|
3821
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3822
|
-
s1 = peg$
|
|
4353
|
+
if (input.substr(peg$currPos, 3) === peg$c48) {
|
|
4354
|
+
s1 = peg$c48;
|
|
3823
4355
|
peg$currPos += 3;
|
|
3824
4356
|
} else {
|
|
3825
4357
|
s1 = peg$FAILED;
|
|
3826
4358
|
if (peg$silentFails === 0) {
|
|
3827
|
-
peg$fail(peg$
|
|
4359
|
+
peg$fail(peg$e48);
|
|
3828
4360
|
}
|
|
3829
4361
|
}
|
|
3830
4362
|
if (s1 === peg$FAILED) {
|
|
3831
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
3832
|
-
s1 = peg$
|
|
4363
|
+
if (input.substr(peg$currPos, 10) === peg$c49) {
|
|
4364
|
+
s1 = peg$c49;
|
|
3833
4365
|
peg$currPos += 10;
|
|
3834
4366
|
} else {
|
|
3835
4367
|
s1 = peg$FAILED;
|
|
3836
4368
|
if (peg$silentFails === 0) {
|
|
3837
|
-
peg$fail(peg$
|
|
4369
|
+
peg$fail(peg$e49);
|
|
4370
|
+
}
|
|
4371
|
+
}
|
|
4372
|
+
if (s1 === peg$FAILED) {
|
|
4373
|
+
if (input.substr(peg$currPos, 5) === peg$c46) {
|
|
4374
|
+
s1 = peg$c46;
|
|
4375
|
+
peg$currPos += 5;
|
|
4376
|
+
} else {
|
|
4377
|
+
s1 = peg$FAILED;
|
|
4378
|
+
if (peg$silentFails === 0) {
|
|
4379
|
+
peg$fail(peg$e46);
|
|
4380
|
+
}
|
|
3838
4381
|
}
|
|
3839
4382
|
}
|
|
3840
4383
|
}
|
|
@@ -3909,7 +4452,7 @@ function peg$parse(input, options) {
|
|
|
3909
4452
|
} else {
|
|
3910
4453
|
s0 = peg$FAILED;
|
|
3911
4454
|
if (peg$silentFails === 0) {
|
|
3912
|
-
peg$fail(peg$
|
|
4455
|
+
peg$fail(peg$e55);
|
|
3913
4456
|
}
|
|
3914
4457
|
}
|
|
3915
4458
|
return s0;
|
|
@@ -3942,12 +4485,12 @@ function peg$parse(input, options) {
|
|
|
3942
4485
|
peg$silentFails++;
|
|
3943
4486
|
s0 = peg$currPos;
|
|
3944
4487
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
3945
|
-
s1 = peg$
|
|
4488
|
+
s1 = peg$c53;
|
|
3946
4489
|
peg$currPos++;
|
|
3947
4490
|
} else {
|
|
3948
4491
|
s1 = peg$FAILED;
|
|
3949
4492
|
if (peg$silentFails === 0) {
|
|
3950
|
-
peg$fail(peg$
|
|
4493
|
+
peg$fail(peg$e57);
|
|
3951
4494
|
}
|
|
3952
4495
|
}
|
|
3953
4496
|
if (s1 !== peg$FAILED) {
|
|
@@ -3958,17 +4501,17 @@ function peg$parse(input, options) {
|
|
|
3958
4501
|
s3 = peg$parseDoubleStringChar();
|
|
3959
4502
|
}
|
|
3960
4503
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
3961
|
-
s3 = peg$
|
|
4504
|
+
s3 = peg$c53;
|
|
3962
4505
|
peg$currPos++;
|
|
3963
4506
|
} else {
|
|
3964
4507
|
s3 = peg$FAILED;
|
|
3965
4508
|
if (peg$silentFails === 0) {
|
|
3966
|
-
peg$fail(peg$
|
|
4509
|
+
peg$fail(peg$e57);
|
|
3967
4510
|
}
|
|
3968
4511
|
}
|
|
3969
4512
|
if (s3 !== peg$FAILED) {
|
|
3970
4513
|
peg$savedPos = s0;
|
|
3971
|
-
s0 = peg$
|
|
4514
|
+
s0 = peg$f73(s2);
|
|
3972
4515
|
} else {
|
|
3973
4516
|
peg$currPos = s0;
|
|
3974
4517
|
s0 = peg$FAILED;
|
|
@@ -3980,12 +4523,12 @@ function peg$parse(input, options) {
|
|
|
3980
4523
|
if (s0 === peg$FAILED) {
|
|
3981
4524
|
s0 = peg$currPos;
|
|
3982
4525
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
3983
|
-
s1 = peg$
|
|
4526
|
+
s1 = peg$c54;
|
|
3984
4527
|
peg$currPos++;
|
|
3985
4528
|
} else {
|
|
3986
4529
|
s1 = peg$FAILED;
|
|
3987
4530
|
if (peg$silentFails === 0) {
|
|
3988
|
-
peg$fail(peg$
|
|
4531
|
+
peg$fail(peg$e58);
|
|
3989
4532
|
}
|
|
3990
4533
|
}
|
|
3991
4534
|
if (s1 !== peg$FAILED) {
|
|
@@ -3996,17 +4539,17 @@ function peg$parse(input, options) {
|
|
|
3996
4539
|
s3 = peg$parseSingleStringChar();
|
|
3997
4540
|
}
|
|
3998
4541
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
3999
|
-
s3 = peg$
|
|
4542
|
+
s3 = peg$c54;
|
|
4000
4543
|
peg$currPos++;
|
|
4001
4544
|
} else {
|
|
4002
4545
|
s3 = peg$FAILED;
|
|
4003
4546
|
if (peg$silentFails === 0) {
|
|
4004
|
-
peg$fail(peg$
|
|
4547
|
+
peg$fail(peg$e58);
|
|
4005
4548
|
}
|
|
4006
4549
|
}
|
|
4007
4550
|
if (s3 !== peg$FAILED) {
|
|
4008
4551
|
peg$savedPos = s0;
|
|
4009
|
-
s0 = peg$
|
|
4552
|
+
s0 = peg$f74(s2);
|
|
4010
4553
|
} else {
|
|
4011
4554
|
peg$currPos = s0;
|
|
4012
4555
|
s0 = peg$FAILED;
|
|
@@ -4020,7 +4563,7 @@ function peg$parse(input, options) {
|
|
|
4020
4563
|
if (s0 === peg$FAILED) {
|
|
4021
4564
|
s1 = peg$FAILED;
|
|
4022
4565
|
if (peg$silentFails === 0) {
|
|
4023
|
-
peg$fail(peg$
|
|
4566
|
+
peg$fail(peg$e56);
|
|
4024
4567
|
}
|
|
4025
4568
|
}
|
|
4026
4569
|
return s0;
|
|
@@ -4031,12 +4574,12 @@ function peg$parse(input, options) {
|
|
|
4031
4574
|
s1 = peg$currPos;
|
|
4032
4575
|
peg$silentFails++;
|
|
4033
4576
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4034
|
-
s2 = peg$
|
|
4577
|
+
s2 = peg$c53;
|
|
4035
4578
|
peg$currPos++;
|
|
4036
4579
|
} else {
|
|
4037
4580
|
s2 = peg$FAILED;
|
|
4038
4581
|
if (peg$silentFails === 0) {
|
|
4039
|
-
peg$fail(peg$
|
|
4582
|
+
peg$fail(peg$e57);
|
|
4040
4583
|
}
|
|
4041
4584
|
}
|
|
4042
4585
|
peg$silentFails--;
|
|
@@ -4050,12 +4593,12 @@ function peg$parse(input, options) {
|
|
|
4050
4593
|
s2 = peg$currPos;
|
|
4051
4594
|
peg$silentFails++;
|
|
4052
4595
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4053
|
-
s3 = peg$
|
|
4596
|
+
s3 = peg$c55;
|
|
4054
4597
|
peg$currPos++;
|
|
4055
4598
|
} else {
|
|
4056
4599
|
s3 = peg$FAILED;
|
|
4057
4600
|
if (peg$silentFails === 0) {
|
|
4058
|
-
peg$fail(peg$
|
|
4601
|
+
peg$fail(peg$e59);
|
|
4059
4602
|
}
|
|
4060
4603
|
}
|
|
4061
4604
|
peg$silentFails--;
|
|
@@ -4072,12 +4615,12 @@ function peg$parse(input, options) {
|
|
|
4072
4615
|
} else {
|
|
4073
4616
|
s3 = peg$FAILED;
|
|
4074
4617
|
if (peg$silentFails === 0) {
|
|
4075
|
-
peg$fail(peg$
|
|
4618
|
+
peg$fail(peg$e54);
|
|
4076
4619
|
}
|
|
4077
4620
|
}
|
|
4078
4621
|
if (s3 !== peg$FAILED) {
|
|
4079
4622
|
peg$savedPos = s0;
|
|
4080
|
-
s0 = peg$
|
|
4623
|
+
s0 = peg$f75(s3);
|
|
4081
4624
|
} else {
|
|
4082
4625
|
peg$currPos = s0;
|
|
4083
4626
|
s0 = peg$FAILED;
|
|
@@ -4093,19 +4636,19 @@ function peg$parse(input, options) {
|
|
|
4093
4636
|
if (s0 === peg$FAILED) {
|
|
4094
4637
|
s0 = peg$currPos;
|
|
4095
4638
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4096
|
-
s1 = peg$
|
|
4639
|
+
s1 = peg$c55;
|
|
4097
4640
|
peg$currPos++;
|
|
4098
4641
|
} else {
|
|
4099
4642
|
s1 = peg$FAILED;
|
|
4100
4643
|
if (peg$silentFails === 0) {
|
|
4101
|
-
peg$fail(peg$
|
|
4644
|
+
peg$fail(peg$e59);
|
|
4102
4645
|
}
|
|
4103
4646
|
}
|
|
4104
4647
|
if (s1 !== peg$FAILED) {
|
|
4105
4648
|
s2 = peg$parseEscapeSequence();
|
|
4106
4649
|
if (s2 !== peg$FAILED) {
|
|
4107
4650
|
peg$savedPos = s0;
|
|
4108
|
-
s0 = peg$
|
|
4651
|
+
s0 = peg$f76(s2);
|
|
4109
4652
|
} else {
|
|
4110
4653
|
peg$currPos = s0;
|
|
4111
4654
|
s0 = peg$FAILED;
|
|
@@ -4123,12 +4666,12 @@ function peg$parse(input, options) {
|
|
|
4123
4666
|
s1 = peg$currPos;
|
|
4124
4667
|
peg$silentFails++;
|
|
4125
4668
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4126
|
-
s2 = peg$
|
|
4669
|
+
s2 = peg$c54;
|
|
4127
4670
|
peg$currPos++;
|
|
4128
4671
|
} else {
|
|
4129
4672
|
s2 = peg$FAILED;
|
|
4130
4673
|
if (peg$silentFails === 0) {
|
|
4131
|
-
peg$fail(peg$
|
|
4674
|
+
peg$fail(peg$e58);
|
|
4132
4675
|
}
|
|
4133
4676
|
}
|
|
4134
4677
|
peg$silentFails--;
|
|
@@ -4142,12 +4685,12 @@ function peg$parse(input, options) {
|
|
|
4142
4685
|
s2 = peg$currPos;
|
|
4143
4686
|
peg$silentFails++;
|
|
4144
4687
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4145
|
-
s3 = peg$
|
|
4688
|
+
s3 = peg$c55;
|
|
4146
4689
|
peg$currPos++;
|
|
4147
4690
|
} else {
|
|
4148
4691
|
s3 = peg$FAILED;
|
|
4149
4692
|
if (peg$silentFails === 0) {
|
|
4150
|
-
peg$fail(peg$
|
|
4693
|
+
peg$fail(peg$e59);
|
|
4151
4694
|
}
|
|
4152
4695
|
}
|
|
4153
4696
|
peg$silentFails--;
|
|
@@ -4164,12 +4707,12 @@ function peg$parse(input, options) {
|
|
|
4164
4707
|
} else {
|
|
4165
4708
|
s3 = peg$FAILED;
|
|
4166
4709
|
if (peg$silentFails === 0) {
|
|
4167
|
-
peg$fail(peg$
|
|
4710
|
+
peg$fail(peg$e54);
|
|
4168
4711
|
}
|
|
4169
4712
|
}
|
|
4170
4713
|
if (s3 !== peg$FAILED) {
|
|
4171
4714
|
peg$savedPos = s0;
|
|
4172
|
-
s0 = peg$
|
|
4715
|
+
s0 = peg$f77(s3);
|
|
4173
4716
|
} else {
|
|
4174
4717
|
peg$currPos = s0;
|
|
4175
4718
|
s0 = peg$FAILED;
|
|
@@ -4185,19 +4728,19 @@ function peg$parse(input, options) {
|
|
|
4185
4728
|
if (s0 === peg$FAILED) {
|
|
4186
4729
|
s0 = peg$currPos;
|
|
4187
4730
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4188
|
-
s1 = peg$
|
|
4731
|
+
s1 = peg$c55;
|
|
4189
4732
|
peg$currPos++;
|
|
4190
4733
|
} else {
|
|
4191
4734
|
s1 = peg$FAILED;
|
|
4192
4735
|
if (peg$silentFails === 0) {
|
|
4193
|
-
peg$fail(peg$
|
|
4736
|
+
peg$fail(peg$e59);
|
|
4194
4737
|
}
|
|
4195
4738
|
}
|
|
4196
4739
|
if (s1 !== peg$FAILED) {
|
|
4197
4740
|
s2 = peg$parseEscapeSequence();
|
|
4198
4741
|
if (s2 !== peg$FAILED) {
|
|
4199
4742
|
peg$savedPos = s0;
|
|
4200
|
-
s0 = peg$
|
|
4743
|
+
s0 = peg$f78(s2);
|
|
4201
4744
|
} else {
|
|
4202
4745
|
peg$currPos = s0;
|
|
4203
4746
|
s0 = peg$FAILED;
|
|
@@ -4213,97 +4756,97 @@ function peg$parse(input, options) {
|
|
|
4213
4756
|
let s0, s1;
|
|
4214
4757
|
s0 = peg$currPos;
|
|
4215
4758
|
if (input.charCodeAt(peg$currPos) === 110) {
|
|
4216
|
-
s1 = peg$
|
|
4759
|
+
s1 = peg$c56;
|
|
4217
4760
|
peg$currPos++;
|
|
4218
4761
|
} else {
|
|
4219
4762
|
s1 = peg$FAILED;
|
|
4220
4763
|
if (peg$silentFails === 0) {
|
|
4221
|
-
peg$fail(peg$
|
|
4764
|
+
peg$fail(peg$e60);
|
|
4222
4765
|
}
|
|
4223
4766
|
}
|
|
4224
4767
|
if (s1 !== peg$FAILED) {
|
|
4225
4768
|
peg$savedPos = s0;
|
|
4226
|
-
s1 = peg$
|
|
4769
|
+
s1 = peg$f79();
|
|
4227
4770
|
}
|
|
4228
4771
|
s0 = s1;
|
|
4229
4772
|
if (s0 === peg$FAILED) {
|
|
4230
4773
|
s0 = peg$currPos;
|
|
4231
4774
|
if (input.charCodeAt(peg$currPos) === 114) {
|
|
4232
|
-
s1 = peg$
|
|
4775
|
+
s1 = peg$c57;
|
|
4233
4776
|
peg$currPos++;
|
|
4234
4777
|
} else {
|
|
4235
4778
|
s1 = peg$FAILED;
|
|
4236
4779
|
if (peg$silentFails === 0) {
|
|
4237
|
-
peg$fail(peg$
|
|
4780
|
+
peg$fail(peg$e61);
|
|
4238
4781
|
}
|
|
4239
4782
|
}
|
|
4240
4783
|
if (s1 !== peg$FAILED) {
|
|
4241
4784
|
peg$savedPos = s0;
|
|
4242
|
-
s1 = peg$
|
|
4785
|
+
s1 = peg$f80();
|
|
4243
4786
|
}
|
|
4244
4787
|
s0 = s1;
|
|
4245
4788
|
if (s0 === peg$FAILED) {
|
|
4246
4789
|
s0 = peg$currPos;
|
|
4247
4790
|
if (input.charCodeAt(peg$currPos) === 116) {
|
|
4248
|
-
s1 = peg$
|
|
4791
|
+
s1 = peg$c58;
|
|
4249
4792
|
peg$currPos++;
|
|
4250
4793
|
} else {
|
|
4251
4794
|
s1 = peg$FAILED;
|
|
4252
4795
|
if (peg$silentFails === 0) {
|
|
4253
|
-
peg$fail(peg$
|
|
4796
|
+
peg$fail(peg$e62);
|
|
4254
4797
|
}
|
|
4255
4798
|
}
|
|
4256
4799
|
if (s1 !== peg$FAILED) {
|
|
4257
4800
|
peg$savedPos = s0;
|
|
4258
|
-
s1 = peg$
|
|
4801
|
+
s1 = peg$f81();
|
|
4259
4802
|
}
|
|
4260
4803
|
s0 = s1;
|
|
4261
4804
|
if (s0 === peg$FAILED) {
|
|
4262
4805
|
s0 = peg$currPos;
|
|
4263
4806
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4264
|
-
s1 = peg$
|
|
4807
|
+
s1 = peg$c55;
|
|
4265
4808
|
peg$currPos++;
|
|
4266
4809
|
} else {
|
|
4267
4810
|
s1 = peg$FAILED;
|
|
4268
4811
|
if (peg$silentFails === 0) {
|
|
4269
|
-
peg$fail(peg$
|
|
4812
|
+
peg$fail(peg$e59);
|
|
4270
4813
|
}
|
|
4271
4814
|
}
|
|
4272
4815
|
if (s1 !== peg$FAILED) {
|
|
4273
4816
|
peg$savedPos = s0;
|
|
4274
|
-
s1 = peg$
|
|
4817
|
+
s1 = peg$f82();
|
|
4275
4818
|
}
|
|
4276
4819
|
s0 = s1;
|
|
4277
4820
|
if (s0 === peg$FAILED) {
|
|
4278
4821
|
s0 = peg$currPos;
|
|
4279
4822
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4280
|
-
s1 = peg$
|
|
4823
|
+
s1 = peg$c53;
|
|
4281
4824
|
peg$currPos++;
|
|
4282
4825
|
} else {
|
|
4283
4826
|
s1 = peg$FAILED;
|
|
4284
4827
|
if (peg$silentFails === 0) {
|
|
4285
|
-
peg$fail(peg$
|
|
4828
|
+
peg$fail(peg$e57);
|
|
4286
4829
|
}
|
|
4287
4830
|
}
|
|
4288
4831
|
if (s1 !== peg$FAILED) {
|
|
4289
4832
|
peg$savedPos = s0;
|
|
4290
|
-
s1 = peg$
|
|
4833
|
+
s1 = peg$f83();
|
|
4291
4834
|
}
|
|
4292
4835
|
s0 = s1;
|
|
4293
4836
|
if (s0 === peg$FAILED) {
|
|
4294
4837
|
s0 = peg$currPos;
|
|
4295
4838
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4296
|
-
s1 = peg$
|
|
4839
|
+
s1 = peg$c54;
|
|
4297
4840
|
peg$currPos++;
|
|
4298
4841
|
} else {
|
|
4299
4842
|
s1 = peg$FAILED;
|
|
4300
4843
|
if (peg$silentFails === 0) {
|
|
4301
|
-
peg$fail(peg$
|
|
4844
|
+
peg$fail(peg$e58);
|
|
4302
4845
|
}
|
|
4303
4846
|
}
|
|
4304
4847
|
if (s1 !== peg$FAILED) {
|
|
4305
4848
|
peg$savedPos = s0;
|
|
4306
|
-
s1 = peg$
|
|
4849
|
+
s1 = peg$f84();
|
|
4307
4850
|
}
|
|
4308
4851
|
s0 = s1;
|
|
4309
4852
|
}
|
|
@@ -4318,12 +4861,12 @@ function peg$parse(input, options) {
|
|
|
4318
4861
|
peg$silentFails++;
|
|
4319
4862
|
s0 = peg$currPos;
|
|
4320
4863
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4321
|
-
s1 = peg$
|
|
4864
|
+
s1 = peg$c59;
|
|
4322
4865
|
peg$currPos++;
|
|
4323
4866
|
} else {
|
|
4324
4867
|
s1 = peg$FAILED;
|
|
4325
4868
|
if (peg$silentFails === 0) {
|
|
4326
|
-
peg$fail(peg$
|
|
4869
|
+
peg$fail(peg$e64);
|
|
4327
4870
|
}
|
|
4328
4871
|
}
|
|
4329
4872
|
if (s1 === peg$FAILED) {
|
|
@@ -4336,7 +4879,7 @@ function peg$parse(input, options) {
|
|
|
4336
4879
|
} else {
|
|
4337
4880
|
s3 = peg$FAILED;
|
|
4338
4881
|
if (peg$silentFails === 0) {
|
|
4339
|
-
peg$fail(peg$
|
|
4882
|
+
peg$fail(peg$e65);
|
|
4340
4883
|
}
|
|
4341
4884
|
}
|
|
4342
4885
|
if (s3 !== peg$FAILED) {
|
|
@@ -4348,7 +4891,7 @@ function peg$parse(input, options) {
|
|
|
4348
4891
|
} else {
|
|
4349
4892
|
s3 = peg$FAILED;
|
|
4350
4893
|
if (peg$silentFails === 0) {
|
|
4351
|
-
peg$fail(peg$
|
|
4894
|
+
peg$fail(peg$e65);
|
|
4352
4895
|
}
|
|
4353
4896
|
}
|
|
4354
4897
|
}
|
|
@@ -4358,12 +4901,12 @@ function peg$parse(input, options) {
|
|
|
4358
4901
|
if (s2 !== peg$FAILED) {
|
|
4359
4902
|
s3 = peg$currPos;
|
|
4360
4903
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4361
|
-
s4 = peg$
|
|
4904
|
+
s4 = peg$c60;
|
|
4362
4905
|
peg$currPos++;
|
|
4363
4906
|
} else {
|
|
4364
4907
|
s4 = peg$FAILED;
|
|
4365
4908
|
if (peg$silentFails === 0) {
|
|
4366
|
-
peg$fail(peg$
|
|
4909
|
+
peg$fail(peg$e66);
|
|
4367
4910
|
}
|
|
4368
4911
|
}
|
|
4369
4912
|
if (s4 !== peg$FAILED) {
|
|
@@ -4374,7 +4917,7 @@ function peg$parse(input, options) {
|
|
|
4374
4917
|
} else {
|
|
4375
4918
|
s6 = peg$FAILED;
|
|
4376
4919
|
if (peg$silentFails === 0) {
|
|
4377
|
-
peg$fail(peg$
|
|
4920
|
+
peg$fail(peg$e65);
|
|
4378
4921
|
}
|
|
4379
4922
|
}
|
|
4380
4923
|
if (s6 !== peg$FAILED) {
|
|
@@ -4386,7 +4929,7 @@ function peg$parse(input, options) {
|
|
|
4386
4929
|
} else {
|
|
4387
4930
|
s6 = peg$FAILED;
|
|
4388
4931
|
if (peg$silentFails === 0) {
|
|
4389
|
-
peg$fail(peg$
|
|
4932
|
+
peg$fail(peg$e65);
|
|
4390
4933
|
}
|
|
4391
4934
|
}
|
|
4392
4935
|
}
|
|
@@ -4408,7 +4951,7 @@ function peg$parse(input, options) {
|
|
|
4408
4951
|
s3 = null;
|
|
4409
4952
|
}
|
|
4410
4953
|
peg$savedPos = s0;
|
|
4411
|
-
s0 = peg$
|
|
4954
|
+
s0 = peg$f85(s1, s2, s3);
|
|
4412
4955
|
} else {
|
|
4413
4956
|
peg$currPos = s0;
|
|
4414
4957
|
s0 = peg$FAILED;
|
|
@@ -4417,7 +4960,7 @@ function peg$parse(input, options) {
|
|
|
4417
4960
|
if (s0 === peg$FAILED) {
|
|
4418
4961
|
s1 = peg$FAILED;
|
|
4419
4962
|
if (peg$silentFails === 0) {
|
|
4420
|
-
peg$fail(peg$
|
|
4963
|
+
peg$fail(peg$e63);
|
|
4421
4964
|
}
|
|
4422
4965
|
}
|
|
4423
4966
|
return s0;
|
|
@@ -4427,12 +4970,12 @@ function peg$parse(input, options) {
|
|
|
4427
4970
|
peg$silentFails++;
|
|
4428
4971
|
s0 = peg$currPos;
|
|
4429
4972
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4430
|
-
s1 = peg$
|
|
4973
|
+
s1 = peg$c59;
|
|
4431
4974
|
peg$currPos++;
|
|
4432
4975
|
} else {
|
|
4433
4976
|
s1 = peg$FAILED;
|
|
4434
4977
|
if (peg$silentFails === 0) {
|
|
4435
|
-
peg$fail(peg$
|
|
4978
|
+
peg$fail(peg$e64);
|
|
4436
4979
|
}
|
|
4437
4980
|
}
|
|
4438
4981
|
if (s1 === peg$FAILED) {
|
|
@@ -4445,7 +4988,7 @@ function peg$parse(input, options) {
|
|
|
4445
4988
|
} else {
|
|
4446
4989
|
s3 = peg$FAILED;
|
|
4447
4990
|
if (peg$silentFails === 0) {
|
|
4448
|
-
peg$fail(peg$
|
|
4991
|
+
peg$fail(peg$e65);
|
|
4449
4992
|
}
|
|
4450
4993
|
}
|
|
4451
4994
|
if (s3 !== peg$FAILED) {
|
|
@@ -4457,7 +5000,7 @@ function peg$parse(input, options) {
|
|
|
4457
5000
|
} else {
|
|
4458
5001
|
s3 = peg$FAILED;
|
|
4459
5002
|
if (peg$silentFails === 0) {
|
|
4460
|
-
peg$fail(peg$
|
|
5003
|
+
peg$fail(peg$e65);
|
|
4461
5004
|
}
|
|
4462
5005
|
}
|
|
4463
5006
|
}
|
|
@@ -4467,12 +5010,12 @@ function peg$parse(input, options) {
|
|
|
4467
5010
|
if (s2 !== peg$FAILED) {
|
|
4468
5011
|
s3 = peg$currPos;
|
|
4469
5012
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4470
|
-
s4 = peg$
|
|
5013
|
+
s4 = peg$c60;
|
|
4471
5014
|
peg$currPos++;
|
|
4472
5015
|
} else {
|
|
4473
5016
|
s4 = peg$FAILED;
|
|
4474
5017
|
if (peg$silentFails === 0) {
|
|
4475
|
-
peg$fail(peg$
|
|
5018
|
+
peg$fail(peg$e66);
|
|
4476
5019
|
}
|
|
4477
5020
|
}
|
|
4478
5021
|
if (s4 !== peg$FAILED) {
|
|
@@ -4483,7 +5026,7 @@ function peg$parse(input, options) {
|
|
|
4483
5026
|
} else {
|
|
4484
5027
|
s6 = peg$FAILED;
|
|
4485
5028
|
if (peg$silentFails === 0) {
|
|
4486
|
-
peg$fail(peg$
|
|
5029
|
+
peg$fail(peg$e65);
|
|
4487
5030
|
}
|
|
4488
5031
|
}
|
|
4489
5032
|
if (s6 !== peg$FAILED) {
|
|
@@ -4495,7 +5038,7 @@ function peg$parse(input, options) {
|
|
|
4495
5038
|
} else {
|
|
4496
5039
|
s6 = peg$FAILED;
|
|
4497
5040
|
if (peg$silentFails === 0) {
|
|
4498
|
-
peg$fail(peg$
|
|
5041
|
+
peg$fail(peg$e65);
|
|
4499
5042
|
}
|
|
4500
5043
|
}
|
|
4501
5044
|
}
|
|
@@ -4516,63 +5059,63 @@ function peg$parse(input, options) {
|
|
|
4516
5059
|
if (s3 === peg$FAILED) {
|
|
4517
5060
|
s3 = null;
|
|
4518
5061
|
}
|
|
4519
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4520
|
-
s4 = peg$
|
|
5062
|
+
if (input.substr(peg$currPos, 2) === peg$c61) {
|
|
5063
|
+
s4 = peg$c61;
|
|
4521
5064
|
peg$currPos += 2;
|
|
4522
5065
|
} else {
|
|
4523
5066
|
s4 = peg$FAILED;
|
|
4524
5067
|
if (peg$silentFails === 0) {
|
|
4525
|
-
peg$fail(peg$
|
|
5068
|
+
peg$fail(peg$e68);
|
|
4526
5069
|
}
|
|
4527
5070
|
}
|
|
4528
5071
|
if (s4 === peg$FAILED) {
|
|
4529
5072
|
if (input.charCodeAt(peg$currPos) === 37) {
|
|
4530
|
-
s4 = peg$
|
|
5073
|
+
s4 = peg$c62;
|
|
4531
5074
|
peg$currPos++;
|
|
4532
5075
|
} else {
|
|
4533
5076
|
s4 = peg$FAILED;
|
|
4534
5077
|
if (peg$silentFails === 0) {
|
|
4535
|
-
peg$fail(peg$
|
|
5078
|
+
peg$fail(peg$e69);
|
|
4536
5079
|
}
|
|
4537
5080
|
}
|
|
4538
5081
|
if (s4 === peg$FAILED) {
|
|
4539
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4540
|
-
s4 = peg$
|
|
5082
|
+
if (input.substr(peg$currPos, 2) === peg$c63) {
|
|
5083
|
+
s4 = peg$c63;
|
|
4541
5084
|
peg$currPos += 2;
|
|
4542
5085
|
} else {
|
|
4543
5086
|
s4 = peg$FAILED;
|
|
4544
5087
|
if (peg$silentFails === 0) {
|
|
4545
|
-
peg$fail(peg$
|
|
5088
|
+
peg$fail(peg$e70);
|
|
4546
5089
|
}
|
|
4547
5090
|
}
|
|
4548
5091
|
if (s4 === peg$FAILED) {
|
|
4549
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4550
|
-
s4 = peg$
|
|
5092
|
+
if (input.substr(peg$currPos, 3) === peg$c64) {
|
|
5093
|
+
s4 = peg$c64;
|
|
4551
5094
|
peg$currPos += 3;
|
|
4552
5095
|
} else {
|
|
4553
5096
|
s4 = peg$FAILED;
|
|
4554
5097
|
if (peg$silentFails === 0) {
|
|
4555
|
-
peg$fail(peg$
|
|
5098
|
+
peg$fail(peg$e71);
|
|
4556
5099
|
}
|
|
4557
5100
|
}
|
|
4558
5101
|
if (s4 === peg$FAILED) {
|
|
4559
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4560
|
-
s4 = peg$
|
|
5102
|
+
if (input.substr(peg$currPos, 2) === peg$c65) {
|
|
5103
|
+
s4 = peg$c65;
|
|
4561
5104
|
peg$currPos += 2;
|
|
4562
5105
|
} else {
|
|
4563
5106
|
s4 = peg$FAILED;
|
|
4564
5107
|
if (peg$silentFails === 0) {
|
|
4565
|
-
peg$fail(peg$
|
|
5108
|
+
peg$fail(peg$e72);
|
|
4566
5109
|
}
|
|
4567
5110
|
}
|
|
4568
5111
|
if (s4 === peg$FAILED) {
|
|
4569
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4570
|
-
s4 = peg$
|
|
5112
|
+
if (input.substr(peg$currPos, 2) === peg$c66) {
|
|
5113
|
+
s4 = peg$c66;
|
|
4571
5114
|
peg$currPos += 2;
|
|
4572
5115
|
} else {
|
|
4573
5116
|
s4 = peg$FAILED;
|
|
4574
5117
|
if (peg$silentFails === 0) {
|
|
4575
|
-
peg$fail(peg$
|
|
5118
|
+
peg$fail(peg$e73);
|
|
4576
5119
|
}
|
|
4577
5120
|
}
|
|
4578
5121
|
}
|
|
@@ -4582,7 +5125,7 @@ function peg$parse(input, options) {
|
|
|
4582
5125
|
}
|
|
4583
5126
|
if (s4 !== peg$FAILED) {
|
|
4584
5127
|
peg$savedPos = s0;
|
|
4585
|
-
s0 = peg$
|
|
5128
|
+
s0 = peg$f86(s1, s2, s3, s4);
|
|
4586
5129
|
} else {
|
|
4587
5130
|
peg$currPos = s0;
|
|
4588
5131
|
s0 = peg$FAILED;
|
|
@@ -4595,7 +5138,7 @@ function peg$parse(input, options) {
|
|
|
4595
5138
|
if (s0 === peg$FAILED) {
|
|
4596
5139
|
s1 = peg$FAILED;
|
|
4597
5140
|
if (peg$silentFails === 0) {
|
|
4598
|
-
peg$fail(peg$
|
|
5141
|
+
peg$fail(peg$e67);
|
|
4599
5142
|
}
|
|
4600
5143
|
}
|
|
4601
5144
|
return s0;
|
|
@@ -4604,34 +5147,34 @@ function peg$parse(input, options) {
|
|
|
4604
5147
|
let s0, s1;
|
|
4605
5148
|
peg$silentFails++;
|
|
4606
5149
|
s0 = peg$currPos;
|
|
4607
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4608
|
-
s1 = peg$
|
|
5150
|
+
if (input.substr(peg$currPos, 4) === peg$c67) {
|
|
5151
|
+
s1 = peg$c67;
|
|
4609
5152
|
peg$currPos += 4;
|
|
4610
5153
|
} else {
|
|
4611
5154
|
s1 = peg$FAILED;
|
|
4612
5155
|
if (peg$silentFails === 0) {
|
|
4613
|
-
peg$fail(peg$
|
|
5156
|
+
peg$fail(peg$e75);
|
|
4614
5157
|
}
|
|
4615
5158
|
}
|
|
4616
5159
|
if (s1 !== peg$FAILED) {
|
|
4617
5160
|
peg$savedPos = s0;
|
|
4618
|
-
s1 = peg$
|
|
5161
|
+
s1 = peg$f87();
|
|
4619
5162
|
}
|
|
4620
5163
|
s0 = s1;
|
|
4621
5164
|
if (s0 === peg$FAILED) {
|
|
4622
5165
|
s0 = peg$currPos;
|
|
4623
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4624
|
-
s1 = peg$
|
|
5166
|
+
if (input.substr(peg$currPos, 5) === peg$c68) {
|
|
5167
|
+
s1 = peg$c68;
|
|
4625
5168
|
peg$currPos += 5;
|
|
4626
5169
|
} else {
|
|
4627
5170
|
s1 = peg$FAILED;
|
|
4628
5171
|
if (peg$silentFails === 0) {
|
|
4629
|
-
peg$fail(peg$
|
|
5172
|
+
peg$fail(peg$e76);
|
|
4630
5173
|
}
|
|
4631
5174
|
}
|
|
4632
5175
|
if (s1 !== peg$FAILED) {
|
|
4633
5176
|
peg$savedPos = s0;
|
|
4634
|
-
s1 = peg$
|
|
5177
|
+
s1 = peg$f88();
|
|
4635
5178
|
}
|
|
4636
5179
|
s0 = s1;
|
|
4637
5180
|
}
|
|
@@ -4639,7 +5182,7 @@ function peg$parse(input, options) {
|
|
|
4639
5182
|
if (s0 === peg$FAILED) {
|
|
4640
5183
|
s1 = peg$FAILED;
|
|
4641
5184
|
if (peg$silentFails === 0) {
|
|
4642
|
-
peg$fail(peg$
|
|
5185
|
+
peg$fail(peg$e74);
|
|
4643
5186
|
}
|
|
4644
5187
|
}
|
|
4645
5188
|
return s0;
|
|
@@ -4654,7 +5197,7 @@ function peg$parse(input, options) {
|
|
|
4654
5197
|
} else {
|
|
4655
5198
|
s1 = peg$FAILED;
|
|
4656
5199
|
if (peg$silentFails === 0) {
|
|
4657
|
-
peg$fail(peg$
|
|
5200
|
+
peg$fail(peg$e78);
|
|
4658
5201
|
}
|
|
4659
5202
|
}
|
|
4660
5203
|
if (s1 !== peg$FAILED) {
|
|
@@ -4665,7 +5208,7 @@ function peg$parse(input, options) {
|
|
|
4665
5208
|
} else {
|
|
4666
5209
|
s3 = peg$FAILED;
|
|
4667
5210
|
if (peg$silentFails === 0) {
|
|
4668
|
-
peg$fail(peg$
|
|
5211
|
+
peg$fail(peg$e55);
|
|
4669
5212
|
}
|
|
4670
5213
|
}
|
|
4671
5214
|
while (s3 !== peg$FAILED) {
|
|
@@ -4676,12 +5219,12 @@ function peg$parse(input, options) {
|
|
|
4676
5219
|
} else {
|
|
4677
5220
|
s3 = peg$FAILED;
|
|
4678
5221
|
if (peg$silentFails === 0) {
|
|
4679
|
-
peg$fail(peg$
|
|
5222
|
+
peg$fail(peg$e55);
|
|
4680
5223
|
}
|
|
4681
5224
|
}
|
|
4682
5225
|
}
|
|
4683
5226
|
peg$savedPos = s0;
|
|
4684
|
-
s0 = peg$
|
|
5227
|
+
s0 = peg$f89(s1, s2);
|
|
4685
5228
|
} else {
|
|
4686
5229
|
peg$currPos = s0;
|
|
4687
5230
|
s0 = peg$FAILED;
|
|
@@ -4690,7 +5233,7 @@ function peg$parse(input, options) {
|
|
|
4690
5233
|
if (s0 === peg$FAILED) {
|
|
4691
5234
|
s1 = peg$FAILED;
|
|
4692
5235
|
if (peg$silentFails === 0) {
|
|
4693
|
-
peg$fail(peg$
|
|
5236
|
+
peg$fail(peg$e77);
|
|
4694
5237
|
}
|
|
4695
5238
|
}
|
|
4696
5239
|
return s0;
|
|
@@ -4699,12 +5242,12 @@ function peg$parse(input, options) {
|
|
|
4699
5242
|
let s0, s1, s2, s3, s4, s5;
|
|
4700
5243
|
s0 = peg$currPos;
|
|
4701
5244
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
4702
|
-
s1 = peg$
|
|
5245
|
+
s1 = peg$c31;
|
|
4703
5246
|
peg$currPos++;
|
|
4704
5247
|
} else {
|
|
4705
5248
|
s1 = peg$FAILED;
|
|
4706
5249
|
if (peg$silentFails === 0) {
|
|
4707
|
-
peg$fail(peg$
|
|
5250
|
+
peg$fail(peg$e31);
|
|
4708
5251
|
}
|
|
4709
5252
|
}
|
|
4710
5253
|
if (s1 !== peg$FAILED) {
|
|
@@ -4715,17 +5258,17 @@ function peg$parse(input, options) {
|
|
|
4715
5258
|
}
|
|
4716
5259
|
s4 = peg$parse_();
|
|
4717
5260
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
4718
|
-
s5 = peg$
|
|
5261
|
+
s5 = peg$c33;
|
|
4719
5262
|
peg$currPos++;
|
|
4720
5263
|
} else {
|
|
4721
5264
|
s5 = peg$FAILED;
|
|
4722
5265
|
if (peg$silentFails === 0) {
|
|
4723
|
-
peg$fail(peg$
|
|
5266
|
+
peg$fail(peg$e33);
|
|
4724
5267
|
}
|
|
4725
5268
|
}
|
|
4726
5269
|
if (s5 !== peg$FAILED) {
|
|
4727
5270
|
peg$savedPos = s0;
|
|
4728
|
-
s0 = peg$
|
|
5271
|
+
s0 = peg$f90(s3);
|
|
4729
5272
|
} else {
|
|
4730
5273
|
peg$currPos = s0;
|
|
4731
5274
|
s0 = peg$FAILED;
|
|
@@ -4745,12 +5288,12 @@ function peg$parse(input, options) {
|
|
|
4745
5288
|
s3 = peg$currPos;
|
|
4746
5289
|
s4 = peg$parse_();
|
|
4747
5290
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4748
|
-
s5 = peg$
|
|
5291
|
+
s5 = peg$c32;
|
|
4749
5292
|
peg$currPos++;
|
|
4750
5293
|
} else {
|
|
4751
5294
|
s5 = peg$FAILED;
|
|
4752
5295
|
if (peg$silentFails === 0) {
|
|
4753
|
-
peg$fail(peg$
|
|
5296
|
+
peg$fail(peg$e32);
|
|
4754
5297
|
}
|
|
4755
5298
|
}
|
|
4756
5299
|
if (s5 === peg$FAILED) {
|
|
@@ -4770,12 +5313,12 @@ function peg$parse(input, options) {
|
|
|
4770
5313
|
s3 = peg$currPos;
|
|
4771
5314
|
s4 = peg$parse_();
|
|
4772
5315
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4773
|
-
s5 = peg$
|
|
5316
|
+
s5 = peg$c32;
|
|
4774
5317
|
peg$currPos++;
|
|
4775
5318
|
} else {
|
|
4776
5319
|
s5 = peg$FAILED;
|
|
4777
5320
|
if (peg$silentFails === 0) {
|
|
4778
|
-
peg$fail(peg$
|
|
5321
|
+
peg$fail(peg$e32);
|
|
4779
5322
|
}
|
|
4780
5323
|
}
|
|
4781
5324
|
if (s5 === peg$FAILED) {
|
|
@@ -4794,12 +5337,12 @@ function peg$parse(input, options) {
|
|
|
4794
5337
|
s3 = peg$currPos;
|
|
4795
5338
|
s4 = peg$parse_();
|
|
4796
5339
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4797
|
-
s5 = peg$
|
|
5340
|
+
s5 = peg$c32;
|
|
4798
5341
|
peg$currPos++;
|
|
4799
5342
|
} else {
|
|
4800
5343
|
s5 = peg$FAILED;
|
|
4801
5344
|
if (peg$silentFails === 0) {
|
|
4802
|
-
peg$fail(peg$
|
|
5345
|
+
peg$fail(peg$e32);
|
|
4803
5346
|
}
|
|
4804
5347
|
}
|
|
4805
5348
|
if (s5 !== peg$FAILED) {
|
|
@@ -4813,7 +5356,7 @@ function peg$parse(input, options) {
|
|
|
4813
5356
|
s3 = null;
|
|
4814
5357
|
}
|
|
4815
5358
|
peg$savedPos = s0;
|
|
4816
|
-
s0 = peg$
|
|
5359
|
+
s0 = peg$f91(s1, s2);
|
|
4817
5360
|
} else {
|
|
4818
5361
|
peg$currPos = s0;
|
|
4819
5362
|
s0 = peg$FAILED;
|
|
@@ -4867,7 +5410,7 @@ function peg$parse(input, options) {
|
|
|
4867
5410
|
}
|
|
4868
5411
|
if (s5 !== peg$FAILED) {
|
|
4869
5412
|
peg$savedPos = s0;
|
|
4870
|
-
s0 = peg$
|
|
5413
|
+
s0 = peg$f92(s3);
|
|
4871
5414
|
} else {
|
|
4872
5415
|
peg$currPos = s0;
|
|
4873
5416
|
s0 = peg$FAILED;
|
|
@@ -4887,12 +5430,12 @@ function peg$parse(input, options) {
|
|
|
4887
5430
|
s3 = peg$currPos;
|
|
4888
5431
|
s4 = peg$parse_();
|
|
4889
5432
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4890
|
-
s5 = peg$
|
|
5433
|
+
s5 = peg$c32;
|
|
4891
5434
|
peg$currPos++;
|
|
4892
5435
|
} else {
|
|
4893
5436
|
s5 = peg$FAILED;
|
|
4894
5437
|
if (peg$silentFails === 0) {
|
|
4895
|
-
peg$fail(peg$
|
|
5438
|
+
peg$fail(peg$e32);
|
|
4896
5439
|
}
|
|
4897
5440
|
}
|
|
4898
5441
|
if (s5 === peg$FAILED) {
|
|
@@ -4912,12 +5455,12 @@ function peg$parse(input, options) {
|
|
|
4912
5455
|
s3 = peg$currPos;
|
|
4913
5456
|
s4 = peg$parse_();
|
|
4914
5457
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4915
|
-
s5 = peg$
|
|
5458
|
+
s5 = peg$c32;
|
|
4916
5459
|
peg$currPos++;
|
|
4917
5460
|
} else {
|
|
4918
5461
|
s5 = peg$FAILED;
|
|
4919
5462
|
if (peg$silentFails === 0) {
|
|
4920
|
-
peg$fail(peg$
|
|
5463
|
+
peg$fail(peg$e32);
|
|
4921
5464
|
}
|
|
4922
5465
|
}
|
|
4923
5466
|
if (s5 === peg$FAILED) {
|
|
@@ -4934,7 +5477,7 @@ function peg$parse(input, options) {
|
|
|
4934
5477
|
}
|
|
4935
5478
|
}
|
|
4936
5479
|
peg$savedPos = s0;
|
|
4937
|
-
s0 = peg$
|
|
5480
|
+
s0 = peg$f93(s1, s2);
|
|
4938
5481
|
} else {
|
|
4939
5482
|
peg$currPos = s0;
|
|
4940
5483
|
s0 = peg$FAILED;
|
|
@@ -4948,12 +5491,12 @@ function peg$parse(input, options) {
|
|
|
4948
5491
|
if (s1 !== peg$FAILED) {
|
|
4949
5492
|
s2 = peg$parse_();
|
|
4950
5493
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
4951
|
-
s3 = peg$
|
|
5494
|
+
s3 = peg$c50;
|
|
4952
5495
|
peg$currPos++;
|
|
4953
5496
|
} else {
|
|
4954
5497
|
s3 = peg$FAILED;
|
|
4955
5498
|
if (peg$silentFails === 0) {
|
|
4956
|
-
peg$fail(peg$
|
|
5499
|
+
peg$fail(peg$e50);
|
|
4957
5500
|
}
|
|
4958
5501
|
}
|
|
4959
5502
|
if (s3 !== peg$FAILED) {
|
|
@@ -4961,7 +5504,7 @@ function peg$parse(input, options) {
|
|
|
4961
5504
|
s5 = peg$parseAttributeValue();
|
|
4962
5505
|
if (s5 !== peg$FAILED) {
|
|
4963
5506
|
peg$savedPos = s0;
|
|
4964
|
-
s0 = peg$
|
|
5507
|
+
s0 = peg$f94(s1, s5);
|
|
4965
5508
|
} else {
|
|
4966
5509
|
peg$currPos = s0;
|
|
4967
5510
|
s0 = peg$FAILED;
|
|
@@ -4979,7 +5522,7 @@ function peg$parse(input, options) {
|
|
|
4979
5522
|
s1 = peg$parseIdentifier();
|
|
4980
5523
|
if (s1 !== peg$FAILED) {
|
|
4981
5524
|
peg$savedPos = s0;
|
|
4982
|
-
s1 = peg$
|
|
5525
|
+
s1 = peg$f95(s1);
|
|
4983
5526
|
}
|
|
4984
5527
|
s0 = s1;
|
|
4985
5528
|
}
|
|
@@ -5012,7 +5555,7 @@ function peg$parse(input, options) {
|
|
|
5012
5555
|
} else {
|
|
5013
5556
|
s1 = peg$FAILED;
|
|
5014
5557
|
if (peg$silentFails === 0) {
|
|
5015
|
-
peg$fail(peg$
|
|
5558
|
+
peg$fail(peg$e79);
|
|
5016
5559
|
}
|
|
5017
5560
|
}
|
|
5018
5561
|
if (s1 !== peg$FAILED) {
|
|
@@ -5024,7 +5567,7 @@ function peg$parse(input, options) {
|
|
|
5024
5567
|
} else {
|
|
5025
5568
|
s1 = peg$FAILED;
|
|
5026
5569
|
if (peg$silentFails === 0) {
|
|
5027
|
-
peg$fail(peg$
|
|
5570
|
+
peg$fail(peg$e79);
|
|
5028
5571
|
}
|
|
5029
5572
|
}
|
|
5030
5573
|
}
|
|
@@ -5044,7 +5587,7 @@ function peg$parse(input, options) {
|
|
|
5044
5587
|
if (s0 === peg$FAILED) {
|
|
5045
5588
|
s1 = peg$FAILED;
|
|
5046
5589
|
if (peg$silentFails === 0) {
|
|
5047
|
-
peg$fail(peg$
|
|
5590
|
+
peg$fail(peg$e80);
|
|
5048
5591
|
}
|
|
5049
5592
|
}
|
|
5050
5593
|
return s0;
|
|
@@ -5052,13 +5595,13 @@ function peg$parse(input, options) {
|
|
|
5052
5595
|
function peg$parseLineComment() {
|
|
5053
5596
|
let s0, s1, s2, s3, s4;
|
|
5054
5597
|
s0 = peg$currPos;
|
|
5055
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5056
|
-
s1 = peg$
|
|
5598
|
+
if (input.substr(peg$currPos, 2) === peg$c51) {
|
|
5599
|
+
s1 = peg$c51;
|
|
5057
5600
|
peg$currPos += 2;
|
|
5058
5601
|
} else {
|
|
5059
5602
|
s1 = peg$FAILED;
|
|
5060
5603
|
if (peg$silentFails === 0) {
|
|
5061
|
-
peg$fail(peg$
|
|
5604
|
+
peg$fail(peg$e52);
|
|
5062
5605
|
}
|
|
5063
5606
|
}
|
|
5064
5607
|
if (s1 !== peg$FAILED) {
|
|
@@ -5069,7 +5612,7 @@ function peg$parse(input, options) {
|
|
|
5069
5612
|
} else {
|
|
5070
5613
|
s3 = peg$FAILED;
|
|
5071
5614
|
if (peg$silentFails === 0) {
|
|
5072
|
-
peg$fail(peg$
|
|
5615
|
+
peg$fail(peg$e81);
|
|
5073
5616
|
}
|
|
5074
5617
|
}
|
|
5075
5618
|
while (s3 !== peg$FAILED) {
|
|
@@ -5080,17 +5623,17 @@ function peg$parse(input, options) {
|
|
|
5080
5623
|
} else {
|
|
5081
5624
|
s3 = peg$FAILED;
|
|
5082
5625
|
if (peg$silentFails === 0) {
|
|
5083
|
-
peg$fail(peg$
|
|
5626
|
+
peg$fail(peg$e81);
|
|
5084
5627
|
}
|
|
5085
5628
|
}
|
|
5086
5629
|
}
|
|
5087
5630
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
5088
|
-
s3 = peg$
|
|
5631
|
+
s3 = peg$c69;
|
|
5089
5632
|
peg$currPos++;
|
|
5090
5633
|
} else {
|
|
5091
5634
|
s3 = peg$FAILED;
|
|
5092
5635
|
if (peg$silentFails === 0) {
|
|
5093
|
-
peg$fail(peg$
|
|
5636
|
+
peg$fail(peg$e82);
|
|
5094
5637
|
}
|
|
5095
5638
|
}
|
|
5096
5639
|
if (s3 === peg$FAILED) {
|
|
@@ -5102,7 +5645,7 @@ function peg$parse(input, options) {
|
|
|
5102
5645
|
} else {
|
|
5103
5646
|
s4 = peg$FAILED;
|
|
5104
5647
|
if (peg$silentFails === 0) {
|
|
5105
|
-
peg$fail(peg$
|
|
5648
|
+
peg$fail(peg$e54);
|
|
5106
5649
|
}
|
|
5107
5650
|
}
|
|
5108
5651
|
peg$silentFails--;
|
|
@@ -5129,13 +5672,13 @@ function peg$parse(input, options) {
|
|
|
5129
5672
|
function peg$parseBlockComment() {
|
|
5130
5673
|
let s0, s1, s2, s3, s4, s5;
|
|
5131
5674
|
s0 = peg$currPos;
|
|
5132
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5133
|
-
s1 = peg$
|
|
5675
|
+
if (input.substr(peg$currPos, 2) === peg$c52) {
|
|
5676
|
+
s1 = peg$c52;
|
|
5134
5677
|
peg$currPos += 2;
|
|
5135
5678
|
} else {
|
|
5136
5679
|
s1 = peg$FAILED;
|
|
5137
5680
|
if (peg$silentFails === 0) {
|
|
5138
|
-
peg$fail(peg$
|
|
5681
|
+
peg$fail(peg$e53);
|
|
5139
5682
|
}
|
|
5140
5683
|
}
|
|
5141
5684
|
if (s1 !== peg$FAILED) {
|
|
@@ -5143,13 +5686,13 @@ function peg$parse(input, options) {
|
|
|
5143
5686
|
s3 = peg$currPos;
|
|
5144
5687
|
s4 = peg$currPos;
|
|
5145
5688
|
peg$silentFails++;
|
|
5146
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5147
|
-
s5 = peg$
|
|
5689
|
+
if (input.substr(peg$currPos, 2) === peg$c70) {
|
|
5690
|
+
s5 = peg$c70;
|
|
5148
5691
|
peg$currPos += 2;
|
|
5149
5692
|
} else {
|
|
5150
5693
|
s5 = peg$FAILED;
|
|
5151
5694
|
if (peg$silentFails === 0) {
|
|
5152
|
-
peg$fail(peg$
|
|
5695
|
+
peg$fail(peg$e83);
|
|
5153
5696
|
}
|
|
5154
5697
|
}
|
|
5155
5698
|
peg$silentFails--;
|
|
@@ -5166,7 +5709,7 @@ function peg$parse(input, options) {
|
|
|
5166
5709
|
} else {
|
|
5167
5710
|
s5 = peg$FAILED;
|
|
5168
5711
|
if (peg$silentFails === 0) {
|
|
5169
|
-
peg$fail(peg$
|
|
5712
|
+
peg$fail(peg$e54);
|
|
5170
5713
|
}
|
|
5171
5714
|
}
|
|
5172
5715
|
if (s5 !== peg$FAILED) {
|
|
@@ -5185,13 +5728,13 @@ function peg$parse(input, options) {
|
|
|
5185
5728
|
s3 = peg$currPos;
|
|
5186
5729
|
s4 = peg$currPos;
|
|
5187
5730
|
peg$silentFails++;
|
|
5188
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5189
|
-
s5 = peg$
|
|
5731
|
+
if (input.substr(peg$currPos, 2) === peg$c70) {
|
|
5732
|
+
s5 = peg$c70;
|
|
5190
5733
|
peg$currPos += 2;
|
|
5191
5734
|
} else {
|
|
5192
5735
|
s5 = peg$FAILED;
|
|
5193
5736
|
if (peg$silentFails === 0) {
|
|
5194
|
-
peg$fail(peg$
|
|
5737
|
+
peg$fail(peg$e83);
|
|
5195
5738
|
}
|
|
5196
5739
|
}
|
|
5197
5740
|
peg$silentFails--;
|
|
@@ -5208,7 +5751,7 @@ function peg$parse(input, options) {
|
|
|
5208
5751
|
} else {
|
|
5209
5752
|
s5 = peg$FAILED;
|
|
5210
5753
|
if (peg$silentFails === 0) {
|
|
5211
|
-
peg$fail(peg$
|
|
5754
|
+
peg$fail(peg$e54);
|
|
5212
5755
|
}
|
|
5213
5756
|
}
|
|
5214
5757
|
if (s5 !== peg$FAILED) {
|
|
@@ -5223,13 +5766,13 @@ function peg$parse(input, options) {
|
|
|
5223
5766
|
s3 = peg$FAILED;
|
|
5224
5767
|
}
|
|
5225
5768
|
}
|
|
5226
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5227
|
-
s3 = peg$
|
|
5769
|
+
if (input.substr(peg$currPos, 2) === peg$c70) {
|
|
5770
|
+
s3 = peg$c70;
|
|
5228
5771
|
peg$currPos += 2;
|
|
5229
5772
|
} else {
|
|
5230
5773
|
s3 = peg$FAILED;
|
|
5231
5774
|
if (peg$silentFails === 0) {
|
|
5232
|
-
peg$fail(peg$
|
|
5775
|
+
peg$fail(peg$e83);
|
|
5233
5776
|
}
|
|
5234
5777
|
}
|
|
5235
5778
|
if (s3 !== peg$FAILED) {
|