@gmb/bitmark-parser-generator 1.22.0 → 1.23.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/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/cjs/generated/build-info.js +1 -1
- package/dist/cjs/generated/parser/text/text-peggy-parser.js +461 -289
- package/dist/cjs/generated/parser/text/text-peggy-parser.js.map +1 -1
- package/dist/cjs/generator/text/TextGenerator.js +10 -4
- package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
- package/dist/esm/generated/build-info.js +1 -1
- package/dist/esm/generated/parser/text/text-peggy-parser.js +461 -289
- package/dist/esm/generated/parser/text/text-peggy-parser.js.map +1 -1
- package/dist/esm/generator/text/TextGenerator.js +10 -4
- package/dist/esm/generator/text/TextGenerator.js.map +1 -1
- package/dist/types/generated/parser/text/text-peggy-parser.d.ts.map +1 -1
- package/dist/types/generator/text/TextGenerator.d.ts +3 -2
- package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
- package/dist/types/model/ast/TextNodes.d.ts +8 -0
- package/dist/types/model/ast/TextNodes.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.parse = exports.SyntaxError = exports.StartRules = void 0;
|
|
7
7
|
const Breakscape_1 = require("../../../breakscaping/Breakscape");
|
|
8
|
-
const VERSION = "8.
|
|
8
|
+
const VERSION = "8.15.0";
|
|
9
9
|
//Parser peggy.js
|
|
10
10
|
// parser options (parameter when running parser):
|
|
11
11
|
// allowedStartRules: ["bitmarkPlusPlus", "bitmarkPlus", "bitmarkMinusMinus", "bitmarkPlusString", "bitmarkMinusMinusString"]
|
|
@@ -320,8 +320,8 @@ function peg$parse(input, options) {
|
|
|
320
320
|
var peg$c30 = "=";
|
|
321
321
|
var peg$c31 = "\uD835\uDC53";
|
|
322
322
|
var peg$c32 = "link:";
|
|
323
|
-
var peg$c33 = "
|
|
324
|
-
var peg$c34 = "
|
|
323
|
+
var peg$c33 = "xref:";
|
|
324
|
+
var peg$c34 = "\u25BA";
|
|
325
325
|
var peg$c35 = "footnote:";
|
|
326
326
|
var peg$c36 = "var:";
|
|
327
327
|
var peg$c37 = "code:";
|
|
@@ -430,8 +430,8 @@ function peg$parse(input, options) {
|
|
|
430
430
|
var peg$e36 = peg$literalExpectation("=", false);
|
|
431
431
|
var peg$e37 = peg$literalExpectation("\uD835\uDC53", false);
|
|
432
432
|
var peg$e38 = peg$literalExpectation("link:", false);
|
|
433
|
-
var peg$e39 = peg$literalExpectation("
|
|
434
|
-
var peg$e40 = peg$literalExpectation("
|
|
433
|
+
var peg$e39 = peg$literalExpectation("xref:", false);
|
|
434
|
+
var peg$e40 = peg$literalExpectation("\u25BA", false);
|
|
435
435
|
var peg$e41 = peg$literalExpectation("footnote:", false);
|
|
436
436
|
var peg$e42 = peg$literalExpectation("var:", false);
|
|
437
437
|
var peg$e43 = peg$literalExpectation("code:", false);
|
|
@@ -659,27 +659,28 @@ function peg$parse(input, options) {
|
|
|
659
659
|
var peg$f61 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
|
|
660
660
|
var peg$f62 = function (ch) { return ch; };
|
|
661
661
|
var peg$f63 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
|
|
662
|
-
var peg$f64 = function (str) { return { type: '
|
|
663
|
-
var peg$f65 = function (str) { return { type: 'xref', attrs: {
|
|
664
|
-
var peg$f66 = function (str) { return { type: '
|
|
665
|
-
var peg$f67 = function (str) { return { type: '
|
|
666
|
-
var peg$f68 = function () { return { type: '
|
|
667
|
-
var peg$f69 = function (
|
|
668
|
-
var peg$f70 = function () { return { type: '
|
|
669
|
-
var peg$f71 = function (
|
|
670
|
-
var peg$f72 = function (str) { return { type: '
|
|
671
|
-
var peg$f73 = function (
|
|
672
|
-
var peg$f74 = function (
|
|
673
|
-
var peg$f75 = function (
|
|
674
|
-
var peg$f76 = function (
|
|
675
|
-
var peg$f77 = function (
|
|
676
|
-
var peg$f78 = function (
|
|
677
|
-
var peg$f79 = function (t) { return {
|
|
678
|
-
var peg$f80 = function (t) { return {
|
|
679
|
-
var peg$f81 = function (t) { return { marks: [{ type: "
|
|
680
|
-
var peg$f82 = function (t) { return { marks: [{ type: "
|
|
681
|
-
var peg$f83 = function (t) { return { marks: [{ type: "
|
|
682
|
-
var peg$f84 = function (
|
|
662
|
+
var peg$f64 = function (str, str2) { return { type: 'xref', attrs: { xref: str.trim(), reference: str2.trim() } }; };
|
|
663
|
+
var peg$f65 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference: '' } }; };
|
|
664
|
+
var peg$f66 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
|
|
665
|
+
var peg$f67 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
666
|
+
var peg$f68 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
|
|
667
|
+
var peg$f69 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
|
|
668
|
+
var peg$f70 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
|
|
669
|
+
var peg$f71 = function () { return { type: 'timer', attrs: { name: "" } }; };
|
|
670
|
+
var peg$f72 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
|
|
671
|
+
var peg$f73 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
|
|
672
|
+
var peg$f74 = function (color) { return { type: 'color', attrs: { color } }; };
|
|
673
|
+
var peg$f75 = function (style) { return { type: style }; };
|
|
674
|
+
var peg$f76 = function (str) { return { type: "comment", comment: str }; };
|
|
675
|
+
var peg$f77 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
|
|
676
|
+
var peg$f78 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
|
|
677
|
+
var peg$f79 = function (t) { return { text: unbreakscape(t), type: "text" }; };
|
|
678
|
+
var peg$f80 = function (t) { return { index: +t, type: "bit" }; };
|
|
679
|
+
var peg$f81 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
|
|
680
|
+
var peg$f82 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
|
|
681
|
+
var peg$f83 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
|
|
682
|
+
var peg$f84 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
|
|
683
|
+
var peg$f85 = function (pr, t) { return { pr, t }; };
|
|
683
684
|
var peg$currPos = options.peg$currPos | 0;
|
|
684
685
|
var peg$savedPos = peg$currPos;
|
|
685
686
|
var peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -5442,9 +5443,9 @@ function peg$parse(input, options) {
|
|
|
5442
5443
|
}
|
|
5443
5444
|
if (s0 === peg$FAILED) {
|
|
5444
5445
|
s0 = peg$currPos;
|
|
5445
|
-
if (input.
|
|
5446
|
+
if (input.substr(peg$currPos, 5) === peg$c33) {
|
|
5446
5447
|
s1 = peg$c33;
|
|
5447
|
-
peg$currPos
|
|
5448
|
+
peg$currPos += 5;
|
|
5448
5449
|
}
|
|
5449
5450
|
else {
|
|
5450
5451
|
s1 = peg$FAILED;
|
|
@@ -5515,8 +5516,91 @@ function peg$parse(input, options) {
|
|
|
5515
5516
|
s2 = input.substring(s2, peg$currPos);
|
|
5516
5517
|
s3 = peg$parseBlockTag();
|
|
5517
5518
|
if (s3 !== peg$FAILED) {
|
|
5518
|
-
peg$
|
|
5519
|
-
|
|
5519
|
+
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5520
|
+
s4 = peg$c34;
|
|
5521
|
+
peg$currPos++;
|
|
5522
|
+
}
|
|
5523
|
+
else {
|
|
5524
|
+
s4 = peg$FAILED;
|
|
5525
|
+
if (peg$silentFails === 0) {
|
|
5526
|
+
peg$fail(peg$e40);
|
|
5527
|
+
}
|
|
5528
|
+
}
|
|
5529
|
+
if (s4 !== peg$FAILED) {
|
|
5530
|
+
s5 = peg$currPos;
|
|
5531
|
+
s6 = [];
|
|
5532
|
+
s7 = peg$currPos;
|
|
5533
|
+
s8 = peg$currPos;
|
|
5534
|
+
peg$silentFails++;
|
|
5535
|
+
s9 = peg$parseBlockTag();
|
|
5536
|
+
peg$silentFails--;
|
|
5537
|
+
if (s9 === peg$FAILED) {
|
|
5538
|
+
s8 = undefined;
|
|
5539
|
+
}
|
|
5540
|
+
else {
|
|
5541
|
+
peg$currPos = s8;
|
|
5542
|
+
s8 = peg$FAILED;
|
|
5543
|
+
}
|
|
5544
|
+
if (s8 !== peg$FAILED) {
|
|
5545
|
+
s9 = peg$parsechar();
|
|
5546
|
+
if (s9 !== peg$FAILED) {
|
|
5547
|
+
s8 = [s8, s9];
|
|
5548
|
+
s7 = s8;
|
|
5549
|
+
}
|
|
5550
|
+
else {
|
|
5551
|
+
peg$currPos = s7;
|
|
5552
|
+
s7 = peg$FAILED;
|
|
5553
|
+
}
|
|
5554
|
+
}
|
|
5555
|
+
else {
|
|
5556
|
+
peg$currPos = s7;
|
|
5557
|
+
s7 = peg$FAILED;
|
|
5558
|
+
}
|
|
5559
|
+
while (s7 !== peg$FAILED) {
|
|
5560
|
+
s6.push(s7);
|
|
5561
|
+
s7 = peg$currPos;
|
|
5562
|
+
s8 = peg$currPos;
|
|
5563
|
+
peg$silentFails++;
|
|
5564
|
+
s9 = peg$parseBlockTag();
|
|
5565
|
+
peg$silentFails--;
|
|
5566
|
+
if (s9 === peg$FAILED) {
|
|
5567
|
+
s8 = undefined;
|
|
5568
|
+
}
|
|
5569
|
+
else {
|
|
5570
|
+
peg$currPos = s8;
|
|
5571
|
+
s8 = peg$FAILED;
|
|
5572
|
+
}
|
|
5573
|
+
if (s8 !== peg$FAILED) {
|
|
5574
|
+
s9 = peg$parsechar();
|
|
5575
|
+
if (s9 !== peg$FAILED) {
|
|
5576
|
+
s8 = [s8, s9];
|
|
5577
|
+
s7 = s8;
|
|
5578
|
+
}
|
|
5579
|
+
else {
|
|
5580
|
+
peg$currPos = s7;
|
|
5581
|
+
s7 = peg$FAILED;
|
|
5582
|
+
}
|
|
5583
|
+
}
|
|
5584
|
+
else {
|
|
5585
|
+
peg$currPos = s7;
|
|
5586
|
+
s7 = peg$FAILED;
|
|
5587
|
+
}
|
|
5588
|
+
}
|
|
5589
|
+
s5 = input.substring(s5, peg$currPos);
|
|
5590
|
+
s6 = peg$parseBlockTag();
|
|
5591
|
+
if (s6 !== peg$FAILED) {
|
|
5592
|
+
peg$savedPos = s0;
|
|
5593
|
+
s0 = peg$f64(s2, s5);
|
|
5594
|
+
}
|
|
5595
|
+
else {
|
|
5596
|
+
peg$currPos = s0;
|
|
5597
|
+
s0 = peg$FAILED;
|
|
5598
|
+
}
|
|
5599
|
+
}
|
|
5600
|
+
else {
|
|
5601
|
+
peg$currPos = s0;
|
|
5602
|
+
s0 = peg$FAILED;
|
|
5603
|
+
}
|
|
5520
5604
|
}
|
|
5521
5605
|
else {
|
|
5522
5606
|
peg$currPos = s0;
|
|
@@ -5529,14 +5613,14 @@ function peg$parse(input, options) {
|
|
|
5529
5613
|
}
|
|
5530
5614
|
if (s0 === peg$FAILED) {
|
|
5531
5615
|
s0 = peg$currPos;
|
|
5532
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5533
|
-
s1 = peg$
|
|
5616
|
+
if (input.substr(peg$currPos, 5) === peg$c33) {
|
|
5617
|
+
s1 = peg$c33;
|
|
5534
5618
|
peg$currPos += 5;
|
|
5535
5619
|
}
|
|
5536
5620
|
else {
|
|
5537
5621
|
s1 = peg$FAILED;
|
|
5538
5622
|
if (peg$silentFails === 0) {
|
|
5539
|
-
peg$fail(peg$
|
|
5623
|
+
peg$fail(peg$e39);
|
|
5540
5624
|
}
|
|
5541
5625
|
}
|
|
5542
5626
|
if (s1 !== peg$FAILED) {
|
|
@@ -5616,14 +5700,14 @@ function peg$parse(input, options) {
|
|
|
5616
5700
|
}
|
|
5617
5701
|
if (s0 === peg$FAILED) {
|
|
5618
5702
|
s0 = peg$currPos;
|
|
5619
|
-
if (input.
|
|
5620
|
-
s1 = peg$
|
|
5621
|
-
peg$currPos
|
|
5703
|
+
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5704
|
+
s1 = peg$c34;
|
|
5705
|
+
peg$currPos++;
|
|
5622
5706
|
}
|
|
5623
5707
|
else {
|
|
5624
5708
|
s1 = peg$FAILED;
|
|
5625
5709
|
if (peg$silentFails === 0) {
|
|
5626
|
-
peg$fail(peg$
|
|
5710
|
+
peg$fail(peg$e40);
|
|
5627
5711
|
}
|
|
5628
5712
|
}
|
|
5629
5713
|
if (s1 !== peg$FAILED) {
|
|
@@ -5703,14 +5787,14 @@ function peg$parse(input, options) {
|
|
|
5703
5787
|
}
|
|
5704
5788
|
if (s0 === peg$FAILED) {
|
|
5705
5789
|
s0 = peg$currPos;
|
|
5706
|
-
if (input.substr(peg$currPos,
|
|
5707
|
-
s1 = peg$
|
|
5708
|
-
peg$currPos +=
|
|
5790
|
+
if (input.substr(peg$currPos, 9) === peg$c35) {
|
|
5791
|
+
s1 = peg$c35;
|
|
5792
|
+
peg$currPos += 9;
|
|
5709
5793
|
}
|
|
5710
5794
|
else {
|
|
5711
5795
|
s1 = peg$FAILED;
|
|
5712
5796
|
if (peg$silentFails === 0) {
|
|
5713
|
-
peg$fail(peg$
|
|
5797
|
+
peg$fail(peg$e41);
|
|
5714
5798
|
}
|
|
5715
5799
|
}
|
|
5716
5800
|
if (s1 !== peg$FAILED) {
|
|
@@ -5790,46 +5874,48 @@ function peg$parse(input, options) {
|
|
|
5790
5874
|
}
|
|
5791
5875
|
if (s0 === peg$FAILED) {
|
|
5792
5876
|
s0 = peg$currPos;
|
|
5793
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5794
|
-
s1 = peg$
|
|
5877
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
5878
|
+
s1 = peg$c36;
|
|
5795
5879
|
peg$currPos += 4;
|
|
5796
5880
|
}
|
|
5797
5881
|
else {
|
|
5798
5882
|
s1 = peg$FAILED;
|
|
5799
5883
|
if (peg$silentFails === 0) {
|
|
5800
|
-
peg$fail(peg$
|
|
5884
|
+
peg$fail(peg$e42);
|
|
5801
5885
|
}
|
|
5802
5886
|
}
|
|
5803
5887
|
if (s1 !== peg$FAILED) {
|
|
5804
|
-
s2 = peg$
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5888
|
+
s2 = peg$currPos;
|
|
5889
|
+
s3 = [];
|
|
5890
|
+
s4 = peg$currPos;
|
|
5891
|
+
s5 = peg$currPos;
|
|
5892
|
+
peg$silentFails++;
|
|
5893
|
+
s6 = peg$parseBlockTag();
|
|
5894
|
+
peg$silentFails--;
|
|
5895
|
+
if (s6 === peg$FAILED) {
|
|
5896
|
+
s5 = undefined;
|
|
5808
5897
|
}
|
|
5809
5898
|
else {
|
|
5810
|
-
peg$currPos =
|
|
5811
|
-
|
|
5899
|
+
peg$currPos = s5;
|
|
5900
|
+
s5 = peg$FAILED;
|
|
5812
5901
|
}
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5902
|
+
if (s5 !== peg$FAILED) {
|
|
5903
|
+
s6 = peg$parsechar();
|
|
5904
|
+
if (s6 !== peg$FAILED) {
|
|
5905
|
+
s5 = [s5, s6];
|
|
5906
|
+
s4 = s5;
|
|
5907
|
+
}
|
|
5908
|
+
else {
|
|
5909
|
+
peg$currPos = s4;
|
|
5910
|
+
s4 = peg$FAILED;
|
|
5911
|
+
}
|
|
5823
5912
|
}
|
|
5824
5913
|
else {
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
peg$fail(peg$e43);
|
|
5828
|
-
}
|
|
5914
|
+
peg$currPos = s4;
|
|
5915
|
+
s4 = peg$FAILED;
|
|
5829
5916
|
}
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
s3 = [];
|
|
5917
|
+
while (s4 !== peg$FAILED) {
|
|
5918
|
+
s3.push(s4);
|
|
5833
5919
|
s4 = peg$currPos;
|
|
5834
5920
|
s5 = peg$currPos;
|
|
5835
5921
|
peg$silentFails++;
|
|
@@ -5857,41 +5943,39 @@ function peg$parse(input, options) {
|
|
|
5857
5943
|
peg$currPos = s4;
|
|
5858
5944
|
s4 = peg$FAILED;
|
|
5859
5945
|
}
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
peg$currPos = s4;
|
|
5887
|
-
s4 = peg$FAILED;
|
|
5888
|
-
}
|
|
5946
|
+
}
|
|
5947
|
+
s2 = input.substring(s2, peg$currPos);
|
|
5948
|
+
s3 = peg$parseBlockTag();
|
|
5949
|
+
if (s3 !== peg$FAILED) {
|
|
5950
|
+
peg$savedPos = s0;
|
|
5951
|
+
s0 = peg$f68(s2);
|
|
5952
|
+
}
|
|
5953
|
+
else {
|
|
5954
|
+
peg$currPos = s0;
|
|
5955
|
+
s0 = peg$FAILED;
|
|
5956
|
+
}
|
|
5957
|
+
}
|
|
5958
|
+
else {
|
|
5959
|
+
peg$currPos = s0;
|
|
5960
|
+
s0 = peg$FAILED;
|
|
5961
|
+
}
|
|
5962
|
+
if (s0 === peg$FAILED) {
|
|
5963
|
+
s0 = peg$currPos;
|
|
5964
|
+
if (input.substr(peg$currPos, 4) === peg$c5) {
|
|
5965
|
+
s1 = peg$c5;
|
|
5966
|
+
peg$currPos += 4;
|
|
5967
|
+
}
|
|
5968
|
+
else {
|
|
5969
|
+
s1 = peg$FAILED;
|
|
5970
|
+
if (peg$silentFails === 0) {
|
|
5971
|
+
peg$fail(peg$e7);
|
|
5889
5972
|
}
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5973
|
+
}
|
|
5974
|
+
if (s1 !== peg$FAILED) {
|
|
5975
|
+
s2 = peg$parseBlockTag();
|
|
5976
|
+
if (s2 !== peg$FAILED) {
|
|
5893
5977
|
peg$savedPos = s0;
|
|
5894
|
-
s0 = peg$f69(
|
|
5978
|
+
s0 = peg$f69();
|
|
5895
5979
|
}
|
|
5896
5980
|
else {
|
|
5897
5981
|
peg$currPos = s0;
|
|
@@ -5904,46 +5988,48 @@ function peg$parse(input, options) {
|
|
|
5904
5988
|
}
|
|
5905
5989
|
if (s0 === peg$FAILED) {
|
|
5906
5990
|
s0 = peg$currPos;
|
|
5907
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5908
|
-
s1 = peg$
|
|
5991
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
5992
|
+
s1 = peg$c37;
|
|
5909
5993
|
peg$currPos += 5;
|
|
5910
5994
|
}
|
|
5911
5995
|
else {
|
|
5912
5996
|
s1 = peg$FAILED;
|
|
5913
5997
|
if (peg$silentFails === 0) {
|
|
5914
|
-
peg$fail(peg$
|
|
5998
|
+
peg$fail(peg$e43);
|
|
5915
5999
|
}
|
|
5916
6000
|
}
|
|
5917
6001
|
if (s1 !== peg$FAILED) {
|
|
5918
|
-
s2 = peg$
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
6002
|
+
s2 = peg$currPos;
|
|
6003
|
+
s3 = [];
|
|
6004
|
+
s4 = peg$currPos;
|
|
6005
|
+
s5 = peg$currPos;
|
|
6006
|
+
peg$silentFails++;
|
|
6007
|
+
s6 = peg$parseBlockTag();
|
|
6008
|
+
peg$silentFails--;
|
|
6009
|
+
if (s6 === peg$FAILED) {
|
|
6010
|
+
s5 = undefined;
|
|
5922
6011
|
}
|
|
5923
6012
|
else {
|
|
5924
|
-
peg$currPos =
|
|
5925
|
-
|
|
6013
|
+
peg$currPos = s5;
|
|
6014
|
+
s5 = peg$FAILED;
|
|
5926
6015
|
}
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
6016
|
+
if (s5 !== peg$FAILED) {
|
|
6017
|
+
s6 = peg$parsechar();
|
|
6018
|
+
if (s6 !== peg$FAILED) {
|
|
6019
|
+
s5 = [s5, s6];
|
|
6020
|
+
s4 = s5;
|
|
6021
|
+
}
|
|
6022
|
+
else {
|
|
6023
|
+
peg$currPos = s4;
|
|
6024
|
+
s4 = peg$FAILED;
|
|
6025
|
+
}
|
|
5937
6026
|
}
|
|
5938
6027
|
else {
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
peg$fail(peg$e45);
|
|
5942
|
-
}
|
|
6028
|
+
peg$currPos = s4;
|
|
6029
|
+
s4 = peg$FAILED;
|
|
5943
6030
|
}
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
s3 = [];
|
|
6031
|
+
while (s4 !== peg$FAILED) {
|
|
6032
|
+
s3.push(s4);
|
|
5947
6033
|
s4 = peg$currPos;
|
|
5948
6034
|
s5 = peg$currPos;
|
|
5949
6035
|
peg$silentFails++;
|
|
@@ -5971,8 +6057,64 @@ function peg$parse(input, options) {
|
|
|
5971
6057
|
peg$currPos = s4;
|
|
5972
6058
|
s4 = peg$FAILED;
|
|
5973
6059
|
}
|
|
5974
|
-
|
|
5975
|
-
|
|
6060
|
+
}
|
|
6061
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6062
|
+
s3 = peg$parseBlockTag();
|
|
6063
|
+
if (s3 !== peg$FAILED) {
|
|
6064
|
+
peg$savedPos = s0;
|
|
6065
|
+
s0 = peg$f70(s2);
|
|
6066
|
+
}
|
|
6067
|
+
else {
|
|
6068
|
+
peg$currPos = s0;
|
|
6069
|
+
s0 = peg$FAILED;
|
|
6070
|
+
}
|
|
6071
|
+
}
|
|
6072
|
+
else {
|
|
6073
|
+
peg$currPos = s0;
|
|
6074
|
+
s0 = peg$FAILED;
|
|
6075
|
+
}
|
|
6076
|
+
if (s0 === peg$FAILED) {
|
|
6077
|
+
s0 = peg$currPos;
|
|
6078
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
6079
|
+
s1 = peg$c38;
|
|
6080
|
+
peg$currPos += 5;
|
|
6081
|
+
}
|
|
6082
|
+
else {
|
|
6083
|
+
s1 = peg$FAILED;
|
|
6084
|
+
if (peg$silentFails === 0) {
|
|
6085
|
+
peg$fail(peg$e44);
|
|
6086
|
+
}
|
|
6087
|
+
}
|
|
6088
|
+
if (s1 !== peg$FAILED) {
|
|
6089
|
+
s2 = peg$parseBlockTag();
|
|
6090
|
+
if (s2 !== peg$FAILED) {
|
|
6091
|
+
peg$savedPos = s0;
|
|
6092
|
+
s0 = peg$f71();
|
|
6093
|
+
}
|
|
6094
|
+
else {
|
|
6095
|
+
peg$currPos = s0;
|
|
6096
|
+
s0 = peg$FAILED;
|
|
6097
|
+
}
|
|
6098
|
+
}
|
|
6099
|
+
else {
|
|
6100
|
+
peg$currPos = s0;
|
|
6101
|
+
s0 = peg$FAILED;
|
|
6102
|
+
}
|
|
6103
|
+
if (s0 === peg$FAILED) {
|
|
6104
|
+
s0 = peg$currPos;
|
|
6105
|
+
if (input.substr(peg$currPos, 6) === peg$c39) {
|
|
6106
|
+
s1 = peg$c39;
|
|
6107
|
+
peg$currPos += 6;
|
|
6108
|
+
}
|
|
6109
|
+
else {
|
|
6110
|
+
s1 = peg$FAILED;
|
|
6111
|
+
if (peg$silentFails === 0) {
|
|
6112
|
+
peg$fail(peg$e45);
|
|
6113
|
+
}
|
|
6114
|
+
}
|
|
6115
|
+
if (s1 !== peg$FAILED) {
|
|
6116
|
+
s2 = peg$currPos;
|
|
6117
|
+
s3 = [];
|
|
5976
6118
|
s4 = peg$currPos;
|
|
5977
6119
|
s5 = peg$currPos;
|
|
5978
6120
|
peg$silentFails++;
|
|
@@ -6000,79 +6142,79 @@ function peg$parse(input, options) {
|
|
|
6000
6142
|
peg$currPos = s4;
|
|
6001
6143
|
s4 = peg$FAILED;
|
|
6002
6144
|
}
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6145
|
+
while (s4 !== peg$FAILED) {
|
|
6146
|
+
s3.push(s4);
|
|
6147
|
+
s4 = peg$currPos;
|
|
6148
|
+
s5 = peg$currPos;
|
|
6149
|
+
peg$silentFails++;
|
|
6150
|
+
s6 = peg$parseBlockTag();
|
|
6151
|
+
peg$silentFails--;
|
|
6152
|
+
if (s6 === peg$FAILED) {
|
|
6153
|
+
s5 = undefined;
|
|
6154
|
+
}
|
|
6155
|
+
else {
|
|
6156
|
+
peg$currPos = s5;
|
|
6157
|
+
s5 = peg$FAILED;
|
|
6158
|
+
}
|
|
6159
|
+
if (s5 !== peg$FAILED) {
|
|
6160
|
+
s6 = peg$parsechar();
|
|
6161
|
+
if (s6 !== peg$FAILED) {
|
|
6162
|
+
s5 = [s5, s6];
|
|
6163
|
+
s4 = s5;
|
|
6164
|
+
}
|
|
6165
|
+
else {
|
|
6166
|
+
peg$currPos = s4;
|
|
6167
|
+
s4 = peg$FAILED;
|
|
6168
|
+
}
|
|
6169
|
+
}
|
|
6170
|
+
else {
|
|
6171
|
+
peg$currPos = s4;
|
|
6172
|
+
s4 = peg$FAILED;
|
|
6173
|
+
}
|
|
6174
|
+
}
|
|
6175
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6176
|
+
s3 = peg$parseBlockTag();
|
|
6177
|
+
if (s3 !== peg$FAILED) {
|
|
6178
|
+
peg$savedPos = s0;
|
|
6179
|
+
s0 = peg$f72(s2);
|
|
6180
|
+
}
|
|
6181
|
+
else {
|
|
6182
|
+
peg$currPos = s0;
|
|
6183
|
+
s0 = peg$FAILED;
|
|
6184
|
+
}
|
|
6009
6185
|
}
|
|
6010
6186
|
else {
|
|
6011
6187
|
peg$currPos = s0;
|
|
6012
6188
|
s0 = peg$FAILED;
|
|
6013
6189
|
}
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
if (s0 === peg$FAILED) {
|
|
6020
|
-
s0 = peg$currPos;
|
|
6021
|
-
if (input.substr(peg$currPos, 9) === peg$c40) {
|
|
6022
|
-
s1 = peg$c40;
|
|
6023
|
-
peg$currPos += 9;
|
|
6024
|
-
}
|
|
6025
|
-
else {
|
|
6026
|
-
s1 = peg$FAILED;
|
|
6027
|
-
if (peg$silentFails === 0) {
|
|
6028
|
-
peg$fail(peg$e46);
|
|
6029
|
-
}
|
|
6030
|
-
}
|
|
6031
|
-
if (s1 !== peg$FAILED) {
|
|
6032
|
-
s2 = peg$currPos;
|
|
6033
|
-
s3 = peg$currPos;
|
|
6034
|
-
if (input.charCodeAt(peg$currPos) === 80) {
|
|
6035
|
-
s4 = peg$c41;
|
|
6036
|
-
peg$currPos++;
|
|
6190
|
+
if (s0 === peg$FAILED) {
|
|
6191
|
+
s0 = peg$currPos;
|
|
6192
|
+
if (input.substr(peg$currPos, 9) === peg$c40) {
|
|
6193
|
+
s1 = peg$c40;
|
|
6194
|
+
peg$currPos += 9;
|
|
6037
6195
|
}
|
|
6038
6196
|
else {
|
|
6039
|
-
|
|
6197
|
+
s1 = peg$FAILED;
|
|
6040
6198
|
if (peg$silentFails === 0) {
|
|
6041
|
-
peg$fail(peg$
|
|
6199
|
+
peg$fail(peg$e46);
|
|
6042
6200
|
}
|
|
6043
6201
|
}
|
|
6044
|
-
if (
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
s9 = peg$parseBlockTag();
|
|
6051
|
-
peg$silentFails--;
|
|
6052
|
-
if (s9 === peg$FAILED) {
|
|
6053
|
-
s8 = undefined;
|
|
6202
|
+
if (s1 !== peg$FAILED) {
|
|
6203
|
+
s2 = peg$currPos;
|
|
6204
|
+
s3 = peg$currPos;
|
|
6205
|
+
if (input.charCodeAt(peg$currPos) === 80) {
|
|
6206
|
+
s4 = peg$c41;
|
|
6207
|
+
peg$currPos++;
|
|
6054
6208
|
}
|
|
6055
6209
|
else {
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
if (s8 !== peg$FAILED) {
|
|
6060
|
-
s9 = peg$parsechar();
|
|
6061
|
-
if (s9 !== peg$FAILED) {
|
|
6062
|
-
s8 = [s8, s9];
|
|
6063
|
-
s7 = s8;
|
|
6064
|
-
}
|
|
6065
|
-
else {
|
|
6066
|
-
peg$currPos = s7;
|
|
6067
|
-
s7 = peg$FAILED;
|
|
6210
|
+
s4 = peg$FAILED;
|
|
6211
|
+
if (peg$silentFails === 0) {
|
|
6212
|
+
peg$fail(peg$e47);
|
|
6068
6213
|
}
|
|
6069
6214
|
}
|
|
6070
|
-
|
|
6071
|
-
peg$currPos
|
|
6072
|
-
|
|
6073
|
-
}
|
|
6074
|
-
while (s7 !== peg$FAILED) {
|
|
6075
|
-
s6.push(s7);
|
|
6215
|
+
if (s4 !== peg$FAILED) {
|
|
6216
|
+
s5 = peg$currPos;
|
|
6217
|
+
s6 = [];
|
|
6076
6218
|
s7 = peg$currPos;
|
|
6077
6219
|
s8 = peg$currPos;
|
|
6078
6220
|
peg$silentFails++;
|
|
@@ -6100,55 +6242,50 @@ function peg$parse(input, options) {
|
|
|
6100
6242
|
peg$currPos = s7;
|
|
6101
6243
|
s7 = peg$FAILED;
|
|
6102
6244
|
}
|
|
6245
|
+
while (s7 !== peg$FAILED) {
|
|
6246
|
+
s6.push(s7);
|
|
6247
|
+
s7 = peg$currPos;
|
|
6248
|
+
s8 = peg$currPos;
|
|
6249
|
+
peg$silentFails++;
|
|
6250
|
+
s9 = peg$parseBlockTag();
|
|
6251
|
+
peg$silentFails--;
|
|
6252
|
+
if (s9 === peg$FAILED) {
|
|
6253
|
+
s8 = undefined;
|
|
6254
|
+
}
|
|
6255
|
+
else {
|
|
6256
|
+
peg$currPos = s8;
|
|
6257
|
+
s8 = peg$FAILED;
|
|
6258
|
+
}
|
|
6259
|
+
if (s8 !== peg$FAILED) {
|
|
6260
|
+
s9 = peg$parsechar();
|
|
6261
|
+
if (s9 !== peg$FAILED) {
|
|
6262
|
+
s8 = [s8, s9];
|
|
6263
|
+
s7 = s8;
|
|
6264
|
+
}
|
|
6265
|
+
else {
|
|
6266
|
+
peg$currPos = s7;
|
|
6267
|
+
s7 = peg$FAILED;
|
|
6268
|
+
}
|
|
6269
|
+
}
|
|
6270
|
+
else {
|
|
6271
|
+
peg$currPos = s7;
|
|
6272
|
+
s7 = peg$FAILED;
|
|
6273
|
+
}
|
|
6274
|
+
}
|
|
6275
|
+
s5 = input.substring(s5, peg$currPos);
|
|
6276
|
+
s4 = [s4, s5];
|
|
6277
|
+
s3 = s4;
|
|
6278
|
+
}
|
|
6279
|
+
else {
|
|
6280
|
+
peg$currPos = s3;
|
|
6281
|
+
s3 = peg$FAILED;
|
|
6103
6282
|
}
|
|
6104
|
-
s5 = input.substring(s5, peg$currPos);
|
|
6105
|
-
s4 = [s4, s5];
|
|
6106
|
-
s3 = s4;
|
|
6107
|
-
}
|
|
6108
|
-
else {
|
|
6109
|
-
peg$currPos = s3;
|
|
6110
|
-
s3 = peg$FAILED;
|
|
6111
|
-
}
|
|
6112
|
-
if (s3 !== peg$FAILED) {
|
|
6113
|
-
s2 = input.substring(s2, peg$currPos);
|
|
6114
|
-
}
|
|
6115
|
-
else {
|
|
6116
|
-
s2 = s3;
|
|
6117
|
-
}
|
|
6118
|
-
if (s2 !== peg$FAILED) {
|
|
6119
|
-
s3 = peg$parseBlockTag();
|
|
6120
6283
|
if (s3 !== peg$FAILED) {
|
|
6121
|
-
|
|
6122
|
-
s0 = peg$f72(s2);
|
|
6284
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6123
6285
|
}
|
|
6124
6286
|
else {
|
|
6125
|
-
|
|
6126
|
-
s0 = peg$FAILED;
|
|
6127
|
-
}
|
|
6128
|
-
}
|
|
6129
|
-
else {
|
|
6130
|
-
peg$currPos = s0;
|
|
6131
|
-
s0 = peg$FAILED;
|
|
6132
|
-
}
|
|
6133
|
-
}
|
|
6134
|
-
else {
|
|
6135
|
-
peg$currPos = s0;
|
|
6136
|
-
s0 = peg$FAILED;
|
|
6137
|
-
}
|
|
6138
|
-
if (s0 === peg$FAILED) {
|
|
6139
|
-
s0 = peg$currPos;
|
|
6140
|
-
if (input.substr(peg$currPos, 6) === peg$c42) {
|
|
6141
|
-
s1 = peg$c42;
|
|
6142
|
-
peg$currPos += 6;
|
|
6143
|
-
}
|
|
6144
|
-
else {
|
|
6145
|
-
s1 = peg$FAILED;
|
|
6146
|
-
if (peg$silentFails === 0) {
|
|
6147
|
-
peg$fail(peg$e48);
|
|
6287
|
+
s2 = s3;
|
|
6148
6288
|
}
|
|
6149
|
-
}
|
|
6150
|
-
if (s1 !== peg$FAILED) {
|
|
6151
|
-
s2 = peg$parseColor();
|
|
6152
6289
|
if (s2 !== peg$FAILED) {
|
|
6153
6290
|
s3 = peg$parseBlockTag();
|
|
6154
6291
|
if (s3 !== peg$FAILED) {
|
|
@@ -6171,12 +6308,28 @@ function peg$parse(input, options) {
|
|
|
6171
6308
|
}
|
|
6172
6309
|
if (s0 === peg$FAILED) {
|
|
6173
6310
|
s0 = peg$currPos;
|
|
6174
|
-
|
|
6311
|
+
if (input.substr(peg$currPos, 6) === peg$c42) {
|
|
6312
|
+
s1 = peg$c42;
|
|
6313
|
+
peg$currPos += 6;
|
|
6314
|
+
}
|
|
6315
|
+
else {
|
|
6316
|
+
s1 = peg$FAILED;
|
|
6317
|
+
if (peg$silentFails === 0) {
|
|
6318
|
+
peg$fail(peg$e48);
|
|
6319
|
+
}
|
|
6320
|
+
}
|
|
6175
6321
|
if (s1 !== peg$FAILED) {
|
|
6176
|
-
s2 = peg$
|
|
6322
|
+
s2 = peg$parseColor();
|
|
6177
6323
|
if (s2 !== peg$FAILED) {
|
|
6178
|
-
|
|
6179
|
-
|
|
6324
|
+
s3 = peg$parseBlockTag();
|
|
6325
|
+
if (s3 !== peg$FAILED) {
|
|
6326
|
+
peg$savedPos = s0;
|
|
6327
|
+
s0 = peg$f74(s2);
|
|
6328
|
+
}
|
|
6329
|
+
else {
|
|
6330
|
+
peg$currPos = s0;
|
|
6331
|
+
s0 = peg$FAILED;
|
|
6332
|
+
}
|
|
6180
6333
|
}
|
|
6181
6334
|
else {
|
|
6182
6335
|
peg$currPos = s0;
|
|
@@ -6189,48 +6342,37 @@ function peg$parse(input, options) {
|
|
|
6189
6342
|
}
|
|
6190
6343
|
if (s0 === peg$FAILED) {
|
|
6191
6344
|
s0 = peg$currPos;
|
|
6192
|
-
|
|
6193
|
-
s1 = peg$c21;
|
|
6194
|
-
peg$currPos++;
|
|
6195
|
-
}
|
|
6196
|
-
else {
|
|
6197
|
-
s1 = peg$FAILED;
|
|
6198
|
-
if (peg$silentFails === 0) {
|
|
6199
|
-
peg$fail(peg$e25);
|
|
6200
|
-
}
|
|
6201
|
-
}
|
|
6345
|
+
s1 = peg$parseAlternativeStyleTags();
|
|
6202
6346
|
if (s1 !== peg$FAILED) {
|
|
6203
|
-
s2 = peg$
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
peg$silentFails++;
|
|
6208
|
-
s6 = peg$parseBlockTag();
|
|
6209
|
-
peg$silentFails--;
|
|
6210
|
-
if (s6 === peg$FAILED) {
|
|
6211
|
-
s5 = undefined;
|
|
6347
|
+
s2 = peg$parseBlockTag();
|
|
6348
|
+
if (s2 !== peg$FAILED) {
|
|
6349
|
+
peg$savedPos = s0;
|
|
6350
|
+
s0 = peg$f75(s1);
|
|
6212
6351
|
}
|
|
6213
6352
|
else {
|
|
6214
|
-
peg$currPos =
|
|
6215
|
-
|
|
6353
|
+
peg$currPos = s0;
|
|
6354
|
+
s0 = peg$FAILED;
|
|
6216
6355
|
}
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6356
|
+
}
|
|
6357
|
+
else {
|
|
6358
|
+
peg$currPos = s0;
|
|
6359
|
+
s0 = peg$FAILED;
|
|
6360
|
+
}
|
|
6361
|
+
if (s0 === peg$FAILED) {
|
|
6362
|
+
s0 = peg$currPos;
|
|
6363
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
6364
|
+
s1 = peg$c21;
|
|
6365
|
+
peg$currPos++;
|
|
6227
6366
|
}
|
|
6228
6367
|
else {
|
|
6229
|
-
|
|
6230
|
-
|
|
6368
|
+
s1 = peg$FAILED;
|
|
6369
|
+
if (peg$silentFails === 0) {
|
|
6370
|
+
peg$fail(peg$e25);
|
|
6371
|
+
}
|
|
6231
6372
|
}
|
|
6232
|
-
|
|
6233
|
-
|
|
6373
|
+
if (s1 !== peg$FAILED) {
|
|
6374
|
+
s2 = peg$currPos;
|
|
6375
|
+
s3 = [];
|
|
6234
6376
|
s4 = peg$currPos;
|
|
6235
6377
|
s5 = peg$currPos;
|
|
6236
6378
|
peg$silentFails++;
|
|
@@ -6258,22 +6400,52 @@ function peg$parse(input, options) {
|
|
|
6258
6400
|
peg$currPos = s4;
|
|
6259
6401
|
s4 = peg$FAILED;
|
|
6260
6402
|
}
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6403
|
+
while (s4 !== peg$FAILED) {
|
|
6404
|
+
s3.push(s4);
|
|
6405
|
+
s4 = peg$currPos;
|
|
6406
|
+
s5 = peg$currPos;
|
|
6407
|
+
peg$silentFails++;
|
|
6408
|
+
s6 = peg$parseBlockTag();
|
|
6409
|
+
peg$silentFails--;
|
|
6410
|
+
if (s6 === peg$FAILED) {
|
|
6411
|
+
s5 = undefined;
|
|
6412
|
+
}
|
|
6413
|
+
else {
|
|
6414
|
+
peg$currPos = s5;
|
|
6415
|
+
s5 = peg$FAILED;
|
|
6416
|
+
}
|
|
6417
|
+
if (s5 !== peg$FAILED) {
|
|
6418
|
+
s6 = peg$parsechar();
|
|
6419
|
+
if (s6 !== peg$FAILED) {
|
|
6420
|
+
s5 = [s5, s6];
|
|
6421
|
+
s4 = s5;
|
|
6422
|
+
}
|
|
6423
|
+
else {
|
|
6424
|
+
peg$currPos = s4;
|
|
6425
|
+
s4 = peg$FAILED;
|
|
6426
|
+
}
|
|
6427
|
+
}
|
|
6428
|
+
else {
|
|
6429
|
+
peg$currPos = s4;
|
|
6430
|
+
s4 = peg$FAILED;
|
|
6431
|
+
}
|
|
6432
|
+
}
|
|
6433
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6434
|
+
s3 = peg$parseBlockTag();
|
|
6435
|
+
if (s3 !== peg$FAILED) {
|
|
6436
|
+
peg$savedPos = s0;
|
|
6437
|
+
s0 = peg$f76(s2);
|
|
6438
|
+
}
|
|
6439
|
+
else {
|
|
6440
|
+
peg$currPos = s0;
|
|
6441
|
+
s0 = peg$FAILED;
|
|
6442
|
+
}
|
|
6267
6443
|
}
|
|
6268
6444
|
else {
|
|
6269
6445
|
peg$currPos = s0;
|
|
6270
6446
|
s0 = peg$FAILED;
|
|
6271
6447
|
}
|
|
6272
6448
|
}
|
|
6273
|
-
else {
|
|
6274
|
-
peg$currPos = s0;
|
|
6275
|
-
s0 = peg$FAILED;
|
|
6276
|
-
}
|
|
6277
6449
|
}
|
|
6278
6450
|
}
|
|
6279
6451
|
}
|
|
@@ -6778,7 +6950,7 @@ function peg$parse(input, options) {
|
|
|
6778
6950
|
s0 = peg$currPos;
|
|
6779
6951
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
6780
6952
|
peg$savedPos = s0;
|
|
6781
|
-
s1 = peg$
|
|
6953
|
+
s1 = peg$f77(s1);
|
|
6782
6954
|
s0 = s1;
|
|
6783
6955
|
peg$silentFails--;
|
|
6784
6956
|
s1 = peg$FAILED;
|
|
@@ -6808,7 +6980,7 @@ function peg$parse(input, options) {
|
|
|
6808
6980
|
}
|
|
6809
6981
|
}
|
|
6810
6982
|
peg$savedPos = s0;
|
|
6811
|
-
s0 = peg$
|
|
6983
|
+
s0 = peg$f78(s1, s2);
|
|
6812
6984
|
peg$silentFails--;
|
|
6813
6985
|
s1 = peg$FAILED;
|
|
6814
6986
|
if (peg$silentFails === 0) {
|
|
@@ -6917,7 +7089,7 @@ function peg$parse(input, options) {
|
|
|
6917
7089
|
}
|
|
6918
7090
|
if (s1 !== peg$FAILED) {
|
|
6919
7091
|
peg$savedPos = s0;
|
|
6920
|
-
s1 = peg$
|
|
7092
|
+
s1 = peg$f79(s1);
|
|
6921
7093
|
}
|
|
6922
7094
|
s0 = s1;
|
|
6923
7095
|
if (s0 === peg$FAILED) {
|
|
@@ -7138,7 +7310,7 @@ function peg$parse(input, options) {
|
|
|
7138
7310
|
s3 = peg$parseBodyBitCloseTag();
|
|
7139
7311
|
if (s3 !== peg$FAILED) {
|
|
7140
7312
|
peg$savedPos = s0;
|
|
7141
|
-
s0 = peg$
|
|
7313
|
+
s0 = peg$f80(s2);
|
|
7142
7314
|
}
|
|
7143
7315
|
else {
|
|
7144
7316
|
peg$currPos = s0;
|
|
@@ -7309,7 +7481,7 @@ function peg$parse(input, options) {
|
|
|
7309
7481
|
s5 = peg$parseBoldTag();
|
|
7310
7482
|
if (s5 !== peg$FAILED) {
|
|
7311
7483
|
peg$savedPos = s0;
|
|
7312
|
-
s0 = peg$
|
|
7484
|
+
s0 = peg$f81(s3);
|
|
7313
7485
|
}
|
|
7314
7486
|
else {
|
|
7315
7487
|
peg$currPos = s0;
|
|
@@ -7475,7 +7647,7 @@ function peg$parse(input, options) {
|
|
|
7475
7647
|
s5 = peg$parseItalicTag();
|
|
7476
7648
|
if (s5 !== peg$FAILED) {
|
|
7477
7649
|
peg$savedPos = s0;
|
|
7478
|
-
s0 = peg$
|
|
7650
|
+
s0 = peg$f82(s3);
|
|
7479
7651
|
}
|
|
7480
7652
|
else {
|
|
7481
7653
|
peg$currPos = s0;
|
|
@@ -7641,7 +7813,7 @@ function peg$parse(input, options) {
|
|
|
7641
7813
|
s5 = peg$parseLightTag();
|
|
7642
7814
|
if (s5 !== peg$FAILED) {
|
|
7643
7815
|
peg$savedPos = s0;
|
|
7644
|
-
s0 = peg$
|
|
7816
|
+
s0 = peg$f83(s3);
|
|
7645
7817
|
}
|
|
7646
7818
|
else {
|
|
7647
7819
|
peg$currPos = s0;
|
|
@@ -7807,7 +7979,7 @@ function peg$parse(input, options) {
|
|
|
7807
7979
|
s5 = peg$parseHighlightTag();
|
|
7808
7980
|
if (s5 !== peg$FAILED) {
|
|
7809
7981
|
peg$savedPos = s0;
|
|
7810
|
-
s0 = peg$
|
|
7982
|
+
s0 = peg$f84(s3);
|
|
7811
7983
|
}
|
|
7812
7984
|
else {
|
|
7813
7985
|
peg$currPos = s0;
|
|
@@ -8439,7 +8611,7 @@ function peg$parse(input, options) {
|
|
|
8439
8611
|
}
|
|
8440
8612
|
s2 = input.substring(s2, peg$currPos);
|
|
8441
8613
|
peg$savedPos = s0;
|
|
8442
|
-
s0 = peg$
|
|
8614
|
+
s0 = peg$f85(s1, s2);
|
|
8443
8615
|
}
|
|
8444
8616
|
else {
|
|
8445
8617
|
peg$currPos = s0;
|