@gmb/bitmark-parser-generator 5.0.0 → 5.1.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/browser/cjs/index.cjs +644 -428
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +1 -0
- package/dist/browser/esm/index.d.ts +1 -0
- package/dist/browser/esm/index.js +644 -428
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/cli/main.js +642 -427
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +644 -428
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +644 -428
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/main.js
CHANGED
|
@@ -9814,12 +9814,12 @@ var BITS = {
|
|
|
9814
9814
|
tags: [
|
|
9815
9815
|
{
|
|
9816
9816
|
key: ConfigKey.property_iframeSrc,
|
|
9817
|
-
description: "Iframe source URL, used to define the source of the iframe"
|
|
9817
|
+
description: "Iframe source URL, used to define the source of the iframe",
|
|
9818
|
+
minCount: 1
|
|
9818
9819
|
},
|
|
9819
9820
|
{
|
|
9820
9821
|
key: ConfigKey.property_iframeName,
|
|
9821
|
-
description: "Iframe name, used to define the name of the iframe"
|
|
9822
|
-
minCount: 1
|
|
9822
|
+
description: "Iframe name, used to define the name of the iframe"
|
|
9823
9823
|
}
|
|
9824
9824
|
]
|
|
9825
9825
|
},
|
|
@@ -10169,7 +10169,7 @@ var instance2 = new Config();
|
|
|
10169
10169
|
// src/generated/package_info.ts
|
|
10170
10170
|
var PACKAGE_INFO = {
|
|
10171
10171
|
"name": "@gmb/bitmark-parser-generator",
|
|
10172
|
-
"version": "5.
|
|
10172
|
+
"version": "5.1.0",
|
|
10173
10173
|
"license": "ISC"};
|
|
10174
10174
|
var Environment = {
|
|
10175
10175
|
unknown: "",
|
|
@@ -10440,6 +10440,7 @@ var TextMarkType = {
|
|
|
10440
10440
|
timer: "timer",
|
|
10441
10441
|
duration: "duration",
|
|
10442
10442
|
color: "color",
|
|
10443
|
+
colorPicker: "colorPicker",
|
|
10443
10444
|
comment: "comment"
|
|
10444
10445
|
};
|
|
10445
10446
|
var TextNodeType = {
|
|
@@ -11907,6 +11908,7 @@ var INLINE_MARK_TYPES = [
|
|
|
11907
11908
|
TextMarkType.timer,
|
|
11908
11909
|
TextMarkType.duration,
|
|
11909
11910
|
TextMarkType.color,
|
|
11911
|
+
TextMarkType.colorPicker,
|
|
11910
11912
|
TextMarkType.comment
|
|
11911
11913
|
];
|
|
11912
11914
|
var INDENTATION_REGEX = new RegExp(/(\n|\r\n)/, "g");
|
|
@@ -12628,7 +12630,7 @@ var TextGenerator = class extends AstWalkerGenerator {
|
|
|
12628
12630
|
let s = `${mark.type}`;
|
|
12629
12631
|
if (mark.attrs) {
|
|
12630
12632
|
for (const [k, v] of Object.entries(mark.attrs)) {
|
|
12631
|
-
if (k === "language" && v !== "plain text" || k === "color" || k === "name" || k === "duration") {
|
|
12633
|
+
if (k === "language" && v !== "plain text" || k === "color" || k === "propertyRef" || k === "name" || k === "duration") {
|
|
12632
12634
|
s = `${s}:${v}`;
|
|
12633
12635
|
}
|
|
12634
12636
|
}
|
|
@@ -12819,7 +12821,7 @@ var TextGenerator = class extends AstWalkerGenerator {
|
|
|
12819
12821
|
};
|
|
12820
12822
|
|
|
12821
12823
|
// src/generated/parser/text/text-peggy-parser.js
|
|
12822
|
-
var VERSION = "8.
|
|
12824
|
+
var VERSION = "8.37.3";
|
|
12823
12825
|
function unbreakscape(str) {
|
|
12824
12826
|
if (typeof str !== "string") return null;
|
|
12825
12827
|
return instance3.unbreakscape(str);
|
|
@@ -13038,72 +13040,83 @@ function peg$parse(input, options) {
|
|
|
13038
13040
|
const peg$c64 = "duration:";
|
|
13039
13041
|
const peg$c65 = "P";
|
|
13040
13042
|
const peg$c66 = "color:";
|
|
13041
|
-
const peg$c67 = "
|
|
13042
|
-
const peg$c68 = "
|
|
13043
|
-
const peg$c69 = "
|
|
13044
|
-
const peg$c70 = "
|
|
13045
|
-
const peg$c71 = "
|
|
13046
|
-
const peg$c72 = "
|
|
13047
|
-
const peg$c73 = "
|
|
13048
|
-
const peg$c74 = "
|
|
13049
|
-
const peg$c75 = "
|
|
13050
|
-
const peg$c76 = "
|
|
13051
|
-
const peg$c77 = "
|
|
13052
|
-
const peg$c78 = "
|
|
13053
|
-
const peg$c79 = "
|
|
13054
|
-
const peg$c80 = "
|
|
13055
|
-
const peg$c81 = "
|
|
13056
|
-
const peg$c82 = "
|
|
13057
|
-
const peg$c83 = "
|
|
13058
|
-
const peg$c84 = "
|
|
13059
|
-
const peg$c85 = "
|
|
13060
|
-
const peg$c86 = "
|
|
13061
|
-
const peg$c87 = "
|
|
13062
|
-
const peg$c88 = "
|
|
13063
|
-
const peg$c89 = "
|
|
13064
|
-
const peg$c90 = "
|
|
13065
|
-
const peg$c91 = "
|
|
13066
|
-
const peg$c92 = "
|
|
13067
|
-
const peg$c93 = "
|
|
13068
|
-
const peg$c94 = "
|
|
13069
|
-
const peg$c95 = "
|
|
13070
|
-
const peg$c96 = "
|
|
13071
|
-
const peg$c97 = "
|
|
13072
|
-
const peg$c98 = "
|
|
13073
|
-
const peg$c99 = "
|
|
13074
|
-
const peg$c100 = "
|
|
13075
|
-
const peg$c101 = "
|
|
13076
|
-
const peg$c102 = "
|
|
13077
|
-
const peg$c103 = "
|
|
13078
|
-
const peg$c104 = "
|
|
13079
|
-
const peg$c105 = "
|
|
13080
|
-
const peg$c106 = "
|
|
13081
|
-
const peg$c107 = "
|
|
13082
|
-
const peg$c108 = "
|
|
13083
|
-
const peg$c109 = "
|
|
13084
|
-
const peg$c110 = "
|
|
13085
|
-
const peg$c111 = "
|
|
13086
|
-
const peg$c112 = "
|
|
13087
|
-
const peg$c113 = "
|
|
13088
|
-
const peg$c114 = "
|
|
13089
|
-
const peg$c115 = "
|
|
13090
|
-
const peg$c116 = "
|
|
13091
|
-
const peg$c117 = "
|
|
13092
|
-
const peg$c118 = "
|
|
13093
|
-
const peg$c119 = "
|
|
13094
|
-
const peg$c120 = "
|
|
13095
|
-
const peg$c121 = "
|
|
13096
|
-
const peg$c122 = "
|
|
13097
|
-
const peg$c123 = "
|
|
13098
|
-
const peg$c124 = "
|
|
13099
|
-
const peg$c125 = "
|
|
13100
|
-
const peg$c126 = "
|
|
13101
|
-
const peg$c127 = "
|
|
13102
|
-
const peg$c128 = "
|
|
13103
|
-
const peg$c129 = "
|
|
13104
|
-
const peg$c130 = "
|
|
13105
|
-
const peg$c131 = "
|
|
13106
|
-
const peg$c132 = "
|
|
13043
|
+
const peg$c67 = "colorPicker:";
|
|
13044
|
+
const peg$c68 = "|\u25BA";
|
|
13045
|
+
const peg$c69 = "bold";
|
|
13046
|
+
const peg$c70 = "italic";
|
|
13047
|
+
const peg$c71 = "light";
|
|
13048
|
+
const peg$c72 = "highlightOrange";
|
|
13049
|
+
const peg$c73 = "highlightYellow";
|
|
13050
|
+
const peg$c74 = "highlightGreen";
|
|
13051
|
+
const peg$c75 = "highlightBlue";
|
|
13052
|
+
const peg$c76 = "highlightPurple";
|
|
13053
|
+
const peg$c77 = "highlightPink";
|
|
13054
|
+
const peg$c78 = "highlightBrown";
|
|
13055
|
+
const peg$c79 = "highlightBlack";
|
|
13056
|
+
const peg$c80 = "highlightWhite";
|
|
13057
|
+
const peg$c81 = "highlightGray";
|
|
13058
|
+
const peg$c82 = "highlight";
|
|
13059
|
+
const peg$c83 = "strike";
|
|
13060
|
+
const peg$c84 = "subscript";
|
|
13061
|
+
const peg$c85 = "superscript";
|
|
13062
|
+
const peg$c86 = "ins";
|
|
13063
|
+
const peg$c87 = "del";
|
|
13064
|
+
const peg$c88 = "underline";
|
|
13065
|
+
const peg$c89 = "doubleUnderline";
|
|
13066
|
+
const peg$c90 = "circle";
|
|
13067
|
+
const peg$c91 = "languageEmRed";
|
|
13068
|
+
const peg$c92 = "languageEmOrange";
|
|
13069
|
+
const peg$c93 = "languageEmYellow";
|
|
13070
|
+
const peg$c94 = "languageEmGreen";
|
|
13071
|
+
const peg$c95 = "languageEmBlue";
|
|
13072
|
+
const peg$c96 = "languageEmPurple";
|
|
13073
|
+
const peg$c97 = "languageEmPink";
|
|
13074
|
+
const peg$c98 = "languageEmBrown";
|
|
13075
|
+
const peg$c99 = "languageEmBlack";
|
|
13076
|
+
const peg$c100 = "languageEmWhite";
|
|
13077
|
+
const peg$c101 = "languageEmGray";
|
|
13078
|
+
const peg$c102 = "languageEm";
|
|
13079
|
+
const peg$c103 = "userUnderline";
|
|
13080
|
+
const peg$c104 = "userDoubleUnderline";
|
|
13081
|
+
const peg$c105 = "userStrike";
|
|
13082
|
+
const peg$c106 = "userCircle";
|
|
13083
|
+
const peg$c107 = "userHighlight";
|
|
13084
|
+
const peg$c108 = "notranslate";
|
|
13085
|
+
const peg$c109 = "aqua";
|
|
13086
|
+
const peg$c110 = "black";
|
|
13087
|
+
const peg$c111 = "blue";
|
|
13088
|
+
const peg$c112 = "brown";
|
|
13089
|
+
const peg$c113 = "fuchsia";
|
|
13090
|
+
const peg$c114 = "lightgrey";
|
|
13091
|
+
const peg$c115 = "gray";
|
|
13092
|
+
const peg$c116 = "darkgray";
|
|
13093
|
+
const peg$c117 = "green";
|
|
13094
|
+
const peg$c118 = "lime";
|
|
13095
|
+
const peg$c119 = "magenta";
|
|
13096
|
+
const peg$c120 = "maroon";
|
|
13097
|
+
const peg$c121 = "navy";
|
|
13098
|
+
const peg$c122 = "olive";
|
|
13099
|
+
const peg$c123 = "orange";
|
|
13100
|
+
const peg$c124 = "pink";
|
|
13101
|
+
const peg$c125 = "purple";
|
|
13102
|
+
const peg$c126 = "red";
|
|
13103
|
+
const peg$c127 = "silver";
|
|
13104
|
+
const peg$c128 = "teal";
|
|
13105
|
+
const peg$c129 = "violet";
|
|
13106
|
+
const peg$c130 = "white";
|
|
13107
|
+
const peg$c131 = "yellow";
|
|
13108
|
+
const peg$c132 = "*";
|
|
13109
|
+
const peg$c133 = "_";
|
|
13110
|
+
const peg$c134 = "`";
|
|
13111
|
+
const peg$c135 = "!";
|
|
13112
|
+
const peg$c136 = "[!";
|
|
13113
|
+
const peg$c137 = "]";
|
|
13114
|
+
const peg$c138 = "\n";
|
|
13115
|
+
const peg$c139 = "\r\n";
|
|
13116
|
+
const peg$c140 = "http";
|
|
13117
|
+
const peg$c141 = "s";
|
|
13118
|
+
const peg$c142 = "://";
|
|
13119
|
+
const peg$c143 = "mailto:";
|
|
13107
13120
|
const peg$r0 = /^[ \t]/;
|
|
13108
13121
|
const peg$r1 = /^[0-9]/;
|
|
13109
13122
|
const peg$r2 = /^[\r\u2028-\u2029]/;
|
|
@@ -13180,76 +13193,87 @@ function peg$parse(input, options) {
|
|
|
13180
13193
|
const peg$e68 = peg$literalExpectation("duration:", false);
|
|
13181
13194
|
const peg$e69 = peg$literalExpectation("P", false);
|
|
13182
13195
|
const peg$e70 = peg$literalExpectation("color:", false);
|
|
13183
|
-
const peg$e71 = peg$literalExpectation("
|
|
13184
|
-
const peg$e72 = peg$literalExpectation("
|
|
13185
|
-
const peg$e73 = peg$literalExpectation("
|
|
13186
|
-
const peg$e74 = peg$literalExpectation("
|
|
13187
|
-
const peg$e75 = peg$literalExpectation("
|
|
13188
|
-
const peg$e76 = peg$literalExpectation("
|
|
13189
|
-
const peg$e77 = peg$literalExpectation("
|
|
13190
|
-
const peg$e78 = peg$literalExpectation("
|
|
13191
|
-
const peg$e79 = peg$literalExpectation("
|
|
13192
|
-
const peg$e80 = peg$literalExpectation("
|
|
13193
|
-
const peg$e81 = peg$literalExpectation("
|
|
13194
|
-
const peg$e82 = peg$literalExpectation("
|
|
13195
|
-
const peg$e83 = peg$literalExpectation("
|
|
13196
|
-
const peg$e84 = peg$literalExpectation("
|
|
13197
|
-
const peg$e85 = peg$literalExpectation("
|
|
13198
|
-
const peg$e86 = peg$literalExpectation("
|
|
13199
|
-
const peg$e87 = peg$literalExpectation("
|
|
13200
|
-
const peg$e88 = peg$literalExpectation("
|
|
13201
|
-
const peg$e89 = peg$literalExpectation("
|
|
13202
|
-
const peg$e90 = peg$literalExpectation("
|
|
13203
|
-
const peg$e91 = peg$literalExpectation("
|
|
13204
|
-
const peg$e92 = peg$literalExpectation("
|
|
13205
|
-
const peg$e93 = peg$literalExpectation("
|
|
13206
|
-
const peg$e94 = peg$literalExpectation("
|
|
13207
|
-
const peg$e95 = peg$literalExpectation("
|
|
13208
|
-
const peg$e96 = peg$literalExpectation("
|
|
13209
|
-
const peg$e97 = peg$literalExpectation("
|
|
13210
|
-
const peg$e98 = peg$literalExpectation("
|
|
13211
|
-
const peg$e99 = peg$literalExpectation("
|
|
13212
|
-
const peg$e100 = peg$literalExpectation("
|
|
13213
|
-
const peg$e101 = peg$literalExpectation("
|
|
13214
|
-
const peg$e102 = peg$literalExpectation("
|
|
13215
|
-
const peg$e103 = peg$literalExpectation("
|
|
13216
|
-
const peg$e104 = peg$literalExpectation("
|
|
13217
|
-
const peg$e105 = peg$literalExpectation("
|
|
13218
|
-
const peg$e106 = peg$literalExpectation("
|
|
13219
|
-
const peg$e107 = peg$literalExpectation("
|
|
13220
|
-
const peg$e108 = peg$literalExpectation("
|
|
13221
|
-
const peg$e109 = peg$literalExpectation("
|
|
13222
|
-
const peg$e110 = peg$literalExpectation("
|
|
13223
|
-
const peg$e111 = peg$literalExpectation("
|
|
13224
|
-
const peg$e112 = peg$literalExpectation("
|
|
13225
|
-
const peg$e113 = peg$literalExpectation("
|
|
13226
|
-
const peg$e114 = peg$literalExpectation("
|
|
13227
|
-
const peg$e115 = peg$literalExpectation("
|
|
13228
|
-
const peg$e116 = peg$literalExpectation("
|
|
13229
|
-
const peg$e117 = peg$literalExpectation("
|
|
13230
|
-
const peg$e118 = peg$literalExpectation("
|
|
13231
|
-
const peg$e119 = peg$literalExpectation("
|
|
13232
|
-
const peg$e120 = peg$literalExpectation("
|
|
13233
|
-
const peg$e121 = peg$literalExpectation("
|
|
13234
|
-
const peg$e122 = peg$literalExpectation("
|
|
13235
|
-
const peg$e123 = peg$literalExpectation("
|
|
13236
|
-
const peg$e124 = peg$literalExpectation("
|
|
13237
|
-
const peg$e125 = peg$literalExpectation("
|
|
13238
|
-
const peg$e126 = peg$literalExpectation("
|
|
13239
|
-
const peg$e127 = peg$literalExpectation("
|
|
13240
|
-
const peg$e128 = peg$literalExpectation("
|
|
13241
|
-
const peg$e129 = peg$literalExpectation("
|
|
13242
|
-
const peg$e130 = peg$literalExpectation("
|
|
13243
|
-
const peg$e131 = peg$
|
|
13244
|
-
const peg$e132 = peg$literalExpectation("
|
|
13245
|
-
const peg$e133 = peg$literalExpectation("
|
|
13246
|
-
const peg$e134 = peg$
|
|
13247
|
-
const peg$e135 = peg$
|
|
13248
|
-
const peg$e136 = peg$literalExpectation("
|
|
13249
|
-
const peg$e137 = peg$literalExpectation("
|
|
13250
|
-
const peg$e138 = peg$literalExpectation("
|
|
13251
|
-
const peg$e139 = peg$literalExpectation("
|
|
13252
|
-
const peg$e140 = peg$
|
|
13196
|
+
const peg$e71 = peg$literalExpectation("colorPicker:", false);
|
|
13197
|
+
const peg$e72 = peg$literalExpectation("|\u25BA", false);
|
|
13198
|
+
const peg$e73 = peg$literalExpectation("bold", false);
|
|
13199
|
+
const peg$e74 = peg$literalExpectation("italic", false);
|
|
13200
|
+
const peg$e75 = peg$literalExpectation("light", false);
|
|
13201
|
+
const peg$e76 = peg$literalExpectation("highlightOrange", false);
|
|
13202
|
+
const peg$e77 = peg$literalExpectation("highlightYellow", false);
|
|
13203
|
+
const peg$e78 = peg$literalExpectation("highlightGreen", false);
|
|
13204
|
+
const peg$e79 = peg$literalExpectation("highlightBlue", false);
|
|
13205
|
+
const peg$e80 = peg$literalExpectation("highlightPurple", false);
|
|
13206
|
+
const peg$e81 = peg$literalExpectation("highlightPink", false);
|
|
13207
|
+
const peg$e82 = peg$literalExpectation("highlightBrown", false);
|
|
13208
|
+
const peg$e83 = peg$literalExpectation("highlightBlack", false);
|
|
13209
|
+
const peg$e84 = peg$literalExpectation("highlightWhite", false);
|
|
13210
|
+
const peg$e85 = peg$literalExpectation("highlightGray", false);
|
|
13211
|
+
const peg$e86 = peg$literalExpectation("highlight", false);
|
|
13212
|
+
const peg$e87 = peg$literalExpectation("strike", false);
|
|
13213
|
+
const peg$e88 = peg$literalExpectation("subscript", false);
|
|
13214
|
+
const peg$e89 = peg$literalExpectation("superscript", false);
|
|
13215
|
+
const peg$e90 = peg$literalExpectation("ins", false);
|
|
13216
|
+
const peg$e91 = peg$literalExpectation("del", false);
|
|
13217
|
+
const peg$e92 = peg$literalExpectation("underline", false);
|
|
13218
|
+
const peg$e93 = peg$literalExpectation("doubleUnderline", false);
|
|
13219
|
+
const peg$e94 = peg$literalExpectation("circle", false);
|
|
13220
|
+
const peg$e95 = peg$literalExpectation("languageEmRed", false);
|
|
13221
|
+
const peg$e96 = peg$literalExpectation("languageEmOrange", false);
|
|
13222
|
+
const peg$e97 = peg$literalExpectation("languageEmYellow", false);
|
|
13223
|
+
const peg$e98 = peg$literalExpectation("languageEmGreen", false);
|
|
13224
|
+
const peg$e99 = peg$literalExpectation("languageEmBlue", false);
|
|
13225
|
+
const peg$e100 = peg$literalExpectation("languageEmPurple", false);
|
|
13226
|
+
const peg$e101 = peg$literalExpectation("languageEmPink", false);
|
|
13227
|
+
const peg$e102 = peg$literalExpectation("languageEmBrown", false);
|
|
13228
|
+
const peg$e103 = peg$literalExpectation("languageEmBlack", false);
|
|
13229
|
+
const peg$e104 = peg$literalExpectation("languageEmWhite", false);
|
|
13230
|
+
const peg$e105 = peg$literalExpectation("languageEmGray", false);
|
|
13231
|
+
const peg$e106 = peg$literalExpectation("languageEm", false);
|
|
13232
|
+
const peg$e107 = peg$literalExpectation("userUnderline", false);
|
|
13233
|
+
const peg$e108 = peg$literalExpectation("userDoubleUnderline", false);
|
|
13234
|
+
const peg$e109 = peg$literalExpectation("userStrike", false);
|
|
13235
|
+
const peg$e110 = peg$literalExpectation("userCircle", false);
|
|
13236
|
+
const peg$e111 = peg$literalExpectation("userHighlight", false);
|
|
13237
|
+
const peg$e112 = peg$literalExpectation("notranslate", false);
|
|
13238
|
+
const peg$e113 = peg$literalExpectation("aqua", false);
|
|
13239
|
+
const peg$e114 = peg$literalExpectation("black", false);
|
|
13240
|
+
const peg$e115 = peg$literalExpectation("blue", false);
|
|
13241
|
+
const peg$e116 = peg$literalExpectation("brown", false);
|
|
13242
|
+
const peg$e117 = peg$literalExpectation("fuchsia", false);
|
|
13243
|
+
const peg$e118 = peg$literalExpectation("lightgrey", false);
|
|
13244
|
+
const peg$e119 = peg$literalExpectation("gray", false);
|
|
13245
|
+
const peg$e120 = peg$literalExpectation("darkgray", false);
|
|
13246
|
+
const peg$e121 = peg$literalExpectation("green", false);
|
|
13247
|
+
const peg$e122 = peg$literalExpectation("lime", false);
|
|
13248
|
+
const peg$e123 = peg$literalExpectation("magenta", false);
|
|
13249
|
+
const peg$e124 = peg$literalExpectation("maroon", false);
|
|
13250
|
+
const peg$e125 = peg$literalExpectation("navy", false);
|
|
13251
|
+
const peg$e126 = peg$literalExpectation("olive", false);
|
|
13252
|
+
const peg$e127 = peg$literalExpectation("orange", false);
|
|
13253
|
+
const peg$e128 = peg$literalExpectation("pink", false);
|
|
13254
|
+
const peg$e129 = peg$literalExpectation("purple", false);
|
|
13255
|
+
const peg$e130 = peg$literalExpectation("red", false);
|
|
13256
|
+
const peg$e131 = peg$literalExpectation("silver", false);
|
|
13257
|
+
const peg$e132 = peg$literalExpectation("teal", false);
|
|
13258
|
+
const peg$e133 = peg$literalExpectation("violet", false);
|
|
13259
|
+
const peg$e134 = peg$literalExpectation("white", false);
|
|
13260
|
+
const peg$e135 = peg$literalExpectation("yellow", false);
|
|
13261
|
+
const peg$e136 = peg$literalExpectation("*", false);
|
|
13262
|
+
const peg$e137 = peg$literalExpectation("_", false);
|
|
13263
|
+
const peg$e138 = peg$literalExpectation("`", false);
|
|
13264
|
+
const peg$e139 = peg$literalExpectation("!", false);
|
|
13265
|
+
const peg$e140 = peg$literalExpectation("[!", false);
|
|
13266
|
+
const peg$e141 = peg$literalExpectation("]", false);
|
|
13267
|
+
const peg$e142 = peg$otherExpectation("Line Terminator");
|
|
13268
|
+
const peg$e143 = peg$literalExpectation("\n", false);
|
|
13269
|
+
const peg$e144 = peg$literalExpectation("\r\n", false);
|
|
13270
|
+
const peg$e145 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
|
|
13271
|
+
const peg$e146 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
|
|
13272
|
+
const peg$e147 = peg$literalExpectation("http", false);
|
|
13273
|
+
const peg$e148 = peg$literalExpectation("s", false);
|
|
13274
|
+
const peg$e149 = peg$literalExpectation("://", false);
|
|
13275
|
+
const peg$e150 = peg$literalExpectation("mailto:", false);
|
|
13276
|
+
const peg$e151 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
|
|
13253
13277
|
function peg$f0() {
|
|
13254
13278
|
return VERSION;
|
|
13255
13279
|
}
|
|
@@ -13616,44 +13640,47 @@ function peg$parse(input, options) {
|
|
|
13616
13640
|
function peg$f86(color) {
|
|
13617
13641
|
return { type: "color", attrs: { color } };
|
|
13618
13642
|
}
|
|
13619
|
-
function peg$f87(
|
|
13643
|
+
function peg$f87(str) {
|
|
13644
|
+
return { type: "colorPicker", attrs: { propertyRef: str.trim() } };
|
|
13645
|
+
}
|
|
13646
|
+
function peg$f88(style) {
|
|
13620
13647
|
return { type: style };
|
|
13621
13648
|
}
|
|
13622
|
-
function peg$
|
|
13649
|
+
function peg$f89(str) {
|
|
13623
13650
|
return { type: "comment", comment: str };
|
|
13624
13651
|
}
|
|
13625
|
-
function peg$
|
|
13652
|
+
function peg$f90(r) {
|
|
13626
13653
|
return r.trim();
|
|
13627
13654
|
}
|
|
13628
|
-
function peg$
|
|
13655
|
+
function peg$f91(bs) {
|
|
13629
13656
|
return [{ type: "paragraph", content: bs, attrs: {} }];
|
|
13630
13657
|
}
|
|
13631
|
-
function peg$
|
|
13658
|
+
function peg$f92(first, more) {
|
|
13632
13659
|
const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
|
|
13633
13660
|
return cleaned_;
|
|
13634
13661
|
}
|
|
13635
|
-
function peg$
|
|
13662
|
+
function peg$f93() {
|
|
13636
13663
|
return { "type": "hardBreak" };
|
|
13637
13664
|
}
|
|
13638
|
-
function peg$
|
|
13665
|
+
function peg$f94(t) {
|
|
13639
13666
|
return { text: unbreakscape(t), type: "text" };
|
|
13640
13667
|
}
|
|
13641
|
-
function peg$
|
|
13668
|
+
function peg$f95(t) {
|
|
13642
13669
|
return { index: +t, type: "bit" };
|
|
13643
13670
|
}
|
|
13644
|
-
function peg$
|
|
13671
|
+
function peg$f96(t) {
|
|
13645
13672
|
return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
|
|
13646
13673
|
}
|
|
13647
|
-
function peg$
|
|
13674
|
+
function peg$f97(t) {
|
|
13648
13675
|
return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
|
|
13649
13676
|
}
|
|
13650
|
-
function peg$
|
|
13677
|
+
function peg$f98(t) {
|
|
13651
13678
|
return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
|
|
13652
13679
|
}
|
|
13653
|
-
function peg$
|
|
13680
|
+
function peg$f99(t) {
|
|
13654
13681
|
return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
|
|
13655
13682
|
}
|
|
13656
|
-
function peg$
|
|
13683
|
+
function peg$f100(pr, t) {
|
|
13657
13684
|
return { pr, t };
|
|
13658
13685
|
}
|
|
13659
13686
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -19589,33 +19616,44 @@ function peg$parse(input, options) {
|
|
|
19589
19616
|
}
|
|
19590
19617
|
if (s0 === peg$FAILED) {
|
|
19591
19618
|
s0 = peg$currPos;
|
|
19592
|
-
|
|
19593
|
-
|
|
19594
|
-
|
|
19595
|
-
if (s2 !== peg$FAILED) {
|
|
19596
|
-
s0 = peg$f87(s1);
|
|
19597
|
-
} else {
|
|
19598
|
-
peg$currPos = s0;
|
|
19599
|
-
s0 = peg$FAILED;
|
|
19600
|
-
}
|
|
19619
|
+
if (input.substr(peg$currPos, 12) === peg$c67) {
|
|
19620
|
+
s1 = peg$c67;
|
|
19621
|
+
peg$currPos += 12;
|
|
19601
19622
|
} else {
|
|
19602
|
-
|
|
19603
|
-
|
|
19623
|
+
s1 = peg$FAILED;
|
|
19624
|
+
if (peg$silentFails === 0) {
|
|
19625
|
+
peg$fail(peg$e71);
|
|
19626
|
+
}
|
|
19604
19627
|
}
|
|
19605
|
-
if (
|
|
19606
|
-
|
|
19607
|
-
|
|
19608
|
-
|
|
19609
|
-
|
|
19628
|
+
if (s1 !== peg$FAILED) {
|
|
19629
|
+
s2 = peg$currPos;
|
|
19630
|
+
s3 = [];
|
|
19631
|
+
s4 = peg$currPos;
|
|
19632
|
+
s5 = peg$currPos;
|
|
19633
|
+
peg$silentFails++;
|
|
19634
|
+
s6 = peg$parseBlockTag();
|
|
19635
|
+
peg$silentFails--;
|
|
19636
|
+
if (s6 === peg$FAILED) {
|
|
19637
|
+
s5 = void 0;
|
|
19610
19638
|
} else {
|
|
19611
|
-
|
|
19612
|
-
|
|
19613
|
-
|
|
19639
|
+
peg$currPos = s5;
|
|
19640
|
+
s5 = peg$FAILED;
|
|
19641
|
+
}
|
|
19642
|
+
if (s5 !== peg$FAILED) {
|
|
19643
|
+
s6 = peg$parsechar();
|
|
19644
|
+
if (s6 !== peg$FAILED) {
|
|
19645
|
+
s5 = [s5, s6];
|
|
19646
|
+
s4 = s5;
|
|
19647
|
+
} else {
|
|
19648
|
+
peg$currPos = s4;
|
|
19649
|
+
s4 = peg$FAILED;
|
|
19614
19650
|
}
|
|
19651
|
+
} else {
|
|
19652
|
+
peg$currPos = s4;
|
|
19653
|
+
s4 = peg$FAILED;
|
|
19615
19654
|
}
|
|
19616
|
-
|
|
19617
|
-
|
|
19618
|
-
s3 = [];
|
|
19655
|
+
while (s4 !== peg$FAILED) {
|
|
19656
|
+
s3.push(s4);
|
|
19619
19657
|
s4 = peg$currPos;
|
|
19620
19658
|
s5 = peg$currPos;
|
|
19621
19659
|
peg$silentFails++;
|
|
@@ -19640,8 +19678,48 @@ function peg$parse(input, options) {
|
|
|
19640
19678
|
peg$currPos = s4;
|
|
19641
19679
|
s4 = peg$FAILED;
|
|
19642
19680
|
}
|
|
19643
|
-
|
|
19644
|
-
|
|
19681
|
+
}
|
|
19682
|
+
s2 = input.substring(s2, peg$currPos);
|
|
19683
|
+
s3 = peg$parseBlockTag();
|
|
19684
|
+
if (s3 !== peg$FAILED) {
|
|
19685
|
+
s0 = peg$f87(s2);
|
|
19686
|
+
} else {
|
|
19687
|
+
peg$currPos = s0;
|
|
19688
|
+
s0 = peg$FAILED;
|
|
19689
|
+
}
|
|
19690
|
+
} else {
|
|
19691
|
+
peg$currPos = s0;
|
|
19692
|
+
s0 = peg$FAILED;
|
|
19693
|
+
}
|
|
19694
|
+
if (s0 === peg$FAILED) {
|
|
19695
|
+
s0 = peg$currPos;
|
|
19696
|
+
s1 = peg$parseAlternativeStyleTags();
|
|
19697
|
+
if (s1 !== peg$FAILED) {
|
|
19698
|
+
s2 = peg$parseBlockTag();
|
|
19699
|
+
if (s2 !== peg$FAILED) {
|
|
19700
|
+
s0 = peg$f88(s1);
|
|
19701
|
+
} else {
|
|
19702
|
+
peg$currPos = s0;
|
|
19703
|
+
s0 = peg$FAILED;
|
|
19704
|
+
}
|
|
19705
|
+
} else {
|
|
19706
|
+
peg$currPos = s0;
|
|
19707
|
+
s0 = peg$FAILED;
|
|
19708
|
+
}
|
|
19709
|
+
if (s0 === peg$FAILED) {
|
|
19710
|
+
s0 = peg$currPos;
|
|
19711
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
19712
|
+
s1 = peg$c21;
|
|
19713
|
+
peg$currPos++;
|
|
19714
|
+
} else {
|
|
19715
|
+
s1 = peg$FAILED;
|
|
19716
|
+
if (peg$silentFails === 0) {
|
|
19717
|
+
peg$fail(peg$e25);
|
|
19718
|
+
}
|
|
19719
|
+
}
|
|
19720
|
+
if (s1 !== peg$FAILED) {
|
|
19721
|
+
s2 = peg$currPos;
|
|
19722
|
+
s3 = [];
|
|
19645
19723
|
s4 = peg$currPos;
|
|
19646
19724
|
s5 = peg$currPos;
|
|
19647
19725
|
peg$silentFails++;
|
|
@@ -19666,18 +19744,45 @@ function peg$parse(input, options) {
|
|
|
19666
19744
|
peg$currPos = s4;
|
|
19667
19745
|
s4 = peg$FAILED;
|
|
19668
19746
|
}
|
|
19669
|
-
|
|
19670
|
-
|
|
19671
|
-
|
|
19672
|
-
|
|
19673
|
-
|
|
19747
|
+
while (s4 !== peg$FAILED) {
|
|
19748
|
+
s3.push(s4);
|
|
19749
|
+
s4 = peg$currPos;
|
|
19750
|
+
s5 = peg$currPos;
|
|
19751
|
+
peg$silentFails++;
|
|
19752
|
+
s6 = peg$parseBlockTag();
|
|
19753
|
+
peg$silentFails--;
|
|
19754
|
+
if (s6 === peg$FAILED) {
|
|
19755
|
+
s5 = void 0;
|
|
19756
|
+
} else {
|
|
19757
|
+
peg$currPos = s5;
|
|
19758
|
+
s5 = peg$FAILED;
|
|
19759
|
+
}
|
|
19760
|
+
if (s5 !== peg$FAILED) {
|
|
19761
|
+
s6 = peg$parsechar();
|
|
19762
|
+
if (s6 !== peg$FAILED) {
|
|
19763
|
+
s5 = [s5, s6];
|
|
19764
|
+
s4 = s5;
|
|
19765
|
+
} else {
|
|
19766
|
+
peg$currPos = s4;
|
|
19767
|
+
s4 = peg$FAILED;
|
|
19768
|
+
}
|
|
19769
|
+
} else {
|
|
19770
|
+
peg$currPos = s4;
|
|
19771
|
+
s4 = peg$FAILED;
|
|
19772
|
+
}
|
|
19773
|
+
}
|
|
19774
|
+
s2 = input.substring(s2, peg$currPos);
|
|
19775
|
+
s3 = peg$parseBlockTag();
|
|
19776
|
+
if (s3 !== peg$FAILED) {
|
|
19777
|
+
s0 = peg$f89(s2);
|
|
19778
|
+
} else {
|
|
19779
|
+
peg$currPos = s0;
|
|
19780
|
+
s0 = peg$FAILED;
|
|
19781
|
+
}
|
|
19674
19782
|
} else {
|
|
19675
19783
|
peg$currPos = s0;
|
|
19676
19784
|
s0 = peg$FAILED;
|
|
19677
19785
|
}
|
|
19678
|
-
} else {
|
|
19679
|
-
peg$currPos = s0;
|
|
19680
|
-
s0 = peg$FAILED;
|
|
19681
19786
|
}
|
|
19682
19787
|
}
|
|
19683
19788
|
}
|
|
@@ -19710,13 +19815,13 @@ function peg$parse(input, options) {
|
|
|
19710
19815
|
function peg$parseRef() {
|
|
19711
19816
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
19712
19817
|
s0 = peg$currPos;
|
|
19713
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
19714
|
-
s1 = peg$
|
|
19818
|
+
if (input.substr(peg$currPos, 2) === peg$c68) {
|
|
19819
|
+
s1 = peg$c68;
|
|
19715
19820
|
peg$currPos += 2;
|
|
19716
19821
|
} else {
|
|
19717
19822
|
s1 = peg$FAILED;
|
|
19718
19823
|
if (peg$silentFails === 0) {
|
|
19719
|
-
peg$fail(peg$
|
|
19824
|
+
peg$fail(peg$e72);
|
|
19720
19825
|
}
|
|
19721
19826
|
}
|
|
19722
19827
|
if (s1 !== peg$FAILED) {
|
|
@@ -19774,7 +19879,7 @@ function peg$parse(input, options) {
|
|
|
19774
19879
|
}
|
|
19775
19880
|
}
|
|
19776
19881
|
s2 = input.substring(s2, peg$currPos);
|
|
19777
|
-
s0 = peg$
|
|
19882
|
+
s0 = peg$f90(s2);
|
|
19778
19883
|
} else {
|
|
19779
19884
|
peg$currPos = s0;
|
|
19780
19885
|
s0 = peg$FAILED;
|
|
@@ -19783,303 +19888,413 @@ function peg$parse(input, options) {
|
|
|
19783
19888
|
}
|
|
19784
19889
|
function peg$parseAlternativeStyleTags() {
|
|
19785
19890
|
let s0;
|
|
19786
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
19787
|
-
s0 = peg$
|
|
19891
|
+
if (input.substr(peg$currPos, 4) === peg$c69) {
|
|
19892
|
+
s0 = peg$c69;
|
|
19788
19893
|
peg$currPos += 4;
|
|
19789
19894
|
} else {
|
|
19790
19895
|
s0 = peg$FAILED;
|
|
19791
19896
|
if (peg$silentFails === 0) {
|
|
19792
|
-
peg$fail(peg$
|
|
19897
|
+
peg$fail(peg$e73);
|
|
19793
19898
|
}
|
|
19794
19899
|
}
|
|
19795
19900
|
if (s0 === peg$FAILED) {
|
|
19796
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
19797
|
-
s0 = peg$
|
|
19901
|
+
if (input.substr(peg$currPos, 6) === peg$c70) {
|
|
19902
|
+
s0 = peg$c70;
|
|
19798
19903
|
peg$currPos += 6;
|
|
19799
19904
|
} else {
|
|
19800
19905
|
s0 = peg$FAILED;
|
|
19801
19906
|
if (peg$silentFails === 0) {
|
|
19802
|
-
peg$fail(peg$
|
|
19907
|
+
peg$fail(peg$e74);
|
|
19803
19908
|
}
|
|
19804
19909
|
}
|
|
19805
19910
|
if (s0 === peg$FAILED) {
|
|
19806
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
19807
|
-
s0 = peg$
|
|
19911
|
+
if (input.substr(peg$currPos, 5) === peg$c71) {
|
|
19912
|
+
s0 = peg$c71;
|
|
19808
19913
|
peg$currPos += 5;
|
|
19809
19914
|
} else {
|
|
19810
19915
|
s0 = peg$FAILED;
|
|
19811
19916
|
if (peg$silentFails === 0) {
|
|
19812
|
-
peg$fail(peg$
|
|
19917
|
+
peg$fail(peg$e75);
|
|
19813
19918
|
}
|
|
19814
19919
|
}
|
|
19815
19920
|
if (s0 === peg$FAILED) {
|
|
19816
|
-
if (input.substr(peg$currPos,
|
|
19817
|
-
s0 = peg$
|
|
19818
|
-
peg$currPos +=
|
|
19921
|
+
if (input.substr(peg$currPos, 15) === peg$c72) {
|
|
19922
|
+
s0 = peg$c72;
|
|
19923
|
+
peg$currPos += 15;
|
|
19819
19924
|
} else {
|
|
19820
19925
|
s0 = peg$FAILED;
|
|
19821
19926
|
if (peg$silentFails === 0) {
|
|
19822
|
-
peg$fail(peg$
|
|
19927
|
+
peg$fail(peg$e76);
|
|
19823
19928
|
}
|
|
19824
19929
|
}
|
|
19825
19930
|
if (s0 === peg$FAILED) {
|
|
19826
|
-
if (input.substr(peg$currPos,
|
|
19827
|
-
s0 = peg$
|
|
19828
|
-
peg$currPos +=
|
|
19931
|
+
if (input.substr(peg$currPos, 15) === peg$c73) {
|
|
19932
|
+
s0 = peg$c73;
|
|
19933
|
+
peg$currPos += 15;
|
|
19829
19934
|
} else {
|
|
19830
19935
|
s0 = peg$FAILED;
|
|
19831
19936
|
if (peg$silentFails === 0) {
|
|
19832
|
-
peg$fail(peg$
|
|
19937
|
+
peg$fail(peg$e77);
|
|
19833
19938
|
}
|
|
19834
19939
|
}
|
|
19835
19940
|
if (s0 === peg$FAILED) {
|
|
19836
|
-
if (input.substr(peg$currPos,
|
|
19837
|
-
s0 = peg$
|
|
19838
|
-
peg$currPos +=
|
|
19941
|
+
if (input.substr(peg$currPos, 14) === peg$c74) {
|
|
19942
|
+
s0 = peg$c74;
|
|
19943
|
+
peg$currPos += 14;
|
|
19839
19944
|
} else {
|
|
19840
19945
|
s0 = peg$FAILED;
|
|
19841
19946
|
if (peg$silentFails === 0) {
|
|
19842
|
-
peg$fail(peg$
|
|
19947
|
+
peg$fail(peg$e78);
|
|
19843
19948
|
}
|
|
19844
19949
|
}
|
|
19845
19950
|
if (s0 === peg$FAILED) {
|
|
19846
|
-
if (input.substr(peg$currPos,
|
|
19847
|
-
s0 = peg$
|
|
19848
|
-
peg$currPos +=
|
|
19951
|
+
if (input.substr(peg$currPos, 13) === peg$c75) {
|
|
19952
|
+
s0 = peg$c75;
|
|
19953
|
+
peg$currPos += 13;
|
|
19849
19954
|
} else {
|
|
19850
19955
|
s0 = peg$FAILED;
|
|
19851
19956
|
if (peg$silentFails === 0) {
|
|
19852
|
-
peg$fail(peg$
|
|
19957
|
+
peg$fail(peg$e79);
|
|
19853
19958
|
}
|
|
19854
19959
|
}
|
|
19855
19960
|
if (s0 === peg$FAILED) {
|
|
19856
|
-
if (input.substr(peg$currPos,
|
|
19857
|
-
s0 = peg$
|
|
19858
|
-
peg$currPos +=
|
|
19961
|
+
if (input.substr(peg$currPos, 15) === peg$c76) {
|
|
19962
|
+
s0 = peg$c76;
|
|
19963
|
+
peg$currPos += 15;
|
|
19859
19964
|
} else {
|
|
19860
19965
|
s0 = peg$FAILED;
|
|
19861
19966
|
if (peg$silentFails === 0) {
|
|
19862
|
-
peg$fail(peg$
|
|
19967
|
+
peg$fail(peg$e80);
|
|
19863
19968
|
}
|
|
19864
19969
|
}
|
|
19865
19970
|
if (s0 === peg$FAILED) {
|
|
19866
|
-
if (input.substr(peg$currPos,
|
|
19867
|
-
s0 = peg$
|
|
19868
|
-
peg$currPos +=
|
|
19971
|
+
if (input.substr(peg$currPos, 13) === peg$c77) {
|
|
19972
|
+
s0 = peg$c77;
|
|
19973
|
+
peg$currPos += 13;
|
|
19869
19974
|
} else {
|
|
19870
19975
|
s0 = peg$FAILED;
|
|
19871
19976
|
if (peg$silentFails === 0) {
|
|
19872
|
-
peg$fail(peg$
|
|
19977
|
+
peg$fail(peg$e81);
|
|
19873
19978
|
}
|
|
19874
19979
|
}
|
|
19875
19980
|
if (s0 === peg$FAILED) {
|
|
19876
|
-
if (input.substr(peg$currPos,
|
|
19877
|
-
s0 = peg$
|
|
19878
|
-
peg$currPos +=
|
|
19981
|
+
if (input.substr(peg$currPos, 14) === peg$c78) {
|
|
19982
|
+
s0 = peg$c78;
|
|
19983
|
+
peg$currPos += 14;
|
|
19879
19984
|
} else {
|
|
19880
19985
|
s0 = peg$FAILED;
|
|
19881
19986
|
if (peg$silentFails === 0) {
|
|
19882
|
-
peg$fail(peg$
|
|
19987
|
+
peg$fail(peg$e82);
|
|
19883
19988
|
}
|
|
19884
19989
|
}
|
|
19885
19990
|
if (s0 === peg$FAILED) {
|
|
19886
|
-
if (input.substr(peg$currPos,
|
|
19887
|
-
s0 = peg$
|
|
19888
|
-
peg$currPos +=
|
|
19991
|
+
if (input.substr(peg$currPos, 14) === peg$c79) {
|
|
19992
|
+
s0 = peg$c79;
|
|
19993
|
+
peg$currPos += 14;
|
|
19889
19994
|
} else {
|
|
19890
19995
|
s0 = peg$FAILED;
|
|
19891
19996
|
if (peg$silentFails === 0) {
|
|
19892
|
-
peg$fail(peg$
|
|
19997
|
+
peg$fail(peg$e83);
|
|
19893
19998
|
}
|
|
19894
19999
|
}
|
|
19895
20000
|
if (s0 === peg$FAILED) {
|
|
19896
|
-
if (input.substr(peg$currPos,
|
|
19897
|
-
s0 = peg$
|
|
19898
|
-
peg$currPos +=
|
|
20001
|
+
if (input.substr(peg$currPos, 14) === peg$c80) {
|
|
20002
|
+
s0 = peg$c80;
|
|
20003
|
+
peg$currPos += 14;
|
|
19899
20004
|
} else {
|
|
19900
20005
|
s0 = peg$FAILED;
|
|
19901
20006
|
if (peg$silentFails === 0) {
|
|
19902
|
-
peg$fail(peg$
|
|
20007
|
+
peg$fail(peg$e84);
|
|
19903
20008
|
}
|
|
19904
20009
|
}
|
|
19905
20010
|
if (s0 === peg$FAILED) {
|
|
19906
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
19907
|
-
s0 = peg$
|
|
20011
|
+
if (input.substr(peg$currPos, 13) === peg$c81) {
|
|
20012
|
+
s0 = peg$c81;
|
|
19908
20013
|
peg$currPos += 13;
|
|
19909
20014
|
} else {
|
|
19910
20015
|
s0 = peg$FAILED;
|
|
19911
20016
|
if (peg$silentFails === 0) {
|
|
19912
|
-
peg$fail(peg$
|
|
20017
|
+
peg$fail(peg$e85);
|
|
19913
20018
|
}
|
|
19914
20019
|
}
|
|
19915
20020
|
if (s0 === peg$FAILED) {
|
|
19916
|
-
if (input.substr(peg$currPos,
|
|
19917
|
-
s0 = peg$
|
|
19918
|
-
peg$currPos +=
|
|
20021
|
+
if (input.substr(peg$currPos, 9) === peg$c82) {
|
|
20022
|
+
s0 = peg$c82;
|
|
20023
|
+
peg$currPos += 9;
|
|
19919
20024
|
} else {
|
|
19920
20025
|
s0 = peg$FAILED;
|
|
19921
20026
|
if (peg$silentFails === 0) {
|
|
19922
|
-
peg$fail(peg$
|
|
20027
|
+
peg$fail(peg$e86);
|
|
19923
20028
|
}
|
|
19924
20029
|
}
|
|
19925
20030
|
if (s0 === peg$FAILED) {
|
|
19926
|
-
if (input.substr(peg$currPos,
|
|
19927
|
-
s0 = peg$
|
|
19928
|
-
peg$currPos +=
|
|
20031
|
+
if (input.substr(peg$currPos, 6) === peg$c83) {
|
|
20032
|
+
s0 = peg$c83;
|
|
20033
|
+
peg$currPos += 6;
|
|
19929
20034
|
} else {
|
|
19930
20035
|
s0 = peg$FAILED;
|
|
19931
20036
|
if (peg$silentFails === 0) {
|
|
19932
|
-
peg$fail(peg$
|
|
20037
|
+
peg$fail(peg$e87);
|
|
19933
20038
|
}
|
|
19934
20039
|
}
|
|
19935
20040
|
if (s0 === peg$FAILED) {
|
|
19936
|
-
if (input.substr(peg$currPos,
|
|
19937
|
-
s0 = peg$
|
|
19938
|
-
peg$currPos +=
|
|
20041
|
+
if (input.substr(peg$currPos, 9) === peg$c84) {
|
|
20042
|
+
s0 = peg$c84;
|
|
20043
|
+
peg$currPos += 9;
|
|
19939
20044
|
} else {
|
|
19940
20045
|
s0 = peg$FAILED;
|
|
19941
20046
|
if (peg$silentFails === 0) {
|
|
19942
|
-
peg$fail(peg$
|
|
20047
|
+
peg$fail(peg$e88);
|
|
19943
20048
|
}
|
|
19944
20049
|
}
|
|
19945
20050
|
if (s0 === peg$FAILED) {
|
|
19946
|
-
if (input.substr(peg$currPos,
|
|
19947
|
-
s0 = peg$
|
|
19948
|
-
peg$currPos +=
|
|
20051
|
+
if (input.substr(peg$currPos, 11) === peg$c85) {
|
|
20052
|
+
s0 = peg$c85;
|
|
20053
|
+
peg$currPos += 11;
|
|
19949
20054
|
} else {
|
|
19950
20055
|
s0 = peg$FAILED;
|
|
19951
20056
|
if (peg$silentFails === 0) {
|
|
19952
|
-
peg$fail(peg$
|
|
20057
|
+
peg$fail(peg$e89);
|
|
19953
20058
|
}
|
|
19954
20059
|
}
|
|
19955
20060
|
if (s0 === peg$FAILED) {
|
|
19956
|
-
if (input.substr(peg$currPos,
|
|
19957
|
-
s0 = peg$
|
|
19958
|
-
peg$currPos +=
|
|
20061
|
+
if (input.substr(peg$currPos, 3) === peg$c86) {
|
|
20062
|
+
s0 = peg$c86;
|
|
20063
|
+
peg$currPos += 3;
|
|
19959
20064
|
} else {
|
|
19960
20065
|
s0 = peg$FAILED;
|
|
19961
20066
|
if (peg$silentFails === 0) {
|
|
19962
|
-
peg$fail(peg$
|
|
20067
|
+
peg$fail(peg$e90);
|
|
19963
20068
|
}
|
|
19964
20069
|
}
|
|
19965
20070
|
if (s0 === peg$FAILED) {
|
|
19966
|
-
if (input.substr(peg$currPos,
|
|
19967
|
-
s0 = peg$
|
|
19968
|
-
peg$currPos +=
|
|
20071
|
+
if (input.substr(peg$currPos, 3) === peg$c87) {
|
|
20072
|
+
s0 = peg$c87;
|
|
20073
|
+
peg$currPos += 3;
|
|
19969
20074
|
} else {
|
|
19970
20075
|
s0 = peg$FAILED;
|
|
19971
20076
|
if (peg$silentFails === 0) {
|
|
19972
|
-
peg$fail(peg$
|
|
20077
|
+
peg$fail(peg$e91);
|
|
19973
20078
|
}
|
|
19974
20079
|
}
|
|
19975
20080
|
if (s0 === peg$FAILED) {
|
|
19976
|
-
if (input.substr(peg$currPos,
|
|
19977
|
-
s0 = peg$
|
|
19978
|
-
peg$currPos +=
|
|
20081
|
+
if (input.substr(peg$currPos, 9) === peg$c88) {
|
|
20082
|
+
s0 = peg$c88;
|
|
20083
|
+
peg$currPos += 9;
|
|
19979
20084
|
} else {
|
|
19980
20085
|
s0 = peg$FAILED;
|
|
19981
20086
|
if (peg$silentFails === 0) {
|
|
19982
|
-
peg$fail(peg$
|
|
20087
|
+
peg$fail(peg$e92);
|
|
19983
20088
|
}
|
|
19984
20089
|
}
|
|
19985
20090
|
if (s0 === peg$FAILED) {
|
|
19986
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
19987
|
-
s0 = peg$
|
|
20091
|
+
if (input.substr(peg$currPos, 15) === peg$c89) {
|
|
20092
|
+
s0 = peg$c89;
|
|
19988
20093
|
peg$currPos += 15;
|
|
19989
20094
|
} else {
|
|
19990
20095
|
s0 = peg$FAILED;
|
|
19991
20096
|
if (peg$silentFails === 0) {
|
|
19992
|
-
peg$fail(peg$
|
|
20097
|
+
peg$fail(peg$e93);
|
|
19993
20098
|
}
|
|
19994
20099
|
}
|
|
19995
20100
|
if (s0 === peg$FAILED) {
|
|
19996
|
-
if (input.substr(peg$currPos,
|
|
19997
|
-
s0 = peg$
|
|
19998
|
-
peg$currPos +=
|
|
20101
|
+
if (input.substr(peg$currPos, 6) === peg$c90) {
|
|
20102
|
+
s0 = peg$c90;
|
|
20103
|
+
peg$currPos += 6;
|
|
19999
20104
|
} else {
|
|
20000
20105
|
s0 = peg$FAILED;
|
|
20001
20106
|
if (peg$silentFails === 0) {
|
|
20002
|
-
peg$fail(peg$
|
|
20107
|
+
peg$fail(peg$e94);
|
|
20003
20108
|
}
|
|
20004
20109
|
}
|
|
20005
20110
|
if (s0 === peg$FAILED) {
|
|
20006
|
-
if (input.substr(peg$currPos,
|
|
20007
|
-
s0 = peg$
|
|
20008
|
-
peg$currPos +=
|
|
20111
|
+
if (input.substr(peg$currPos, 13) === peg$c91) {
|
|
20112
|
+
s0 = peg$c91;
|
|
20113
|
+
peg$currPos += 13;
|
|
20009
20114
|
} else {
|
|
20010
20115
|
s0 = peg$FAILED;
|
|
20011
20116
|
if (peg$silentFails === 0) {
|
|
20012
|
-
peg$fail(peg$
|
|
20117
|
+
peg$fail(peg$e95);
|
|
20013
20118
|
}
|
|
20014
20119
|
}
|
|
20015
20120
|
if (s0 === peg$FAILED) {
|
|
20016
|
-
if (input.substr(peg$currPos,
|
|
20017
|
-
s0 = peg$
|
|
20018
|
-
peg$currPos +=
|
|
20121
|
+
if (input.substr(peg$currPos, 16) === peg$c92) {
|
|
20122
|
+
s0 = peg$c92;
|
|
20123
|
+
peg$currPos += 16;
|
|
20019
20124
|
} else {
|
|
20020
20125
|
s0 = peg$FAILED;
|
|
20021
20126
|
if (peg$silentFails === 0) {
|
|
20022
|
-
peg$fail(peg$
|
|
20127
|
+
peg$fail(peg$e96);
|
|
20023
20128
|
}
|
|
20024
20129
|
}
|
|
20025
20130
|
if (s0 === peg$FAILED) {
|
|
20026
|
-
if (input.substr(peg$currPos,
|
|
20027
|
-
s0 = peg$
|
|
20028
|
-
peg$currPos +=
|
|
20131
|
+
if (input.substr(peg$currPos, 16) === peg$c93) {
|
|
20132
|
+
s0 = peg$c93;
|
|
20133
|
+
peg$currPos += 16;
|
|
20029
20134
|
} else {
|
|
20030
20135
|
s0 = peg$FAILED;
|
|
20031
20136
|
if (peg$silentFails === 0) {
|
|
20032
|
-
peg$fail(peg$
|
|
20137
|
+
peg$fail(peg$e97);
|
|
20033
20138
|
}
|
|
20034
20139
|
}
|
|
20035
20140
|
if (s0 === peg$FAILED) {
|
|
20036
|
-
if (input.substr(peg$currPos,
|
|
20037
|
-
s0 = peg$
|
|
20038
|
-
peg$currPos +=
|
|
20141
|
+
if (input.substr(peg$currPos, 15) === peg$c94) {
|
|
20142
|
+
s0 = peg$c94;
|
|
20143
|
+
peg$currPos += 15;
|
|
20039
20144
|
} else {
|
|
20040
20145
|
s0 = peg$FAILED;
|
|
20041
20146
|
if (peg$silentFails === 0) {
|
|
20042
|
-
peg$fail(peg$
|
|
20147
|
+
peg$fail(peg$e98);
|
|
20043
20148
|
}
|
|
20044
20149
|
}
|
|
20045
20150
|
if (s0 === peg$FAILED) {
|
|
20046
|
-
if (input.substr(peg$currPos,
|
|
20047
|
-
s0 = peg$
|
|
20048
|
-
peg$currPos +=
|
|
20151
|
+
if (input.substr(peg$currPos, 14) === peg$c95) {
|
|
20152
|
+
s0 = peg$c95;
|
|
20153
|
+
peg$currPos += 14;
|
|
20049
20154
|
} else {
|
|
20050
20155
|
s0 = peg$FAILED;
|
|
20051
20156
|
if (peg$silentFails === 0) {
|
|
20052
|
-
peg$fail(peg$
|
|
20157
|
+
peg$fail(peg$e99);
|
|
20053
20158
|
}
|
|
20054
20159
|
}
|
|
20055
20160
|
if (s0 === peg$FAILED) {
|
|
20056
|
-
if (input.substr(peg$currPos,
|
|
20057
|
-
s0 = peg$
|
|
20058
|
-
peg$currPos +=
|
|
20161
|
+
if (input.substr(peg$currPos, 16) === peg$c96) {
|
|
20162
|
+
s0 = peg$c96;
|
|
20163
|
+
peg$currPos += 16;
|
|
20059
20164
|
} else {
|
|
20060
20165
|
s0 = peg$FAILED;
|
|
20061
20166
|
if (peg$silentFails === 0) {
|
|
20062
|
-
peg$fail(peg$
|
|
20167
|
+
peg$fail(peg$e100);
|
|
20063
20168
|
}
|
|
20064
20169
|
}
|
|
20065
20170
|
if (s0 === peg$FAILED) {
|
|
20066
|
-
if (input.substr(peg$currPos,
|
|
20067
|
-
s0 = peg$
|
|
20068
|
-
peg$currPos +=
|
|
20171
|
+
if (input.substr(peg$currPos, 14) === peg$c97) {
|
|
20172
|
+
s0 = peg$c97;
|
|
20173
|
+
peg$currPos += 14;
|
|
20069
20174
|
} else {
|
|
20070
20175
|
s0 = peg$FAILED;
|
|
20071
20176
|
if (peg$silentFails === 0) {
|
|
20072
|
-
peg$fail(peg$
|
|
20177
|
+
peg$fail(peg$e101);
|
|
20073
20178
|
}
|
|
20074
20179
|
}
|
|
20075
20180
|
if (s0 === peg$FAILED) {
|
|
20076
|
-
if (input.substr(peg$currPos,
|
|
20077
|
-
s0 = peg$
|
|
20078
|
-
peg$currPos +=
|
|
20181
|
+
if (input.substr(peg$currPos, 15) === peg$c98) {
|
|
20182
|
+
s0 = peg$c98;
|
|
20183
|
+
peg$currPos += 15;
|
|
20079
20184
|
} else {
|
|
20080
20185
|
s0 = peg$FAILED;
|
|
20081
20186
|
if (peg$silentFails === 0) {
|
|
20082
|
-
peg$fail(peg$
|
|
20187
|
+
peg$fail(peg$e102);
|
|
20188
|
+
}
|
|
20189
|
+
}
|
|
20190
|
+
if (s0 === peg$FAILED) {
|
|
20191
|
+
if (input.substr(peg$currPos, 15) === peg$c99) {
|
|
20192
|
+
s0 = peg$c99;
|
|
20193
|
+
peg$currPos += 15;
|
|
20194
|
+
} else {
|
|
20195
|
+
s0 = peg$FAILED;
|
|
20196
|
+
if (peg$silentFails === 0) {
|
|
20197
|
+
peg$fail(peg$e103);
|
|
20198
|
+
}
|
|
20199
|
+
}
|
|
20200
|
+
if (s0 === peg$FAILED) {
|
|
20201
|
+
if (input.substr(peg$currPos, 15) === peg$c100) {
|
|
20202
|
+
s0 = peg$c100;
|
|
20203
|
+
peg$currPos += 15;
|
|
20204
|
+
} else {
|
|
20205
|
+
s0 = peg$FAILED;
|
|
20206
|
+
if (peg$silentFails === 0) {
|
|
20207
|
+
peg$fail(peg$e104);
|
|
20208
|
+
}
|
|
20209
|
+
}
|
|
20210
|
+
if (s0 === peg$FAILED) {
|
|
20211
|
+
if (input.substr(peg$currPos, 14) === peg$c101) {
|
|
20212
|
+
s0 = peg$c101;
|
|
20213
|
+
peg$currPos += 14;
|
|
20214
|
+
} else {
|
|
20215
|
+
s0 = peg$FAILED;
|
|
20216
|
+
if (peg$silentFails === 0) {
|
|
20217
|
+
peg$fail(peg$e105);
|
|
20218
|
+
}
|
|
20219
|
+
}
|
|
20220
|
+
if (s0 === peg$FAILED) {
|
|
20221
|
+
if (input.substr(peg$currPos, 10) === peg$c102) {
|
|
20222
|
+
s0 = peg$c102;
|
|
20223
|
+
peg$currPos += 10;
|
|
20224
|
+
} else {
|
|
20225
|
+
s0 = peg$FAILED;
|
|
20226
|
+
if (peg$silentFails === 0) {
|
|
20227
|
+
peg$fail(peg$e106);
|
|
20228
|
+
}
|
|
20229
|
+
}
|
|
20230
|
+
if (s0 === peg$FAILED) {
|
|
20231
|
+
if (input.substr(peg$currPos, 13) === peg$c103) {
|
|
20232
|
+
s0 = peg$c103;
|
|
20233
|
+
peg$currPos += 13;
|
|
20234
|
+
} else {
|
|
20235
|
+
s0 = peg$FAILED;
|
|
20236
|
+
if (peg$silentFails === 0) {
|
|
20237
|
+
peg$fail(peg$e107);
|
|
20238
|
+
}
|
|
20239
|
+
}
|
|
20240
|
+
if (s0 === peg$FAILED) {
|
|
20241
|
+
if (input.substr(peg$currPos, 19) === peg$c104) {
|
|
20242
|
+
s0 = peg$c104;
|
|
20243
|
+
peg$currPos += 19;
|
|
20244
|
+
} else {
|
|
20245
|
+
s0 = peg$FAILED;
|
|
20246
|
+
if (peg$silentFails === 0) {
|
|
20247
|
+
peg$fail(peg$e108);
|
|
20248
|
+
}
|
|
20249
|
+
}
|
|
20250
|
+
if (s0 === peg$FAILED) {
|
|
20251
|
+
if (input.substr(peg$currPos, 10) === peg$c105) {
|
|
20252
|
+
s0 = peg$c105;
|
|
20253
|
+
peg$currPos += 10;
|
|
20254
|
+
} else {
|
|
20255
|
+
s0 = peg$FAILED;
|
|
20256
|
+
if (peg$silentFails === 0) {
|
|
20257
|
+
peg$fail(peg$e109);
|
|
20258
|
+
}
|
|
20259
|
+
}
|
|
20260
|
+
if (s0 === peg$FAILED) {
|
|
20261
|
+
if (input.substr(peg$currPos, 10) === peg$c106) {
|
|
20262
|
+
s0 = peg$c106;
|
|
20263
|
+
peg$currPos += 10;
|
|
20264
|
+
} else {
|
|
20265
|
+
s0 = peg$FAILED;
|
|
20266
|
+
if (peg$silentFails === 0) {
|
|
20267
|
+
peg$fail(peg$e110);
|
|
20268
|
+
}
|
|
20269
|
+
}
|
|
20270
|
+
if (s0 === peg$FAILED) {
|
|
20271
|
+
if (input.substr(peg$currPos, 13) === peg$c107) {
|
|
20272
|
+
s0 = peg$c107;
|
|
20273
|
+
peg$currPos += 13;
|
|
20274
|
+
} else {
|
|
20275
|
+
s0 = peg$FAILED;
|
|
20276
|
+
if (peg$silentFails === 0) {
|
|
20277
|
+
peg$fail(peg$e111);
|
|
20278
|
+
}
|
|
20279
|
+
}
|
|
20280
|
+
if (s0 === peg$FAILED) {
|
|
20281
|
+
if (input.substr(peg$currPos, 11) === peg$c108) {
|
|
20282
|
+
s0 = peg$c108;
|
|
20283
|
+
peg$currPos += 11;
|
|
20284
|
+
} else {
|
|
20285
|
+
s0 = peg$FAILED;
|
|
20286
|
+
if (peg$silentFails === 0) {
|
|
20287
|
+
peg$fail(peg$e112);
|
|
20288
|
+
}
|
|
20289
|
+
}
|
|
20290
|
+
}
|
|
20291
|
+
}
|
|
20292
|
+
}
|
|
20293
|
+
}
|
|
20294
|
+
}
|
|
20295
|
+
}
|
|
20296
|
+
}
|
|
20297
|
+
}
|
|
20083
20298
|
}
|
|
20084
20299
|
}
|
|
20085
20300
|
}
|
|
@@ -20115,233 +20330,233 @@ function peg$parse(input, options) {
|
|
|
20115
20330
|
}
|
|
20116
20331
|
function peg$parseColor() {
|
|
20117
20332
|
let s0;
|
|
20118
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20119
|
-
s0 = peg$
|
|
20333
|
+
if (input.substr(peg$currPos, 4) === peg$c109) {
|
|
20334
|
+
s0 = peg$c109;
|
|
20120
20335
|
peg$currPos += 4;
|
|
20121
20336
|
} else {
|
|
20122
20337
|
s0 = peg$FAILED;
|
|
20123
20338
|
if (peg$silentFails === 0) {
|
|
20124
|
-
peg$fail(peg$
|
|
20339
|
+
peg$fail(peg$e113);
|
|
20125
20340
|
}
|
|
20126
20341
|
}
|
|
20127
20342
|
if (s0 === peg$FAILED) {
|
|
20128
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20129
|
-
s0 = peg$
|
|
20343
|
+
if (input.substr(peg$currPos, 5) === peg$c110) {
|
|
20344
|
+
s0 = peg$c110;
|
|
20130
20345
|
peg$currPos += 5;
|
|
20131
20346
|
} else {
|
|
20132
20347
|
s0 = peg$FAILED;
|
|
20133
20348
|
if (peg$silentFails === 0) {
|
|
20134
|
-
peg$fail(peg$
|
|
20349
|
+
peg$fail(peg$e114);
|
|
20135
20350
|
}
|
|
20136
20351
|
}
|
|
20137
20352
|
if (s0 === peg$FAILED) {
|
|
20138
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20139
|
-
s0 = peg$
|
|
20353
|
+
if (input.substr(peg$currPos, 4) === peg$c111) {
|
|
20354
|
+
s0 = peg$c111;
|
|
20140
20355
|
peg$currPos += 4;
|
|
20141
20356
|
} else {
|
|
20142
20357
|
s0 = peg$FAILED;
|
|
20143
20358
|
if (peg$silentFails === 0) {
|
|
20144
|
-
peg$fail(peg$
|
|
20359
|
+
peg$fail(peg$e115);
|
|
20145
20360
|
}
|
|
20146
20361
|
}
|
|
20147
20362
|
if (s0 === peg$FAILED) {
|
|
20148
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20149
|
-
s0 = peg$
|
|
20363
|
+
if (input.substr(peg$currPos, 5) === peg$c112) {
|
|
20364
|
+
s0 = peg$c112;
|
|
20150
20365
|
peg$currPos += 5;
|
|
20151
20366
|
} else {
|
|
20152
20367
|
s0 = peg$FAILED;
|
|
20153
20368
|
if (peg$silentFails === 0) {
|
|
20154
|
-
peg$fail(peg$
|
|
20369
|
+
peg$fail(peg$e116);
|
|
20155
20370
|
}
|
|
20156
20371
|
}
|
|
20157
20372
|
if (s0 === peg$FAILED) {
|
|
20158
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
20159
|
-
s0 = peg$
|
|
20373
|
+
if (input.substr(peg$currPos, 7) === peg$c113) {
|
|
20374
|
+
s0 = peg$c113;
|
|
20160
20375
|
peg$currPos += 7;
|
|
20161
20376
|
} else {
|
|
20162
20377
|
s0 = peg$FAILED;
|
|
20163
20378
|
if (peg$silentFails === 0) {
|
|
20164
|
-
peg$fail(peg$
|
|
20379
|
+
peg$fail(peg$e117);
|
|
20165
20380
|
}
|
|
20166
20381
|
}
|
|
20167
20382
|
if (s0 === peg$FAILED) {
|
|
20168
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
20169
|
-
s0 = peg$
|
|
20383
|
+
if (input.substr(peg$currPos, 9) === peg$c114) {
|
|
20384
|
+
s0 = peg$c114;
|
|
20170
20385
|
peg$currPos += 9;
|
|
20171
20386
|
} else {
|
|
20172
20387
|
s0 = peg$FAILED;
|
|
20173
20388
|
if (peg$silentFails === 0) {
|
|
20174
|
-
peg$fail(peg$
|
|
20389
|
+
peg$fail(peg$e118);
|
|
20175
20390
|
}
|
|
20176
20391
|
}
|
|
20177
20392
|
if (s0 === peg$FAILED) {
|
|
20178
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20179
|
-
s0 = peg$
|
|
20393
|
+
if (input.substr(peg$currPos, 4) === peg$c115) {
|
|
20394
|
+
s0 = peg$c115;
|
|
20180
20395
|
peg$currPos += 4;
|
|
20181
20396
|
} else {
|
|
20182
20397
|
s0 = peg$FAILED;
|
|
20183
20398
|
if (peg$silentFails === 0) {
|
|
20184
|
-
peg$fail(peg$
|
|
20399
|
+
peg$fail(peg$e119);
|
|
20185
20400
|
}
|
|
20186
20401
|
}
|
|
20187
20402
|
if (s0 === peg$FAILED) {
|
|
20188
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
20189
|
-
s0 = peg$
|
|
20403
|
+
if (input.substr(peg$currPos, 8) === peg$c116) {
|
|
20404
|
+
s0 = peg$c116;
|
|
20190
20405
|
peg$currPos += 8;
|
|
20191
20406
|
} else {
|
|
20192
20407
|
s0 = peg$FAILED;
|
|
20193
20408
|
if (peg$silentFails === 0) {
|
|
20194
|
-
peg$fail(peg$
|
|
20409
|
+
peg$fail(peg$e120);
|
|
20195
20410
|
}
|
|
20196
20411
|
}
|
|
20197
20412
|
if (s0 === peg$FAILED) {
|
|
20198
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20199
|
-
s0 = peg$
|
|
20413
|
+
if (input.substr(peg$currPos, 5) === peg$c117) {
|
|
20414
|
+
s0 = peg$c117;
|
|
20200
20415
|
peg$currPos += 5;
|
|
20201
20416
|
} else {
|
|
20202
20417
|
s0 = peg$FAILED;
|
|
20203
20418
|
if (peg$silentFails === 0) {
|
|
20204
|
-
peg$fail(peg$
|
|
20419
|
+
peg$fail(peg$e121);
|
|
20205
20420
|
}
|
|
20206
20421
|
}
|
|
20207
20422
|
if (s0 === peg$FAILED) {
|
|
20208
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20209
|
-
s0 = peg$
|
|
20423
|
+
if (input.substr(peg$currPos, 4) === peg$c118) {
|
|
20424
|
+
s0 = peg$c118;
|
|
20210
20425
|
peg$currPos += 4;
|
|
20211
20426
|
} else {
|
|
20212
20427
|
s0 = peg$FAILED;
|
|
20213
20428
|
if (peg$silentFails === 0) {
|
|
20214
|
-
peg$fail(peg$
|
|
20429
|
+
peg$fail(peg$e122);
|
|
20215
20430
|
}
|
|
20216
20431
|
}
|
|
20217
20432
|
if (s0 === peg$FAILED) {
|
|
20218
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
20219
|
-
s0 = peg$
|
|
20433
|
+
if (input.substr(peg$currPos, 7) === peg$c119) {
|
|
20434
|
+
s0 = peg$c119;
|
|
20220
20435
|
peg$currPos += 7;
|
|
20221
20436
|
} else {
|
|
20222
20437
|
s0 = peg$FAILED;
|
|
20223
20438
|
if (peg$silentFails === 0) {
|
|
20224
|
-
peg$fail(peg$
|
|
20439
|
+
peg$fail(peg$e123);
|
|
20225
20440
|
}
|
|
20226
20441
|
}
|
|
20227
20442
|
if (s0 === peg$FAILED) {
|
|
20228
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20229
|
-
s0 = peg$
|
|
20443
|
+
if (input.substr(peg$currPos, 6) === peg$c120) {
|
|
20444
|
+
s0 = peg$c120;
|
|
20230
20445
|
peg$currPos += 6;
|
|
20231
20446
|
} else {
|
|
20232
20447
|
s0 = peg$FAILED;
|
|
20233
20448
|
if (peg$silentFails === 0) {
|
|
20234
|
-
peg$fail(peg$
|
|
20449
|
+
peg$fail(peg$e124);
|
|
20235
20450
|
}
|
|
20236
20451
|
}
|
|
20237
20452
|
if (s0 === peg$FAILED) {
|
|
20238
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20239
|
-
s0 = peg$
|
|
20453
|
+
if (input.substr(peg$currPos, 4) === peg$c121) {
|
|
20454
|
+
s0 = peg$c121;
|
|
20240
20455
|
peg$currPos += 4;
|
|
20241
20456
|
} else {
|
|
20242
20457
|
s0 = peg$FAILED;
|
|
20243
20458
|
if (peg$silentFails === 0) {
|
|
20244
|
-
peg$fail(peg$
|
|
20459
|
+
peg$fail(peg$e125);
|
|
20245
20460
|
}
|
|
20246
20461
|
}
|
|
20247
20462
|
if (s0 === peg$FAILED) {
|
|
20248
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20249
|
-
s0 = peg$
|
|
20463
|
+
if (input.substr(peg$currPos, 5) === peg$c122) {
|
|
20464
|
+
s0 = peg$c122;
|
|
20250
20465
|
peg$currPos += 5;
|
|
20251
20466
|
} else {
|
|
20252
20467
|
s0 = peg$FAILED;
|
|
20253
20468
|
if (peg$silentFails === 0) {
|
|
20254
|
-
peg$fail(peg$
|
|
20469
|
+
peg$fail(peg$e126);
|
|
20255
20470
|
}
|
|
20256
20471
|
}
|
|
20257
20472
|
if (s0 === peg$FAILED) {
|
|
20258
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20259
|
-
s0 = peg$
|
|
20473
|
+
if (input.substr(peg$currPos, 6) === peg$c123) {
|
|
20474
|
+
s0 = peg$c123;
|
|
20260
20475
|
peg$currPos += 6;
|
|
20261
20476
|
} else {
|
|
20262
20477
|
s0 = peg$FAILED;
|
|
20263
20478
|
if (peg$silentFails === 0) {
|
|
20264
|
-
peg$fail(peg$
|
|
20479
|
+
peg$fail(peg$e127);
|
|
20265
20480
|
}
|
|
20266
20481
|
}
|
|
20267
20482
|
if (s0 === peg$FAILED) {
|
|
20268
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20269
|
-
s0 = peg$
|
|
20483
|
+
if (input.substr(peg$currPos, 4) === peg$c124) {
|
|
20484
|
+
s0 = peg$c124;
|
|
20270
20485
|
peg$currPos += 4;
|
|
20271
20486
|
} else {
|
|
20272
20487
|
s0 = peg$FAILED;
|
|
20273
20488
|
if (peg$silentFails === 0) {
|
|
20274
|
-
peg$fail(peg$
|
|
20489
|
+
peg$fail(peg$e128);
|
|
20275
20490
|
}
|
|
20276
20491
|
}
|
|
20277
20492
|
if (s0 === peg$FAILED) {
|
|
20278
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20279
|
-
s0 = peg$
|
|
20493
|
+
if (input.substr(peg$currPos, 6) === peg$c125) {
|
|
20494
|
+
s0 = peg$c125;
|
|
20280
20495
|
peg$currPos += 6;
|
|
20281
20496
|
} else {
|
|
20282
20497
|
s0 = peg$FAILED;
|
|
20283
20498
|
if (peg$silentFails === 0) {
|
|
20284
|
-
peg$fail(peg$
|
|
20499
|
+
peg$fail(peg$e129);
|
|
20285
20500
|
}
|
|
20286
20501
|
}
|
|
20287
20502
|
if (s0 === peg$FAILED) {
|
|
20288
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
20289
|
-
s0 = peg$
|
|
20503
|
+
if (input.substr(peg$currPos, 3) === peg$c126) {
|
|
20504
|
+
s0 = peg$c126;
|
|
20290
20505
|
peg$currPos += 3;
|
|
20291
20506
|
} else {
|
|
20292
20507
|
s0 = peg$FAILED;
|
|
20293
20508
|
if (peg$silentFails === 0) {
|
|
20294
|
-
peg$fail(peg$
|
|
20509
|
+
peg$fail(peg$e130);
|
|
20295
20510
|
}
|
|
20296
20511
|
}
|
|
20297
20512
|
if (s0 === peg$FAILED) {
|
|
20298
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20299
|
-
s0 = peg$
|
|
20513
|
+
if (input.substr(peg$currPos, 6) === peg$c127) {
|
|
20514
|
+
s0 = peg$c127;
|
|
20300
20515
|
peg$currPos += 6;
|
|
20301
20516
|
} else {
|
|
20302
20517
|
s0 = peg$FAILED;
|
|
20303
20518
|
if (peg$silentFails === 0) {
|
|
20304
|
-
peg$fail(peg$
|
|
20519
|
+
peg$fail(peg$e131);
|
|
20305
20520
|
}
|
|
20306
20521
|
}
|
|
20307
20522
|
if (s0 === peg$FAILED) {
|
|
20308
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20309
|
-
s0 = peg$
|
|
20523
|
+
if (input.substr(peg$currPos, 4) === peg$c128) {
|
|
20524
|
+
s0 = peg$c128;
|
|
20310
20525
|
peg$currPos += 4;
|
|
20311
20526
|
} else {
|
|
20312
20527
|
s0 = peg$FAILED;
|
|
20313
20528
|
if (peg$silentFails === 0) {
|
|
20314
|
-
peg$fail(peg$
|
|
20529
|
+
peg$fail(peg$e132);
|
|
20315
20530
|
}
|
|
20316
20531
|
}
|
|
20317
20532
|
if (s0 === peg$FAILED) {
|
|
20318
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20319
|
-
s0 = peg$
|
|
20533
|
+
if (input.substr(peg$currPos, 6) === peg$c129) {
|
|
20534
|
+
s0 = peg$c129;
|
|
20320
20535
|
peg$currPos += 6;
|
|
20321
20536
|
} else {
|
|
20322
20537
|
s0 = peg$FAILED;
|
|
20323
20538
|
if (peg$silentFails === 0) {
|
|
20324
|
-
peg$fail(peg$
|
|
20539
|
+
peg$fail(peg$e133);
|
|
20325
20540
|
}
|
|
20326
20541
|
}
|
|
20327
20542
|
if (s0 === peg$FAILED) {
|
|
20328
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20329
|
-
s0 = peg$
|
|
20543
|
+
if (input.substr(peg$currPos, 5) === peg$c130) {
|
|
20544
|
+
s0 = peg$c130;
|
|
20330
20545
|
peg$currPos += 5;
|
|
20331
20546
|
} else {
|
|
20332
20547
|
s0 = peg$FAILED;
|
|
20333
20548
|
if (peg$silentFails === 0) {
|
|
20334
|
-
peg$fail(peg$
|
|
20549
|
+
peg$fail(peg$e134);
|
|
20335
20550
|
}
|
|
20336
20551
|
}
|
|
20337
20552
|
if (s0 === peg$FAILED) {
|
|
20338
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20339
|
-
s0 = peg$
|
|
20553
|
+
if (input.substr(peg$currPos, 6) === peg$c131) {
|
|
20554
|
+
s0 = peg$c131;
|
|
20340
20555
|
peg$currPos += 6;
|
|
20341
20556
|
} else {
|
|
20342
20557
|
s0 = peg$FAILED;
|
|
20343
20558
|
if (peg$silentFails === 0) {
|
|
20344
|
-
peg$fail(peg$
|
|
20559
|
+
peg$fail(peg$e135);
|
|
20345
20560
|
}
|
|
20346
20561
|
}
|
|
20347
20562
|
}
|
|
@@ -20373,7 +20588,7 @@ function peg$parse(input, options) {
|
|
|
20373
20588
|
peg$silentFails++;
|
|
20374
20589
|
s0 = peg$currPos;
|
|
20375
20590
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
20376
|
-
s1 = peg$
|
|
20591
|
+
s1 = peg$f91(s1);
|
|
20377
20592
|
s0 = s1;
|
|
20378
20593
|
peg$silentFails--;
|
|
20379
20594
|
return s0;
|
|
@@ -20398,7 +20613,7 @@ function peg$parse(input, options) {
|
|
|
20398
20613
|
s3 = peg$parsePlainText();
|
|
20399
20614
|
}
|
|
20400
20615
|
}
|
|
20401
|
-
s0 = peg$
|
|
20616
|
+
s0 = peg$f92(s1, s2);
|
|
20402
20617
|
peg$silentFails--;
|
|
20403
20618
|
return s0;
|
|
20404
20619
|
}
|
|
@@ -20407,7 +20622,7 @@ function peg$parse(input, options) {
|
|
|
20407
20622
|
s0 = peg$currPos;
|
|
20408
20623
|
s1 = peg$parseNL();
|
|
20409
20624
|
if (s1 !== peg$FAILED) {
|
|
20410
|
-
s1 = peg$
|
|
20625
|
+
s1 = peg$f93();
|
|
20411
20626
|
}
|
|
20412
20627
|
s0 = s1;
|
|
20413
20628
|
if (s0 === peg$FAILED) {
|
|
@@ -20535,7 +20750,7 @@ function peg$parse(input, options) {
|
|
|
20535
20750
|
s1 = s2;
|
|
20536
20751
|
}
|
|
20537
20752
|
if (s1 !== peg$FAILED) {
|
|
20538
|
-
s1 = peg$
|
|
20753
|
+
s1 = peg$f94(s1);
|
|
20539
20754
|
}
|
|
20540
20755
|
s0 = s1;
|
|
20541
20756
|
}
|
|
@@ -20544,12 +20759,12 @@ function peg$parse(input, options) {
|
|
|
20544
20759
|
function peg$parseBoldHalfTag() {
|
|
20545
20760
|
let s0;
|
|
20546
20761
|
if (input.charCodeAt(peg$currPos) === 42) {
|
|
20547
|
-
s0 = peg$
|
|
20762
|
+
s0 = peg$c132;
|
|
20548
20763
|
peg$currPos++;
|
|
20549
20764
|
} else {
|
|
20550
20765
|
s0 = peg$FAILED;
|
|
20551
20766
|
if (peg$silentFails === 0) {
|
|
20552
|
-
peg$fail(peg$
|
|
20767
|
+
peg$fail(peg$e136);
|
|
20553
20768
|
}
|
|
20554
20769
|
}
|
|
20555
20770
|
return s0;
|
|
@@ -20557,12 +20772,12 @@ function peg$parse(input, options) {
|
|
|
20557
20772
|
function peg$parseItalicHalfTag() {
|
|
20558
20773
|
let s0;
|
|
20559
20774
|
if (input.charCodeAt(peg$currPos) === 95) {
|
|
20560
|
-
s0 = peg$
|
|
20775
|
+
s0 = peg$c133;
|
|
20561
20776
|
peg$currPos++;
|
|
20562
20777
|
} else {
|
|
20563
20778
|
s0 = peg$FAILED;
|
|
20564
20779
|
if (peg$silentFails === 0) {
|
|
20565
|
-
peg$fail(peg$
|
|
20780
|
+
peg$fail(peg$e137);
|
|
20566
20781
|
}
|
|
20567
20782
|
}
|
|
20568
20783
|
return s0;
|
|
@@ -20570,12 +20785,12 @@ function peg$parse(input, options) {
|
|
|
20570
20785
|
function peg$parseLightHalfTag() {
|
|
20571
20786
|
let s0;
|
|
20572
20787
|
if (input.charCodeAt(peg$currPos) === 96) {
|
|
20573
|
-
s0 = peg$
|
|
20788
|
+
s0 = peg$c134;
|
|
20574
20789
|
peg$currPos++;
|
|
20575
20790
|
} else {
|
|
20576
20791
|
s0 = peg$FAILED;
|
|
20577
20792
|
if (peg$silentFails === 0) {
|
|
20578
|
-
peg$fail(peg$
|
|
20793
|
+
peg$fail(peg$e138);
|
|
20579
20794
|
}
|
|
20580
20795
|
}
|
|
20581
20796
|
return s0;
|
|
@@ -20583,12 +20798,12 @@ function peg$parse(input, options) {
|
|
|
20583
20798
|
function peg$parseHighlightHalfTag() {
|
|
20584
20799
|
let s0;
|
|
20585
20800
|
if (input.charCodeAt(peg$currPos) === 33) {
|
|
20586
|
-
s0 = peg$
|
|
20801
|
+
s0 = peg$c135;
|
|
20587
20802
|
peg$currPos++;
|
|
20588
20803
|
} else {
|
|
20589
20804
|
s0 = peg$FAILED;
|
|
20590
20805
|
if (peg$silentFails === 0) {
|
|
20591
|
-
peg$fail(peg$
|
|
20806
|
+
peg$fail(peg$e139);
|
|
20592
20807
|
}
|
|
20593
20808
|
}
|
|
20594
20809
|
return s0;
|
|
@@ -20671,13 +20886,13 @@ function peg$parse(input, options) {
|
|
|
20671
20886
|
}
|
|
20672
20887
|
function peg$parseBodyBitOpenTag() {
|
|
20673
20888
|
let s0;
|
|
20674
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
20675
|
-
s0 = peg$
|
|
20889
|
+
if (input.substr(peg$currPos, 2) === peg$c136) {
|
|
20890
|
+
s0 = peg$c136;
|
|
20676
20891
|
peg$currPos += 2;
|
|
20677
20892
|
} else {
|
|
20678
20893
|
s0 = peg$FAILED;
|
|
20679
20894
|
if (peg$silentFails === 0) {
|
|
20680
|
-
peg$fail(peg$
|
|
20895
|
+
peg$fail(peg$e140);
|
|
20681
20896
|
}
|
|
20682
20897
|
}
|
|
20683
20898
|
return s0;
|
|
@@ -20685,12 +20900,12 @@ function peg$parse(input, options) {
|
|
|
20685
20900
|
function peg$parseBodyBitCloseTag() {
|
|
20686
20901
|
let s0;
|
|
20687
20902
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
20688
|
-
s0 = peg$
|
|
20903
|
+
s0 = peg$c137;
|
|
20689
20904
|
peg$currPos++;
|
|
20690
20905
|
} else {
|
|
20691
20906
|
s0 = peg$FAILED;
|
|
20692
20907
|
if (peg$silentFails === 0) {
|
|
20693
|
-
peg$fail(peg$
|
|
20908
|
+
peg$fail(peg$e141);
|
|
20694
20909
|
}
|
|
20695
20910
|
}
|
|
20696
20911
|
return s0;
|
|
@@ -20735,7 +20950,7 @@ function peg$parse(input, options) {
|
|
|
20735
20950
|
if (s2 !== peg$FAILED) {
|
|
20736
20951
|
s3 = peg$parseBodyBitCloseTag();
|
|
20737
20952
|
if (s3 !== peg$FAILED) {
|
|
20738
|
-
s0 = peg$
|
|
20953
|
+
s0 = peg$f95(s2);
|
|
20739
20954
|
} else {
|
|
20740
20955
|
peg$currPos = s0;
|
|
20741
20956
|
s0 = peg$FAILED;
|
|
@@ -20824,7 +21039,7 @@ function peg$parse(input, options) {
|
|
|
20824
21039
|
s2 = input.substring(s2, peg$currPos);
|
|
20825
21040
|
s3 = peg$parseBoldTag();
|
|
20826
21041
|
if (s3 !== peg$FAILED) {
|
|
20827
|
-
s0 = peg$
|
|
21042
|
+
s0 = peg$f96(s2);
|
|
20828
21043
|
} else {
|
|
20829
21044
|
peg$currPos = s0;
|
|
20830
21045
|
s0 = peg$FAILED;
|
|
@@ -20909,7 +21124,7 @@ function peg$parse(input, options) {
|
|
|
20909
21124
|
s2 = input.substring(s2, peg$currPos);
|
|
20910
21125
|
s3 = peg$parseItalicTag();
|
|
20911
21126
|
if (s3 !== peg$FAILED) {
|
|
20912
|
-
s0 = peg$
|
|
21127
|
+
s0 = peg$f97(s2);
|
|
20913
21128
|
} else {
|
|
20914
21129
|
peg$currPos = s0;
|
|
20915
21130
|
s0 = peg$FAILED;
|
|
@@ -20994,7 +21209,7 @@ function peg$parse(input, options) {
|
|
|
20994
21209
|
s2 = input.substring(s2, peg$currPos);
|
|
20995
21210
|
s3 = peg$parseLightTag();
|
|
20996
21211
|
if (s3 !== peg$FAILED) {
|
|
20997
|
-
s0 = peg$
|
|
21212
|
+
s0 = peg$f98(s2);
|
|
20998
21213
|
} else {
|
|
20999
21214
|
peg$currPos = s0;
|
|
21000
21215
|
s0 = peg$FAILED;
|
|
@@ -21079,7 +21294,7 @@ function peg$parse(input, options) {
|
|
|
21079
21294
|
s2 = input.substring(s2, peg$currPos);
|
|
21080
21295
|
s3 = peg$parseHighlightTag();
|
|
21081
21296
|
if (s3 !== peg$FAILED) {
|
|
21082
|
-
s0 = peg$
|
|
21297
|
+
s0 = peg$f99(s2);
|
|
21083
21298
|
} else {
|
|
21084
21299
|
peg$currPos = s0;
|
|
21085
21300
|
s0 = peg$FAILED;
|
|
@@ -21164,22 +21379,22 @@ function peg$parse(input, options) {
|
|
|
21164
21379
|
let s0;
|
|
21165
21380
|
peg$silentFails++;
|
|
21166
21381
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
21167
|
-
s0 = peg$
|
|
21382
|
+
s0 = peg$c138;
|
|
21168
21383
|
peg$currPos++;
|
|
21169
21384
|
} else {
|
|
21170
21385
|
s0 = peg$FAILED;
|
|
21171
21386
|
if (peg$silentFails === 0) {
|
|
21172
|
-
peg$fail(peg$
|
|
21387
|
+
peg$fail(peg$e143);
|
|
21173
21388
|
}
|
|
21174
21389
|
}
|
|
21175
21390
|
if (s0 === peg$FAILED) {
|
|
21176
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
21177
|
-
s0 = peg$
|
|
21391
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
21392
|
+
s0 = peg$c139;
|
|
21178
21393
|
peg$currPos += 2;
|
|
21179
21394
|
} else {
|
|
21180
21395
|
s0 = peg$FAILED;
|
|
21181
21396
|
if (peg$silentFails === 0) {
|
|
21182
|
-
peg$fail(peg$
|
|
21397
|
+
peg$fail(peg$e144);
|
|
21183
21398
|
}
|
|
21184
21399
|
}
|
|
21185
21400
|
if (s0 === peg$FAILED) {
|
|
@@ -21189,7 +21404,7 @@ function peg$parse(input, options) {
|
|
|
21189
21404
|
} else {
|
|
21190
21405
|
s0 = peg$FAILED;
|
|
21191
21406
|
if (peg$silentFails === 0) {
|
|
21192
|
-
peg$fail(peg$
|
|
21407
|
+
peg$fail(peg$e145);
|
|
21193
21408
|
}
|
|
21194
21409
|
}
|
|
21195
21410
|
}
|
|
@@ -21197,7 +21412,7 @@ function peg$parse(input, options) {
|
|
|
21197
21412
|
peg$silentFails--;
|
|
21198
21413
|
if (s0 === peg$FAILED) {
|
|
21199
21414
|
if (peg$silentFails === 0) {
|
|
21200
|
-
peg$fail(peg$
|
|
21415
|
+
peg$fail(peg$e142);
|
|
21201
21416
|
}
|
|
21202
21417
|
}
|
|
21203
21418
|
return s0;
|
|
@@ -21210,7 +21425,7 @@ function peg$parse(input, options) {
|
|
|
21210
21425
|
} else {
|
|
21211
21426
|
s0 = peg$FAILED;
|
|
21212
21427
|
if (peg$silentFails === 0) {
|
|
21213
|
-
peg$fail(peg$
|
|
21428
|
+
peg$fail(peg$e146);
|
|
21214
21429
|
}
|
|
21215
21430
|
}
|
|
21216
21431
|
return s0;
|
|
@@ -21244,35 +21459,35 @@ function peg$parse(input, options) {
|
|
|
21244
21459
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8;
|
|
21245
21460
|
s0 = peg$currPos;
|
|
21246
21461
|
s1 = peg$currPos;
|
|
21247
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
21248
|
-
s2 = peg$
|
|
21462
|
+
if (input.substr(peg$currPos, 4) === peg$c140) {
|
|
21463
|
+
s2 = peg$c140;
|
|
21249
21464
|
peg$currPos += 4;
|
|
21250
21465
|
} else {
|
|
21251
21466
|
s2 = peg$FAILED;
|
|
21252
21467
|
if (peg$silentFails === 0) {
|
|
21253
|
-
peg$fail(peg$
|
|
21468
|
+
peg$fail(peg$e147);
|
|
21254
21469
|
}
|
|
21255
21470
|
}
|
|
21256
21471
|
if (s2 !== peg$FAILED) {
|
|
21257
21472
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
21258
|
-
s3 = peg$
|
|
21473
|
+
s3 = peg$c141;
|
|
21259
21474
|
peg$currPos++;
|
|
21260
21475
|
} else {
|
|
21261
21476
|
s3 = peg$FAILED;
|
|
21262
21477
|
if (peg$silentFails === 0) {
|
|
21263
|
-
peg$fail(peg$
|
|
21478
|
+
peg$fail(peg$e148);
|
|
21264
21479
|
}
|
|
21265
21480
|
}
|
|
21266
21481
|
if (s3 === peg$FAILED) {
|
|
21267
21482
|
s3 = null;
|
|
21268
21483
|
}
|
|
21269
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
21270
|
-
s4 = peg$
|
|
21484
|
+
if (input.substr(peg$currPos, 3) === peg$c142) {
|
|
21485
|
+
s4 = peg$c142;
|
|
21271
21486
|
peg$currPos += 3;
|
|
21272
21487
|
} else {
|
|
21273
21488
|
s4 = peg$FAILED;
|
|
21274
21489
|
if (peg$silentFails === 0) {
|
|
21275
|
-
peg$fail(peg$
|
|
21490
|
+
peg$fail(peg$e149);
|
|
21276
21491
|
}
|
|
21277
21492
|
}
|
|
21278
21493
|
if (s4 !== peg$FAILED) {
|
|
@@ -21350,35 +21565,35 @@ function peg$parse(input, options) {
|
|
|
21350
21565
|
s0 = peg$currPos;
|
|
21351
21566
|
s1 = peg$currPos;
|
|
21352
21567
|
s2 = peg$currPos;
|
|
21353
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
21354
|
-
s3 = peg$
|
|
21568
|
+
if (input.substr(peg$currPos, 4) === peg$c140) {
|
|
21569
|
+
s3 = peg$c140;
|
|
21355
21570
|
peg$currPos += 4;
|
|
21356
21571
|
} else {
|
|
21357
21572
|
s3 = peg$FAILED;
|
|
21358
21573
|
if (peg$silentFails === 0) {
|
|
21359
|
-
peg$fail(peg$
|
|
21574
|
+
peg$fail(peg$e147);
|
|
21360
21575
|
}
|
|
21361
21576
|
}
|
|
21362
21577
|
if (s3 !== peg$FAILED) {
|
|
21363
21578
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
21364
|
-
s4 = peg$
|
|
21579
|
+
s4 = peg$c141;
|
|
21365
21580
|
peg$currPos++;
|
|
21366
21581
|
} else {
|
|
21367
21582
|
s4 = peg$FAILED;
|
|
21368
21583
|
if (peg$silentFails === 0) {
|
|
21369
|
-
peg$fail(peg$
|
|
21584
|
+
peg$fail(peg$e148);
|
|
21370
21585
|
}
|
|
21371
21586
|
}
|
|
21372
21587
|
if (s4 === peg$FAILED) {
|
|
21373
21588
|
s4 = null;
|
|
21374
21589
|
}
|
|
21375
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
21376
|
-
s5 = peg$
|
|
21590
|
+
if (input.substr(peg$currPos, 3) === peg$c142) {
|
|
21591
|
+
s5 = peg$c142;
|
|
21377
21592
|
peg$currPos += 3;
|
|
21378
21593
|
} else {
|
|
21379
21594
|
s5 = peg$FAILED;
|
|
21380
21595
|
if (peg$silentFails === 0) {
|
|
21381
|
-
peg$fail(peg$
|
|
21596
|
+
peg$fail(peg$e149);
|
|
21382
21597
|
}
|
|
21383
21598
|
}
|
|
21384
21599
|
if (s5 !== peg$FAILED) {
|
|
@@ -21393,13 +21608,13 @@ function peg$parse(input, options) {
|
|
|
21393
21608
|
s2 = peg$FAILED;
|
|
21394
21609
|
}
|
|
21395
21610
|
if (s2 === peg$FAILED) {
|
|
21396
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
21397
|
-
s2 = peg$
|
|
21611
|
+
if (input.substr(peg$currPos, 7) === peg$c143) {
|
|
21612
|
+
s2 = peg$c143;
|
|
21398
21613
|
peg$currPos += 7;
|
|
21399
21614
|
} else {
|
|
21400
21615
|
s2 = peg$FAILED;
|
|
21401
21616
|
if (peg$silentFails === 0) {
|
|
21402
|
-
peg$fail(peg$
|
|
21617
|
+
peg$fail(peg$e150);
|
|
21403
21618
|
}
|
|
21404
21619
|
}
|
|
21405
21620
|
}
|
|
@@ -21463,7 +21678,7 @@ function peg$parse(input, options) {
|
|
|
21463
21678
|
}
|
|
21464
21679
|
}
|
|
21465
21680
|
s2 = input.substring(s2, peg$currPos);
|
|
21466
|
-
s0 = peg$
|
|
21681
|
+
s0 = peg$f100(s1, s2);
|
|
21467
21682
|
} else {
|
|
21468
21683
|
peg$currPos = s0;
|
|
21469
21684
|
s0 = peg$FAILED;
|
|
@@ -21478,7 +21693,7 @@ function peg$parse(input, options) {
|
|
|
21478
21693
|
} else {
|
|
21479
21694
|
s0 = peg$FAILED;
|
|
21480
21695
|
if (peg$silentFails === 0) {
|
|
21481
|
-
peg$fail(peg$
|
|
21696
|
+
peg$fail(peg$e151);
|
|
21482
21697
|
}
|
|
21483
21698
|
}
|
|
21484
21699
|
return s0;
|
|
@@ -39472,7 +39687,7 @@ async function asyncInit() {
|
|
|
39472
39687
|
}
|
|
39473
39688
|
const program = new Command();
|
|
39474
39689
|
const rootVersionOption = new Option("-v, --version", "Display version");
|
|
39475
|
-
program.name("bitmark-parser").description("
|
|
39690
|
+
program.name("bitmark-parser").description("Convert to and from bitmark formats.").helpOption("-h, --help", "Display help for command").action(() => {
|
|
39476
39691
|
program.outputHelp();
|
|
39477
39692
|
});
|
|
39478
39693
|
program.addCommand(createConvertCommand());
|