@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
|
@@ -9905,12 +9905,12 @@ var BITS = {
|
|
|
9905
9905
|
tags: [
|
|
9906
9906
|
{
|
|
9907
9907
|
key: ConfigKey.property_iframeSrc,
|
|
9908
|
-
description: "Iframe source URL, used to define the source of the iframe"
|
|
9908
|
+
description: "Iframe source URL, used to define the source of the iframe",
|
|
9909
|
+
minCount: 1
|
|
9909
9910
|
},
|
|
9910
9911
|
{
|
|
9911
9912
|
key: ConfigKey.property_iframeName,
|
|
9912
|
-
description: "Iframe name, used to define the name of the iframe"
|
|
9913
|
-
minCount: 1
|
|
9913
|
+
description: "Iframe name, used to define the name of the iframe"
|
|
9914
9914
|
}
|
|
9915
9915
|
]
|
|
9916
9916
|
},
|
|
@@ -10260,7 +10260,7 @@ var instance2 = new Config();
|
|
|
10260
10260
|
// src/generated/package_info.ts
|
|
10261
10261
|
var PACKAGE_INFO = {
|
|
10262
10262
|
"name": "@gmb/bitmark-parser-generator",
|
|
10263
|
-
"version": "5.
|
|
10263
|
+
"version": "5.1.0",
|
|
10264
10264
|
"author": "Get More Brain Ltd",
|
|
10265
10265
|
"license": "ISC",
|
|
10266
10266
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -10557,6 +10557,7 @@ var TextMarkType = {
|
|
|
10557
10557
|
timer: "timer",
|
|
10558
10558
|
duration: "duration",
|
|
10559
10559
|
color: "color",
|
|
10560
|
+
colorPicker: "colorPicker",
|
|
10560
10561
|
comment: "comment"
|
|
10561
10562
|
};
|
|
10562
10563
|
|
|
@@ -12054,6 +12055,7 @@ var INLINE_MARK_TYPES = [
|
|
|
12054
12055
|
TextMarkType.timer,
|
|
12055
12056
|
TextMarkType.duration,
|
|
12056
12057
|
TextMarkType.color,
|
|
12058
|
+
TextMarkType.colorPicker,
|
|
12057
12059
|
TextMarkType.comment
|
|
12058
12060
|
];
|
|
12059
12061
|
var INDENTATION_REGEX = new RegExp(/(\n|\r\n)/, "g");
|
|
@@ -12785,7 +12787,7 @@ var TextGenerator = class extends AstWalkerGenerator {
|
|
|
12785
12787
|
let s = `${mark.type}`;
|
|
12786
12788
|
if (mark.attrs) {
|
|
12787
12789
|
for (const [k, v] of Object.entries(mark.attrs)) {
|
|
12788
|
-
if (k === "language" && v !== "plain text" || k === "color" || k === "name" || k === "duration") {
|
|
12790
|
+
if (k === "language" && v !== "plain text" || k === "color" || k === "propertyRef" || k === "name" || k === "duration") {
|
|
12789
12791
|
s = `${s}:${v}`;
|
|
12790
12792
|
}
|
|
12791
12793
|
}
|
|
@@ -12976,7 +12978,7 @@ var TextGenerator = class extends AstWalkerGenerator {
|
|
|
12976
12978
|
};
|
|
12977
12979
|
|
|
12978
12980
|
// src/generated/parser/text/text-peggy-parser.js
|
|
12979
|
-
var VERSION = "8.
|
|
12981
|
+
var VERSION = "8.37.3";
|
|
12980
12982
|
function unbreakscape(str) {
|
|
12981
12983
|
if (typeof str !== "string") return null;
|
|
12982
12984
|
return instance3.unbreakscape(str);
|
|
@@ -13195,72 +13197,83 @@ function peg$parse(input, options) {
|
|
|
13195
13197
|
const peg$c64 = "duration:";
|
|
13196
13198
|
const peg$c65 = "P";
|
|
13197
13199
|
const peg$c66 = "color:";
|
|
13198
|
-
const peg$c67 = "
|
|
13199
|
-
const peg$c68 = "
|
|
13200
|
-
const peg$c69 = "
|
|
13201
|
-
const peg$c70 = "
|
|
13202
|
-
const peg$c71 = "
|
|
13203
|
-
const peg$c72 = "
|
|
13204
|
-
const peg$c73 = "
|
|
13205
|
-
const peg$c74 = "
|
|
13206
|
-
const peg$c75 = "
|
|
13207
|
-
const peg$c76 = "
|
|
13208
|
-
const peg$c77 = "
|
|
13209
|
-
const peg$c78 = "
|
|
13210
|
-
const peg$c79 = "
|
|
13211
|
-
const peg$c80 = "
|
|
13212
|
-
const peg$c81 = "
|
|
13213
|
-
const peg$c82 = "
|
|
13214
|
-
const peg$c83 = "
|
|
13215
|
-
const peg$c84 = "
|
|
13216
|
-
const peg$c85 = "
|
|
13217
|
-
const peg$c86 = "
|
|
13218
|
-
const peg$c87 = "
|
|
13219
|
-
const peg$c88 = "
|
|
13220
|
-
const peg$c89 = "
|
|
13221
|
-
const peg$c90 = "
|
|
13222
|
-
const peg$c91 = "
|
|
13223
|
-
const peg$c92 = "
|
|
13224
|
-
const peg$c93 = "
|
|
13225
|
-
const peg$c94 = "
|
|
13226
|
-
const peg$c95 = "
|
|
13227
|
-
const peg$c96 = "
|
|
13228
|
-
const peg$c97 = "
|
|
13229
|
-
const peg$c98 = "
|
|
13230
|
-
const peg$c99 = "
|
|
13231
|
-
const peg$c100 = "
|
|
13232
|
-
const peg$c101 = "
|
|
13233
|
-
const peg$c102 = "
|
|
13234
|
-
const peg$c103 = "
|
|
13235
|
-
const peg$c104 = "
|
|
13236
|
-
const peg$c105 = "
|
|
13237
|
-
const peg$c106 = "
|
|
13238
|
-
const peg$c107 = "
|
|
13239
|
-
const peg$c108 = "
|
|
13240
|
-
const peg$c109 = "
|
|
13241
|
-
const peg$c110 = "
|
|
13242
|
-
const peg$c111 = "
|
|
13243
|
-
const peg$c112 = "
|
|
13244
|
-
const peg$c113 = "
|
|
13245
|
-
const peg$c114 = "
|
|
13246
|
-
const peg$c115 = "
|
|
13247
|
-
const peg$c116 = "
|
|
13248
|
-
const peg$c117 = "
|
|
13249
|
-
const peg$c118 = "
|
|
13250
|
-
const peg$c119 = "
|
|
13251
|
-
const peg$c120 = "
|
|
13252
|
-
const peg$c121 = "
|
|
13253
|
-
const peg$c122 = "
|
|
13254
|
-
const peg$c123 = "
|
|
13255
|
-
const peg$c124 = "
|
|
13256
|
-
const peg$c125 = "
|
|
13257
|
-
const peg$c126 = "
|
|
13258
|
-
const peg$c127 = "
|
|
13259
|
-
const peg$c128 = "
|
|
13260
|
-
const peg$c129 = "
|
|
13261
|
-
const peg$c130 = "
|
|
13262
|
-
const peg$c131 = "
|
|
13263
|
-
const peg$c132 = "
|
|
13200
|
+
const peg$c67 = "colorPicker:";
|
|
13201
|
+
const peg$c68 = "|\u25BA";
|
|
13202
|
+
const peg$c69 = "bold";
|
|
13203
|
+
const peg$c70 = "italic";
|
|
13204
|
+
const peg$c71 = "light";
|
|
13205
|
+
const peg$c72 = "highlightOrange";
|
|
13206
|
+
const peg$c73 = "highlightYellow";
|
|
13207
|
+
const peg$c74 = "highlightGreen";
|
|
13208
|
+
const peg$c75 = "highlightBlue";
|
|
13209
|
+
const peg$c76 = "highlightPurple";
|
|
13210
|
+
const peg$c77 = "highlightPink";
|
|
13211
|
+
const peg$c78 = "highlightBrown";
|
|
13212
|
+
const peg$c79 = "highlightBlack";
|
|
13213
|
+
const peg$c80 = "highlightWhite";
|
|
13214
|
+
const peg$c81 = "highlightGray";
|
|
13215
|
+
const peg$c82 = "highlight";
|
|
13216
|
+
const peg$c83 = "strike";
|
|
13217
|
+
const peg$c84 = "subscript";
|
|
13218
|
+
const peg$c85 = "superscript";
|
|
13219
|
+
const peg$c86 = "ins";
|
|
13220
|
+
const peg$c87 = "del";
|
|
13221
|
+
const peg$c88 = "underline";
|
|
13222
|
+
const peg$c89 = "doubleUnderline";
|
|
13223
|
+
const peg$c90 = "circle";
|
|
13224
|
+
const peg$c91 = "languageEmRed";
|
|
13225
|
+
const peg$c92 = "languageEmOrange";
|
|
13226
|
+
const peg$c93 = "languageEmYellow";
|
|
13227
|
+
const peg$c94 = "languageEmGreen";
|
|
13228
|
+
const peg$c95 = "languageEmBlue";
|
|
13229
|
+
const peg$c96 = "languageEmPurple";
|
|
13230
|
+
const peg$c97 = "languageEmPink";
|
|
13231
|
+
const peg$c98 = "languageEmBrown";
|
|
13232
|
+
const peg$c99 = "languageEmBlack";
|
|
13233
|
+
const peg$c100 = "languageEmWhite";
|
|
13234
|
+
const peg$c101 = "languageEmGray";
|
|
13235
|
+
const peg$c102 = "languageEm";
|
|
13236
|
+
const peg$c103 = "userUnderline";
|
|
13237
|
+
const peg$c104 = "userDoubleUnderline";
|
|
13238
|
+
const peg$c105 = "userStrike";
|
|
13239
|
+
const peg$c106 = "userCircle";
|
|
13240
|
+
const peg$c107 = "userHighlight";
|
|
13241
|
+
const peg$c108 = "notranslate";
|
|
13242
|
+
const peg$c109 = "aqua";
|
|
13243
|
+
const peg$c110 = "black";
|
|
13244
|
+
const peg$c111 = "blue";
|
|
13245
|
+
const peg$c112 = "brown";
|
|
13246
|
+
const peg$c113 = "fuchsia";
|
|
13247
|
+
const peg$c114 = "lightgrey";
|
|
13248
|
+
const peg$c115 = "gray";
|
|
13249
|
+
const peg$c116 = "darkgray";
|
|
13250
|
+
const peg$c117 = "green";
|
|
13251
|
+
const peg$c118 = "lime";
|
|
13252
|
+
const peg$c119 = "magenta";
|
|
13253
|
+
const peg$c120 = "maroon";
|
|
13254
|
+
const peg$c121 = "navy";
|
|
13255
|
+
const peg$c122 = "olive";
|
|
13256
|
+
const peg$c123 = "orange";
|
|
13257
|
+
const peg$c124 = "pink";
|
|
13258
|
+
const peg$c125 = "purple";
|
|
13259
|
+
const peg$c126 = "red";
|
|
13260
|
+
const peg$c127 = "silver";
|
|
13261
|
+
const peg$c128 = "teal";
|
|
13262
|
+
const peg$c129 = "violet";
|
|
13263
|
+
const peg$c130 = "white";
|
|
13264
|
+
const peg$c131 = "yellow";
|
|
13265
|
+
const peg$c132 = "*";
|
|
13266
|
+
const peg$c133 = "_";
|
|
13267
|
+
const peg$c134 = "`";
|
|
13268
|
+
const peg$c135 = "!";
|
|
13269
|
+
const peg$c136 = "[!";
|
|
13270
|
+
const peg$c137 = "]";
|
|
13271
|
+
const peg$c138 = "\n";
|
|
13272
|
+
const peg$c139 = "\r\n";
|
|
13273
|
+
const peg$c140 = "http";
|
|
13274
|
+
const peg$c141 = "s";
|
|
13275
|
+
const peg$c142 = "://";
|
|
13276
|
+
const peg$c143 = "mailto:";
|
|
13264
13277
|
const peg$r0 = /^[ \t]/;
|
|
13265
13278
|
const peg$r1 = /^[0-9]/;
|
|
13266
13279
|
const peg$r2 = /^[\r\u2028-\u2029]/;
|
|
@@ -13337,76 +13350,87 @@ function peg$parse(input, options) {
|
|
|
13337
13350
|
const peg$e68 = peg$literalExpectation("duration:", false);
|
|
13338
13351
|
const peg$e69 = peg$literalExpectation("P", false);
|
|
13339
13352
|
const peg$e70 = peg$literalExpectation("color:", false);
|
|
13340
|
-
const peg$e71 = peg$literalExpectation("
|
|
13341
|
-
const peg$e72 = peg$literalExpectation("
|
|
13342
|
-
const peg$e73 = peg$literalExpectation("
|
|
13343
|
-
const peg$e74 = peg$literalExpectation("
|
|
13344
|
-
const peg$e75 = peg$literalExpectation("
|
|
13345
|
-
const peg$e76 = peg$literalExpectation("
|
|
13346
|
-
const peg$e77 = peg$literalExpectation("
|
|
13347
|
-
const peg$e78 = peg$literalExpectation("
|
|
13348
|
-
const peg$e79 = peg$literalExpectation("
|
|
13349
|
-
const peg$e80 = peg$literalExpectation("
|
|
13350
|
-
const peg$e81 = peg$literalExpectation("
|
|
13351
|
-
const peg$e82 = peg$literalExpectation("
|
|
13352
|
-
const peg$e83 = peg$literalExpectation("
|
|
13353
|
-
const peg$e84 = peg$literalExpectation("
|
|
13354
|
-
const peg$e85 = peg$literalExpectation("
|
|
13355
|
-
const peg$e86 = peg$literalExpectation("
|
|
13356
|
-
const peg$e87 = peg$literalExpectation("
|
|
13357
|
-
const peg$e88 = peg$literalExpectation("
|
|
13358
|
-
const peg$e89 = peg$literalExpectation("
|
|
13359
|
-
const peg$e90 = peg$literalExpectation("
|
|
13360
|
-
const peg$e91 = peg$literalExpectation("
|
|
13361
|
-
const peg$e92 = peg$literalExpectation("
|
|
13362
|
-
const peg$e93 = peg$literalExpectation("
|
|
13363
|
-
const peg$e94 = peg$literalExpectation("
|
|
13364
|
-
const peg$e95 = peg$literalExpectation("
|
|
13365
|
-
const peg$e96 = peg$literalExpectation("
|
|
13366
|
-
const peg$e97 = peg$literalExpectation("
|
|
13367
|
-
const peg$e98 = peg$literalExpectation("
|
|
13368
|
-
const peg$e99 = peg$literalExpectation("
|
|
13369
|
-
const peg$e100 = peg$literalExpectation("
|
|
13370
|
-
const peg$e101 = peg$literalExpectation("
|
|
13371
|
-
const peg$e102 = peg$literalExpectation("
|
|
13372
|
-
const peg$e103 = peg$literalExpectation("
|
|
13373
|
-
const peg$e104 = peg$literalExpectation("
|
|
13374
|
-
const peg$e105 = peg$literalExpectation("
|
|
13375
|
-
const peg$e106 = peg$literalExpectation("
|
|
13376
|
-
const peg$e107 = peg$literalExpectation("
|
|
13377
|
-
const peg$e108 = peg$literalExpectation("
|
|
13378
|
-
const peg$e109 = peg$literalExpectation("
|
|
13379
|
-
const peg$e110 = peg$literalExpectation("
|
|
13380
|
-
const peg$e111 = peg$literalExpectation("
|
|
13381
|
-
const peg$e112 = peg$literalExpectation("
|
|
13382
|
-
const peg$e113 = peg$literalExpectation("
|
|
13383
|
-
const peg$e114 = peg$literalExpectation("
|
|
13384
|
-
const peg$e115 = peg$literalExpectation("
|
|
13385
|
-
const peg$e116 = peg$literalExpectation("
|
|
13386
|
-
const peg$e117 = peg$literalExpectation("
|
|
13387
|
-
const peg$e118 = peg$literalExpectation("
|
|
13388
|
-
const peg$e119 = peg$literalExpectation("
|
|
13389
|
-
const peg$e120 = peg$literalExpectation("
|
|
13390
|
-
const peg$e121 = peg$literalExpectation("
|
|
13391
|
-
const peg$e122 = peg$literalExpectation("
|
|
13392
|
-
const peg$e123 = peg$literalExpectation("
|
|
13393
|
-
const peg$e124 = peg$literalExpectation("
|
|
13394
|
-
const peg$e125 = peg$literalExpectation("
|
|
13395
|
-
const peg$e126 = peg$literalExpectation("
|
|
13396
|
-
const peg$e127 = peg$literalExpectation("
|
|
13397
|
-
const peg$e128 = peg$literalExpectation("
|
|
13398
|
-
const peg$e129 = peg$literalExpectation("
|
|
13399
|
-
const peg$e130 = peg$literalExpectation("
|
|
13400
|
-
const peg$e131 = peg$
|
|
13401
|
-
const peg$e132 = peg$literalExpectation("
|
|
13402
|
-
const peg$e133 = peg$literalExpectation("
|
|
13403
|
-
const peg$e134 = peg$
|
|
13404
|
-
const peg$e135 = peg$
|
|
13405
|
-
const peg$e136 = peg$literalExpectation("
|
|
13406
|
-
const peg$e137 = peg$literalExpectation("
|
|
13407
|
-
const peg$e138 = peg$literalExpectation("
|
|
13408
|
-
const peg$e139 = peg$literalExpectation("
|
|
13409
|
-
const peg$e140 = peg$
|
|
13353
|
+
const peg$e71 = peg$literalExpectation("colorPicker:", false);
|
|
13354
|
+
const peg$e72 = peg$literalExpectation("|\u25BA", false);
|
|
13355
|
+
const peg$e73 = peg$literalExpectation("bold", false);
|
|
13356
|
+
const peg$e74 = peg$literalExpectation("italic", false);
|
|
13357
|
+
const peg$e75 = peg$literalExpectation("light", false);
|
|
13358
|
+
const peg$e76 = peg$literalExpectation("highlightOrange", false);
|
|
13359
|
+
const peg$e77 = peg$literalExpectation("highlightYellow", false);
|
|
13360
|
+
const peg$e78 = peg$literalExpectation("highlightGreen", false);
|
|
13361
|
+
const peg$e79 = peg$literalExpectation("highlightBlue", false);
|
|
13362
|
+
const peg$e80 = peg$literalExpectation("highlightPurple", false);
|
|
13363
|
+
const peg$e81 = peg$literalExpectation("highlightPink", false);
|
|
13364
|
+
const peg$e82 = peg$literalExpectation("highlightBrown", false);
|
|
13365
|
+
const peg$e83 = peg$literalExpectation("highlightBlack", false);
|
|
13366
|
+
const peg$e84 = peg$literalExpectation("highlightWhite", false);
|
|
13367
|
+
const peg$e85 = peg$literalExpectation("highlightGray", false);
|
|
13368
|
+
const peg$e86 = peg$literalExpectation("highlight", false);
|
|
13369
|
+
const peg$e87 = peg$literalExpectation("strike", false);
|
|
13370
|
+
const peg$e88 = peg$literalExpectation("subscript", false);
|
|
13371
|
+
const peg$e89 = peg$literalExpectation("superscript", false);
|
|
13372
|
+
const peg$e90 = peg$literalExpectation("ins", false);
|
|
13373
|
+
const peg$e91 = peg$literalExpectation("del", false);
|
|
13374
|
+
const peg$e92 = peg$literalExpectation("underline", false);
|
|
13375
|
+
const peg$e93 = peg$literalExpectation("doubleUnderline", false);
|
|
13376
|
+
const peg$e94 = peg$literalExpectation("circle", false);
|
|
13377
|
+
const peg$e95 = peg$literalExpectation("languageEmRed", false);
|
|
13378
|
+
const peg$e96 = peg$literalExpectation("languageEmOrange", false);
|
|
13379
|
+
const peg$e97 = peg$literalExpectation("languageEmYellow", false);
|
|
13380
|
+
const peg$e98 = peg$literalExpectation("languageEmGreen", false);
|
|
13381
|
+
const peg$e99 = peg$literalExpectation("languageEmBlue", false);
|
|
13382
|
+
const peg$e100 = peg$literalExpectation("languageEmPurple", false);
|
|
13383
|
+
const peg$e101 = peg$literalExpectation("languageEmPink", false);
|
|
13384
|
+
const peg$e102 = peg$literalExpectation("languageEmBrown", false);
|
|
13385
|
+
const peg$e103 = peg$literalExpectation("languageEmBlack", false);
|
|
13386
|
+
const peg$e104 = peg$literalExpectation("languageEmWhite", false);
|
|
13387
|
+
const peg$e105 = peg$literalExpectation("languageEmGray", false);
|
|
13388
|
+
const peg$e106 = peg$literalExpectation("languageEm", false);
|
|
13389
|
+
const peg$e107 = peg$literalExpectation("userUnderline", false);
|
|
13390
|
+
const peg$e108 = peg$literalExpectation("userDoubleUnderline", false);
|
|
13391
|
+
const peg$e109 = peg$literalExpectation("userStrike", false);
|
|
13392
|
+
const peg$e110 = peg$literalExpectation("userCircle", false);
|
|
13393
|
+
const peg$e111 = peg$literalExpectation("userHighlight", false);
|
|
13394
|
+
const peg$e112 = peg$literalExpectation("notranslate", false);
|
|
13395
|
+
const peg$e113 = peg$literalExpectation("aqua", false);
|
|
13396
|
+
const peg$e114 = peg$literalExpectation("black", false);
|
|
13397
|
+
const peg$e115 = peg$literalExpectation("blue", false);
|
|
13398
|
+
const peg$e116 = peg$literalExpectation("brown", false);
|
|
13399
|
+
const peg$e117 = peg$literalExpectation("fuchsia", false);
|
|
13400
|
+
const peg$e118 = peg$literalExpectation("lightgrey", false);
|
|
13401
|
+
const peg$e119 = peg$literalExpectation("gray", false);
|
|
13402
|
+
const peg$e120 = peg$literalExpectation("darkgray", false);
|
|
13403
|
+
const peg$e121 = peg$literalExpectation("green", false);
|
|
13404
|
+
const peg$e122 = peg$literalExpectation("lime", false);
|
|
13405
|
+
const peg$e123 = peg$literalExpectation("magenta", false);
|
|
13406
|
+
const peg$e124 = peg$literalExpectation("maroon", false);
|
|
13407
|
+
const peg$e125 = peg$literalExpectation("navy", false);
|
|
13408
|
+
const peg$e126 = peg$literalExpectation("olive", false);
|
|
13409
|
+
const peg$e127 = peg$literalExpectation("orange", false);
|
|
13410
|
+
const peg$e128 = peg$literalExpectation("pink", false);
|
|
13411
|
+
const peg$e129 = peg$literalExpectation("purple", false);
|
|
13412
|
+
const peg$e130 = peg$literalExpectation("red", false);
|
|
13413
|
+
const peg$e131 = peg$literalExpectation("silver", false);
|
|
13414
|
+
const peg$e132 = peg$literalExpectation("teal", false);
|
|
13415
|
+
const peg$e133 = peg$literalExpectation("violet", false);
|
|
13416
|
+
const peg$e134 = peg$literalExpectation("white", false);
|
|
13417
|
+
const peg$e135 = peg$literalExpectation("yellow", false);
|
|
13418
|
+
const peg$e136 = peg$literalExpectation("*", false);
|
|
13419
|
+
const peg$e137 = peg$literalExpectation("_", false);
|
|
13420
|
+
const peg$e138 = peg$literalExpectation("`", false);
|
|
13421
|
+
const peg$e139 = peg$literalExpectation("!", false);
|
|
13422
|
+
const peg$e140 = peg$literalExpectation("[!", false);
|
|
13423
|
+
const peg$e141 = peg$literalExpectation("]", false);
|
|
13424
|
+
const peg$e142 = peg$otherExpectation("Line Terminator");
|
|
13425
|
+
const peg$e143 = peg$literalExpectation("\n", false);
|
|
13426
|
+
const peg$e144 = peg$literalExpectation("\r\n", false);
|
|
13427
|
+
const peg$e145 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
|
|
13428
|
+
const peg$e146 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
|
|
13429
|
+
const peg$e147 = peg$literalExpectation("http", false);
|
|
13430
|
+
const peg$e148 = peg$literalExpectation("s", false);
|
|
13431
|
+
const peg$e149 = peg$literalExpectation("://", false);
|
|
13432
|
+
const peg$e150 = peg$literalExpectation("mailto:", false);
|
|
13433
|
+
const peg$e151 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
|
|
13410
13434
|
function peg$f0() {
|
|
13411
13435
|
return VERSION;
|
|
13412
13436
|
}
|
|
@@ -13773,44 +13797,47 @@ function peg$parse(input, options) {
|
|
|
13773
13797
|
function peg$f86(color) {
|
|
13774
13798
|
return { type: "color", attrs: { color } };
|
|
13775
13799
|
}
|
|
13776
|
-
function peg$f87(
|
|
13800
|
+
function peg$f87(str) {
|
|
13801
|
+
return { type: "colorPicker", attrs: { propertyRef: str.trim() } };
|
|
13802
|
+
}
|
|
13803
|
+
function peg$f88(style) {
|
|
13777
13804
|
return { type: style };
|
|
13778
13805
|
}
|
|
13779
|
-
function peg$
|
|
13806
|
+
function peg$f89(str) {
|
|
13780
13807
|
return { type: "comment", comment: str };
|
|
13781
13808
|
}
|
|
13782
|
-
function peg$
|
|
13809
|
+
function peg$f90(r) {
|
|
13783
13810
|
return r.trim();
|
|
13784
13811
|
}
|
|
13785
|
-
function peg$
|
|
13812
|
+
function peg$f91(bs) {
|
|
13786
13813
|
return [{ type: "paragraph", content: bs, attrs: {} }];
|
|
13787
13814
|
}
|
|
13788
|
-
function peg$
|
|
13815
|
+
function peg$f92(first, more) {
|
|
13789
13816
|
const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
|
|
13790
13817
|
return cleaned_;
|
|
13791
13818
|
}
|
|
13792
|
-
function peg$
|
|
13819
|
+
function peg$f93() {
|
|
13793
13820
|
return { "type": "hardBreak" };
|
|
13794
13821
|
}
|
|
13795
|
-
function peg$
|
|
13822
|
+
function peg$f94(t) {
|
|
13796
13823
|
return { text: unbreakscape(t), type: "text" };
|
|
13797
13824
|
}
|
|
13798
|
-
function peg$
|
|
13825
|
+
function peg$f95(t) {
|
|
13799
13826
|
return { index: +t, type: "bit" };
|
|
13800
13827
|
}
|
|
13801
|
-
function peg$
|
|
13828
|
+
function peg$f96(t) {
|
|
13802
13829
|
return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
|
|
13803
13830
|
}
|
|
13804
|
-
function peg$
|
|
13831
|
+
function peg$f97(t) {
|
|
13805
13832
|
return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
|
|
13806
13833
|
}
|
|
13807
|
-
function peg$
|
|
13834
|
+
function peg$f98(t) {
|
|
13808
13835
|
return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
|
|
13809
13836
|
}
|
|
13810
|
-
function peg$
|
|
13837
|
+
function peg$f99(t) {
|
|
13811
13838
|
return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
|
|
13812
13839
|
}
|
|
13813
|
-
function peg$
|
|
13840
|
+
function peg$f100(pr, t) {
|
|
13814
13841
|
return { pr, t };
|
|
13815
13842
|
}
|
|
13816
13843
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -19874,34 +19901,44 @@ function peg$parse(input, options) {
|
|
|
19874
19901
|
}
|
|
19875
19902
|
if (s0 === peg$FAILED) {
|
|
19876
19903
|
s0 = peg$currPos;
|
|
19877
|
-
|
|
19878
|
-
|
|
19879
|
-
|
|
19880
|
-
if (s2 !== peg$FAILED) {
|
|
19881
|
-
peg$savedPos = s0;
|
|
19882
|
-
s0 = peg$f87(s1);
|
|
19883
|
-
} else {
|
|
19884
|
-
peg$currPos = s0;
|
|
19885
|
-
s0 = peg$FAILED;
|
|
19886
|
-
}
|
|
19904
|
+
if (input.substr(peg$currPos, 12) === peg$c67) {
|
|
19905
|
+
s1 = peg$c67;
|
|
19906
|
+
peg$currPos += 12;
|
|
19887
19907
|
} else {
|
|
19888
|
-
|
|
19889
|
-
|
|
19908
|
+
s1 = peg$FAILED;
|
|
19909
|
+
if (peg$silentFails === 0) {
|
|
19910
|
+
peg$fail(peg$e71);
|
|
19911
|
+
}
|
|
19890
19912
|
}
|
|
19891
|
-
if (
|
|
19892
|
-
|
|
19893
|
-
|
|
19894
|
-
|
|
19895
|
-
|
|
19913
|
+
if (s1 !== peg$FAILED) {
|
|
19914
|
+
s2 = peg$currPos;
|
|
19915
|
+
s3 = [];
|
|
19916
|
+
s4 = peg$currPos;
|
|
19917
|
+
s5 = peg$currPos;
|
|
19918
|
+
peg$silentFails++;
|
|
19919
|
+
s6 = peg$parseBlockTag();
|
|
19920
|
+
peg$silentFails--;
|
|
19921
|
+
if (s6 === peg$FAILED) {
|
|
19922
|
+
s5 = void 0;
|
|
19896
19923
|
} else {
|
|
19897
|
-
|
|
19898
|
-
|
|
19899
|
-
|
|
19924
|
+
peg$currPos = s5;
|
|
19925
|
+
s5 = peg$FAILED;
|
|
19926
|
+
}
|
|
19927
|
+
if (s5 !== peg$FAILED) {
|
|
19928
|
+
s6 = peg$parsechar();
|
|
19929
|
+
if (s6 !== peg$FAILED) {
|
|
19930
|
+
s5 = [s5, s6];
|
|
19931
|
+
s4 = s5;
|
|
19932
|
+
} else {
|
|
19933
|
+
peg$currPos = s4;
|
|
19934
|
+
s4 = peg$FAILED;
|
|
19900
19935
|
}
|
|
19936
|
+
} else {
|
|
19937
|
+
peg$currPos = s4;
|
|
19938
|
+
s4 = peg$FAILED;
|
|
19901
19939
|
}
|
|
19902
|
-
|
|
19903
|
-
|
|
19904
|
-
s3 = [];
|
|
19940
|
+
while (s4 !== peg$FAILED) {
|
|
19941
|
+
s3.push(s4);
|
|
19905
19942
|
s4 = peg$currPos;
|
|
19906
19943
|
s5 = peg$currPos;
|
|
19907
19944
|
peg$silentFails++;
|
|
@@ -19926,8 +19963,50 @@ function peg$parse(input, options) {
|
|
|
19926
19963
|
peg$currPos = s4;
|
|
19927
19964
|
s4 = peg$FAILED;
|
|
19928
19965
|
}
|
|
19929
|
-
|
|
19930
|
-
|
|
19966
|
+
}
|
|
19967
|
+
s2 = input.substring(s2, peg$currPos);
|
|
19968
|
+
s3 = peg$parseBlockTag();
|
|
19969
|
+
if (s3 !== peg$FAILED) {
|
|
19970
|
+
peg$savedPos = s0;
|
|
19971
|
+
s0 = peg$f87(s2);
|
|
19972
|
+
} else {
|
|
19973
|
+
peg$currPos = s0;
|
|
19974
|
+
s0 = peg$FAILED;
|
|
19975
|
+
}
|
|
19976
|
+
} else {
|
|
19977
|
+
peg$currPos = s0;
|
|
19978
|
+
s0 = peg$FAILED;
|
|
19979
|
+
}
|
|
19980
|
+
if (s0 === peg$FAILED) {
|
|
19981
|
+
s0 = peg$currPos;
|
|
19982
|
+
s1 = peg$parseAlternativeStyleTags();
|
|
19983
|
+
if (s1 !== peg$FAILED) {
|
|
19984
|
+
s2 = peg$parseBlockTag();
|
|
19985
|
+
if (s2 !== peg$FAILED) {
|
|
19986
|
+
peg$savedPos = s0;
|
|
19987
|
+
s0 = peg$f88(s1);
|
|
19988
|
+
} else {
|
|
19989
|
+
peg$currPos = s0;
|
|
19990
|
+
s0 = peg$FAILED;
|
|
19991
|
+
}
|
|
19992
|
+
} else {
|
|
19993
|
+
peg$currPos = s0;
|
|
19994
|
+
s0 = peg$FAILED;
|
|
19995
|
+
}
|
|
19996
|
+
if (s0 === peg$FAILED) {
|
|
19997
|
+
s0 = peg$currPos;
|
|
19998
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
19999
|
+
s1 = peg$c21;
|
|
20000
|
+
peg$currPos++;
|
|
20001
|
+
} else {
|
|
20002
|
+
s1 = peg$FAILED;
|
|
20003
|
+
if (peg$silentFails === 0) {
|
|
20004
|
+
peg$fail(peg$e25);
|
|
20005
|
+
}
|
|
20006
|
+
}
|
|
20007
|
+
if (s1 !== peg$FAILED) {
|
|
20008
|
+
s2 = peg$currPos;
|
|
20009
|
+
s3 = [];
|
|
19931
20010
|
s4 = peg$currPos;
|
|
19932
20011
|
s5 = peg$currPos;
|
|
19933
20012
|
peg$silentFails++;
|
|
@@ -19952,19 +20031,46 @@ function peg$parse(input, options) {
|
|
|
19952
20031
|
peg$currPos = s4;
|
|
19953
20032
|
s4 = peg$FAILED;
|
|
19954
20033
|
}
|
|
19955
|
-
|
|
19956
|
-
|
|
19957
|
-
|
|
19958
|
-
|
|
19959
|
-
|
|
19960
|
-
|
|
20034
|
+
while (s4 !== peg$FAILED) {
|
|
20035
|
+
s3.push(s4);
|
|
20036
|
+
s4 = peg$currPos;
|
|
20037
|
+
s5 = peg$currPos;
|
|
20038
|
+
peg$silentFails++;
|
|
20039
|
+
s6 = peg$parseBlockTag();
|
|
20040
|
+
peg$silentFails--;
|
|
20041
|
+
if (s6 === peg$FAILED) {
|
|
20042
|
+
s5 = void 0;
|
|
20043
|
+
} else {
|
|
20044
|
+
peg$currPos = s5;
|
|
20045
|
+
s5 = peg$FAILED;
|
|
20046
|
+
}
|
|
20047
|
+
if (s5 !== peg$FAILED) {
|
|
20048
|
+
s6 = peg$parsechar();
|
|
20049
|
+
if (s6 !== peg$FAILED) {
|
|
20050
|
+
s5 = [s5, s6];
|
|
20051
|
+
s4 = s5;
|
|
20052
|
+
} else {
|
|
20053
|
+
peg$currPos = s4;
|
|
20054
|
+
s4 = peg$FAILED;
|
|
20055
|
+
}
|
|
20056
|
+
} else {
|
|
20057
|
+
peg$currPos = s4;
|
|
20058
|
+
s4 = peg$FAILED;
|
|
20059
|
+
}
|
|
20060
|
+
}
|
|
20061
|
+
s2 = input.substring(s2, peg$currPos);
|
|
20062
|
+
s3 = peg$parseBlockTag();
|
|
20063
|
+
if (s3 !== peg$FAILED) {
|
|
20064
|
+
peg$savedPos = s0;
|
|
20065
|
+
s0 = peg$f89(s2);
|
|
20066
|
+
} else {
|
|
20067
|
+
peg$currPos = s0;
|
|
20068
|
+
s0 = peg$FAILED;
|
|
20069
|
+
}
|
|
19961
20070
|
} else {
|
|
19962
20071
|
peg$currPos = s0;
|
|
19963
20072
|
s0 = peg$FAILED;
|
|
19964
20073
|
}
|
|
19965
|
-
} else {
|
|
19966
|
-
peg$currPos = s0;
|
|
19967
|
-
s0 = peg$FAILED;
|
|
19968
20074
|
}
|
|
19969
20075
|
}
|
|
19970
20076
|
}
|
|
@@ -19997,13 +20103,13 @@ function peg$parse(input, options) {
|
|
|
19997
20103
|
function peg$parseRef() {
|
|
19998
20104
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
19999
20105
|
s0 = peg$currPos;
|
|
20000
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
20001
|
-
s1 = peg$
|
|
20106
|
+
if (input.substr(peg$currPos, 2) === peg$c68) {
|
|
20107
|
+
s1 = peg$c68;
|
|
20002
20108
|
peg$currPos += 2;
|
|
20003
20109
|
} else {
|
|
20004
20110
|
s1 = peg$FAILED;
|
|
20005
20111
|
if (peg$silentFails === 0) {
|
|
20006
|
-
peg$fail(peg$
|
|
20112
|
+
peg$fail(peg$e72);
|
|
20007
20113
|
}
|
|
20008
20114
|
}
|
|
20009
20115
|
if (s1 !== peg$FAILED) {
|
|
@@ -20062,7 +20168,7 @@ function peg$parse(input, options) {
|
|
|
20062
20168
|
}
|
|
20063
20169
|
s2 = input.substring(s2, peg$currPos);
|
|
20064
20170
|
peg$savedPos = s0;
|
|
20065
|
-
s0 = peg$
|
|
20171
|
+
s0 = peg$f90(s2);
|
|
20066
20172
|
} else {
|
|
20067
20173
|
peg$currPos = s0;
|
|
20068
20174
|
s0 = peg$FAILED;
|
|
@@ -20071,303 +20177,413 @@ function peg$parse(input, options) {
|
|
|
20071
20177
|
}
|
|
20072
20178
|
function peg$parseAlternativeStyleTags() {
|
|
20073
20179
|
let s0;
|
|
20074
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20075
|
-
s0 = peg$
|
|
20180
|
+
if (input.substr(peg$currPos, 4) === peg$c69) {
|
|
20181
|
+
s0 = peg$c69;
|
|
20076
20182
|
peg$currPos += 4;
|
|
20077
20183
|
} else {
|
|
20078
20184
|
s0 = peg$FAILED;
|
|
20079
20185
|
if (peg$silentFails === 0) {
|
|
20080
|
-
peg$fail(peg$
|
|
20186
|
+
peg$fail(peg$e73);
|
|
20081
20187
|
}
|
|
20082
20188
|
}
|
|
20083
20189
|
if (s0 === peg$FAILED) {
|
|
20084
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20085
|
-
s0 = peg$
|
|
20190
|
+
if (input.substr(peg$currPos, 6) === peg$c70) {
|
|
20191
|
+
s0 = peg$c70;
|
|
20086
20192
|
peg$currPos += 6;
|
|
20087
20193
|
} else {
|
|
20088
20194
|
s0 = peg$FAILED;
|
|
20089
20195
|
if (peg$silentFails === 0) {
|
|
20090
|
-
peg$fail(peg$
|
|
20196
|
+
peg$fail(peg$e74);
|
|
20091
20197
|
}
|
|
20092
20198
|
}
|
|
20093
20199
|
if (s0 === peg$FAILED) {
|
|
20094
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20095
|
-
s0 = peg$
|
|
20200
|
+
if (input.substr(peg$currPos, 5) === peg$c71) {
|
|
20201
|
+
s0 = peg$c71;
|
|
20096
20202
|
peg$currPos += 5;
|
|
20097
20203
|
} else {
|
|
20098
20204
|
s0 = peg$FAILED;
|
|
20099
20205
|
if (peg$silentFails === 0) {
|
|
20100
|
-
peg$fail(peg$
|
|
20206
|
+
peg$fail(peg$e75);
|
|
20101
20207
|
}
|
|
20102
20208
|
}
|
|
20103
20209
|
if (s0 === peg$FAILED) {
|
|
20104
|
-
if (input.substr(peg$currPos,
|
|
20105
|
-
s0 = peg$
|
|
20106
|
-
peg$currPos +=
|
|
20210
|
+
if (input.substr(peg$currPos, 15) === peg$c72) {
|
|
20211
|
+
s0 = peg$c72;
|
|
20212
|
+
peg$currPos += 15;
|
|
20107
20213
|
} else {
|
|
20108
20214
|
s0 = peg$FAILED;
|
|
20109
20215
|
if (peg$silentFails === 0) {
|
|
20110
|
-
peg$fail(peg$
|
|
20216
|
+
peg$fail(peg$e76);
|
|
20111
20217
|
}
|
|
20112
20218
|
}
|
|
20113
20219
|
if (s0 === peg$FAILED) {
|
|
20114
|
-
if (input.substr(peg$currPos,
|
|
20115
|
-
s0 = peg$
|
|
20116
|
-
peg$currPos +=
|
|
20220
|
+
if (input.substr(peg$currPos, 15) === peg$c73) {
|
|
20221
|
+
s0 = peg$c73;
|
|
20222
|
+
peg$currPos += 15;
|
|
20117
20223
|
} else {
|
|
20118
20224
|
s0 = peg$FAILED;
|
|
20119
20225
|
if (peg$silentFails === 0) {
|
|
20120
|
-
peg$fail(peg$
|
|
20226
|
+
peg$fail(peg$e77);
|
|
20121
20227
|
}
|
|
20122
20228
|
}
|
|
20123
20229
|
if (s0 === peg$FAILED) {
|
|
20124
|
-
if (input.substr(peg$currPos,
|
|
20125
|
-
s0 = peg$
|
|
20126
|
-
peg$currPos +=
|
|
20230
|
+
if (input.substr(peg$currPos, 14) === peg$c74) {
|
|
20231
|
+
s0 = peg$c74;
|
|
20232
|
+
peg$currPos += 14;
|
|
20127
20233
|
} else {
|
|
20128
20234
|
s0 = peg$FAILED;
|
|
20129
20235
|
if (peg$silentFails === 0) {
|
|
20130
|
-
peg$fail(peg$
|
|
20236
|
+
peg$fail(peg$e78);
|
|
20131
20237
|
}
|
|
20132
20238
|
}
|
|
20133
20239
|
if (s0 === peg$FAILED) {
|
|
20134
|
-
if (input.substr(peg$currPos,
|
|
20135
|
-
s0 = peg$
|
|
20136
|
-
peg$currPos +=
|
|
20240
|
+
if (input.substr(peg$currPos, 13) === peg$c75) {
|
|
20241
|
+
s0 = peg$c75;
|
|
20242
|
+
peg$currPos += 13;
|
|
20137
20243
|
} else {
|
|
20138
20244
|
s0 = peg$FAILED;
|
|
20139
20245
|
if (peg$silentFails === 0) {
|
|
20140
|
-
peg$fail(peg$
|
|
20246
|
+
peg$fail(peg$e79);
|
|
20141
20247
|
}
|
|
20142
20248
|
}
|
|
20143
20249
|
if (s0 === peg$FAILED) {
|
|
20144
|
-
if (input.substr(peg$currPos,
|
|
20145
|
-
s0 = peg$
|
|
20146
|
-
peg$currPos +=
|
|
20250
|
+
if (input.substr(peg$currPos, 15) === peg$c76) {
|
|
20251
|
+
s0 = peg$c76;
|
|
20252
|
+
peg$currPos += 15;
|
|
20147
20253
|
} else {
|
|
20148
20254
|
s0 = peg$FAILED;
|
|
20149
20255
|
if (peg$silentFails === 0) {
|
|
20150
|
-
peg$fail(peg$
|
|
20256
|
+
peg$fail(peg$e80);
|
|
20151
20257
|
}
|
|
20152
20258
|
}
|
|
20153
20259
|
if (s0 === peg$FAILED) {
|
|
20154
|
-
if (input.substr(peg$currPos,
|
|
20155
|
-
s0 = peg$
|
|
20156
|
-
peg$currPos +=
|
|
20260
|
+
if (input.substr(peg$currPos, 13) === peg$c77) {
|
|
20261
|
+
s0 = peg$c77;
|
|
20262
|
+
peg$currPos += 13;
|
|
20157
20263
|
} else {
|
|
20158
20264
|
s0 = peg$FAILED;
|
|
20159
20265
|
if (peg$silentFails === 0) {
|
|
20160
|
-
peg$fail(peg$
|
|
20266
|
+
peg$fail(peg$e81);
|
|
20161
20267
|
}
|
|
20162
20268
|
}
|
|
20163
20269
|
if (s0 === peg$FAILED) {
|
|
20164
|
-
if (input.substr(peg$currPos,
|
|
20165
|
-
s0 = peg$
|
|
20166
|
-
peg$currPos +=
|
|
20270
|
+
if (input.substr(peg$currPos, 14) === peg$c78) {
|
|
20271
|
+
s0 = peg$c78;
|
|
20272
|
+
peg$currPos += 14;
|
|
20167
20273
|
} else {
|
|
20168
20274
|
s0 = peg$FAILED;
|
|
20169
20275
|
if (peg$silentFails === 0) {
|
|
20170
|
-
peg$fail(peg$
|
|
20276
|
+
peg$fail(peg$e82);
|
|
20171
20277
|
}
|
|
20172
20278
|
}
|
|
20173
20279
|
if (s0 === peg$FAILED) {
|
|
20174
|
-
if (input.substr(peg$currPos,
|
|
20175
|
-
s0 = peg$
|
|
20176
|
-
peg$currPos +=
|
|
20280
|
+
if (input.substr(peg$currPos, 14) === peg$c79) {
|
|
20281
|
+
s0 = peg$c79;
|
|
20282
|
+
peg$currPos += 14;
|
|
20177
20283
|
} else {
|
|
20178
20284
|
s0 = peg$FAILED;
|
|
20179
20285
|
if (peg$silentFails === 0) {
|
|
20180
|
-
peg$fail(peg$
|
|
20286
|
+
peg$fail(peg$e83);
|
|
20181
20287
|
}
|
|
20182
20288
|
}
|
|
20183
20289
|
if (s0 === peg$FAILED) {
|
|
20184
|
-
if (input.substr(peg$currPos,
|
|
20185
|
-
s0 = peg$
|
|
20186
|
-
peg$currPos +=
|
|
20290
|
+
if (input.substr(peg$currPos, 14) === peg$c80) {
|
|
20291
|
+
s0 = peg$c80;
|
|
20292
|
+
peg$currPos += 14;
|
|
20187
20293
|
} else {
|
|
20188
20294
|
s0 = peg$FAILED;
|
|
20189
20295
|
if (peg$silentFails === 0) {
|
|
20190
|
-
peg$fail(peg$
|
|
20296
|
+
peg$fail(peg$e84);
|
|
20191
20297
|
}
|
|
20192
20298
|
}
|
|
20193
20299
|
if (s0 === peg$FAILED) {
|
|
20194
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
20195
|
-
s0 = peg$
|
|
20300
|
+
if (input.substr(peg$currPos, 13) === peg$c81) {
|
|
20301
|
+
s0 = peg$c81;
|
|
20196
20302
|
peg$currPos += 13;
|
|
20197
20303
|
} else {
|
|
20198
20304
|
s0 = peg$FAILED;
|
|
20199
20305
|
if (peg$silentFails === 0) {
|
|
20200
|
-
peg$fail(peg$
|
|
20306
|
+
peg$fail(peg$e85);
|
|
20201
20307
|
}
|
|
20202
20308
|
}
|
|
20203
20309
|
if (s0 === peg$FAILED) {
|
|
20204
|
-
if (input.substr(peg$currPos,
|
|
20205
|
-
s0 = peg$
|
|
20206
|
-
peg$currPos +=
|
|
20310
|
+
if (input.substr(peg$currPos, 9) === peg$c82) {
|
|
20311
|
+
s0 = peg$c82;
|
|
20312
|
+
peg$currPos += 9;
|
|
20207
20313
|
} else {
|
|
20208
20314
|
s0 = peg$FAILED;
|
|
20209
20315
|
if (peg$silentFails === 0) {
|
|
20210
|
-
peg$fail(peg$
|
|
20316
|
+
peg$fail(peg$e86);
|
|
20211
20317
|
}
|
|
20212
20318
|
}
|
|
20213
20319
|
if (s0 === peg$FAILED) {
|
|
20214
|
-
if (input.substr(peg$currPos,
|
|
20215
|
-
s0 = peg$
|
|
20216
|
-
peg$currPos +=
|
|
20320
|
+
if (input.substr(peg$currPos, 6) === peg$c83) {
|
|
20321
|
+
s0 = peg$c83;
|
|
20322
|
+
peg$currPos += 6;
|
|
20217
20323
|
} else {
|
|
20218
20324
|
s0 = peg$FAILED;
|
|
20219
20325
|
if (peg$silentFails === 0) {
|
|
20220
|
-
peg$fail(peg$
|
|
20326
|
+
peg$fail(peg$e87);
|
|
20221
20327
|
}
|
|
20222
20328
|
}
|
|
20223
20329
|
if (s0 === peg$FAILED) {
|
|
20224
|
-
if (input.substr(peg$currPos,
|
|
20225
|
-
s0 = peg$
|
|
20226
|
-
peg$currPos +=
|
|
20330
|
+
if (input.substr(peg$currPos, 9) === peg$c84) {
|
|
20331
|
+
s0 = peg$c84;
|
|
20332
|
+
peg$currPos += 9;
|
|
20227
20333
|
} else {
|
|
20228
20334
|
s0 = peg$FAILED;
|
|
20229
20335
|
if (peg$silentFails === 0) {
|
|
20230
|
-
peg$fail(peg$
|
|
20336
|
+
peg$fail(peg$e88);
|
|
20231
20337
|
}
|
|
20232
20338
|
}
|
|
20233
20339
|
if (s0 === peg$FAILED) {
|
|
20234
|
-
if (input.substr(peg$currPos,
|
|
20235
|
-
s0 = peg$
|
|
20236
|
-
peg$currPos +=
|
|
20340
|
+
if (input.substr(peg$currPos, 11) === peg$c85) {
|
|
20341
|
+
s0 = peg$c85;
|
|
20342
|
+
peg$currPos += 11;
|
|
20237
20343
|
} else {
|
|
20238
20344
|
s0 = peg$FAILED;
|
|
20239
20345
|
if (peg$silentFails === 0) {
|
|
20240
|
-
peg$fail(peg$
|
|
20346
|
+
peg$fail(peg$e89);
|
|
20241
20347
|
}
|
|
20242
20348
|
}
|
|
20243
20349
|
if (s0 === peg$FAILED) {
|
|
20244
|
-
if (input.substr(peg$currPos,
|
|
20245
|
-
s0 = peg$
|
|
20246
|
-
peg$currPos +=
|
|
20350
|
+
if (input.substr(peg$currPos, 3) === peg$c86) {
|
|
20351
|
+
s0 = peg$c86;
|
|
20352
|
+
peg$currPos += 3;
|
|
20247
20353
|
} else {
|
|
20248
20354
|
s0 = peg$FAILED;
|
|
20249
20355
|
if (peg$silentFails === 0) {
|
|
20250
|
-
peg$fail(peg$
|
|
20356
|
+
peg$fail(peg$e90);
|
|
20251
20357
|
}
|
|
20252
20358
|
}
|
|
20253
20359
|
if (s0 === peg$FAILED) {
|
|
20254
|
-
if (input.substr(peg$currPos,
|
|
20255
|
-
s0 = peg$
|
|
20256
|
-
peg$currPos +=
|
|
20360
|
+
if (input.substr(peg$currPos, 3) === peg$c87) {
|
|
20361
|
+
s0 = peg$c87;
|
|
20362
|
+
peg$currPos += 3;
|
|
20257
20363
|
} else {
|
|
20258
20364
|
s0 = peg$FAILED;
|
|
20259
20365
|
if (peg$silentFails === 0) {
|
|
20260
|
-
peg$fail(peg$
|
|
20366
|
+
peg$fail(peg$e91);
|
|
20261
20367
|
}
|
|
20262
20368
|
}
|
|
20263
20369
|
if (s0 === peg$FAILED) {
|
|
20264
|
-
if (input.substr(peg$currPos,
|
|
20265
|
-
s0 = peg$
|
|
20266
|
-
peg$currPos +=
|
|
20370
|
+
if (input.substr(peg$currPos, 9) === peg$c88) {
|
|
20371
|
+
s0 = peg$c88;
|
|
20372
|
+
peg$currPos += 9;
|
|
20267
20373
|
} else {
|
|
20268
20374
|
s0 = peg$FAILED;
|
|
20269
20375
|
if (peg$silentFails === 0) {
|
|
20270
|
-
peg$fail(peg$
|
|
20376
|
+
peg$fail(peg$e92);
|
|
20271
20377
|
}
|
|
20272
20378
|
}
|
|
20273
20379
|
if (s0 === peg$FAILED) {
|
|
20274
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
20275
|
-
s0 = peg$
|
|
20380
|
+
if (input.substr(peg$currPos, 15) === peg$c89) {
|
|
20381
|
+
s0 = peg$c89;
|
|
20276
20382
|
peg$currPos += 15;
|
|
20277
20383
|
} else {
|
|
20278
20384
|
s0 = peg$FAILED;
|
|
20279
20385
|
if (peg$silentFails === 0) {
|
|
20280
|
-
peg$fail(peg$
|
|
20386
|
+
peg$fail(peg$e93);
|
|
20281
20387
|
}
|
|
20282
20388
|
}
|
|
20283
20389
|
if (s0 === peg$FAILED) {
|
|
20284
|
-
if (input.substr(peg$currPos,
|
|
20285
|
-
s0 = peg$
|
|
20286
|
-
peg$currPos +=
|
|
20390
|
+
if (input.substr(peg$currPos, 6) === peg$c90) {
|
|
20391
|
+
s0 = peg$c90;
|
|
20392
|
+
peg$currPos += 6;
|
|
20287
20393
|
} else {
|
|
20288
20394
|
s0 = peg$FAILED;
|
|
20289
20395
|
if (peg$silentFails === 0) {
|
|
20290
|
-
peg$fail(peg$
|
|
20396
|
+
peg$fail(peg$e94);
|
|
20291
20397
|
}
|
|
20292
20398
|
}
|
|
20293
20399
|
if (s0 === peg$FAILED) {
|
|
20294
|
-
if (input.substr(peg$currPos,
|
|
20295
|
-
s0 = peg$
|
|
20296
|
-
peg$currPos +=
|
|
20400
|
+
if (input.substr(peg$currPos, 13) === peg$c91) {
|
|
20401
|
+
s0 = peg$c91;
|
|
20402
|
+
peg$currPos += 13;
|
|
20297
20403
|
} else {
|
|
20298
20404
|
s0 = peg$FAILED;
|
|
20299
20405
|
if (peg$silentFails === 0) {
|
|
20300
|
-
peg$fail(peg$
|
|
20406
|
+
peg$fail(peg$e95);
|
|
20301
20407
|
}
|
|
20302
20408
|
}
|
|
20303
20409
|
if (s0 === peg$FAILED) {
|
|
20304
|
-
if (input.substr(peg$currPos,
|
|
20305
|
-
s0 = peg$
|
|
20306
|
-
peg$currPos +=
|
|
20410
|
+
if (input.substr(peg$currPos, 16) === peg$c92) {
|
|
20411
|
+
s0 = peg$c92;
|
|
20412
|
+
peg$currPos += 16;
|
|
20307
20413
|
} else {
|
|
20308
20414
|
s0 = peg$FAILED;
|
|
20309
20415
|
if (peg$silentFails === 0) {
|
|
20310
|
-
peg$fail(peg$
|
|
20416
|
+
peg$fail(peg$e96);
|
|
20311
20417
|
}
|
|
20312
20418
|
}
|
|
20313
20419
|
if (s0 === peg$FAILED) {
|
|
20314
|
-
if (input.substr(peg$currPos,
|
|
20315
|
-
s0 = peg$
|
|
20316
|
-
peg$currPos +=
|
|
20420
|
+
if (input.substr(peg$currPos, 16) === peg$c93) {
|
|
20421
|
+
s0 = peg$c93;
|
|
20422
|
+
peg$currPos += 16;
|
|
20317
20423
|
} else {
|
|
20318
20424
|
s0 = peg$FAILED;
|
|
20319
20425
|
if (peg$silentFails === 0) {
|
|
20320
|
-
peg$fail(peg$
|
|
20426
|
+
peg$fail(peg$e97);
|
|
20321
20427
|
}
|
|
20322
20428
|
}
|
|
20323
20429
|
if (s0 === peg$FAILED) {
|
|
20324
|
-
if (input.substr(peg$currPos,
|
|
20325
|
-
s0 = peg$
|
|
20326
|
-
peg$currPos +=
|
|
20430
|
+
if (input.substr(peg$currPos, 15) === peg$c94) {
|
|
20431
|
+
s0 = peg$c94;
|
|
20432
|
+
peg$currPos += 15;
|
|
20327
20433
|
} else {
|
|
20328
20434
|
s0 = peg$FAILED;
|
|
20329
20435
|
if (peg$silentFails === 0) {
|
|
20330
|
-
peg$fail(peg$
|
|
20436
|
+
peg$fail(peg$e98);
|
|
20331
20437
|
}
|
|
20332
20438
|
}
|
|
20333
20439
|
if (s0 === peg$FAILED) {
|
|
20334
|
-
if (input.substr(peg$currPos,
|
|
20335
|
-
s0 = peg$
|
|
20336
|
-
peg$currPos +=
|
|
20440
|
+
if (input.substr(peg$currPos, 14) === peg$c95) {
|
|
20441
|
+
s0 = peg$c95;
|
|
20442
|
+
peg$currPos += 14;
|
|
20337
20443
|
} else {
|
|
20338
20444
|
s0 = peg$FAILED;
|
|
20339
20445
|
if (peg$silentFails === 0) {
|
|
20340
|
-
peg$fail(peg$
|
|
20446
|
+
peg$fail(peg$e99);
|
|
20341
20447
|
}
|
|
20342
20448
|
}
|
|
20343
20449
|
if (s0 === peg$FAILED) {
|
|
20344
|
-
if (input.substr(peg$currPos,
|
|
20345
|
-
s0 = peg$
|
|
20346
|
-
peg$currPos +=
|
|
20450
|
+
if (input.substr(peg$currPos, 16) === peg$c96) {
|
|
20451
|
+
s0 = peg$c96;
|
|
20452
|
+
peg$currPos += 16;
|
|
20347
20453
|
} else {
|
|
20348
20454
|
s0 = peg$FAILED;
|
|
20349
20455
|
if (peg$silentFails === 0) {
|
|
20350
|
-
peg$fail(peg$
|
|
20456
|
+
peg$fail(peg$e100);
|
|
20351
20457
|
}
|
|
20352
20458
|
}
|
|
20353
20459
|
if (s0 === peg$FAILED) {
|
|
20354
|
-
if (input.substr(peg$currPos,
|
|
20355
|
-
s0 = peg$
|
|
20356
|
-
peg$currPos +=
|
|
20460
|
+
if (input.substr(peg$currPos, 14) === peg$c97) {
|
|
20461
|
+
s0 = peg$c97;
|
|
20462
|
+
peg$currPos += 14;
|
|
20357
20463
|
} else {
|
|
20358
20464
|
s0 = peg$FAILED;
|
|
20359
20465
|
if (peg$silentFails === 0) {
|
|
20360
|
-
peg$fail(peg$
|
|
20466
|
+
peg$fail(peg$e101);
|
|
20361
20467
|
}
|
|
20362
20468
|
}
|
|
20363
20469
|
if (s0 === peg$FAILED) {
|
|
20364
|
-
if (input.substr(peg$currPos,
|
|
20365
|
-
s0 = peg$
|
|
20366
|
-
peg$currPos +=
|
|
20470
|
+
if (input.substr(peg$currPos, 15) === peg$c98) {
|
|
20471
|
+
s0 = peg$c98;
|
|
20472
|
+
peg$currPos += 15;
|
|
20367
20473
|
} else {
|
|
20368
20474
|
s0 = peg$FAILED;
|
|
20369
20475
|
if (peg$silentFails === 0) {
|
|
20370
|
-
peg$fail(peg$
|
|
20476
|
+
peg$fail(peg$e102);
|
|
20477
|
+
}
|
|
20478
|
+
}
|
|
20479
|
+
if (s0 === peg$FAILED) {
|
|
20480
|
+
if (input.substr(peg$currPos, 15) === peg$c99) {
|
|
20481
|
+
s0 = peg$c99;
|
|
20482
|
+
peg$currPos += 15;
|
|
20483
|
+
} else {
|
|
20484
|
+
s0 = peg$FAILED;
|
|
20485
|
+
if (peg$silentFails === 0) {
|
|
20486
|
+
peg$fail(peg$e103);
|
|
20487
|
+
}
|
|
20488
|
+
}
|
|
20489
|
+
if (s0 === peg$FAILED) {
|
|
20490
|
+
if (input.substr(peg$currPos, 15) === peg$c100) {
|
|
20491
|
+
s0 = peg$c100;
|
|
20492
|
+
peg$currPos += 15;
|
|
20493
|
+
} else {
|
|
20494
|
+
s0 = peg$FAILED;
|
|
20495
|
+
if (peg$silentFails === 0) {
|
|
20496
|
+
peg$fail(peg$e104);
|
|
20497
|
+
}
|
|
20498
|
+
}
|
|
20499
|
+
if (s0 === peg$FAILED) {
|
|
20500
|
+
if (input.substr(peg$currPos, 14) === peg$c101) {
|
|
20501
|
+
s0 = peg$c101;
|
|
20502
|
+
peg$currPos += 14;
|
|
20503
|
+
} else {
|
|
20504
|
+
s0 = peg$FAILED;
|
|
20505
|
+
if (peg$silentFails === 0) {
|
|
20506
|
+
peg$fail(peg$e105);
|
|
20507
|
+
}
|
|
20508
|
+
}
|
|
20509
|
+
if (s0 === peg$FAILED) {
|
|
20510
|
+
if (input.substr(peg$currPos, 10) === peg$c102) {
|
|
20511
|
+
s0 = peg$c102;
|
|
20512
|
+
peg$currPos += 10;
|
|
20513
|
+
} else {
|
|
20514
|
+
s0 = peg$FAILED;
|
|
20515
|
+
if (peg$silentFails === 0) {
|
|
20516
|
+
peg$fail(peg$e106);
|
|
20517
|
+
}
|
|
20518
|
+
}
|
|
20519
|
+
if (s0 === peg$FAILED) {
|
|
20520
|
+
if (input.substr(peg$currPos, 13) === peg$c103) {
|
|
20521
|
+
s0 = peg$c103;
|
|
20522
|
+
peg$currPos += 13;
|
|
20523
|
+
} else {
|
|
20524
|
+
s0 = peg$FAILED;
|
|
20525
|
+
if (peg$silentFails === 0) {
|
|
20526
|
+
peg$fail(peg$e107);
|
|
20527
|
+
}
|
|
20528
|
+
}
|
|
20529
|
+
if (s0 === peg$FAILED) {
|
|
20530
|
+
if (input.substr(peg$currPos, 19) === peg$c104) {
|
|
20531
|
+
s0 = peg$c104;
|
|
20532
|
+
peg$currPos += 19;
|
|
20533
|
+
} else {
|
|
20534
|
+
s0 = peg$FAILED;
|
|
20535
|
+
if (peg$silentFails === 0) {
|
|
20536
|
+
peg$fail(peg$e108);
|
|
20537
|
+
}
|
|
20538
|
+
}
|
|
20539
|
+
if (s0 === peg$FAILED) {
|
|
20540
|
+
if (input.substr(peg$currPos, 10) === peg$c105) {
|
|
20541
|
+
s0 = peg$c105;
|
|
20542
|
+
peg$currPos += 10;
|
|
20543
|
+
} else {
|
|
20544
|
+
s0 = peg$FAILED;
|
|
20545
|
+
if (peg$silentFails === 0) {
|
|
20546
|
+
peg$fail(peg$e109);
|
|
20547
|
+
}
|
|
20548
|
+
}
|
|
20549
|
+
if (s0 === peg$FAILED) {
|
|
20550
|
+
if (input.substr(peg$currPos, 10) === peg$c106) {
|
|
20551
|
+
s0 = peg$c106;
|
|
20552
|
+
peg$currPos += 10;
|
|
20553
|
+
} else {
|
|
20554
|
+
s0 = peg$FAILED;
|
|
20555
|
+
if (peg$silentFails === 0) {
|
|
20556
|
+
peg$fail(peg$e110);
|
|
20557
|
+
}
|
|
20558
|
+
}
|
|
20559
|
+
if (s0 === peg$FAILED) {
|
|
20560
|
+
if (input.substr(peg$currPos, 13) === peg$c107) {
|
|
20561
|
+
s0 = peg$c107;
|
|
20562
|
+
peg$currPos += 13;
|
|
20563
|
+
} else {
|
|
20564
|
+
s0 = peg$FAILED;
|
|
20565
|
+
if (peg$silentFails === 0) {
|
|
20566
|
+
peg$fail(peg$e111);
|
|
20567
|
+
}
|
|
20568
|
+
}
|
|
20569
|
+
if (s0 === peg$FAILED) {
|
|
20570
|
+
if (input.substr(peg$currPos, 11) === peg$c108) {
|
|
20571
|
+
s0 = peg$c108;
|
|
20572
|
+
peg$currPos += 11;
|
|
20573
|
+
} else {
|
|
20574
|
+
s0 = peg$FAILED;
|
|
20575
|
+
if (peg$silentFails === 0) {
|
|
20576
|
+
peg$fail(peg$e112);
|
|
20577
|
+
}
|
|
20578
|
+
}
|
|
20579
|
+
}
|
|
20580
|
+
}
|
|
20581
|
+
}
|
|
20582
|
+
}
|
|
20583
|
+
}
|
|
20584
|
+
}
|
|
20585
|
+
}
|
|
20586
|
+
}
|
|
20371
20587
|
}
|
|
20372
20588
|
}
|
|
20373
20589
|
}
|
|
@@ -20403,233 +20619,233 @@ function peg$parse(input, options) {
|
|
|
20403
20619
|
}
|
|
20404
20620
|
function peg$parseColor() {
|
|
20405
20621
|
let s0;
|
|
20406
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20407
|
-
s0 = peg$
|
|
20622
|
+
if (input.substr(peg$currPos, 4) === peg$c109) {
|
|
20623
|
+
s0 = peg$c109;
|
|
20408
20624
|
peg$currPos += 4;
|
|
20409
20625
|
} else {
|
|
20410
20626
|
s0 = peg$FAILED;
|
|
20411
20627
|
if (peg$silentFails === 0) {
|
|
20412
|
-
peg$fail(peg$
|
|
20628
|
+
peg$fail(peg$e113);
|
|
20413
20629
|
}
|
|
20414
20630
|
}
|
|
20415
20631
|
if (s0 === peg$FAILED) {
|
|
20416
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20417
|
-
s0 = peg$
|
|
20632
|
+
if (input.substr(peg$currPos, 5) === peg$c110) {
|
|
20633
|
+
s0 = peg$c110;
|
|
20418
20634
|
peg$currPos += 5;
|
|
20419
20635
|
} else {
|
|
20420
20636
|
s0 = peg$FAILED;
|
|
20421
20637
|
if (peg$silentFails === 0) {
|
|
20422
|
-
peg$fail(peg$
|
|
20638
|
+
peg$fail(peg$e114);
|
|
20423
20639
|
}
|
|
20424
20640
|
}
|
|
20425
20641
|
if (s0 === peg$FAILED) {
|
|
20426
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20427
|
-
s0 = peg$
|
|
20642
|
+
if (input.substr(peg$currPos, 4) === peg$c111) {
|
|
20643
|
+
s0 = peg$c111;
|
|
20428
20644
|
peg$currPos += 4;
|
|
20429
20645
|
} else {
|
|
20430
20646
|
s0 = peg$FAILED;
|
|
20431
20647
|
if (peg$silentFails === 0) {
|
|
20432
|
-
peg$fail(peg$
|
|
20648
|
+
peg$fail(peg$e115);
|
|
20433
20649
|
}
|
|
20434
20650
|
}
|
|
20435
20651
|
if (s0 === peg$FAILED) {
|
|
20436
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20437
|
-
s0 = peg$
|
|
20652
|
+
if (input.substr(peg$currPos, 5) === peg$c112) {
|
|
20653
|
+
s0 = peg$c112;
|
|
20438
20654
|
peg$currPos += 5;
|
|
20439
20655
|
} else {
|
|
20440
20656
|
s0 = peg$FAILED;
|
|
20441
20657
|
if (peg$silentFails === 0) {
|
|
20442
|
-
peg$fail(peg$
|
|
20658
|
+
peg$fail(peg$e116);
|
|
20443
20659
|
}
|
|
20444
20660
|
}
|
|
20445
20661
|
if (s0 === peg$FAILED) {
|
|
20446
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
20447
|
-
s0 = peg$
|
|
20662
|
+
if (input.substr(peg$currPos, 7) === peg$c113) {
|
|
20663
|
+
s0 = peg$c113;
|
|
20448
20664
|
peg$currPos += 7;
|
|
20449
20665
|
} else {
|
|
20450
20666
|
s0 = peg$FAILED;
|
|
20451
20667
|
if (peg$silentFails === 0) {
|
|
20452
|
-
peg$fail(peg$
|
|
20668
|
+
peg$fail(peg$e117);
|
|
20453
20669
|
}
|
|
20454
20670
|
}
|
|
20455
20671
|
if (s0 === peg$FAILED) {
|
|
20456
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
20457
|
-
s0 = peg$
|
|
20672
|
+
if (input.substr(peg$currPos, 9) === peg$c114) {
|
|
20673
|
+
s0 = peg$c114;
|
|
20458
20674
|
peg$currPos += 9;
|
|
20459
20675
|
} else {
|
|
20460
20676
|
s0 = peg$FAILED;
|
|
20461
20677
|
if (peg$silentFails === 0) {
|
|
20462
|
-
peg$fail(peg$
|
|
20678
|
+
peg$fail(peg$e118);
|
|
20463
20679
|
}
|
|
20464
20680
|
}
|
|
20465
20681
|
if (s0 === peg$FAILED) {
|
|
20466
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20467
|
-
s0 = peg$
|
|
20682
|
+
if (input.substr(peg$currPos, 4) === peg$c115) {
|
|
20683
|
+
s0 = peg$c115;
|
|
20468
20684
|
peg$currPos += 4;
|
|
20469
20685
|
} else {
|
|
20470
20686
|
s0 = peg$FAILED;
|
|
20471
20687
|
if (peg$silentFails === 0) {
|
|
20472
|
-
peg$fail(peg$
|
|
20688
|
+
peg$fail(peg$e119);
|
|
20473
20689
|
}
|
|
20474
20690
|
}
|
|
20475
20691
|
if (s0 === peg$FAILED) {
|
|
20476
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
20477
|
-
s0 = peg$
|
|
20692
|
+
if (input.substr(peg$currPos, 8) === peg$c116) {
|
|
20693
|
+
s0 = peg$c116;
|
|
20478
20694
|
peg$currPos += 8;
|
|
20479
20695
|
} else {
|
|
20480
20696
|
s0 = peg$FAILED;
|
|
20481
20697
|
if (peg$silentFails === 0) {
|
|
20482
|
-
peg$fail(peg$
|
|
20698
|
+
peg$fail(peg$e120);
|
|
20483
20699
|
}
|
|
20484
20700
|
}
|
|
20485
20701
|
if (s0 === peg$FAILED) {
|
|
20486
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20487
|
-
s0 = peg$
|
|
20702
|
+
if (input.substr(peg$currPos, 5) === peg$c117) {
|
|
20703
|
+
s0 = peg$c117;
|
|
20488
20704
|
peg$currPos += 5;
|
|
20489
20705
|
} else {
|
|
20490
20706
|
s0 = peg$FAILED;
|
|
20491
20707
|
if (peg$silentFails === 0) {
|
|
20492
|
-
peg$fail(peg$
|
|
20708
|
+
peg$fail(peg$e121);
|
|
20493
20709
|
}
|
|
20494
20710
|
}
|
|
20495
20711
|
if (s0 === peg$FAILED) {
|
|
20496
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20497
|
-
s0 = peg$
|
|
20712
|
+
if (input.substr(peg$currPos, 4) === peg$c118) {
|
|
20713
|
+
s0 = peg$c118;
|
|
20498
20714
|
peg$currPos += 4;
|
|
20499
20715
|
} else {
|
|
20500
20716
|
s0 = peg$FAILED;
|
|
20501
20717
|
if (peg$silentFails === 0) {
|
|
20502
|
-
peg$fail(peg$
|
|
20718
|
+
peg$fail(peg$e122);
|
|
20503
20719
|
}
|
|
20504
20720
|
}
|
|
20505
20721
|
if (s0 === peg$FAILED) {
|
|
20506
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
20507
|
-
s0 = peg$
|
|
20722
|
+
if (input.substr(peg$currPos, 7) === peg$c119) {
|
|
20723
|
+
s0 = peg$c119;
|
|
20508
20724
|
peg$currPos += 7;
|
|
20509
20725
|
} else {
|
|
20510
20726
|
s0 = peg$FAILED;
|
|
20511
20727
|
if (peg$silentFails === 0) {
|
|
20512
|
-
peg$fail(peg$
|
|
20728
|
+
peg$fail(peg$e123);
|
|
20513
20729
|
}
|
|
20514
20730
|
}
|
|
20515
20731
|
if (s0 === peg$FAILED) {
|
|
20516
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20517
|
-
s0 = peg$
|
|
20732
|
+
if (input.substr(peg$currPos, 6) === peg$c120) {
|
|
20733
|
+
s0 = peg$c120;
|
|
20518
20734
|
peg$currPos += 6;
|
|
20519
20735
|
} else {
|
|
20520
20736
|
s0 = peg$FAILED;
|
|
20521
20737
|
if (peg$silentFails === 0) {
|
|
20522
|
-
peg$fail(peg$
|
|
20738
|
+
peg$fail(peg$e124);
|
|
20523
20739
|
}
|
|
20524
20740
|
}
|
|
20525
20741
|
if (s0 === peg$FAILED) {
|
|
20526
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20527
|
-
s0 = peg$
|
|
20742
|
+
if (input.substr(peg$currPos, 4) === peg$c121) {
|
|
20743
|
+
s0 = peg$c121;
|
|
20528
20744
|
peg$currPos += 4;
|
|
20529
20745
|
} else {
|
|
20530
20746
|
s0 = peg$FAILED;
|
|
20531
20747
|
if (peg$silentFails === 0) {
|
|
20532
|
-
peg$fail(peg$
|
|
20748
|
+
peg$fail(peg$e125);
|
|
20533
20749
|
}
|
|
20534
20750
|
}
|
|
20535
20751
|
if (s0 === peg$FAILED) {
|
|
20536
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20537
|
-
s0 = peg$
|
|
20752
|
+
if (input.substr(peg$currPos, 5) === peg$c122) {
|
|
20753
|
+
s0 = peg$c122;
|
|
20538
20754
|
peg$currPos += 5;
|
|
20539
20755
|
} else {
|
|
20540
20756
|
s0 = peg$FAILED;
|
|
20541
20757
|
if (peg$silentFails === 0) {
|
|
20542
|
-
peg$fail(peg$
|
|
20758
|
+
peg$fail(peg$e126);
|
|
20543
20759
|
}
|
|
20544
20760
|
}
|
|
20545
20761
|
if (s0 === peg$FAILED) {
|
|
20546
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20547
|
-
s0 = peg$
|
|
20762
|
+
if (input.substr(peg$currPos, 6) === peg$c123) {
|
|
20763
|
+
s0 = peg$c123;
|
|
20548
20764
|
peg$currPos += 6;
|
|
20549
20765
|
} else {
|
|
20550
20766
|
s0 = peg$FAILED;
|
|
20551
20767
|
if (peg$silentFails === 0) {
|
|
20552
|
-
peg$fail(peg$
|
|
20768
|
+
peg$fail(peg$e127);
|
|
20553
20769
|
}
|
|
20554
20770
|
}
|
|
20555
20771
|
if (s0 === peg$FAILED) {
|
|
20556
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20557
|
-
s0 = peg$
|
|
20772
|
+
if (input.substr(peg$currPos, 4) === peg$c124) {
|
|
20773
|
+
s0 = peg$c124;
|
|
20558
20774
|
peg$currPos += 4;
|
|
20559
20775
|
} else {
|
|
20560
20776
|
s0 = peg$FAILED;
|
|
20561
20777
|
if (peg$silentFails === 0) {
|
|
20562
|
-
peg$fail(peg$
|
|
20778
|
+
peg$fail(peg$e128);
|
|
20563
20779
|
}
|
|
20564
20780
|
}
|
|
20565
20781
|
if (s0 === peg$FAILED) {
|
|
20566
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20567
|
-
s0 = peg$
|
|
20782
|
+
if (input.substr(peg$currPos, 6) === peg$c125) {
|
|
20783
|
+
s0 = peg$c125;
|
|
20568
20784
|
peg$currPos += 6;
|
|
20569
20785
|
} else {
|
|
20570
20786
|
s0 = peg$FAILED;
|
|
20571
20787
|
if (peg$silentFails === 0) {
|
|
20572
|
-
peg$fail(peg$
|
|
20788
|
+
peg$fail(peg$e129);
|
|
20573
20789
|
}
|
|
20574
20790
|
}
|
|
20575
20791
|
if (s0 === peg$FAILED) {
|
|
20576
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
20577
|
-
s0 = peg$
|
|
20792
|
+
if (input.substr(peg$currPos, 3) === peg$c126) {
|
|
20793
|
+
s0 = peg$c126;
|
|
20578
20794
|
peg$currPos += 3;
|
|
20579
20795
|
} else {
|
|
20580
20796
|
s0 = peg$FAILED;
|
|
20581
20797
|
if (peg$silentFails === 0) {
|
|
20582
|
-
peg$fail(peg$
|
|
20798
|
+
peg$fail(peg$e130);
|
|
20583
20799
|
}
|
|
20584
20800
|
}
|
|
20585
20801
|
if (s0 === peg$FAILED) {
|
|
20586
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20587
|
-
s0 = peg$
|
|
20802
|
+
if (input.substr(peg$currPos, 6) === peg$c127) {
|
|
20803
|
+
s0 = peg$c127;
|
|
20588
20804
|
peg$currPos += 6;
|
|
20589
20805
|
} else {
|
|
20590
20806
|
s0 = peg$FAILED;
|
|
20591
20807
|
if (peg$silentFails === 0) {
|
|
20592
|
-
peg$fail(peg$
|
|
20808
|
+
peg$fail(peg$e131);
|
|
20593
20809
|
}
|
|
20594
20810
|
}
|
|
20595
20811
|
if (s0 === peg$FAILED) {
|
|
20596
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20597
|
-
s0 = peg$
|
|
20812
|
+
if (input.substr(peg$currPos, 4) === peg$c128) {
|
|
20813
|
+
s0 = peg$c128;
|
|
20598
20814
|
peg$currPos += 4;
|
|
20599
20815
|
} else {
|
|
20600
20816
|
s0 = peg$FAILED;
|
|
20601
20817
|
if (peg$silentFails === 0) {
|
|
20602
|
-
peg$fail(peg$
|
|
20818
|
+
peg$fail(peg$e132);
|
|
20603
20819
|
}
|
|
20604
20820
|
}
|
|
20605
20821
|
if (s0 === peg$FAILED) {
|
|
20606
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20607
|
-
s0 = peg$
|
|
20822
|
+
if (input.substr(peg$currPos, 6) === peg$c129) {
|
|
20823
|
+
s0 = peg$c129;
|
|
20608
20824
|
peg$currPos += 6;
|
|
20609
20825
|
} else {
|
|
20610
20826
|
s0 = peg$FAILED;
|
|
20611
20827
|
if (peg$silentFails === 0) {
|
|
20612
|
-
peg$fail(peg$
|
|
20828
|
+
peg$fail(peg$e133);
|
|
20613
20829
|
}
|
|
20614
20830
|
}
|
|
20615
20831
|
if (s0 === peg$FAILED) {
|
|
20616
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20617
|
-
s0 = peg$
|
|
20832
|
+
if (input.substr(peg$currPos, 5) === peg$c130) {
|
|
20833
|
+
s0 = peg$c130;
|
|
20618
20834
|
peg$currPos += 5;
|
|
20619
20835
|
} else {
|
|
20620
20836
|
s0 = peg$FAILED;
|
|
20621
20837
|
if (peg$silentFails === 0) {
|
|
20622
|
-
peg$fail(peg$
|
|
20838
|
+
peg$fail(peg$e134);
|
|
20623
20839
|
}
|
|
20624
20840
|
}
|
|
20625
20841
|
if (s0 === peg$FAILED) {
|
|
20626
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20627
|
-
s0 = peg$
|
|
20842
|
+
if (input.substr(peg$currPos, 6) === peg$c131) {
|
|
20843
|
+
s0 = peg$c131;
|
|
20628
20844
|
peg$currPos += 6;
|
|
20629
20845
|
} else {
|
|
20630
20846
|
s0 = peg$FAILED;
|
|
20631
20847
|
if (peg$silentFails === 0) {
|
|
20632
|
-
peg$fail(peg$
|
|
20848
|
+
peg$fail(peg$e135);
|
|
20633
20849
|
}
|
|
20634
20850
|
}
|
|
20635
20851
|
}
|
|
@@ -20662,7 +20878,7 @@ function peg$parse(input, options) {
|
|
|
20662
20878
|
s0 = peg$currPos;
|
|
20663
20879
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
20664
20880
|
peg$savedPos = s0;
|
|
20665
|
-
s1 = peg$
|
|
20881
|
+
s1 = peg$f91(s1);
|
|
20666
20882
|
s0 = s1;
|
|
20667
20883
|
peg$silentFails--;
|
|
20668
20884
|
return s0;
|
|
@@ -20688,7 +20904,7 @@ function peg$parse(input, options) {
|
|
|
20688
20904
|
}
|
|
20689
20905
|
}
|
|
20690
20906
|
peg$savedPos = s0;
|
|
20691
|
-
s0 = peg$
|
|
20907
|
+
s0 = peg$f92(s1, s2);
|
|
20692
20908
|
peg$silentFails--;
|
|
20693
20909
|
return s0;
|
|
20694
20910
|
}
|
|
@@ -20698,7 +20914,7 @@ function peg$parse(input, options) {
|
|
|
20698
20914
|
s1 = peg$parseNL();
|
|
20699
20915
|
if (s1 !== peg$FAILED) {
|
|
20700
20916
|
peg$savedPos = s0;
|
|
20701
|
-
s1 = peg$
|
|
20917
|
+
s1 = peg$f93();
|
|
20702
20918
|
}
|
|
20703
20919
|
s0 = s1;
|
|
20704
20920
|
if (s0 === peg$FAILED) {
|
|
@@ -20827,7 +21043,7 @@ function peg$parse(input, options) {
|
|
|
20827
21043
|
}
|
|
20828
21044
|
if (s1 !== peg$FAILED) {
|
|
20829
21045
|
peg$savedPos = s0;
|
|
20830
|
-
s1 = peg$
|
|
21046
|
+
s1 = peg$f94(s1);
|
|
20831
21047
|
}
|
|
20832
21048
|
s0 = s1;
|
|
20833
21049
|
}
|
|
@@ -20836,12 +21052,12 @@ function peg$parse(input, options) {
|
|
|
20836
21052
|
function peg$parseBoldHalfTag() {
|
|
20837
21053
|
let s0;
|
|
20838
21054
|
if (input.charCodeAt(peg$currPos) === 42) {
|
|
20839
|
-
s0 = peg$
|
|
21055
|
+
s0 = peg$c132;
|
|
20840
21056
|
peg$currPos++;
|
|
20841
21057
|
} else {
|
|
20842
21058
|
s0 = peg$FAILED;
|
|
20843
21059
|
if (peg$silentFails === 0) {
|
|
20844
|
-
peg$fail(peg$
|
|
21060
|
+
peg$fail(peg$e136);
|
|
20845
21061
|
}
|
|
20846
21062
|
}
|
|
20847
21063
|
return s0;
|
|
@@ -20849,12 +21065,12 @@ function peg$parse(input, options) {
|
|
|
20849
21065
|
function peg$parseItalicHalfTag() {
|
|
20850
21066
|
let s0;
|
|
20851
21067
|
if (input.charCodeAt(peg$currPos) === 95) {
|
|
20852
|
-
s0 = peg$
|
|
21068
|
+
s0 = peg$c133;
|
|
20853
21069
|
peg$currPos++;
|
|
20854
21070
|
} else {
|
|
20855
21071
|
s0 = peg$FAILED;
|
|
20856
21072
|
if (peg$silentFails === 0) {
|
|
20857
|
-
peg$fail(peg$
|
|
21073
|
+
peg$fail(peg$e137);
|
|
20858
21074
|
}
|
|
20859
21075
|
}
|
|
20860
21076
|
return s0;
|
|
@@ -20862,12 +21078,12 @@ function peg$parse(input, options) {
|
|
|
20862
21078
|
function peg$parseLightHalfTag() {
|
|
20863
21079
|
let s0;
|
|
20864
21080
|
if (input.charCodeAt(peg$currPos) === 96) {
|
|
20865
|
-
s0 = peg$
|
|
21081
|
+
s0 = peg$c134;
|
|
20866
21082
|
peg$currPos++;
|
|
20867
21083
|
} else {
|
|
20868
21084
|
s0 = peg$FAILED;
|
|
20869
21085
|
if (peg$silentFails === 0) {
|
|
20870
|
-
peg$fail(peg$
|
|
21086
|
+
peg$fail(peg$e138);
|
|
20871
21087
|
}
|
|
20872
21088
|
}
|
|
20873
21089
|
return s0;
|
|
@@ -20875,12 +21091,12 @@ function peg$parse(input, options) {
|
|
|
20875
21091
|
function peg$parseHighlightHalfTag() {
|
|
20876
21092
|
let s0;
|
|
20877
21093
|
if (input.charCodeAt(peg$currPos) === 33) {
|
|
20878
|
-
s0 = peg$
|
|
21094
|
+
s0 = peg$c135;
|
|
20879
21095
|
peg$currPos++;
|
|
20880
21096
|
} else {
|
|
20881
21097
|
s0 = peg$FAILED;
|
|
20882
21098
|
if (peg$silentFails === 0) {
|
|
20883
|
-
peg$fail(peg$
|
|
21099
|
+
peg$fail(peg$e139);
|
|
20884
21100
|
}
|
|
20885
21101
|
}
|
|
20886
21102
|
return s0;
|
|
@@ -20963,13 +21179,13 @@ function peg$parse(input, options) {
|
|
|
20963
21179
|
}
|
|
20964
21180
|
function peg$parseBodyBitOpenTag() {
|
|
20965
21181
|
let s0;
|
|
20966
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
20967
|
-
s0 = peg$
|
|
21182
|
+
if (input.substr(peg$currPos, 2) === peg$c136) {
|
|
21183
|
+
s0 = peg$c136;
|
|
20968
21184
|
peg$currPos += 2;
|
|
20969
21185
|
} else {
|
|
20970
21186
|
s0 = peg$FAILED;
|
|
20971
21187
|
if (peg$silentFails === 0) {
|
|
20972
|
-
peg$fail(peg$
|
|
21188
|
+
peg$fail(peg$e140);
|
|
20973
21189
|
}
|
|
20974
21190
|
}
|
|
20975
21191
|
return s0;
|
|
@@ -20977,12 +21193,12 @@ function peg$parse(input, options) {
|
|
|
20977
21193
|
function peg$parseBodyBitCloseTag() {
|
|
20978
21194
|
let s0;
|
|
20979
21195
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
20980
|
-
s0 = peg$
|
|
21196
|
+
s0 = peg$c137;
|
|
20981
21197
|
peg$currPos++;
|
|
20982
21198
|
} else {
|
|
20983
21199
|
s0 = peg$FAILED;
|
|
20984
21200
|
if (peg$silentFails === 0) {
|
|
20985
|
-
peg$fail(peg$
|
|
21201
|
+
peg$fail(peg$e141);
|
|
20986
21202
|
}
|
|
20987
21203
|
}
|
|
20988
21204
|
return s0;
|
|
@@ -21028,7 +21244,7 @@ function peg$parse(input, options) {
|
|
|
21028
21244
|
s3 = peg$parseBodyBitCloseTag();
|
|
21029
21245
|
if (s3 !== peg$FAILED) {
|
|
21030
21246
|
peg$savedPos = s0;
|
|
21031
|
-
s0 = peg$
|
|
21247
|
+
s0 = peg$f95(s2);
|
|
21032
21248
|
} else {
|
|
21033
21249
|
peg$currPos = s0;
|
|
21034
21250
|
s0 = peg$FAILED;
|
|
@@ -21118,7 +21334,7 @@ function peg$parse(input, options) {
|
|
|
21118
21334
|
s3 = peg$parseBoldTag();
|
|
21119
21335
|
if (s3 !== peg$FAILED) {
|
|
21120
21336
|
peg$savedPos = s0;
|
|
21121
|
-
s0 = peg$
|
|
21337
|
+
s0 = peg$f96(s2);
|
|
21122
21338
|
} else {
|
|
21123
21339
|
peg$currPos = s0;
|
|
21124
21340
|
s0 = peg$FAILED;
|
|
@@ -21204,7 +21420,7 @@ function peg$parse(input, options) {
|
|
|
21204
21420
|
s3 = peg$parseItalicTag();
|
|
21205
21421
|
if (s3 !== peg$FAILED) {
|
|
21206
21422
|
peg$savedPos = s0;
|
|
21207
|
-
s0 = peg$
|
|
21423
|
+
s0 = peg$f97(s2);
|
|
21208
21424
|
} else {
|
|
21209
21425
|
peg$currPos = s0;
|
|
21210
21426
|
s0 = peg$FAILED;
|
|
@@ -21290,7 +21506,7 @@ function peg$parse(input, options) {
|
|
|
21290
21506
|
s3 = peg$parseLightTag();
|
|
21291
21507
|
if (s3 !== peg$FAILED) {
|
|
21292
21508
|
peg$savedPos = s0;
|
|
21293
|
-
s0 = peg$
|
|
21509
|
+
s0 = peg$f98(s2);
|
|
21294
21510
|
} else {
|
|
21295
21511
|
peg$currPos = s0;
|
|
21296
21512
|
s0 = peg$FAILED;
|
|
@@ -21376,7 +21592,7 @@ function peg$parse(input, options) {
|
|
|
21376
21592
|
s3 = peg$parseHighlightTag();
|
|
21377
21593
|
if (s3 !== peg$FAILED) {
|
|
21378
21594
|
peg$savedPos = s0;
|
|
21379
|
-
s0 = peg$
|
|
21595
|
+
s0 = peg$f99(s2);
|
|
21380
21596
|
} else {
|
|
21381
21597
|
peg$currPos = s0;
|
|
21382
21598
|
s0 = peg$FAILED;
|
|
@@ -21461,22 +21677,22 @@ function peg$parse(input, options) {
|
|
|
21461
21677
|
let s0, s1;
|
|
21462
21678
|
peg$silentFails++;
|
|
21463
21679
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
21464
|
-
s0 = peg$
|
|
21680
|
+
s0 = peg$c138;
|
|
21465
21681
|
peg$currPos++;
|
|
21466
21682
|
} else {
|
|
21467
21683
|
s0 = peg$FAILED;
|
|
21468
21684
|
if (peg$silentFails === 0) {
|
|
21469
|
-
peg$fail(peg$
|
|
21685
|
+
peg$fail(peg$e143);
|
|
21470
21686
|
}
|
|
21471
21687
|
}
|
|
21472
21688
|
if (s0 === peg$FAILED) {
|
|
21473
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
21474
|
-
s0 = peg$
|
|
21689
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
21690
|
+
s0 = peg$c139;
|
|
21475
21691
|
peg$currPos += 2;
|
|
21476
21692
|
} else {
|
|
21477
21693
|
s0 = peg$FAILED;
|
|
21478
21694
|
if (peg$silentFails === 0) {
|
|
21479
|
-
peg$fail(peg$
|
|
21695
|
+
peg$fail(peg$e144);
|
|
21480
21696
|
}
|
|
21481
21697
|
}
|
|
21482
21698
|
if (s0 === peg$FAILED) {
|
|
@@ -21486,7 +21702,7 @@ function peg$parse(input, options) {
|
|
|
21486
21702
|
} else {
|
|
21487
21703
|
s0 = peg$FAILED;
|
|
21488
21704
|
if (peg$silentFails === 0) {
|
|
21489
|
-
peg$fail(peg$
|
|
21705
|
+
peg$fail(peg$e145);
|
|
21490
21706
|
}
|
|
21491
21707
|
}
|
|
21492
21708
|
}
|
|
@@ -21495,7 +21711,7 @@ function peg$parse(input, options) {
|
|
|
21495
21711
|
if (s0 === peg$FAILED) {
|
|
21496
21712
|
s1 = peg$FAILED;
|
|
21497
21713
|
if (peg$silentFails === 0) {
|
|
21498
|
-
peg$fail(peg$
|
|
21714
|
+
peg$fail(peg$e142);
|
|
21499
21715
|
}
|
|
21500
21716
|
}
|
|
21501
21717
|
return s0;
|
|
@@ -21508,7 +21724,7 @@ function peg$parse(input, options) {
|
|
|
21508
21724
|
} else {
|
|
21509
21725
|
s0 = peg$FAILED;
|
|
21510
21726
|
if (peg$silentFails === 0) {
|
|
21511
|
-
peg$fail(peg$
|
|
21727
|
+
peg$fail(peg$e146);
|
|
21512
21728
|
}
|
|
21513
21729
|
}
|
|
21514
21730
|
return s0;
|
|
@@ -21542,35 +21758,35 @@ function peg$parse(input, options) {
|
|
|
21542
21758
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8;
|
|
21543
21759
|
s0 = peg$currPos;
|
|
21544
21760
|
s1 = peg$currPos;
|
|
21545
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
21546
|
-
s2 = peg$
|
|
21761
|
+
if (input.substr(peg$currPos, 4) === peg$c140) {
|
|
21762
|
+
s2 = peg$c140;
|
|
21547
21763
|
peg$currPos += 4;
|
|
21548
21764
|
} else {
|
|
21549
21765
|
s2 = peg$FAILED;
|
|
21550
21766
|
if (peg$silentFails === 0) {
|
|
21551
|
-
peg$fail(peg$
|
|
21767
|
+
peg$fail(peg$e147);
|
|
21552
21768
|
}
|
|
21553
21769
|
}
|
|
21554
21770
|
if (s2 !== peg$FAILED) {
|
|
21555
21771
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
21556
|
-
s3 = peg$
|
|
21772
|
+
s3 = peg$c141;
|
|
21557
21773
|
peg$currPos++;
|
|
21558
21774
|
} else {
|
|
21559
21775
|
s3 = peg$FAILED;
|
|
21560
21776
|
if (peg$silentFails === 0) {
|
|
21561
|
-
peg$fail(peg$
|
|
21777
|
+
peg$fail(peg$e148);
|
|
21562
21778
|
}
|
|
21563
21779
|
}
|
|
21564
21780
|
if (s3 === peg$FAILED) {
|
|
21565
21781
|
s3 = null;
|
|
21566
21782
|
}
|
|
21567
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
21568
|
-
s4 = peg$
|
|
21783
|
+
if (input.substr(peg$currPos, 3) === peg$c142) {
|
|
21784
|
+
s4 = peg$c142;
|
|
21569
21785
|
peg$currPos += 3;
|
|
21570
21786
|
} else {
|
|
21571
21787
|
s4 = peg$FAILED;
|
|
21572
21788
|
if (peg$silentFails === 0) {
|
|
21573
|
-
peg$fail(peg$
|
|
21789
|
+
peg$fail(peg$e149);
|
|
21574
21790
|
}
|
|
21575
21791
|
}
|
|
21576
21792
|
if (s4 !== peg$FAILED) {
|
|
@@ -21648,35 +21864,35 @@ function peg$parse(input, options) {
|
|
|
21648
21864
|
s0 = peg$currPos;
|
|
21649
21865
|
s1 = peg$currPos;
|
|
21650
21866
|
s2 = peg$currPos;
|
|
21651
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
21652
|
-
s3 = peg$
|
|
21867
|
+
if (input.substr(peg$currPos, 4) === peg$c140) {
|
|
21868
|
+
s3 = peg$c140;
|
|
21653
21869
|
peg$currPos += 4;
|
|
21654
21870
|
} else {
|
|
21655
21871
|
s3 = peg$FAILED;
|
|
21656
21872
|
if (peg$silentFails === 0) {
|
|
21657
|
-
peg$fail(peg$
|
|
21873
|
+
peg$fail(peg$e147);
|
|
21658
21874
|
}
|
|
21659
21875
|
}
|
|
21660
21876
|
if (s3 !== peg$FAILED) {
|
|
21661
21877
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
21662
|
-
s4 = peg$
|
|
21878
|
+
s4 = peg$c141;
|
|
21663
21879
|
peg$currPos++;
|
|
21664
21880
|
} else {
|
|
21665
21881
|
s4 = peg$FAILED;
|
|
21666
21882
|
if (peg$silentFails === 0) {
|
|
21667
|
-
peg$fail(peg$
|
|
21883
|
+
peg$fail(peg$e148);
|
|
21668
21884
|
}
|
|
21669
21885
|
}
|
|
21670
21886
|
if (s4 === peg$FAILED) {
|
|
21671
21887
|
s4 = null;
|
|
21672
21888
|
}
|
|
21673
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
21674
|
-
s5 = peg$
|
|
21889
|
+
if (input.substr(peg$currPos, 3) === peg$c142) {
|
|
21890
|
+
s5 = peg$c142;
|
|
21675
21891
|
peg$currPos += 3;
|
|
21676
21892
|
} else {
|
|
21677
21893
|
s5 = peg$FAILED;
|
|
21678
21894
|
if (peg$silentFails === 0) {
|
|
21679
|
-
peg$fail(peg$
|
|
21895
|
+
peg$fail(peg$e149);
|
|
21680
21896
|
}
|
|
21681
21897
|
}
|
|
21682
21898
|
if (s5 !== peg$FAILED) {
|
|
@@ -21691,13 +21907,13 @@ function peg$parse(input, options) {
|
|
|
21691
21907
|
s2 = peg$FAILED;
|
|
21692
21908
|
}
|
|
21693
21909
|
if (s2 === peg$FAILED) {
|
|
21694
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
21695
|
-
s2 = peg$
|
|
21910
|
+
if (input.substr(peg$currPos, 7) === peg$c143) {
|
|
21911
|
+
s2 = peg$c143;
|
|
21696
21912
|
peg$currPos += 7;
|
|
21697
21913
|
} else {
|
|
21698
21914
|
s2 = peg$FAILED;
|
|
21699
21915
|
if (peg$silentFails === 0) {
|
|
21700
|
-
peg$fail(peg$
|
|
21916
|
+
peg$fail(peg$e150);
|
|
21701
21917
|
}
|
|
21702
21918
|
}
|
|
21703
21919
|
}
|
|
@@ -21762,7 +21978,7 @@ function peg$parse(input, options) {
|
|
|
21762
21978
|
}
|
|
21763
21979
|
s2 = input.substring(s2, peg$currPos);
|
|
21764
21980
|
peg$savedPos = s0;
|
|
21765
|
-
s0 = peg$
|
|
21981
|
+
s0 = peg$f100(s1, s2);
|
|
21766
21982
|
} else {
|
|
21767
21983
|
peg$currPos = s0;
|
|
21768
21984
|
s0 = peg$FAILED;
|
|
@@ -21777,7 +21993,7 @@ function peg$parse(input, options) {
|
|
|
21777
21993
|
} else {
|
|
21778
21994
|
s0 = peg$FAILED;
|
|
21779
21995
|
if (peg$silentFails === 0) {
|
|
21780
|
-
peg$fail(peg$
|
|
21996
|
+
peg$fail(peg$e151);
|
|
21781
21997
|
}
|
|
21782
21998
|
}
|
|
21783
21999
|
return s0;
|