@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
//
|
|
3
3
|
// https://peggyjs.org/
|
|
4
4
|
import { Breakscape } from "../../../breakscaping/Breakscape";
|
|
5
|
-
const VERSION = "8.
|
|
5
|
+
const VERSION = "8.15.0";
|
|
6
6
|
//Parser peggy.js
|
|
7
7
|
// parser options (parameter when running parser):
|
|
8
8
|
// allowedStartRules: ["bitmarkPlusPlus", "bitmarkPlus", "bitmarkMinusMinus", "bitmarkPlusString", "bitmarkMinusMinusString"]
|
|
@@ -316,8 +316,8 @@ function peg$parse(input, options) {
|
|
|
316
316
|
var peg$c30 = "=";
|
|
317
317
|
var peg$c31 = "\uD835\uDC53";
|
|
318
318
|
var peg$c32 = "link:";
|
|
319
|
-
var peg$c33 = "
|
|
320
|
-
var peg$c34 = "
|
|
319
|
+
var peg$c33 = "xref:";
|
|
320
|
+
var peg$c34 = "\u25BA";
|
|
321
321
|
var peg$c35 = "footnote:";
|
|
322
322
|
var peg$c36 = "var:";
|
|
323
323
|
var peg$c37 = "code:";
|
|
@@ -426,8 +426,8 @@ function peg$parse(input, options) {
|
|
|
426
426
|
var peg$e36 = peg$literalExpectation("=", false);
|
|
427
427
|
var peg$e37 = peg$literalExpectation("\uD835\uDC53", false);
|
|
428
428
|
var peg$e38 = peg$literalExpectation("link:", false);
|
|
429
|
-
var peg$e39 = peg$literalExpectation("
|
|
430
|
-
var peg$e40 = peg$literalExpectation("
|
|
429
|
+
var peg$e39 = peg$literalExpectation("xref:", false);
|
|
430
|
+
var peg$e40 = peg$literalExpectation("\u25BA", false);
|
|
431
431
|
var peg$e41 = peg$literalExpectation("footnote:", false);
|
|
432
432
|
var peg$e42 = peg$literalExpectation("var:", false);
|
|
433
433
|
var peg$e43 = peg$literalExpectation("code:", false);
|
|
@@ -655,27 +655,28 @@ function peg$parse(input, options) {
|
|
|
655
655
|
var peg$f61 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
|
|
656
656
|
var peg$f62 = function (ch) { return ch; };
|
|
657
657
|
var peg$f63 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
|
|
658
|
-
var peg$f64 = function (str) { return { type: '
|
|
659
|
-
var peg$f65 = function (str) { return { type: 'xref', attrs: {
|
|
660
|
-
var peg$f66 = function (str) { return { type: '
|
|
661
|
-
var peg$f67 = function (str) { return { type: '
|
|
662
|
-
var peg$f68 = function () { return { type: '
|
|
663
|
-
var peg$f69 = function (
|
|
664
|
-
var peg$f70 = function () { return { type: '
|
|
665
|
-
var peg$f71 = function (
|
|
666
|
-
var peg$f72 = function (str) { return { type: '
|
|
667
|
-
var peg$f73 = function (
|
|
668
|
-
var peg$f74 = function (
|
|
669
|
-
var peg$f75 = function (
|
|
670
|
-
var peg$f76 = function (
|
|
671
|
-
var peg$f77 = function (
|
|
672
|
-
var peg$f78 = function (
|
|
673
|
-
var peg$f79 = function (t) { return {
|
|
674
|
-
var peg$f80 = function (t) { return {
|
|
675
|
-
var peg$f81 = function (t) { return { marks: [{ type: "
|
|
676
|
-
var peg$f82 = function (t) { return { marks: [{ type: "
|
|
677
|
-
var peg$f83 = function (t) { return { marks: [{ type: "
|
|
678
|
-
var peg$f84 = function (
|
|
658
|
+
var peg$f64 = function (str, str2) { return { type: 'xref', attrs: { xref: str.trim(), reference: str2.trim() } }; };
|
|
659
|
+
var peg$f65 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference: '' } }; };
|
|
660
|
+
var peg$f66 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
|
|
661
|
+
var peg$f67 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
662
|
+
var peg$f68 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
|
|
663
|
+
var peg$f69 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
|
|
664
|
+
var peg$f70 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
|
|
665
|
+
var peg$f71 = function () { return { type: 'timer', attrs: { name: "" } }; };
|
|
666
|
+
var peg$f72 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
|
|
667
|
+
var peg$f73 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
|
|
668
|
+
var peg$f74 = function (color) { return { type: 'color', attrs: { color } }; };
|
|
669
|
+
var peg$f75 = function (style) { return { type: style }; };
|
|
670
|
+
var peg$f76 = function (str) { return { type: "comment", comment: str }; };
|
|
671
|
+
var peg$f77 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
|
|
672
|
+
var peg$f78 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
|
|
673
|
+
var peg$f79 = function (t) { return { text: unbreakscape(t), type: "text" }; };
|
|
674
|
+
var peg$f80 = function (t) { return { index: +t, type: "bit" }; };
|
|
675
|
+
var peg$f81 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
|
|
676
|
+
var peg$f82 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
|
|
677
|
+
var peg$f83 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
|
|
678
|
+
var peg$f84 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
|
|
679
|
+
var peg$f85 = function (pr, t) { return { pr, t }; };
|
|
679
680
|
var peg$currPos = options.peg$currPos | 0;
|
|
680
681
|
var peg$savedPos = peg$currPos;
|
|
681
682
|
var peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -5438,9 +5439,9 @@ function peg$parse(input, options) {
|
|
|
5438
5439
|
}
|
|
5439
5440
|
if (s0 === peg$FAILED) {
|
|
5440
5441
|
s0 = peg$currPos;
|
|
5441
|
-
if (input.
|
|
5442
|
+
if (input.substr(peg$currPos, 5) === peg$c33) {
|
|
5442
5443
|
s1 = peg$c33;
|
|
5443
|
-
peg$currPos
|
|
5444
|
+
peg$currPos += 5;
|
|
5444
5445
|
}
|
|
5445
5446
|
else {
|
|
5446
5447
|
s1 = peg$FAILED;
|
|
@@ -5511,8 +5512,91 @@ function peg$parse(input, options) {
|
|
|
5511
5512
|
s2 = input.substring(s2, peg$currPos);
|
|
5512
5513
|
s3 = peg$parseBlockTag();
|
|
5513
5514
|
if (s3 !== peg$FAILED) {
|
|
5514
|
-
peg$
|
|
5515
|
-
|
|
5515
|
+
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5516
|
+
s4 = peg$c34;
|
|
5517
|
+
peg$currPos++;
|
|
5518
|
+
}
|
|
5519
|
+
else {
|
|
5520
|
+
s4 = peg$FAILED;
|
|
5521
|
+
if (peg$silentFails === 0) {
|
|
5522
|
+
peg$fail(peg$e40);
|
|
5523
|
+
}
|
|
5524
|
+
}
|
|
5525
|
+
if (s4 !== peg$FAILED) {
|
|
5526
|
+
s5 = peg$currPos;
|
|
5527
|
+
s6 = [];
|
|
5528
|
+
s7 = peg$currPos;
|
|
5529
|
+
s8 = peg$currPos;
|
|
5530
|
+
peg$silentFails++;
|
|
5531
|
+
s9 = peg$parseBlockTag();
|
|
5532
|
+
peg$silentFails--;
|
|
5533
|
+
if (s9 === peg$FAILED) {
|
|
5534
|
+
s8 = undefined;
|
|
5535
|
+
}
|
|
5536
|
+
else {
|
|
5537
|
+
peg$currPos = s8;
|
|
5538
|
+
s8 = peg$FAILED;
|
|
5539
|
+
}
|
|
5540
|
+
if (s8 !== peg$FAILED) {
|
|
5541
|
+
s9 = peg$parsechar();
|
|
5542
|
+
if (s9 !== peg$FAILED) {
|
|
5543
|
+
s8 = [s8, s9];
|
|
5544
|
+
s7 = s8;
|
|
5545
|
+
}
|
|
5546
|
+
else {
|
|
5547
|
+
peg$currPos = s7;
|
|
5548
|
+
s7 = peg$FAILED;
|
|
5549
|
+
}
|
|
5550
|
+
}
|
|
5551
|
+
else {
|
|
5552
|
+
peg$currPos = s7;
|
|
5553
|
+
s7 = peg$FAILED;
|
|
5554
|
+
}
|
|
5555
|
+
while (s7 !== peg$FAILED) {
|
|
5556
|
+
s6.push(s7);
|
|
5557
|
+
s7 = peg$currPos;
|
|
5558
|
+
s8 = peg$currPos;
|
|
5559
|
+
peg$silentFails++;
|
|
5560
|
+
s9 = peg$parseBlockTag();
|
|
5561
|
+
peg$silentFails--;
|
|
5562
|
+
if (s9 === peg$FAILED) {
|
|
5563
|
+
s8 = undefined;
|
|
5564
|
+
}
|
|
5565
|
+
else {
|
|
5566
|
+
peg$currPos = s8;
|
|
5567
|
+
s8 = peg$FAILED;
|
|
5568
|
+
}
|
|
5569
|
+
if (s8 !== peg$FAILED) {
|
|
5570
|
+
s9 = peg$parsechar();
|
|
5571
|
+
if (s9 !== peg$FAILED) {
|
|
5572
|
+
s8 = [s8, s9];
|
|
5573
|
+
s7 = s8;
|
|
5574
|
+
}
|
|
5575
|
+
else {
|
|
5576
|
+
peg$currPos = s7;
|
|
5577
|
+
s7 = peg$FAILED;
|
|
5578
|
+
}
|
|
5579
|
+
}
|
|
5580
|
+
else {
|
|
5581
|
+
peg$currPos = s7;
|
|
5582
|
+
s7 = peg$FAILED;
|
|
5583
|
+
}
|
|
5584
|
+
}
|
|
5585
|
+
s5 = input.substring(s5, peg$currPos);
|
|
5586
|
+
s6 = peg$parseBlockTag();
|
|
5587
|
+
if (s6 !== peg$FAILED) {
|
|
5588
|
+
peg$savedPos = s0;
|
|
5589
|
+
s0 = peg$f64(s2, s5);
|
|
5590
|
+
}
|
|
5591
|
+
else {
|
|
5592
|
+
peg$currPos = s0;
|
|
5593
|
+
s0 = peg$FAILED;
|
|
5594
|
+
}
|
|
5595
|
+
}
|
|
5596
|
+
else {
|
|
5597
|
+
peg$currPos = s0;
|
|
5598
|
+
s0 = peg$FAILED;
|
|
5599
|
+
}
|
|
5516
5600
|
}
|
|
5517
5601
|
else {
|
|
5518
5602
|
peg$currPos = s0;
|
|
@@ -5525,14 +5609,14 @@ function peg$parse(input, options) {
|
|
|
5525
5609
|
}
|
|
5526
5610
|
if (s0 === peg$FAILED) {
|
|
5527
5611
|
s0 = peg$currPos;
|
|
5528
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5529
|
-
s1 = peg$
|
|
5612
|
+
if (input.substr(peg$currPos, 5) === peg$c33) {
|
|
5613
|
+
s1 = peg$c33;
|
|
5530
5614
|
peg$currPos += 5;
|
|
5531
5615
|
}
|
|
5532
5616
|
else {
|
|
5533
5617
|
s1 = peg$FAILED;
|
|
5534
5618
|
if (peg$silentFails === 0) {
|
|
5535
|
-
peg$fail(peg$
|
|
5619
|
+
peg$fail(peg$e39);
|
|
5536
5620
|
}
|
|
5537
5621
|
}
|
|
5538
5622
|
if (s1 !== peg$FAILED) {
|
|
@@ -5612,14 +5696,14 @@ function peg$parse(input, options) {
|
|
|
5612
5696
|
}
|
|
5613
5697
|
if (s0 === peg$FAILED) {
|
|
5614
5698
|
s0 = peg$currPos;
|
|
5615
|
-
if (input.
|
|
5616
|
-
s1 = peg$
|
|
5617
|
-
peg$currPos
|
|
5699
|
+
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5700
|
+
s1 = peg$c34;
|
|
5701
|
+
peg$currPos++;
|
|
5618
5702
|
}
|
|
5619
5703
|
else {
|
|
5620
5704
|
s1 = peg$FAILED;
|
|
5621
5705
|
if (peg$silentFails === 0) {
|
|
5622
|
-
peg$fail(peg$
|
|
5706
|
+
peg$fail(peg$e40);
|
|
5623
5707
|
}
|
|
5624
5708
|
}
|
|
5625
5709
|
if (s1 !== peg$FAILED) {
|
|
@@ -5699,14 +5783,14 @@ function peg$parse(input, options) {
|
|
|
5699
5783
|
}
|
|
5700
5784
|
if (s0 === peg$FAILED) {
|
|
5701
5785
|
s0 = peg$currPos;
|
|
5702
|
-
if (input.substr(peg$currPos,
|
|
5703
|
-
s1 = peg$
|
|
5704
|
-
peg$currPos +=
|
|
5786
|
+
if (input.substr(peg$currPos, 9) === peg$c35) {
|
|
5787
|
+
s1 = peg$c35;
|
|
5788
|
+
peg$currPos += 9;
|
|
5705
5789
|
}
|
|
5706
5790
|
else {
|
|
5707
5791
|
s1 = peg$FAILED;
|
|
5708
5792
|
if (peg$silentFails === 0) {
|
|
5709
|
-
peg$fail(peg$
|
|
5793
|
+
peg$fail(peg$e41);
|
|
5710
5794
|
}
|
|
5711
5795
|
}
|
|
5712
5796
|
if (s1 !== peg$FAILED) {
|
|
@@ -5786,46 +5870,48 @@ function peg$parse(input, options) {
|
|
|
5786
5870
|
}
|
|
5787
5871
|
if (s0 === peg$FAILED) {
|
|
5788
5872
|
s0 = peg$currPos;
|
|
5789
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5790
|
-
s1 = peg$
|
|
5873
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
5874
|
+
s1 = peg$c36;
|
|
5791
5875
|
peg$currPos += 4;
|
|
5792
5876
|
}
|
|
5793
5877
|
else {
|
|
5794
5878
|
s1 = peg$FAILED;
|
|
5795
5879
|
if (peg$silentFails === 0) {
|
|
5796
|
-
peg$fail(peg$
|
|
5880
|
+
peg$fail(peg$e42);
|
|
5797
5881
|
}
|
|
5798
5882
|
}
|
|
5799
5883
|
if (s1 !== peg$FAILED) {
|
|
5800
|
-
s2 = peg$
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5884
|
+
s2 = peg$currPos;
|
|
5885
|
+
s3 = [];
|
|
5886
|
+
s4 = peg$currPos;
|
|
5887
|
+
s5 = peg$currPos;
|
|
5888
|
+
peg$silentFails++;
|
|
5889
|
+
s6 = peg$parseBlockTag();
|
|
5890
|
+
peg$silentFails--;
|
|
5891
|
+
if (s6 === peg$FAILED) {
|
|
5892
|
+
s5 = undefined;
|
|
5804
5893
|
}
|
|
5805
5894
|
else {
|
|
5806
|
-
peg$currPos =
|
|
5807
|
-
|
|
5895
|
+
peg$currPos = s5;
|
|
5896
|
+
s5 = peg$FAILED;
|
|
5808
5897
|
}
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5898
|
+
if (s5 !== peg$FAILED) {
|
|
5899
|
+
s6 = peg$parsechar();
|
|
5900
|
+
if (s6 !== peg$FAILED) {
|
|
5901
|
+
s5 = [s5, s6];
|
|
5902
|
+
s4 = s5;
|
|
5903
|
+
}
|
|
5904
|
+
else {
|
|
5905
|
+
peg$currPos = s4;
|
|
5906
|
+
s4 = peg$FAILED;
|
|
5907
|
+
}
|
|
5819
5908
|
}
|
|
5820
5909
|
else {
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
peg$fail(peg$e43);
|
|
5824
|
-
}
|
|
5910
|
+
peg$currPos = s4;
|
|
5911
|
+
s4 = peg$FAILED;
|
|
5825
5912
|
}
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
s3 = [];
|
|
5913
|
+
while (s4 !== peg$FAILED) {
|
|
5914
|
+
s3.push(s4);
|
|
5829
5915
|
s4 = peg$currPos;
|
|
5830
5916
|
s5 = peg$currPos;
|
|
5831
5917
|
peg$silentFails++;
|
|
@@ -5853,41 +5939,39 @@ function peg$parse(input, options) {
|
|
|
5853
5939
|
peg$currPos = s4;
|
|
5854
5940
|
s4 = peg$FAILED;
|
|
5855
5941
|
}
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
peg$currPos = s4;
|
|
5883
|
-
s4 = peg$FAILED;
|
|
5884
|
-
}
|
|
5942
|
+
}
|
|
5943
|
+
s2 = input.substring(s2, peg$currPos);
|
|
5944
|
+
s3 = peg$parseBlockTag();
|
|
5945
|
+
if (s3 !== peg$FAILED) {
|
|
5946
|
+
peg$savedPos = s0;
|
|
5947
|
+
s0 = peg$f68(s2);
|
|
5948
|
+
}
|
|
5949
|
+
else {
|
|
5950
|
+
peg$currPos = s0;
|
|
5951
|
+
s0 = peg$FAILED;
|
|
5952
|
+
}
|
|
5953
|
+
}
|
|
5954
|
+
else {
|
|
5955
|
+
peg$currPos = s0;
|
|
5956
|
+
s0 = peg$FAILED;
|
|
5957
|
+
}
|
|
5958
|
+
if (s0 === peg$FAILED) {
|
|
5959
|
+
s0 = peg$currPos;
|
|
5960
|
+
if (input.substr(peg$currPos, 4) === peg$c5) {
|
|
5961
|
+
s1 = peg$c5;
|
|
5962
|
+
peg$currPos += 4;
|
|
5963
|
+
}
|
|
5964
|
+
else {
|
|
5965
|
+
s1 = peg$FAILED;
|
|
5966
|
+
if (peg$silentFails === 0) {
|
|
5967
|
+
peg$fail(peg$e7);
|
|
5885
5968
|
}
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5969
|
+
}
|
|
5970
|
+
if (s1 !== peg$FAILED) {
|
|
5971
|
+
s2 = peg$parseBlockTag();
|
|
5972
|
+
if (s2 !== peg$FAILED) {
|
|
5889
5973
|
peg$savedPos = s0;
|
|
5890
|
-
s0 = peg$f69(
|
|
5974
|
+
s0 = peg$f69();
|
|
5891
5975
|
}
|
|
5892
5976
|
else {
|
|
5893
5977
|
peg$currPos = s0;
|
|
@@ -5900,46 +5984,48 @@ function peg$parse(input, options) {
|
|
|
5900
5984
|
}
|
|
5901
5985
|
if (s0 === peg$FAILED) {
|
|
5902
5986
|
s0 = peg$currPos;
|
|
5903
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5904
|
-
s1 = peg$
|
|
5987
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
5988
|
+
s1 = peg$c37;
|
|
5905
5989
|
peg$currPos += 5;
|
|
5906
5990
|
}
|
|
5907
5991
|
else {
|
|
5908
5992
|
s1 = peg$FAILED;
|
|
5909
5993
|
if (peg$silentFails === 0) {
|
|
5910
|
-
peg$fail(peg$
|
|
5994
|
+
peg$fail(peg$e43);
|
|
5911
5995
|
}
|
|
5912
5996
|
}
|
|
5913
5997
|
if (s1 !== peg$FAILED) {
|
|
5914
|
-
s2 = peg$
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5998
|
+
s2 = peg$currPos;
|
|
5999
|
+
s3 = [];
|
|
6000
|
+
s4 = peg$currPos;
|
|
6001
|
+
s5 = peg$currPos;
|
|
6002
|
+
peg$silentFails++;
|
|
6003
|
+
s6 = peg$parseBlockTag();
|
|
6004
|
+
peg$silentFails--;
|
|
6005
|
+
if (s6 === peg$FAILED) {
|
|
6006
|
+
s5 = undefined;
|
|
5918
6007
|
}
|
|
5919
6008
|
else {
|
|
5920
|
-
peg$currPos =
|
|
5921
|
-
|
|
6009
|
+
peg$currPos = s5;
|
|
6010
|
+
s5 = peg$FAILED;
|
|
5922
6011
|
}
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
6012
|
+
if (s5 !== peg$FAILED) {
|
|
6013
|
+
s6 = peg$parsechar();
|
|
6014
|
+
if (s6 !== peg$FAILED) {
|
|
6015
|
+
s5 = [s5, s6];
|
|
6016
|
+
s4 = s5;
|
|
6017
|
+
}
|
|
6018
|
+
else {
|
|
6019
|
+
peg$currPos = s4;
|
|
6020
|
+
s4 = peg$FAILED;
|
|
6021
|
+
}
|
|
5933
6022
|
}
|
|
5934
6023
|
else {
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
peg$fail(peg$e45);
|
|
5938
|
-
}
|
|
6024
|
+
peg$currPos = s4;
|
|
6025
|
+
s4 = peg$FAILED;
|
|
5939
6026
|
}
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
s3 = [];
|
|
6027
|
+
while (s4 !== peg$FAILED) {
|
|
6028
|
+
s3.push(s4);
|
|
5943
6029
|
s4 = peg$currPos;
|
|
5944
6030
|
s5 = peg$currPos;
|
|
5945
6031
|
peg$silentFails++;
|
|
@@ -5967,8 +6053,64 @@ function peg$parse(input, options) {
|
|
|
5967
6053
|
peg$currPos = s4;
|
|
5968
6054
|
s4 = peg$FAILED;
|
|
5969
6055
|
}
|
|
5970
|
-
|
|
5971
|
-
|
|
6056
|
+
}
|
|
6057
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6058
|
+
s3 = peg$parseBlockTag();
|
|
6059
|
+
if (s3 !== peg$FAILED) {
|
|
6060
|
+
peg$savedPos = s0;
|
|
6061
|
+
s0 = peg$f70(s2);
|
|
6062
|
+
}
|
|
6063
|
+
else {
|
|
6064
|
+
peg$currPos = s0;
|
|
6065
|
+
s0 = peg$FAILED;
|
|
6066
|
+
}
|
|
6067
|
+
}
|
|
6068
|
+
else {
|
|
6069
|
+
peg$currPos = s0;
|
|
6070
|
+
s0 = peg$FAILED;
|
|
6071
|
+
}
|
|
6072
|
+
if (s0 === peg$FAILED) {
|
|
6073
|
+
s0 = peg$currPos;
|
|
6074
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
6075
|
+
s1 = peg$c38;
|
|
6076
|
+
peg$currPos += 5;
|
|
6077
|
+
}
|
|
6078
|
+
else {
|
|
6079
|
+
s1 = peg$FAILED;
|
|
6080
|
+
if (peg$silentFails === 0) {
|
|
6081
|
+
peg$fail(peg$e44);
|
|
6082
|
+
}
|
|
6083
|
+
}
|
|
6084
|
+
if (s1 !== peg$FAILED) {
|
|
6085
|
+
s2 = peg$parseBlockTag();
|
|
6086
|
+
if (s2 !== peg$FAILED) {
|
|
6087
|
+
peg$savedPos = s0;
|
|
6088
|
+
s0 = peg$f71();
|
|
6089
|
+
}
|
|
6090
|
+
else {
|
|
6091
|
+
peg$currPos = s0;
|
|
6092
|
+
s0 = peg$FAILED;
|
|
6093
|
+
}
|
|
6094
|
+
}
|
|
6095
|
+
else {
|
|
6096
|
+
peg$currPos = s0;
|
|
6097
|
+
s0 = peg$FAILED;
|
|
6098
|
+
}
|
|
6099
|
+
if (s0 === peg$FAILED) {
|
|
6100
|
+
s0 = peg$currPos;
|
|
6101
|
+
if (input.substr(peg$currPos, 6) === peg$c39) {
|
|
6102
|
+
s1 = peg$c39;
|
|
6103
|
+
peg$currPos += 6;
|
|
6104
|
+
}
|
|
6105
|
+
else {
|
|
6106
|
+
s1 = peg$FAILED;
|
|
6107
|
+
if (peg$silentFails === 0) {
|
|
6108
|
+
peg$fail(peg$e45);
|
|
6109
|
+
}
|
|
6110
|
+
}
|
|
6111
|
+
if (s1 !== peg$FAILED) {
|
|
6112
|
+
s2 = peg$currPos;
|
|
6113
|
+
s3 = [];
|
|
5972
6114
|
s4 = peg$currPos;
|
|
5973
6115
|
s5 = peg$currPos;
|
|
5974
6116
|
peg$silentFails++;
|
|
@@ -5996,79 +6138,79 @@ function peg$parse(input, options) {
|
|
|
5996
6138
|
peg$currPos = s4;
|
|
5997
6139
|
s4 = peg$FAILED;
|
|
5998
6140
|
}
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
6141
|
+
while (s4 !== peg$FAILED) {
|
|
6142
|
+
s3.push(s4);
|
|
6143
|
+
s4 = peg$currPos;
|
|
6144
|
+
s5 = peg$currPos;
|
|
6145
|
+
peg$silentFails++;
|
|
6146
|
+
s6 = peg$parseBlockTag();
|
|
6147
|
+
peg$silentFails--;
|
|
6148
|
+
if (s6 === peg$FAILED) {
|
|
6149
|
+
s5 = undefined;
|
|
6150
|
+
}
|
|
6151
|
+
else {
|
|
6152
|
+
peg$currPos = s5;
|
|
6153
|
+
s5 = peg$FAILED;
|
|
6154
|
+
}
|
|
6155
|
+
if (s5 !== peg$FAILED) {
|
|
6156
|
+
s6 = peg$parsechar();
|
|
6157
|
+
if (s6 !== peg$FAILED) {
|
|
6158
|
+
s5 = [s5, s6];
|
|
6159
|
+
s4 = s5;
|
|
6160
|
+
}
|
|
6161
|
+
else {
|
|
6162
|
+
peg$currPos = s4;
|
|
6163
|
+
s4 = peg$FAILED;
|
|
6164
|
+
}
|
|
6165
|
+
}
|
|
6166
|
+
else {
|
|
6167
|
+
peg$currPos = s4;
|
|
6168
|
+
s4 = peg$FAILED;
|
|
6169
|
+
}
|
|
6170
|
+
}
|
|
6171
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6172
|
+
s3 = peg$parseBlockTag();
|
|
6173
|
+
if (s3 !== peg$FAILED) {
|
|
6174
|
+
peg$savedPos = s0;
|
|
6175
|
+
s0 = peg$f72(s2);
|
|
6176
|
+
}
|
|
6177
|
+
else {
|
|
6178
|
+
peg$currPos = s0;
|
|
6179
|
+
s0 = peg$FAILED;
|
|
6180
|
+
}
|
|
6005
6181
|
}
|
|
6006
6182
|
else {
|
|
6007
6183
|
peg$currPos = s0;
|
|
6008
6184
|
s0 = peg$FAILED;
|
|
6009
6185
|
}
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
if (s0 === peg$FAILED) {
|
|
6016
|
-
s0 = peg$currPos;
|
|
6017
|
-
if (input.substr(peg$currPos, 9) === peg$c40) {
|
|
6018
|
-
s1 = peg$c40;
|
|
6019
|
-
peg$currPos += 9;
|
|
6020
|
-
}
|
|
6021
|
-
else {
|
|
6022
|
-
s1 = peg$FAILED;
|
|
6023
|
-
if (peg$silentFails === 0) {
|
|
6024
|
-
peg$fail(peg$e46);
|
|
6025
|
-
}
|
|
6026
|
-
}
|
|
6027
|
-
if (s1 !== peg$FAILED) {
|
|
6028
|
-
s2 = peg$currPos;
|
|
6029
|
-
s3 = peg$currPos;
|
|
6030
|
-
if (input.charCodeAt(peg$currPos) === 80) {
|
|
6031
|
-
s4 = peg$c41;
|
|
6032
|
-
peg$currPos++;
|
|
6186
|
+
if (s0 === peg$FAILED) {
|
|
6187
|
+
s0 = peg$currPos;
|
|
6188
|
+
if (input.substr(peg$currPos, 9) === peg$c40) {
|
|
6189
|
+
s1 = peg$c40;
|
|
6190
|
+
peg$currPos += 9;
|
|
6033
6191
|
}
|
|
6034
6192
|
else {
|
|
6035
|
-
|
|
6193
|
+
s1 = peg$FAILED;
|
|
6036
6194
|
if (peg$silentFails === 0) {
|
|
6037
|
-
peg$fail(peg$
|
|
6195
|
+
peg$fail(peg$e46);
|
|
6038
6196
|
}
|
|
6039
6197
|
}
|
|
6040
|
-
if (
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
s9 = peg$parseBlockTag();
|
|
6047
|
-
peg$silentFails--;
|
|
6048
|
-
if (s9 === peg$FAILED) {
|
|
6049
|
-
s8 = undefined;
|
|
6198
|
+
if (s1 !== peg$FAILED) {
|
|
6199
|
+
s2 = peg$currPos;
|
|
6200
|
+
s3 = peg$currPos;
|
|
6201
|
+
if (input.charCodeAt(peg$currPos) === 80) {
|
|
6202
|
+
s4 = peg$c41;
|
|
6203
|
+
peg$currPos++;
|
|
6050
6204
|
}
|
|
6051
6205
|
else {
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
if (s8 !== peg$FAILED) {
|
|
6056
|
-
s9 = peg$parsechar();
|
|
6057
|
-
if (s9 !== peg$FAILED) {
|
|
6058
|
-
s8 = [s8, s9];
|
|
6059
|
-
s7 = s8;
|
|
6060
|
-
}
|
|
6061
|
-
else {
|
|
6062
|
-
peg$currPos = s7;
|
|
6063
|
-
s7 = peg$FAILED;
|
|
6206
|
+
s4 = peg$FAILED;
|
|
6207
|
+
if (peg$silentFails === 0) {
|
|
6208
|
+
peg$fail(peg$e47);
|
|
6064
6209
|
}
|
|
6065
6210
|
}
|
|
6066
|
-
|
|
6067
|
-
peg$currPos
|
|
6068
|
-
|
|
6069
|
-
}
|
|
6070
|
-
while (s7 !== peg$FAILED) {
|
|
6071
|
-
s6.push(s7);
|
|
6211
|
+
if (s4 !== peg$FAILED) {
|
|
6212
|
+
s5 = peg$currPos;
|
|
6213
|
+
s6 = [];
|
|
6072
6214
|
s7 = peg$currPos;
|
|
6073
6215
|
s8 = peg$currPos;
|
|
6074
6216
|
peg$silentFails++;
|
|
@@ -6096,55 +6238,50 @@ function peg$parse(input, options) {
|
|
|
6096
6238
|
peg$currPos = s7;
|
|
6097
6239
|
s7 = peg$FAILED;
|
|
6098
6240
|
}
|
|
6241
|
+
while (s7 !== peg$FAILED) {
|
|
6242
|
+
s6.push(s7);
|
|
6243
|
+
s7 = peg$currPos;
|
|
6244
|
+
s8 = peg$currPos;
|
|
6245
|
+
peg$silentFails++;
|
|
6246
|
+
s9 = peg$parseBlockTag();
|
|
6247
|
+
peg$silentFails--;
|
|
6248
|
+
if (s9 === peg$FAILED) {
|
|
6249
|
+
s8 = undefined;
|
|
6250
|
+
}
|
|
6251
|
+
else {
|
|
6252
|
+
peg$currPos = s8;
|
|
6253
|
+
s8 = peg$FAILED;
|
|
6254
|
+
}
|
|
6255
|
+
if (s8 !== peg$FAILED) {
|
|
6256
|
+
s9 = peg$parsechar();
|
|
6257
|
+
if (s9 !== peg$FAILED) {
|
|
6258
|
+
s8 = [s8, s9];
|
|
6259
|
+
s7 = s8;
|
|
6260
|
+
}
|
|
6261
|
+
else {
|
|
6262
|
+
peg$currPos = s7;
|
|
6263
|
+
s7 = peg$FAILED;
|
|
6264
|
+
}
|
|
6265
|
+
}
|
|
6266
|
+
else {
|
|
6267
|
+
peg$currPos = s7;
|
|
6268
|
+
s7 = peg$FAILED;
|
|
6269
|
+
}
|
|
6270
|
+
}
|
|
6271
|
+
s5 = input.substring(s5, peg$currPos);
|
|
6272
|
+
s4 = [s4, s5];
|
|
6273
|
+
s3 = s4;
|
|
6274
|
+
}
|
|
6275
|
+
else {
|
|
6276
|
+
peg$currPos = s3;
|
|
6277
|
+
s3 = peg$FAILED;
|
|
6099
6278
|
}
|
|
6100
|
-
s5 = input.substring(s5, peg$currPos);
|
|
6101
|
-
s4 = [s4, s5];
|
|
6102
|
-
s3 = s4;
|
|
6103
|
-
}
|
|
6104
|
-
else {
|
|
6105
|
-
peg$currPos = s3;
|
|
6106
|
-
s3 = peg$FAILED;
|
|
6107
|
-
}
|
|
6108
|
-
if (s3 !== peg$FAILED) {
|
|
6109
|
-
s2 = input.substring(s2, peg$currPos);
|
|
6110
|
-
}
|
|
6111
|
-
else {
|
|
6112
|
-
s2 = s3;
|
|
6113
|
-
}
|
|
6114
|
-
if (s2 !== peg$FAILED) {
|
|
6115
|
-
s3 = peg$parseBlockTag();
|
|
6116
6279
|
if (s3 !== peg$FAILED) {
|
|
6117
|
-
|
|
6118
|
-
s0 = peg$f72(s2);
|
|
6280
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6119
6281
|
}
|
|
6120
6282
|
else {
|
|
6121
|
-
|
|
6122
|
-
s0 = peg$FAILED;
|
|
6123
|
-
}
|
|
6124
|
-
}
|
|
6125
|
-
else {
|
|
6126
|
-
peg$currPos = s0;
|
|
6127
|
-
s0 = peg$FAILED;
|
|
6128
|
-
}
|
|
6129
|
-
}
|
|
6130
|
-
else {
|
|
6131
|
-
peg$currPos = s0;
|
|
6132
|
-
s0 = peg$FAILED;
|
|
6133
|
-
}
|
|
6134
|
-
if (s0 === peg$FAILED) {
|
|
6135
|
-
s0 = peg$currPos;
|
|
6136
|
-
if (input.substr(peg$currPos, 6) === peg$c42) {
|
|
6137
|
-
s1 = peg$c42;
|
|
6138
|
-
peg$currPos += 6;
|
|
6139
|
-
}
|
|
6140
|
-
else {
|
|
6141
|
-
s1 = peg$FAILED;
|
|
6142
|
-
if (peg$silentFails === 0) {
|
|
6143
|
-
peg$fail(peg$e48);
|
|
6283
|
+
s2 = s3;
|
|
6144
6284
|
}
|
|
6145
|
-
}
|
|
6146
|
-
if (s1 !== peg$FAILED) {
|
|
6147
|
-
s2 = peg$parseColor();
|
|
6148
6285
|
if (s2 !== peg$FAILED) {
|
|
6149
6286
|
s3 = peg$parseBlockTag();
|
|
6150
6287
|
if (s3 !== peg$FAILED) {
|
|
@@ -6167,12 +6304,28 @@ function peg$parse(input, options) {
|
|
|
6167
6304
|
}
|
|
6168
6305
|
if (s0 === peg$FAILED) {
|
|
6169
6306
|
s0 = peg$currPos;
|
|
6170
|
-
|
|
6307
|
+
if (input.substr(peg$currPos, 6) === peg$c42) {
|
|
6308
|
+
s1 = peg$c42;
|
|
6309
|
+
peg$currPos += 6;
|
|
6310
|
+
}
|
|
6311
|
+
else {
|
|
6312
|
+
s1 = peg$FAILED;
|
|
6313
|
+
if (peg$silentFails === 0) {
|
|
6314
|
+
peg$fail(peg$e48);
|
|
6315
|
+
}
|
|
6316
|
+
}
|
|
6171
6317
|
if (s1 !== peg$FAILED) {
|
|
6172
|
-
s2 = peg$
|
|
6318
|
+
s2 = peg$parseColor();
|
|
6173
6319
|
if (s2 !== peg$FAILED) {
|
|
6174
|
-
|
|
6175
|
-
|
|
6320
|
+
s3 = peg$parseBlockTag();
|
|
6321
|
+
if (s3 !== peg$FAILED) {
|
|
6322
|
+
peg$savedPos = s0;
|
|
6323
|
+
s0 = peg$f74(s2);
|
|
6324
|
+
}
|
|
6325
|
+
else {
|
|
6326
|
+
peg$currPos = s0;
|
|
6327
|
+
s0 = peg$FAILED;
|
|
6328
|
+
}
|
|
6176
6329
|
}
|
|
6177
6330
|
else {
|
|
6178
6331
|
peg$currPos = s0;
|
|
@@ -6185,48 +6338,37 @@ function peg$parse(input, options) {
|
|
|
6185
6338
|
}
|
|
6186
6339
|
if (s0 === peg$FAILED) {
|
|
6187
6340
|
s0 = peg$currPos;
|
|
6188
|
-
|
|
6189
|
-
s1 = peg$c21;
|
|
6190
|
-
peg$currPos++;
|
|
6191
|
-
}
|
|
6192
|
-
else {
|
|
6193
|
-
s1 = peg$FAILED;
|
|
6194
|
-
if (peg$silentFails === 0) {
|
|
6195
|
-
peg$fail(peg$e25);
|
|
6196
|
-
}
|
|
6197
|
-
}
|
|
6341
|
+
s1 = peg$parseAlternativeStyleTags();
|
|
6198
6342
|
if (s1 !== peg$FAILED) {
|
|
6199
|
-
s2 = peg$
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
peg$silentFails++;
|
|
6204
|
-
s6 = peg$parseBlockTag();
|
|
6205
|
-
peg$silentFails--;
|
|
6206
|
-
if (s6 === peg$FAILED) {
|
|
6207
|
-
s5 = undefined;
|
|
6343
|
+
s2 = peg$parseBlockTag();
|
|
6344
|
+
if (s2 !== peg$FAILED) {
|
|
6345
|
+
peg$savedPos = s0;
|
|
6346
|
+
s0 = peg$f75(s1);
|
|
6208
6347
|
}
|
|
6209
6348
|
else {
|
|
6210
|
-
peg$currPos =
|
|
6211
|
-
|
|
6349
|
+
peg$currPos = s0;
|
|
6350
|
+
s0 = peg$FAILED;
|
|
6212
6351
|
}
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6352
|
+
}
|
|
6353
|
+
else {
|
|
6354
|
+
peg$currPos = s0;
|
|
6355
|
+
s0 = peg$FAILED;
|
|
6356
|
+
}
|
|
6357
|
+
if (s0 === peg$FAILED) {
|
|
6358
|
+
s0 = peg$currPos;
|
|
6359
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
6360
|
+
s1 = peg$c21;
|
|
6361
|
+
peg$currPos++;
|
|
6223
6362
|
}
|
|
6224
6363
|
else {
|
|
6225
|
-
|
|
6226
|
-
|
|
6364
|
+
s1 = peg$FAILED;
|
|
6365
|
+
if (peg$silentFails === 0) {
|
|
6366
|
+
peg$fail(peg$e25);
|
|
6367
|
+
}
|
|
6227
6368
|
}
|
|
6228
|
-
|
|
6229
|
-
|
|
6369
|
+
if (s1 !== peg$FAILED) {
|
|
6370
|
+
s2 = peg$currPos;
|
|
6371
|
+
s3 = [];
|
|
6230
6372
|
s4 = peg$currPos;
|
|
6231
6373
|
s5 = peg$currPos;
|
|
6232
6374
|
peg$silentFails++;
|
|
@@ -6254,22 +6396,52 @@ function peg$parse(input, options) {
|
|
|
6254
6396
|
peg$currPos = s4;
|
|
6255
6397
|
s4 = peg$FAILED;
|
|
6256
6398
|
}
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6399
|
+
while (s4 !== peg$FAILED) {
|
|
6400
|
+
s3.push(s4);
|
|
6401
|
+
s4 = peg$currPos;
|
|
6402
|
+
s5 = peg$currPos;
|
|
6403
|
+
peg$silentFails++;
|
|
6404
|
+
s6 = peg$parseBlockTag();
|
|
6405
|
+
peg$silentFails--;
|
|
6406
|
+
if (s6 === peg$FAILED) {
|
|
6407
|
+
s5 = undefined;
|
|
6408
|
+
}
|
|
6409
|
+
else {
|
|
6410
|
+
peg$currPos = s5;
|
|
6411
|
+
s5 = peg$FAILED;
|
|
6412
|
+
}
|
|
6413
|
+
if (s5 !== peg$FAILED) {
|
|
6414
|
+
s6 = peg$parsechar();
|
|
6415
|
+
if (s6 !== peg$FAILED) {
|
|
6416
|
+
s5 = [s5, s6];
|
|
6417
|
+
s4 = s5;
|
|
6418
|
+
}
|
|
6419
|
+
else {
|
|
6420
|
+
peg$currPos = s4;
|
|
6421
|
+
s4 = peg$FAILED;
|
|
6422
|
+
}
|
|
6423
|
+
}
|
|
6424
|
+
else {
|
|
6425
|
+
peg$currPos = s4;
|
|
6426
|
+
s4 = peg$FAILED;
|
|
6427
|
+
}
|
|
6428
|
+
}
|
|
6429
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6430
|
+
s3 = peg$parseBlockTag();
|
|
6431
|
+
if (s3 !== peg$FAILED) {
|
|
6432
|
+
peg$savedPos = s0;
|
|
6433
|
+
s0 = peg$f76(s2);
|
|
6434
|
+
}
|
|
6435
|
+
else {
|
|
6436
|
+
peg$currPos = s0;
|
|
6437
|
+
s0 = peg$FAILED;
|
|
6438
|
+
}
|
|
6263
6439
|
}
|
|
6264
6440
|
else {
|
|
6265
6441
|
peg$currPos = s0;
|
|
6266
6442
|
s0 = peg$FAILED;
|
|
6267
6443
|
}
|
|
6268
6444
|
}
|
|
6269
|
-
else {
|
|
6270
|
-
peg$currPos = s0;
|
|
6271
|
-
s0 = peg$FAILED;
|
|
6272
|
-
}
|
|
6273
6445
|
}
|
|
6274
6446
|
}
|
|
6275
6447
|
}
|
|
@@ -6774,7 +6946,7 @@ function peg$parse(input, options) {
|
|
|
6774
6946
|
s0 = peg$currPos;
|
|
6775
6947
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
6776
6948
|
peg$savedPos = s0;
|
|
6777
|
-
s1 = peg$
|
|
6949
|
+
s1 = peg$f77(s1);
|
|
6778
6950
|
s0 = s1;
|
|
6779
6951
|
peg$silentFails--;
|
|
6780
6952
|
s1 = peg$FAILED;
|
|
@@ -6804,7 +6976,7 @@ function peg$parse(input, options) {
|
|
|
6804
6976
|
}
|
|
6805
6977
|
}
|
|
6806
6978
|
peg$savedPos = s0;
|
|
6807
|
-
s0 = peg$
|
|
6979
|
+
s0 = peg$f78(s1, s2);
|
|
6808
6980
|
peg$silentFails--;
|
|
6809
6981
|
s1 = peg$FAILED;
|
|
6810
6982
|
if (peg$silentFails === 0) {
|
|
@@ -6913,7 +7085,7 @@ function peg$parse(input, options) {
|
|
|
6913
7085
|
}
|
|
6914
7086
|
if (s1 !== peg$FAILED) {
|
|
6915
7087
|
peg$savedPos = s0;
|
|
6916
|
-
s1 = peg$
|
|
7088
|
+
s1 = peg$f79(s1);
|
|
6917
7089
|
}
|
|
6918
7090
|
s0 = s1;
|
|
6919
7091
|
if (s0 === peg$FAILED) {
|
|
@@ -7134,7 +7306,7 @@ function peg$parse(input, options) {
|
|
|
7134
7306
|
s3 = peg$parseBodyBitCloseTag();
|
|
7135
7307
|
if (s3 !== peg$FAILED) {
|
|
7136
7308
|
peg$savedPos = s0;
|
|
7137
|
-
s0 = peg$
|
|
7309
|
+
s0 = peg$f80(s2);
|
|
7138
7310
|
}
|
|
7139
7311
|
else {
|
|
7140
7312
|
peg$currPos = s0;
|
|
@@ -7305,7 +7477,7 @@ function peg$parse(input, options) {
|
|
|
7305
7477
|
s5 = peg$parseBoldTag();
|
|
7306
7478
|
if (s5 !== peg$FAILED) {
|
|
7307
7479
|
peg$savedPos = s0;
|
|
7308
|
-
s0 = peg$
|
|
7480
|
+
s0 = peg$f81(s3);
|
|
7309
7481
|
}
|
|
7310
7482
|
else {
|
|
7311
7483
|
peg$currPos = s0;
|
|
@@ -7471,7 +7643,7 @@ function peg$parse(input, options) {
|
|
|
7471
7643
|
s5 = peg$parseItalicTag();
|
|
7472
7644
|
if (s5 !== peg$FAILED) {
|
|
7473
7645
|
peg$savedPos = s0;
|
|
7474
|
-
s0 = peg$
|
|
7646
|
+
s0 = peg$f82(s3);
|
|
7475
7647
|
}
|
|
7476
7648
|
else {
|
|
7477
7649
|
peg$currPos = s0;
|
|
@@ -7637,7 +7809,7 @@ function peg$parse(input, options) {
|
|
|
7637
7809
|
s5 = peg$parseLightTag();
|
|
7638
7810
|
if (s5 !== peg$FAILED) {
|
|
7639
7811
|
peg$savedPos = s0;
|
|
7640
|
-
s0 = peg$
|
|
7812
|
+
s0 = peg$f83(s3);
|
|
7641
7813
|
}
|
|
7642
7814
|
else {
|
|
7643
7815
|
peg$currPos = s0;
|
|
@@ -7803,7 +7975,7 @@ function peg$parse(input, options) {
|
|
|
7803
7975
|
s5 = peg$parseHighlightTag();
|
|
7804
7976
|
if (s5 !== peg$FAILED) {
|
|
7805
7977
|
peg$savedPos = s0;
|
|
7806
|
-
s0 = peg$
|
|
7978
|
+
s0 = peg$f84(s3);
|
|
7807
7979
|
}
|
|
7808
7980
|
else {
|
|
7809
7981
|
peg$currPos = s0;
|
|
@@ -8435,7 +8607,7 @@ function peg$parse(input, options) {
|
|
|
8435
8607
|
}
|
|
8436
8608
|
s2 = input.substring(s2, peg$currPos);
|
|
8437
8609
|
peg$savedPos = s0;
|
|
8438
|
-
s0 = peg$
|
|
8610
|
+
s0 = peg$f85(s1, s2);
|
|
8439
8611
|
}
|
|
8440
8612
|
else {
|
|
8441
8613
|
peg$currPos = s0;
|