@gmb/bitmark-parser-generator 1.16.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/cjs/ast/Builder.js +1 -1
- package/dist/cjs/ast/ResourceBuilder.js +34 -17
- package/dist/cjs/ast/ResourceBuilder.js.map +1 -1
- package/dist/cjs/config/raw/bits.js +87 -82
- package/dist/cjs/config/raw/bits.js.map +1 -1
- package/dist/cjs/config/raw/groups.js +4 -0
- package/dist/cjs/config/raw/groups.js.map +1 -1
- package/dist/cjs/config/raw/properties.js +1 -2
- package/dist/cjs/config/raw/properties.js.map +1 -1
- package/dist/cjs/generated/build-info.js +1 -1
- package/dist/cjs/generated/parser/text/text-peggy-parser.js +1588 -855
- package/dist/cjs/generated/parser/text/text-peggy-parser.js.map +1 -1
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js +4 -0
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/cjs/generator/json/JsonGenerator.js +251 -367
- package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
- package/dist/cjs/generator/text/TextGenerator.js +98 -19
- package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
- package/dist/cjs/model/enum/BitType.js +5 -1
- package/dist/cjs/model/enum/BitType.js.map +1 -1
- package/dist/cjs/model/enum/PropertyAstKey.js +0 -1
- package/dist/cjs/model/enum/PropertyAstKey.js.map +1 -1
- package/dist/cjs/model/enum/PropertyTag.js +1 -1
- package/dist/cjs/model/enum/PropertyTag.js.map +1 -1
- package/dist/cjs/model/enum/TextMarkType.js +4 -1
- package/dist/cjs/model/enum/TextMarkType.js.map +1 -1
- package/dist/cjs/model/enum/TextNodeType.js +4 -0
- package/dist/cjs/model/enum/TextNodeType.js.map +1 -1
- package/dist/cjs/parser/json/JsonParser.js +50 -38
- package/dist/cjs/parser/json/JsonParser.js.map +1 -1
- package/dist/esm/ast/Builder.js +1 -1
- package/dist/esm/ast/ResourceBuilder.js +34 -17
- package/dist/esm/ast/ResourceBuilder.js.map +1 -1
- package/dist/esm/config/raw/bits.js +87 -82
- package/dist/esm/config/raw/bits.js.map +1 -1
- package/dist/esm/config/raw/groups.js +4 -0
- package/dist/esm/config/raw/groups.js.map +1 -1
- package/dist/esm/config/raw/properties.js +1 -2
- package/dist/esm/config/raw/properties.js.map +1 -1
- package/dist/esm/generated/build-info.js +1 -1
- package/dist/esm/generated/parser/text/text-peggy-parser.js +1588 -855
- package/dist/esm/generated/parser/text/text-peggy-parser.js.map +1 -1
- package/dist/esm/generator/bitmark/BitmarkGenerator.js +4 -0
- package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/esm/generator/json/JsonGenerator.js +251 -367
- package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
- package/dist/esm/generator/text/TextGenerator.js +98 -19
- package/dist/esm/generator/text/TextGenerator.js.map +1 -1
- package/dist/esm/model/enum/BitType.js +5 -1
- package/dist/esm/model/enum/BitType.js.map +1 -1
- package/dist/esm/model/enum/PropertyAstKey.js +0 -1
- package/dist/esm/model/enum/PropertyAstKey.js.map +1 -1
- package/dist/esm/model/enum/PropertyTag.js +1 -1
- package/dist/esm/model/enum/PropertyTag.js.map +1 -1
- package/dist/esm/model/enum/TextMarkType.js +4 -1
- package/dist/esm/model/enum/TextMarkType.js.map +1 -1
- package/dist/esm/model/enum/TextNodeType.js +4 -0
- package/dist/esm/model/enum/TextNodeType.js.map +1 -1
- package/dist/esm/parser/json/JsonParser.js +50 -38
- package/dist/esm/parser/json/JsonParser.js.map +1 -1
- package/dist/types/ast/ResourceBuilder.d.ts +18 -0
- package/dist/types/ast/ResourceBuilder.d.ts.map +1 -1
- package/dist/types/config/raw/bits.d.ts.map +1 -1
- package/dist/types/config/raw/groups.d.ts.map +1 -1
- package/dist/types/config/raw/properties.d.ts.map +1 -1
- package/dist/types/generated/parser/text/text-peggy-parser.d.ts.map +1 -1
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +1 -0
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
- package/dist/types/generator/json/JsonGenerator.d.ts +0 -2
- package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
- package/dist/types/generator/text/TextGenerator.d.ts +12 -3
- package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
- package/dist/types/model/ast/Nodes.d.ts +1 -0
- package/dist/types/model/ast/Nodes.d.ts.map +1 -1
- package/dist/types/model/ast/TextNodes.d.ts +21 -0
- package/dist/types/model/ast/TextNodes.d.ts.map +1 -1
- package/dist/types/model/enum/BitType.d.ts +10 -2
- package/dist/types/model/enum/BitType.d.ts.map +1 -1
- package/dist/types/model/enum/PropertyAstKey.d.ts +0 -2
- package/dist/types/model/enum/PropertyAstKey.d.ts.map +1 -1
- package/dist/types/model/enum/PropertyTag.d.ts +0 -2
- package/dist/types/model/enum/PropertyTag.d.ts.map +1 -1
- package/dist/types/model/enum/TextMarkType.d.ts +6 -2
- package/dist/types/model/enum/TextMarkType.d.ts.map +1 -1
- package/dist/types/model/enum/TextNodeType.d.ts +8 -0
- package/dist/types/model/enum/TextNodeType.d.ts.map +1 -1
- package/dist/types/model/json/BitJson.d.ts +1 -23
- package/dist/types/model/json/BitJson.d.ts.map +1 -1
- package/dist/types/model/json/ResourceJson.d.ts +1 -0
- package/dist/types/model/json/ResourceJson.d.ts.map +1 -1
- package/dist/types/parser/json/JsonParser.d.ts +1 -0
- package/dist/types/parser/json/JsonParser.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.parse = exports.SyntaxError = exports.StartRules = void 0;
|
|
7
7
|
const Breakscape_1 = require("../../../breakscaping/Breakscape");
|
|
8
|
-
const VERSION = "8.
|
|
8
|
+
const VERSION = "8.13.2";
|
|
9
9
|
//Parser peggy.js
|
|
10
10
|
// parser options (parameter when running parser):
|
|
11
11
|
// allowedStartRules: ["bitmarkPlusPlus", "bitmarkPlus", "bitmarkMinusMinus", "bitmarkPlusString", "bitmarkMinusMinusString"]
|
|
@@ -13,10 +13,10 @@ const VERSION = "8.10.3";
|
|
|
13
13
|
// The public rules return a full StyledText object. This means things got consitent to handle. However, this means, there is always at least one block (a paragraph in case of bitmark+ and bitmark--) present.
|
|
14
14
|
// Todos
|
|
15
15
|
// - JSON for color
|
|
16
|
-
// -
|
|
17
|
-
// -
|
|
18
|
-
//
|
|
19
|
-
// -
|
|
16
|
+
// - LaTeX and MathML embed
|
|
17
|
+
// The formula == x = {-b \pm \sqrt{b^2-4ac} \over 2a} ==|math:LaTeX| is inline.
|
|
18
|
+
// The formula == $$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$ ==|math:LaTeX| is inline.
|
|
19
|
+
// The formula == x = {-b \pm \sqrt{b^2-4ac} \over 2a} ==|math:MathML| is inline.
|
|
20
20
|
/*
|
|
21
21
|
|
|
22
22
|
Empty StyledString
|
|
@@ -73,7 +73,7 @@ let c = a + b
|
|
|
73
73
|
|
|
74
74
|
|
|
|
75
75
|
|
|
76
|
-
Das war's
|
|
76
|
+
Das war's ==1==|footnote:Thanks for all the fish **and so long!**|
|
|
77
77
|
|
|
78
78
|
*/
|
|
79
79
|
// global initializer
|
|
@@ -297,84 +297,91 @@ function peg$parse(input, options) {
|
|
|
297
297
|
var peg$c7 = "bitmark--";
|
|
298
298
|
var peg$c8 = "JavaScript";
|
|
299
299
|
var peg$c9 = "\u2022 ";
|
|
300
|
-
var peg$c10 = "\
|
|
301
|
-
var peg$c11 = "
|
|
302
|
-
var peg$c12 = "
|
|
303
|
-
var peg$c13 = "
|
|
304
|
-
var peg$c14 = "
|
|
305
|
-
var peg$c15 = "\
|
|
306
|
-
var peg$c16 = "
|
|
307
|
-
var peg$c17 = "
|
|
308
|
-
var peg$c18 = "
|
|
309
|
-
var peg$c19 = "
|
|
310
|
-
var peg$c20 = "
|
|
311
|
-
var peg$c21 = "
|
|
312
|
-
var peg$c22 = "
|
|
313
|
-
var peg$c23 = "
|
|
314
|
-
var peg$c24 = "
|
|
315
|
-
var peg$c25 = "
|
|
316
|
-
var peg$c26 = "
|
|
317
|
-
var peg$c27 = "
|
|
318
|
-
var peg$c28 = "
|
|
319
|
-
var peg$c29 = "
|
|
320
|
-
var peg$c30 = "
|
|
321
|
-
var peg$c31 = "
|
|
322
|
-
var peg$c32 = "
|
|
323
|
-
var peg$c33 = "
|
|
324
|
-
var peg$c34 = "
|
|
325
|
-
var peg$c35 = "
|
|
326
|
-
var peg$c36 = "
|
|
327
|
-
var peg$c37 = "
|
|
328
|
-
var peg$c38 = "
|
|
329
|
-
var peg$c39 = "
|
|
330
|
-
var peg$c40 = "
|
|
331
|
-
var peg$c41 = "
|
|
332
|
-
var peg$c42 = "
|
|
333
|
-
var peg$c43 = "
|
|
334
|
-
var peg$c44 = "
|
|
335
|
-
var peg$c45 = "
|
|
336
|
-
var peg$c46 = "
|
|
337
|
-
var peg$c47 = "
|
|
338
|
-
var peg$c48 = "
|
|
339
|
-
var peg$c49 = "
|
|
340
|
-
var peg$c50 = "
|
|
341
|
-
var peg$c51 = "
|
|
342
|
-
var peg$c52 = "
|
|
343
|
-
var peg$c53 = "
|
|
344
|
-
var peg$c54 = "
|
|
345
|
-
var peg$c55 = "
|
|
346
|
-
var peg$c56 = "
|
|
347
|
-
var peg$c57 = "
|
|
348
|
-
var peg$c58 = "
|
|
349
|
-
var peg$c59 = "
|
|
350
|
-
var peg$c60 = "
|
|
351
|
-
var peg$c61 = "
|
|
352
|
-
var peg$c62 = "
|
|
353
|
-
var peg$c63 = "
|
|
354
|
-
var peg$c64 = "
|
|
355
|
-
var peg$c65 = "
|
|
356
|
-
var peg$c66 = "
|
|
357
|
-
var peg$c67 = "
|
|
358
|
-
var peg$c68 = "
|
|
359
|
-
var peg$c69 = "
|
|
360
|
-
var peg$c70 = "
|
|
361
|
-
var peg$c71 = "
|
|
362
|
-
var peg$c72 = "
|
|
363
|
-
var peg$c73 = "
|
|
364
|
-
var peg$c74 = "
|
|
365
|
-
var peg$c75 = "
|
|
366
|
-
var peg$c76 = "
|
|
367
|
-
var peg$c77 = "
|
|
368
|
-
var peg$c78 = "
|
|
369
|
-
var peg$c79 = "
|
|
370
|
-
var peg$c80 = "
|
|
371
|
-
var peg$c81 = "
|
|
372
|
-
var peg$c82 = "
|
|
373
|
-
var peg$c83 = "
|
|
374
|
-
var peg$c84 = "
|
|
375
|
-
var peg$c85 = "
|
|
376
|
-
var peg$c86 = "
|
|
377
|
-
var peg$c87 = "
|
|
300
|
+
var peg$c10 = "\u2022_ ";
|
|
301
|
+
var peg$c11 = "\u2022";
|
|
302
|
+
var peg$c12 = " ";
|
|
303
|
+
var peg$c13 = "I ";
|
|
304
|
+
var peg$c14 = "i ";
|
|
305
|
+
var peg$c15 = "\u2022A ";
|
|
306
|
+
var peg$c16 = "\u2022a ";
|
|
307
|
+
var peg$c17 = "\u2022+ ";
|
|
308
|
+
var peg$c18 = "\u2022- ";
|
|
309
|
+
var peg$c19 = "\t";
|
|
310
|
+
var peg$c20 = "image";
|
|
311
|
+
var peg$c21 = "#";
|
|
312
|
+
var peg$c22 = "@";
|
|
313
|
+
var peg$c23 = "width";
|
|
314
|
+
var peg$c24 = "height";
|
|
315
|
+
var peg$c25 = "alignment";
|
|
316
|
+
var peg$c26 = "captionAlign";
|
|
317
|
+
var peg$c27 = "left";
|
|
318
|
+
var peg$c28 = "center";
|
|
319
|
+
var peg$c29 = "right";
|
|
320
|
+
var peg$c30 = "=";
|
|
321
|
+
var peg$c31 = "\uD835\uDC53";
|
|
322
|
+
var peg$c32 = "link:";
|
|
323
|
+
var peg$c33 = "\u25BA";
|
|
324
|
+
var peg$c34 = "xref:";
|
|
325
|
+
var peg$c35 = "footnote:";
|
|
326
|
+
var peg$c36 = "var:";
|
|
327
|
+
var peg$c37 = "code:";
|
|
328
|
+
var peg$c38 = "timer";
|
|
329
|
+
var peg$c39 = "timer:";
|
|
330
|
+
var peg$c40 = "duration:";
|
|
331
|
+
var peg$c41 = "P";
|
|
332
|
+
var peg$c42 = "color:";
|
|
333
|
+
var peg$c43 = "bold";
|
|
334
|
+
var peg$c44 = "italic";
|
|
335
|
+
var peg$c45 = "light";
|
|
336
|
+
var peg$c46 = "highlight";
|
|
337
|
+
var peg$c47 = "strike";
|
|
338
|
+
var peg$c48 = "subscript";
|
|
339
|
+
var peg$c49 = "superscript";
|
|
340
|
+
var peg$c50 = "ins";
|
|
341
|
+
var peg$c51 = "del";
|
|
342
|
+
var peg$c52 = "underline";
|
|
343
|
+
var peg$c53 = "doubleUnderline";
|
|
344
|
+
var peg$c54 = "circle";
|
|
345
|
+
var peg$c55 = "languageEm";
|
|
346
|
+
var peg$c56 = "userUnderline";
|
|
347
|
+
var peg$c57 = "userDoubleUnderline";
|
|
348
|
+
var peg$c58 = "userStrike";
|
|
349
|
+
var peg$c59 = "userCircle";
|
|
350
|
+
var peg$c60 = "userHighlight";
|
|
351
|
+
var peg$c61 = "aqua";
|
|
352
|
+
var peg$c62 = "black";
|
|
353
|
+
var peg$c63 = "blue";
|
|
354
|
+
var peg$c64 = "pink";
|
|
355
|
+
var peg$c65 = "fuchsia";
|
|
356
|
+
var peg$c66 = "lightgrey";
|
|
357
|
+
var peg$c67 = "gray";
|
|
358
|
+
var peg$c68 = "darkgray";
|
|
359
|
+
var peg$c69 = "green";
|
|
360
|
+
var peg$c70 = "lime";
|
|
361
|
+
var peg$c71 = "magenta";
|
|
362
|
+
var peg$c72 = "maroon";
|
|
363
|
+
var peg$c73 = "navy";
|
|
364
|
+
var peg$c74 = "olive";
|
|
365
|
+
var peg$c75 = "orange";
|
|
366
|
+
var peg$c76 = "purple";
|
|
367
|
+
var peg$c77 = "red";
|
|
368
|
+
var peg$c78 = "silver";
|
|
369
|
+
var peg$c79 = "teal";
|
|
370
|
+
var peg$c80 = "violet";
|
|
371
|
+
var peg$c81 = "white";
|
|
372
|
+
var peg$c82 = "yellow";
|
|
373
|
+
var peg$c83 = "*";
|
|
374
|
+
var peg$c84 = "_";
|
|
375
|
+
var peg$c85 = "`";
|
|
376
|
+
var peg$c86 = "!";
|
|
377
|
+
var peg$c87 = "[!";
|
|
378
|
+
var peg$c88 = "]";
|
|
379
|
+
var peg$c89 = "\n";
|
|
380
|
+
var peg$c90 = "\r\n";
|
|
381
|
+
var peg$c91 = "http";
|
|
382
|
+
var peg$c92 = "s";
|
|
383
|
+
var peg$c93 = "://";
|
|
384
|
+
var peg$c94 = "mailto:";
|
|
378
385
|
var peg$r0 = /^[ \t]/;
|
|
379
386
|
var peg$r1 = /^[0-9]/;
|
|
380
387
|
var peg$r2 = /^[:|]/;
|
|
@@ -397,100 +404,107 @@ function peg$parse(input, options) {
|
|
|
397
404
|
var peg$e10 = peg$literalExpectation("bitmark--", false);
|
|
398
405
|
var peg$e11 = peg$literalExpectation("JavaScript", false);
|
|
399
406
|
var peg$e12 = peg$literalExpectation("\u2022 ", false);
|
|
400
|
-
var peg$e13 = peg$literalExpectation("\
|
|
401
|
-
var peg$e14 = peg$
|
|
402
|
-
var peg$e15 = peg$
|
|
403
|
-
var peg$e16 = peg$literalExpectation("
|
|
404
|
-
var peg$e17 = peg$literalExpectation("
|
|
405
|
-
var peg$e18 = peg$literalExpectation("
|
|
406
|
-
var peg$e19 = peg$literalExpectation("\
|
|
407
|
-
var peg$e20 = peg$literalExpectation("
|
|
408
|
-
var peg$e21 = peg$literalExpectation("
|
|
409
|
-
var peg$e22 = peg$literalExpectation("
|
|
410
|
-
var peg$e23 = peg$
|
|
411
|
-
var peg$e24 = peg$literalExpectation("
|
|
412
|
-
var peg$e25 = peg$literalExpectation("
|
|
413
|
-
var peg$e26 = peg$literalExpectation("
|
|
414
|
-
var peg$e27 = peg$
|
|
415
|
-
var peg$e28 = peg$literalExpectation("
|
|
416
|
-
var peg$e29 = peg$literalExpectation("
|
|
417
|
-
var peg$e30 = peg$literalExpectation("
|
|
418
|
-
var peg$e31 = peg$
|
|
419
|
-
var peg$e32 = peg$literalExpectation("
|
|
420
|
-
var peg$e33 = peg$literalExpectation("
|
|
421
|
-
var peg$e34 = peg$literalExpectation("
|
|
422
|
-
var peg$e35 = peg$
|
|
423
|
-
var peg$e36 = peg$literalExpectation("
|
|
424
|
-
var peg$e37 = peg$literalExpectation("
|
|
425
|
-
var peg$e38 = peg$literalExpectation("
|
|
426
|
-
var peg$e39 = peg$literalExpectation("
|
|
427
|
-
var peg$e40 = peg$literalExpectation("
|
|
428
|
-
var peg$e41 = peg$literalExpectation("
|
|
429
|
-
var peg$e42 = peg$literalExpectation("
|
|
430
|
-
var peg$e43 = peg$literalExpectation("
|
|
431
|
-
var peg$e44 = peg$literalExpectation("
|
|
432
|
-
var peg$e45 = peg$literalExpectation("
|
|
433
|
-
var peg$e46 = peg$literalExpectation("
|
|
434
|
-
var peg$e47 = peg$literalExpectation("
|
|
435
|
-
var peg$e48 = peg$literalExpectation("
|
|
436
|
-
var peg$e49 = peg$literalExpectation("
|
|
437
|
-
var peg$e50 = peg$literalExpectation("
|
|
438
|
-
var peg$e51 = peg$literalExpectation("
|
|
439
|
-
var peg$e52 = peg$literalExpectation("
|
|
440
|
-
var peg$e53 = peg$literalExpectation("
|
|
441
|
-
var peg$e54 = peg$literalExpectation("
|
|
442
|
-
var peg$e55 = peg$literalExpectation("
|
|
443
|
-
var peg$e56 = peg$literalExpectation("
|
|
444
|
-
var peg$e57 = peg$literalExpectation("
|
|
445
|
-
var peg$e58 = peg$literalExpectation("
|
|
446
|
-
var peg$e59 = peg$literalExpectation("
|
|
447
|
-
var peg$e60 = peg$literalExpectation("
|
|
448
|
-
var peg$e61 = peg$literalExpectation("
|
|
449
|
-
var peg$e62 = peg$literalExpectation("
|
|
450
|
-
var peg$e63 = peg$literalExpectation("
|
|
451
|
-
var peg$e64 = peg$literalExpectation("
|
|
452
|
-
var peg$e65 = peg$literalExpectation("
|
|
453
|
-
var peg$e66 = peg$literalExpectation("
|
|
454
|
-
var peg$e67 = peg$literalExpectation("
|
|
455
|
-
var peg$e68 = peg$literalExpectation("
|
|
456
|
-
var peg$e69 = peg$literalExpectation("
|
|
457
|
-
var peg$e70 = peg$literalExpectation("
|
|
458
|
-
var peg$e71 = peg$literalExpectation("
|
|
459
|
-
var peg$e72 = peg$literalExpectation("
|
|
460
|
-
var peg$e73 = peg$literalExpectation("
|
|
461
|
-
var peg$e74 = peg$literalExpectation("
|
|
462
|
-
var peg$e75 = peg$literalExpectation("
|
|
463
|
-
var peg$e76 = peg$literalExpectation("
|
|
464
|
-
var peg$e77 = peg$literalExpectation("
|
|
465
|
-
var peg$e78 = peg$literalExpectation("
|
|
466
|
-
var peg$e79 = peg$literalExpectation("
|
|
467
|
-
var peg$e80 = peg$literalExpectation("
|
|
468
|
-
var peg$e81 = peg$literalExpectation("
|
|
469
|
-
var peg$e82 = peg$
|
|
470
|
-
var peg$e83 = peg$
|
|
471
|
-
var peg$e84 = peg$literalExpectation("
|
|
472
|
-
var peg$e85 = peg$literalExpectation("
|
|
473
|
-
var peg$e86 = peg$literalExpectation("
|
|
474
|
-
var peg$e87 = peg$literalExpectation("
|
|
475
|
-
var peg$e88 = peg$literalExpectation("
|
|
476
|
-
var peg$e89 = peg$
|
|
477
|
-
var peg$e90 = peg$otherExpectation("
|
|
478
|
-
var peg$e91 = peg$literalExpectation("
|
|
479
|
-
var peg$e92 = peg$literalExpectation("
|
|
480
|
-
var peg$e93 = peg$
|
|
481
|
-
var peg$e94 = peg$
|
|
482
|
-
var peg$e95 = peg$
|
|
483
|
-
var peg$e96 = peg$
|
|
484
|
-
var peg$e97 = peg$otherExpectation("
|
|
485
|
-
var peg$e98 = peg$
|
|
486
|
-
var peg$e99 = peg$
|
|
487
|
-
var peg$e100 = peg$classExpectation(["\
|
|
488
|
-
var peg$e101 = peg$
|
|
489
|
-
var peg$e102 = peg$
|
|
490
|
-
var peg$e103 = peg$
|
|
491
|
-
var peg$e104 = peg$
|
|
492
|
-
var peg$e105 = peg$
|
|
493
|
-
var peg$e106 = peg$classExpectation(["
|
|
407
|
+
var peg$e13 = peg$literalExpectation("\u2022_ ", false);
|
|
408
|
+
var peg$e14 = peg$literalExpectation("\u2022", false);
|
|
409
|
+
var peg$e15 = peg$classExpectation([["0", "9"]], false, false);
|
|
410
|
+
var peg$e16 = peg$literalExpectation(" ", false);
|
|
411
|
+
var peg$e17 = peg$literalExpectation("I ", false);
|
|
412
|
+
var peg$e18 = peg$literalExpectation("i ", false);
|
|
413
|
+
var peg$e19 = peg$literalExpectation("\u2022A ", false);
|
|
414
|
+
var peg$e20 = peg$literalExpectation("\u2022a ", false);
|
|
415
|
+
var peg$e21 = peg$literalExpectation("\u2022+ ", false);
|
|
416
|
+
var peg$e22 = peg$literalExpectation("\u2022- ", false);
|
|
417
|
+
var peg$e23 = peg$literalExpectation("\t", false);
|
|
418
|
+
var peg$e24 = peg$literalExpectation("image", false);
|
|
419
|
+
var peg$e25 = peg$literalExpectation("#", false);
|
|
420
|
+
var peg$e26 = peg$literalExpectation("@", false);
|
|
421
|
+
var peg$e27 = peg$classExpectation([":", "|"], false, false);
|
|
422
|
+
var peg$e28 = peg$literalExpectation("width", false);
|
|
423
|
+
var peg$e29 = peg$literalExpectation("height", false);
|
|
424
|
+
var peg$e30 = peg$literalExpectation("alignment", false);
|
|
425
|
+
var peg$e31 = peg$literalExpectation("captionAlign", false);
|
|
426
|
+
var peg$e32 = peg$literalExpectation("left", false);
|
|
427
|
+
var peg$e33 = peg$literalExpectation("center", false);
|
|
428
|
+
var peg$e34 = peg$literalExpectation("right", false);
|
|
429
|
+
var peg$e35 = peg$otherExpectation("StyledString");
|
|
430
|
+
var peg$e36 = peg$literalExpectation("=", false);
|
|
431
|
+
var peg$e37 = peg$literalExpectation("\uD835\uDC53", false);
|
|
432
|
+
var peg$e38 = peg$literalExpectation("link:", false);
|
|
433
|
+
var peg$e39 = peg$literalExpectation("\u25BA", false);
|
|
434
|
+
var peg$e40 = peg$literalExpectation("xref:", false);
|
|
435
|
+
var peg$e41 = peg$literalExpectation("footnote:", false);
|
|
436
|
+
var peg$e42 = peg$literalExpectation("var:", false);
|
|
437
|
+
var peg$e43 = peg$literalExpectation("code:", false);
|
|
438
|
+
var peg$e44 = peg$literalExpectation("timer", false);
|
|
439
|
+
var peg$e45 = peg$literalExpectation("timer:", false);
|
|
440
|
+
var peg$e46 = peg$literalExpectation("duration:", false);
|
|
441
|
+
var peg$e47 = peg$literalExpectation("P", false);
|
|
442
|
+
var peg$e48 = peg$literalExpectation("color:", false);
|
|
443
|
+
var peg$e49 = peg$literalExpectation("bold", false);
|
|
444
|
+
var peg$e50 = peg$literalExpectation("italic", false);
|
|
445
|
+
var peg$e51 = peg$literalExpectation("light", false);
|
|
446
|
+
var peg$e52 = peg$literalExpectation("highlight", false);
|
|
447
|
+
var peg$e53 = peg$literalExpectation("strike", false);
|
|
448
|
+
var peg$e54 = peg$literalExpectation("subscript", false);
|
|
449
|
+
var peg$e55 = peg$literalExpectation("superscript", false);
|
|
450
|
+
var peg$e56 = peg$literalExpectation("ins", false);
|
|
451
|
+
var peg$e57 = peg$literalExpectation("del", false);
|
|
452
|
+
var peg$e58 = peg$literalExpectation("underline", false);
|
|
453
|
+
var peg$e59 = peg$literalExpectation("doubleUnderline", false);
|
|
454
|
+
var peg$e60 = peg$literalExpectation("circle", false);
|
|
455
|
+
var peg$e61 = peg$literalExpectation("languageEm", false);
|
|
456
|
+
var peg$e62 = peg$literalExpectation("userUnderline", false);
|
|
457
|
+
var peg$e63 = peg$literalExpectation("userDoubleUnderline", false);
|
|
458
|
+
var peg$e64 = peg$literalExpectation("userStrike", false);
|
|
459
|
+
var peg$e65 = peg$literalExpectation("userCircle", false);
|
|
460
|
+
var peg$e66 = peg$literalExpectation("userHighlight", false);
|
|
461
|
+
var peg$e67 = peg$literalExpectation("aqua", false);
|
|
462
|
+
var peg$e68 = peg$literalExpectation("black", false);
|
|
463
|
+
var peg$e69 = peg$literalExpectation("blue", false);
|
|
464
|
+
var peg$e70 = peg$literalExpectation("pink", false);
|
|
465
|
+
var peg$e71 = peg$literalExpectation("fuchsia", false);
|
|
466
|
+
var peg$e72 = peg$literalExpectation("lightgrey", false);
|
|
467
|
+
var peg$e73 = peg$literalExpectation("gray", false);
|
|
468
|
+
var peg$e74 = peg$literalExpectation("darkgray", false);
|
|
469
|
+
var peg$e75 = peg$literalExpectation("green", false);
|
|
470
|
+
var peg$e76 = peg$literalExpectation("lime", false);
|
|
471
|
+
var peg$e77 = peg$literalExpectation("magenta", false);
|
|
472
|
+
var peg$e78 = peg$literalExpectation("maroon", false);
|
|
473
|
+
var peg$e79 = peg$literalExpectation("navy", false);
|
|
474
|
+
var peg$e80 = peg$literalExpectation("olive", false);
|
|
475
|
+
var peg$e81 = peg$literalExpectation("orange", false);
|
|
476
|
+
var peg$e82 = peg$literalExpectation("purple", false);
|
|
477
|
+
var peg$e83 = peg$literalExpectation("red", false);
|
|
478
|
+
var peg$e84 = peg$literalExpectation("silver", false);
|
|
479
|
+
var peg$e85 = peg$literalExpectation("teal", false);
|
|
480
|
+
var peg$e86 = peg$literalExpectation("violet", false);
|
|
481
|
+
var peg$e87 = peg$literalExpectation("white", false);
|
|
482
|
+
var peg$e88 = peg$literalExpectation("yellow", false);
|
|
483
|
+
var peg$e89 = peg$otherExpectation("MinimalStyledText");
|
|
484
|
+
var peg$e90 = peg$otherExpectation("MinimalStyledString");
|
|
485
|
+
var peg$e91 = peg$literalExpectation("*", false);
|
|
486
|
+
var peg$e92 = peg$literalExpectation("_", false);
|
|
487
|
+
var peg$e93 = peg$literalExpectation("`", false);
|
|
488
|
+
var peg$e94 = peg$literalExpectation("!", false);
|
|
489
|
+
var peg$e95 = peg$literalExpectation("[!", false);
|
|
490
|
+
var peg$e96 = peg$literalExpectation("]", false);
|
|
491
|
+
var peg$e97 = peg$otherExpectation("Line Terminator");
|
|
492
|
+
var peg$e98 = peg$literalExpectation("\n", false);
|
|
493
|
+
var peg$e99 = peg$literalExpectation("\r\n", false);
|
|
494
|
+
var peg$e100 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false);
|
|
495
|
+
var peg$e101 = peg$otherExpectation("whitespace in line");
|
|
496
|
+
var peg$e102 = peg$otherExpectation("space");
|
|
497
|
+
var peg$e103 = peg$otherExpectation("language tag separator");
|
|
498
|
+
var peg$e104 = peg$otherExpectation("white space, separator");
|
|
499
|
+
var peg$e105 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
|
|
500
|
+
var peg$e106 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
|
|
501
|
+
var peg$e107 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
|
|
502
|
+
var peg$e108 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
|
|
503
|
+
var peg$e109 = peg$literalExpectation("http", false);
|
|
504
|
+
var peg$e110 = peg$literalExpectation("s", false);
|
|
505
|
+
var peg$e111 = peg$literalExpectation("://", false);
|
|
506
|
+
var peg$e112 = peg$literalExpectation("mailto:", false);
|
|
507
|
+
var peg$e113 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false);
|
|
494
508
|
var peg$f0 = function () { return VERSION; };
|
|
495
509
|
var peg$f1 = function (b) { return Object.assign({}, b); };
|
|
496
510
|
var peg$f2 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); return lb_; };
|
|
@@ -508,27 +522,50 @@ function peg$parse(input, options) {
|
|
|
508
522
|
var peg$f14 = function (c) { return [{ type: "text", text: unbreakscape(c.trim()) }]; };
|
|
509
523
|
var peg$f15 = function (t) { return t; };
|
|
510
524
|
var peg$f16 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
|
|
511
|
-
var peg$f17 = function (c, bl) {
|
|
512
|
-
var peg$f18 = function (c, bl) { return Object.assign(Object.assign({}, c), {
|
|
513
|
-
var peg$f19 = function (c, bl) { return Object.assign(Object.assign({}, c), {
|
|
514
|
-
var peg$f20 = function () { return {
|
|
515
|
-
var peg$f21 = function () { return {
|
|
516
|
-
var peg$f22 = function () { return {
|
|
517
|
-
var peg$f23 = function () { return {
|
|
518
|
-
var peg$f24 = function (
|
|
519
|
-
var peg$f25 = function (
|
|
525
|
+
var peg$f17 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
|
|
526
|
+
var peg$f18 = function (c, bl) { let start = bl[0]._tempListStart; return Object.assign(Object.assign({}, c), { attrs: { start }, content: bl }); };
|
|
527
|
+
var peg$f19 = function (c, bl) { let start = bl[0]._tempListStart; return Object.assign(Object.assign({}, c), { attrs: { start }, content: bl }); };
|
|
528
|
+
var peg$f20 = function (c, bl) { let start = bl[0]._tempListStart; return Object.assign(Object.assign({}, c), { attrs: { start }, content: bl }); };
|
|
529
|
+
var peg$f21 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
|
|
530
|
+
var peg$f22 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
|
|
531
|
+
var peg$f23 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
|
|
532
|
+
var peg$f24 = function () { return { type: "bulletList" }; };
|
|
533
|
+
var peg$f25 = function () { return { type: "simpleList" }; };
|
|
534
|
+
var peg$f26 = function () { return { type: "orderedList" }; };
|
|
535
|
+
var peg$f27 = function () { return { type: "orderedListRoman" }; };
|
|
536
|
+
var peg$f28 = function () { return { type: "orderedListRomanLower" }; };
|
|
537
|
+
var peg$f29 = function () { return { type: "letteredList" }; };
|
|
538
|
+
var peg$f30 = function () { return { type: "letteredListLower" }; };
|
|
539
|
+
var peg$f31 = function () { return { type: "taskList" }; };
|
|
540
|
+
var peg$f32 = function (lt, listItem, lines, c) { return c; };
|
|
541
|
+
var peg$f33 = function (lt, listItem, lines, children) {
|
|
520
542
|
let _tempParsingParent = 'bulletList';
|
|
521
|
-
const matchOrdered = lt.match(/•([0-9]+) /);
|
|
543
|
+
const matchOrdered = lt.match(/•([0-9]+)([Ii]?) /);
|
|
522
544
|
let start = 1;
|
|
523
545
|
if (matchOrdered) {
|
|
524
546
|
_tempParsingParent = 'orderedList';
|
|
525
547
|
if (matchOrdered.length > 1) {
|
|
526
548
|
start = Number(matchOrdered[1]);
|
|
527
549
|
}
|
|
550
|
+
if (matchOrdered.length > 2) {
|
|
551
|
+
let roman = matchOrdered[2];
|
|
552
|
+
if ('I' == roman) {
|
|
553
|
+
_tempParsingParent = 'orderedListRoman';
|
|
554
|
+
}
|
|
555
|
+
if ('i' == roman) {
|
|
556
|
+
_tempParsingParent = 'orderedListRomanLower';
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
if ('•_ ' == lt) {
|
|
561
|
+
_tempParsingParent = 'simpleList';
|
|
528
562
|
}
|
|
529
563
|
if ('•A ' == lt) {
|
|
530
564
|
_tempParsingParent = 'letteredList';
|
|
531
565
|
}
|
|
566
|
+
if ('•a ' == lt) {
|
|
567
|
+
_tempParsingParent = 'letteredListLower';
|
|
568
|
+
}
|
|
532
569
|
if ('•+ ' == lt || '•- ' == lt) {
|
|
533
570
|
_tempParsingParent = 'taskList';
|
|
534
571
|
}
|
|
@@ -545,7 +582,7 @@ function peg$parse(input, options) {
|
|
|
545
582
|
attrs: { start },
|
|
546
583
|
content: children
|
|
547
584
|
};
|
|
548
|
-
if ("orderedList"
|
|
585
|
+
if (sublist.type.startsWith("orderedList") || sublist.type.startsWith("letteredList")) {
|
|
549
586
|
if (children[0]._tempListStart) {
|
|
550
587
|
const start = children[0]._tempListStart;
|
|
551
588
|
if (start > 1)
|
|
@@ -572,16 +609,16 @@ function peg$parse(input, options) {
|
|
|
572
609
|
return { type: t, content, _tempParsingParent, _tempListStart };
|
|
573
610
|
}
|
|
574
611
|
};
|
|
575
|
-
var peg$
|
|
576
|
-
var peg$
|
|
577
|
-
var peg$
|
|
578
|
-
var peg$
|
|
579
|
-
var peg$
|
|
580
|
-
var peg$
|
|
581
|
-
var peg$
|
|
582
|
-
var peg$
|
|
583
|
-
var peg$
|
|
584
|
-
var peg$
|
|
612
|
+
var peg$f34 = function (ll) { return ll; };
|
|
613
|
+
var peg$f35 = function (i) { return i.join("") === indent; };
|
|
614
|
+
var peg$f36 = function (i) { return i.length > indent.length; };
|
|
615
|
+
var peg$f37 = function (i) { indentStack.push(indent); indent = i.join(""); };
|
|
616
|
+
var peg$f38 = function () { indent = indentStack.pop(); return true; };
|
|
617
|
+
var peg$f39 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
|
|
618
|
+
var peg$f40 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
|
|
619
|
+
var peg$f41 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
|
|
620
|
+
var peg$f42 = function (t) { return t; };
|
|
621
|
+
var peg$f43 = function (t, u, ch) {
|
|
585
622
|
const chain = Object.assign({}, ...ch);
|
|
586
623
|
let imageAlignment_ = chain.alignment || "center";
|
|
587
624
|
delete chain.alignment;
|
|
@@ -601,45 +638,48 @@ function peg$parse(input, options) {
|
|
|
601
638
|
};
|
|
602
639
|
return image;
|
|
603
640
|
};
|
|
604
|
-
var peg$
|
|
605
|
-
var peg$
|
|
606
|
-
var peg$
|
|
607
|
-
var peg$
|
|
608
|
-
var peg$
|
|
609
|
-
var peg$
|
|
610
|
-
var peg$
|
|
611
|
-
var peg$
|
|
612
|
-
var peg$
|
|
613
|
-
var peg$
|
|
614
|
-
var peg$
|
|
615
|
-
var peg$
|
|
616
|
-
var peg$
|
|
641
|
+
var peg$f44 = function (ch) { return ch; };
|
|
642
|
+
var peg$f45 = function (str) { return { comment: str }; };
|
|
643
|
+
var peg$f46 = function (p, v) { return { [p]: parseInt(v) }; };
|
|
644
|
+
var peg$f47 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
|
|
645
|
+
var peg$f48 = function (p, v) { return { [p]: v }; };
|
|
646
|
+
var peg$f49 = function (p, v) { return { [p]: v }; };
|
|
647
|
+
var peg$f50 = function (p) { return { [p]: true }; };
|
|
648
|
+
var peg$f51 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
|
|
649
|
+
var peg$f52 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
|
|
650
|
+
var peg$f53 = function () { return { "type": "hardBreak" }; };
|
|
651
|
+
var peg$f54 = function (t) { return { text: unbreakscape(t), type: "text" }; };
|
|
652
|
+
var peg$f55 = function (t) { return { index: +t, type: "bit" }; };
|
|
653
|
+
var peg$f56 = function (t, marks) { if (!marks)
|
|
617
654
|
marks = []; return { marks, text: unbreakscape(t), type: "text" }; };
|
|
618
|
-
var peg$
|
|
619
|
-
var peg$
|
|
620
|
-
var peg$
|
|
621
|
-
var peg$
|
|
622
|
-
var peg$
|
|
623
|
-
var peg$
|
|
624
|
-
var peg$
|
|
625
|
-
var peg$
|
|
626
|
-
var peg$
|
|
627
|
-
var peg$
|
|
628
|
-
var peg$
|
|
629
|
-
var peg$
|
|
630
|
-
var peg$
|
|
631
|
-
var peg$
|
|
632
|
-
var peg$
|
|
633
|
-
var peg$
|
|
634
|
-
var peg$
|
|
635
|
-
var peg$
|
|
636
|
-
var peg$
|
|
637
|
-
var peg$
|
|
638
|
-
var peg$
|
|
639
|
-
var peg$
|
|
640
|
-
var peg$
|
|
641
|
-
var peg$
|
|
642
|
-
var peg$
|
|
655
|
+
var peg$f57 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
|
|
656
|
+
var peg$f58 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
|
|
657
|
+
var peg$f59 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
|
|
658
|
+
var peg$f60 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
|
|
659
|
+
var peg$f61 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
|
|
660
|
+
var peg$f62 = function (ch) { return ch; };
|
|
661
|
+
var peg$f63 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
|
|
662
|
+
var peg$f64 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
|
|
663
|
+
var peg$f65 = function (str) { return { type: 'xref', attrs: { reference: str.trim() } }; };
|
|
664
|
+
var peg$f66 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
665
|
+
var peg$f67 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
|
|
666
|
+
var peg$f68 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
|
|
667
|
+
var peg$f69 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
|
|
668
|
+
var peg$f70 = function () { return { type: 'timer', attrs: { name: "" } }; };
|
|
669
|
+
var peg$f71 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
|
|
670
|
+
var peg$f72 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
|
|
671
|
+
var peg$f73 = function (color) { return { type: 'color', attrs: { color } }; };
|
|
672
|
+
var peg$f74 = function (style) { return { type: style }; };
|
|
673
|
+
var peg$f75 = function (str) { return { type: "comment", comment: str }; };
|
|
674
|
+
var peg$f76 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
|
|
675
|
+
var peg$f77 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
|
|
676
|
+
var peg$f78 = function (t) { return { text: unbreakscape(t), type: "text" }; };
|
|
677
|
+
var peg$f79 = function (t) { return { index: +t, type: "bit" }; };
|
|
678
|
+
var peg$f80 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
|
|
679
|
+
var peg$f81 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
|
|
680
|
+
var peg$f82 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
|
|
681
|
+
var peg$f83 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
|
|
682
|
+
var peg$f84 = function (pr, t) { return { pr, t }; };
|
|
643
683
|
var peg$currPos = options.peg$currPos | 0;
|
|
644
684
|
var peg$savedPos = peg$currPos;
|
|
645
685
|
var peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -1389,18 +1429,32 @@ function peg$parse(input, options) {
|
|
|
1389
1429
|
}
|
|
1390
1430
|
return s0;
|
|
1391
1431
|
}
|
|
1432
|
+
function peg$parseSimpleListTag() {
|
|
1433
|
+
var s0;
|
|
1434
|
+
if (input.substr(peg$currPos, 3) === peg$c10) {
|
|
1435
|
+
s0 = peg$c10;
|
|
1436
|
+
peg$currPos += 3;
|
|
1437
|
+
}
|
|
1438
|
+
else {
|
|
1439
|
+
s0 = peg$FAILED;
|
|
1440
|
+
if (peg$silentFails === 0) {
|
|
1441
|
+
peg$fail(peg$e13);
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
return s0;
|
|
1445
|
+
}
|
|
1392
1446
|
function peg$parseOrderedListTag() {
|
|
1393
1447
|
var s0, s1, s2, s3, s4;
|
|
1394
1448
|
s0 = peg$currPos;
|
|
1395
1449
|
s1 = peg$currPos;
|
|
1396
1450
|
if (input.charCodeAt(peg$currPos) === 8226) {
|
|
1397
|
-
s2 = peg$
|
|
1451
|
+
s2 = peg$c11;
|
|
1398
1452
|
peg$currPos++;
|
|
1399
1453
|
}
|
|
1400
1454
|
else {
|
|
1401
1455
|
s2 = peg$FAILED;
|
|
1402
1456
|
if (peg$silentFails === 0) {
|
|
1403
|
-
peg$fail(peg$
|
|
1457
|
+
peg$fail(peg$e14);
|
|
1404
1458
|
}
|
|
1405
1459
|
}
|
|
1406
1460
|
if (s2 !== peg$FAILED) {
|
|
@@ -1412,24 +1466,82 @@ function peg$parse(input, options) {
|
|
|
1412
1466
|
else {
|
|
1413
1467
|
s4 = peg$FAILED;
|
|
1414
1468
|
if (peg$silentFails === 0) {
|
|
1415
|
-
peg$fail(peg$
|
|
1469
|
+
peg$fail(peg$e15);
|
|
1416
1470
|
}
|
|
1417
1471
|
}
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1472
|
+
if (s4 !== peg$FAILED) {
|
|
1473
|
+
while (s4 !== peg$FAILED) {
|
|
1474
|
+
s3.push(s4);
|
|
1475
|
+
s4 = input.charAt(peg$currPos);
|
|
1476
|
+
if (peg$r1.test(s4)) {
|
|
1477
|
+
peg$currPos++;
|
|
1478
|
+
}
|
|
1479
|
+
else {
|
|
1480
|
+
s4 = peg$FAILED;
|
|
1481
|
+
if (peg$silentFails === 0) {
|
|
1482
|
+
peg$fail(peg$e15);
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
else {
|
|
1488
|
+
s3 = peg$FAILED;
|
|
1489
|
+
}
|
|
1490
|
+
if (s3 !== peg$FAILED) {
|
|
1491
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
1492
|
+
s4 = peg$c12;
|
|
1422
1493
|
peg$currPos++;
|
|
1423
1494
|
}
|
|
1424
1495
|
else {
|
|
1425
1496
|
s4 = peg$FAILED;
|
|
1426
1497
|
if (peg$silentFails === 0) {
|
|
1427
|
-
peg$fail(peg$
|
|
1498
|
+
peg$fail(peg$e16);
|
|
1428
1499
|
}
|
|
1429
1500
|
}
|
|
1501
|
+
if (s4 !== peg$FAILED) {
|
|
1502
|
+
s2 = [s2, s3, s4];
|
|
1503
|
+
s1 = s2;
|
|
1504
|
+
}
|
|
1505
|
+
else {
|
|
1506
|
+
peg$currPos = s1;
|
|
1507
|
+
s1 = peg$FAILED;
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
else {
|
|
1511
|
+
peg$currPos = s1;
|
|
1512
|
+
s1 = peg$FAILED;
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
else {
|
|
1516
|
+
peg$currPos = s1;
|
|
1517
|
+
s1 = peg$FAILED;
|
|
1518
|
+
}
|
|
1519
|
+
if (s1 !== peg$FAILED) {
|
|
1520
|
+
s0 = input.substring(s0, peg$currPos);
|
|
1521
|
+
}
|
|
1522
|
+
else {
|
|
1523
|
+
s0 = s1;
|
|
1524
|
+
}
|
|
1525
|
+
return s0;
|
|
1526
|
+
}
|
|
1527
|
+
function peg$parseOrderedListRomanTag() {
|
|
1528
|
+
var s0, s1, s2, s3, s4;
|
|
1529
|
+
s0 = peg$currPos;
|
|
1530
|
+
s1 = peg$currPos;
|
|
1531
|
+
if (input.charCodeAt(peg$currPos) === 8226) {
|
|
1532
|
+
s2 = peg$c11;
|
|
1533
|
+
peg$currPos++;
|
|
1534
|
+
}
|
|
1535
|
+
else {
|
|
1536
|
+
s2 = peg$FAILED;
|
|
1537
|
+
if (peg$silentFails === 0) {
|
|
1538
|
+
peg$fail(peg$e14);
|
|
1430
1539
|
}
|
|
1431
|
-
|
|
1432
|
-
|
|
1540
|
+
}
|
|
1541
|
+
if (s2 !== peg$FAILED) {
|
|
1542
|
+
s3 = [];
|
|
1543
|
+
s4 = input.charAt(peg$currPos);
|
|
1544
|
+
if (peg$r1.test(s4)) {
|
|
1433
1545
|
peg$currPos++;
|
|
1434
1546
|
}
|
|
1435
1547
|
else {
|
|
@@ -1439,8 +1551,123 @@ function peg$parse(input, options) {
|
|
|
1439
1551
|
}
|
|
1440
1552
|
}
|
|
1441
1553
|
if (s4 !== peg$FAILED) {
|
|
1442
|
-
|
|
1443
|
-
|
|
1554
|
+
while (s4 !== peg$FAILED) {
|
|
1555
|
+
s3.push(s4);
|
|
1556
|
+
s4 = input.charAt(peg$currPos);
|
|
1557
|
+
if (peg$r1.test(s4)) {
|
|
1558
|
+
peg$currPos++;
|
|
1559
|
+
}
|
|
1560
|
+
else {
|
|
1561
|
+
s4 = peg$FAILED;
|
|
1562
|
+
if (peg$silentFails === 0) {
|
|
1563
|
+
peg$fail(peg$e15);
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
else {
|
|
1569
|
+
s3 = peg$FAILED;
|
|
1570
|
+
}
|
|
1571
|
+
if (s3 !== peg$FAILED) {
|
|
1572
|
+
if (input.substr(peg$currPos, 2) === peg$c13) {
|
|
1573
|
+
s4 = peg$c13;
|
|
1574
|
+
peg$currPos += 2;
|
|
1575
|
+
}
|
|
1576
|
+
else {
|
|
1577
|
+
s4 = peg$FAILED;
|
|
1578
|
+
if (peg$silentFails === 0) {
|
|
1579
|
+
peg$fail(peg$e17);
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
if (s4 !== peg$FAILED) {
|
|
1583
|
+
s2 = [s2, s3, s4];
|
|
1584
|
+
s1 = s2;
|
|
1585
|
+
}
|
|
1586
|
+
else {
|
|
1587
|
+
peg$currPos = s1;
|
|
1588
|
+
s1 = peg$FAILED;
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
else {
|
|
1592
|
+
peg$currPos = s1;
|
|
1593
|
+
s1 = peg$FAILED;
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
else {
|
|
1597
|
+
peg$currPos = s1;
|
|
1598
|
+
s1 = peg$FAILED;
|
|
1599
|
+
}
|
|
1600
|
+
if (s1 !== peg$FAILED) {
|
|
1601
|
+
s0 = input.substring(s0, peg$currPos);
|
|
1602
|
+
}
|
|
1603
|
+
else {
|
|
1604
|
+
s0 = s1;
|
|
1605
|
+
}
|
|
1606
|
+
return s0;
|
|
1607
|
+
}
|
|
1608
|
+
function peg$parseOrderedListRomanLowerTag() {
|
|
1609
|
+
var s0, s1, s2, s3, s4;
|
|
1610
|
+
s0 = peg$currPos;
|
|
1611
|
+
s1 = peg$currPos;
|
|
1612
|
+
if (input.charCodeAt(peg$currPos) === 8226) {
|
|
1613
|
+
s2 = peg$c11;
|
|
1614
|
+
peg$currPos++;
|
|
1615
|
+
}
|
|
1616
|
+
else {
|
|
1617
|
+
s2 = peg$FAILED;
|
|
1618
|
+
if (peg$silentFails === 0) {
|
|
1619
|
+
peg$fail(peg$e14);
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
if (s2 !== peg$FAILED) {
|
|
1623
|
+
s3 = [];
|
|
1624
|
+
s4 = input.charAt(peg$currPos);
|
|
1625
|
+
if (peg$r1.test(s4)) {
|
|
1626
|
+
peg$currPos++;
|
|
1627
|
+
}
|
|
1628
|
+
else {
|
|
1629
|
+
s4 = peg$FAILED;
|
|
1630
|
+
if (peg$silentFails === 0) {
|
|
1631
|
+
peg$fail(peg$e15);
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
if (s4 !== peg$FAILED) {
|
|
1635
|
+
while (s4 !== peg$FAILED) {
|
|
1636
|
+
s3.push(s4);
|
|
1637
|
+
s4 = input.charAt(peg$currPos);
|
|
1638
|
+
if (peg$r1.test(s4)) {
|
|
1639
|
+
peg$currPos++;
|
|
1640
|
+
}
|
|
1641
|
+
else {
|
|
1642
|
+
s4 = peg$FAILED;
|
|
1643
|
+
if (peg$silentFails === 0) {
|
|
1644
|
+
peg$fail(peg$e15);
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
else {
|
|
1650
|
+
s3 = peg$FAILED;
|
|
1651
|
+
}
|
|
1652
|
+
if (s3 !== peg$FAILED) {
|
|
1653
|
+
if (input.substr(peg$currPos, 2) === peg$c14) {
|
|
1654
|
+
s4 = peg$c14;
|
|
1655
|
+
peg$currPos += 2;
|
|
1656
|
+
}
|
|
1657
|
+
else {
|
|
1658
|
+
s4 = peg$FAILED;
|
|
1659
|
+
if (peg$silentFails === 0) {
|
|
1660
|
+
peg$fail(peg$e18);
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
if (s4 !== peg$FAILED) {
|
|
1664
|
+
s2 = [s2, s3, s4];
|
|
1665
|
+
s1 = s2;
|
|
1666
|
+
}
|
|
1667
|
+
else {
|
|
1668
|
+
peg$currPos = s1;
|
|
1669
|
+
s1 = peg$FAILED;
|
|
1670
|
+
}
|
|
1444
1671
|
}
|
|
1445
1672
|
else {
|
|
1446
1673
|
peg$currPos = s1;
|
|
@@ -1461,39 +1688,53 @@ function peg$parse(input, options) {
|
|
|
1461
1688
|
}
|
|
1462
1689
|
function peg$parseLetteredListTag() {
|
|
1463
1690
|
var s0;
|
|
1464
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
1465
|
-
s0 = peg$
|
|
1691
|
+
if (input.substr(peg$currPos, 3) === peg$c15) {
|
|
1692
|
+
s0 = peg$c15;
|
|
1466
1693
|
peg$currPos += 3;
|
|
1467
1694
|
}
|
|
1468
1695
|
else {
|
|
1469
1696
|
s0 = peg$FAILED;
|
|
1470
1697
|
if (peg$silentFails === 0) {
|
|
1471
|
-
peg$fail(peg$
|
|
1698
|
+
peg$fail(peg$e19);
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
return s0;
|
|
1702
|
+
}
|
|
1703
|
+
function peg$parseLetteredListLowerTag() {
|
|
1704
|
+
var s0;
|
|
1705
|
+
if (input.substr(peg$currPos, 3) === peg$c16) {
|
|
1706
|
+
s0 = peg$c16;
|
|
1707
|
+
peg$currPos += 3;
|
|
1708
|
+
}
|
|
1709
|
+
else {
|
|
1710
|
+
s0 = peg$FAILED;
|
|
1711
|
+
if (peg$silentFails === 0) {
|
|
1712
|
+
peg$fail(peg$e20);
|
|
1472
1713
|
}
|
|
1473
1714
|
}
|
|
1474
1715
|
return s0;
|
|
1475
1716
|
}
|
|
1476
1717
|
function peg$parseTaskListTag() {
|
|
1477
1718
|
var s0;
|
|
1478
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
1479
|
-
s0 = peg$
|
|
1719
|
+
if (input.substr(peg$currPos, 3) === peg$c17) {
|
|
1720
|
+
s0 = peg$c17;
|
|
1480
1721
|
peg$currPos += 3;
|
|
1481
1722
|
}
|
|
1482
1723
|
else {
|
|
1483
1724
|
s0 = peg$FAILED;
|
|
1484
1725
|
if (peg$silentFails === 0) {
|
|
1485
|
-
peg$fail(peg$
|
|
1726
|
+
peg$fail(peg$e21);
|
|
1486
1727
|
}
|
|
1487
1728
|
}
|
|
1488
1729
|
if (s0 === peg$FAILED) {
|
|
1489
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
1490
|
-
s0 = peg$
|
|
1730
|
+
if (input.substr(peg$currPos, 3) === peg$c18) {
|
|
1731
|
+
s0 = peg$c18;
|
|
1491
1732
|
peg$currPos += 3;
|
|
1492
1733
|
}
|
|
1493
1734
|
else {
|
|
1494
1735
|
s0 = peg$FAILED;
|
|
1495
1736
|
if (peg$silentFails === 0) {
|
|
1496
|
-
peg$fail(peg$
|
|
1737
|
+
peg$fail(peg$e22);
|
|
1497
1738
|
}
|
|
1498
1739
|
}
|
|
1499
1740
|
}
|
|
@@ -1503,11 +1744,23 @@ function peg$parse(input, options) {
|
|
|
1503
1744
|
var s0;
|
|
1504
1745
|
s0 = peg$parseBulletListTag();
|
|
1505
1746
|
if (s0 === peg$FAILED) {
|
|
1506
|
-
s0 = peg$
|
|
1747
|
+
s0 = peg$parseSimpleListTag();
|
|
1507
1748
|
if (s0 === peg$FAILED) {
|
|
1508
|
-
s0 = peg$
|
|
1749
|
+
s0 = peg$parseOrderedListTag();
|
|
1509
1750
|
if (s0 === peg$FAILED) {
|
|
1510
|
-
s0 = peg$
|
|
1751
|
+
s0 = peg$parseOrderedListRomanTag();
|
|
1752
|
+
if (s0 === peg$FAILED) {
|
|
1753
|
+
s0 = peg$parseOrderedListRomanLowerTag();
|
|
1754
|
+
if (s0 === peg$FAILED) {
|
|
1755
|
+
s0 = peg$parseLetteredListTag();
|
|
1756
|
+
if (s0 === peg$FAILED) {
|
|
1757
|
+
s0 = peg$parseLetteredListLowerTag();
|
|
1758
|
+
if (s0 === peg$FAILED) {
|
|
1759
|
+
s0 = peg$parseTaskListTag();
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1511
1764
|
}
|
|
1512
1765
|
}
|
|
1513
1766
|
}
|
|
@@ -1548,7 +1801,7 @@ function peg$parse(input, options) {
|
|
|
1548
1801
|
}
|
|
1549
1802
|
if (s0 === peg$FAILED) {
|
|
1550
1803
|
s0 = peg$currPos;
|
|
1551
|
-
s1 = peg$
|
|
1804
|
+
s1 = peg$parseSimpleListContainer();
|
|
1552
1805
|
if (s1 !== peg$FAILED) {
|
|
1553
1806
|
s2 = [];
|
|
1554
1807
|
s3 = peg$parseBulletListLine();
|
|
@@ -1580,7 +1833,7 @@ function peg$parse(input, options) {
|
|
|
1580
1833
|
}
|
|
1581
1834
|
if (s0 === peg$FAILED) {
|
|
1582
1835
|
s0 = peg$currPos;
|
|
1583
|
-
s1 = peg$
|
|
1836
|
+
s1 = peg$parseOrderedListContainer();
|
|
1584
1837
|
if (s1 !== peg$FAILED) {
|
|
1585
1838
|
s2 = [];
|
|
1586
1839
|
s3 = peg$parseBulletListLine();
|
|
@@ -1612,7 +1865,7 @@ function peg$parse(input, options) {
|
|
|
1612
1865
|
}
|
|
1613
1866
|
if (s0 === peg$FAILED) {
|
|
1614
1867
|
s0 = peg$currPos;
|
|
1615
|
-
s1 = peg$
|
|
1868
|
+
s1 = peg$parseOrderedListRomanContainer();
|
|
1616
1869
|
if (s1 !== peg$FAILED) {
|
|
1617
1870
|
s2 = [];
|
|
1618
1871
|
s3 = peg$parseBulletListLine();
|
|
@@ -1642,17 +1895,170 @@ function peg$parse(input, options) {
|
|
|
1642
1895
|
peg$currPos = s0;
|
|
1643
1896
|
s0 = peg$FAILED;
|
|
1644
1897
|
}
|
|
1898
|
+
if (s0 === peg$FAILED) {
|
|
1899
|
+
s0 = peg$currPos;
|
|
1900
|
+
s1 = peg$parseOrderedListRomanLowerContainer();
|
|
1901
|
+
if (s1 !== peg$FAILED) {
|
|
1902
|
+
s2 = [];
|
|
1903
|
+
s3 = peg$parseBulletListLine();
|
|
1904
|
+
if (s3 !== peg$FAILED) {
|
|
1905
|
+
while (s3 !== peg$FAILED) {
|
|
1906
|
+
s2.push(s3);
|
|
1907
|
+
s3 = peg$parseBulletListLine();
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
else {
|
|
1911
|
+
s2 = peg$FAILED;
|
|
1912
|
+
}
|
|
1913
|
+
if (s2 !== peg$FAILED) {
|
|
1914
|
+
s3 = peg$parseNL();
|
|
1915
|
+
if (s3 === peg$FAILED) {
|
|
1916
|
+
s3 = null;
|
|
1917
|
+
}
|
|
1918
|
+
peg$savedPos = s0;
|
|
1919
|
+
s0 = peg$f20(s1, s2);
|
|
1920
|
+
}
|
|
1921
|
+
else {
|
|
1922
|
+
peg$currPos = s0;
|
|
1923
|
+
s0 = peg$FAILED;
|
|
1924
|
+
}
|
|
1925
|
+
}
|
|
1926
|
+
else {
|
|
1927
|
+
peg$currPos = s0;
|
|
1928
|
+
s0 = peg$FAILED;
|
|
1929
|
+
}
|
|
1930
|
+
if (s0 === peg$FAILED) {
|
|
1931
|
+
s0 = peg$currPos;
|
|
1932
|
+
s1 = peg$parseLetteredListContainer();
|
|
1933
|
+
if (s1 !== peg$FAILED) {
|
|
1934
|
+
s2 = [];
|
|
1935
|
+
s3 = peg$parseBulletListLine();
|
|
1936
|
+
if (s3 !== peg$FAILED) {
|
|
1937
|
+
while (s3 !== peg$FAILED) {
|
|
1938
|
+
s2.push(s3);
|
|
1939
|
+
s3 = peg$parseBulletListLine();
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
else {
|
|
1943
|
+
s2 = peg$FAILED;
|
|
1944
|
+
}
|
|
1945
|
+
if (s2 !== peg$FAILED) {
|
|
1946
|
+
s3 = peg$parseNL();
|
|
1947
|
+
if (s3 === peg$FAILED) {
|
|
1948
|
+
s3 = null;
|
|
1949
|
+
}
|
|
1950
|
+
peg$savedPos = s0;
|
|
1951
|
+
s0 = peg$f21(s1, s2);
|
|
1952
|
+
}
|
|
1953
|
+
else {
|
|
1954
|
+
peg$currPos = s0;
|
|
1955
|
+
s0 = peg$FAILED;
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
else {
|
|
1959
|
+
peg$currPos = s0;
|
|
1960
|
+
s0 = peg$FAILED;
|
|
1961
|
+
}
|
|
1962
|
+
if (s0 === peg$FAILED) {
|
|
1963
|
+
s0 = peg$currPos;
|
|
1964
|
+
s1 = peg$parseLetteredListLowerContainer();
|
|
1965
|
+
if (s1 !== peg$FAILED) {
|
|
1966
|
+
s2 = [];
|
|
1967
|
+
s3 = peg$parseBulletListLine();
|
|
1968
|
+
if (s3 !== peg$FAILED) {
|
|
1969
|
+
while (s3 !== peg$FAILED) {
|
|
1970
|
+
s2.push(s3);
|
|
1971
|
+
s3 = peg$parseBulletListLine();
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
else {
|
|
1975
|
+
s2 = peg$FAILED;
|
|
1976
|
+
}
|
|
1977
|
+
if (s2 !== peg$FAILED) {
|
|
1978
|
+
s3 = peg$parseNL();
|
|
1979
|
+
if (s3 === peg$FAILED) {
|
|
1980
|
+
s3 = null;
|
|
1981
|
+
}
|
|
1982
|
+
peg$savedPos = s0;
|
|
1983
|
+
s0 = peg$f22(s1, s2);
|
|
1984
|
+
}
|
|
1985
|
+
else {
|
|
1986
|
+
peg$currPos = s0;
|
|
1987
|
+
s0 = peg$FAILED;
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
else {
|
|
1991
|
+
peg$currPos = s0;
|
|
1992
|
+
s0 = peg$FAILED;
|
|
1993
|
+
}
|
|
1994
|
+
if (s0 === peg$FAILED) {
|
|
1995
|
+
s0 = peg$currPos;
|
|
1996
|
+
s1 = peg$parseTaskListContainer();
|
|
1997
|
+
if (s1 !== peg$FAILED) {
|
|
1998
|
+
s2 = [];
|
|
1999
|
+
s3 = peg$parseBulletListLine();
|
|
2000
|
+
if (s3 !== peg$FAILED) {
|
|
2001
|
+
while (s3 !== peg$FAILED) {
|
|
2002
|
+
s2.push(s3);
|
|
2003
|
+
s3 = peg$parseBulletListLine();
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
else {
|
|
2007
|
+
s2 = peg$FAILED;
|
|
2008
|
+
}
|
|
2009
|
+
if (s2 !== peg$FAILED) {
|
|
2010
|
+
s3 = peg$parseNL();
|
|
2011
|
+
if (s3 === peg$FAILED) {
|
|
2012
|
+
s3 = null;
|
|
2013
|
+
}
|
|
2014
|
+
peg$savedPos = s0;
|
|
2015
|
+
s0 = peg$f23(s1, s2);
|
|
2016
|
+
}
|
|
2017
|
+
else {
|
|
2018
|
+
peg$currPos = s0;
|
|
2019
|
+
s0 = peg$FAILED;
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
else {
|
|
2023
|
+
peg$currPos = s0;
|
|
2024
|
+
s0 = peg$FAILED;
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
1645
2030
|
}
|
|
1646
2031
|
}
|
|
1647
2032
|
}
|
|
1648
2033
|
return s0;
|
|
1649
2034
|
}
|
|
1650
|
-
function peg$parseBulletListContainer() {
|
|
2035
|
+
function peg$parseBulletListContainer() {
|
|
2036
|
+
var s0, s1, s2;
|
|
2037
|
+
s0 = peg$currPos;
|
|
2038
|
+
s1 = peg$currPos;
|
|
2039
|
+
peg$silentFails++;
|
|
2040
|
+
s2 = peg$parseBulletListTag();
|
|
2041
|
+
peg$silentFails--;
|
|
2042
|
+
if (s2 !== peg$FAILED) {
|
|
2043
|
+
peg$currPos = s1;
|
|
2044
|
+
s1 = undefined;
|
|
2045
|
+
}
|
|
2046
|
+
else {
|
|
2047
|
+
s1 = peg$FAILED;
|
|
2048
|
+
}
|
|
2049
|
+
if (s1 !== peg$FAILED) {
|
|
2050
|
+
peg$savedPos = s0;
|
|
2051
|
+
s1 = peg$f24();
|
|
2052
|
+
}
|
|
2053
|
+
s0 = s1;
|
|
2054
|
+
return s0;
|
|
2055
|
+
}
|
|
2056
|
+
function peg$parseSimpleListContainer() {
|
|
1651
2057
|
var s0, s1, s2;
|
|
1652
2058
|
s0 = peg$currPos;
|
|
1653
2059
|
s1 = peg$currPos;
|
|
1654
2060
|
peg$silentFails++;
|
|
1655
|
-
s2 = peg$
|
|
2061
|
+
s2 = peg$parseSimpleListTag();
|
|
1656
2062
|
peg$silentFails--;
|
|
1657
2063
|
if (s2 !== peg$FAILED) {
|
|
1658
2064
|
peg$currPos = s1;
|
|
@@ -1663,7 +2069,7 @@ function peg$parse(input, options) {
|
|
|
1663
2069
|
}
|
|
1664
2070
|
if (s1 !== peg$FAILED) {
|
|
1665
2071
|
peg$savedPos = s0;
|
|
1666
|
-
s1 = peg$
|
|
2072
|
+
s1 = peg$f25();
|
|
1667
2073
|
}
|
|
1668
2074
|
s0 = s1;
|
|
1669
2075
|
return s0;
|
|
@@ -1684,7 +2090,49 @@ function peg$parse(input, options) {
|
|
|
1684
2090
|
}
|
|
1685
2091
|
if (s1 !== peg$FAILED) {
|
|
1686
2092
|
peg$savedPos = s0;
|
|
1687
|
-
s1 = peg$
|
|
2093
|
+
s1 = peg$f26();
|
|
2094
|
+
}
|
|
2095
|
+
s0 = s1;
|
|
2096
|
+
return s0;
|
|
2097
|
+
}
|
|
2098
|
+
function peg$parseOrderedListRomanContainer() {
|
|
2099
|
+
var s0, s1, s2;
|
|
2100
|
+
s0 = peg$currPos;
|
|
2101
|
+
s1 = peg$currPos;
|
|
2102
|
+
peg$silentFails++;
|
|
2103
|
+
s2 = peg$parseOrderedListRomanTag();
|
|
2104
|
+
peg$silentFails--;
|
|
2105
|
+
if (s2 !== peg$FAILED) {
|
|
2106
|
+
peg$currPos = s1;
|
|
2107
|
+
s1 = undefined;
|
|
2108
|
+
}
|
|
2109
|
+
else {
|
|
2110
|
+
s1 = peg$FAILED;
|
|
2111
|
+
}
|
|
2112
|
+
if (s1 !== peg$FAILED) {
|
|
2113
|
+
peg$savedPos = s0;
|
|
2114
|
+
s1 = peg$f27();
|
|
2115
|
+
}
|
|
2116
|
+
s0 = s1;
|
|
2117
|
+
return s0;
|
|
2118
|
+
}
|
|
2119
|
+
function peg$parseOrderedListRomanLowerContainer() {
|
|
2120
|
+
var s0, s1, s2;
|
|
2121
|
+
s0 = peg$currPos;
|
|
2122
|
+
s1 = peg$currPos;
|
|
2123
|
+
peg$silentFails++;
|
|
2124
|
+
s2 = peg$parseOrderedListRomanLowerTag();
|
|
2125
|
+
peg$silentFails--;
|
|
2126
|
+
if (s2 !== peg$FAILED) {
|
|
2127
|
+
peg$currPos = s1;
|
|
2128
|
+
s1 = undefined;
|
|
2129
|
+
}
|
|
2130
|
+
else {
|
|
2131
|
+
s1 = peg$FAILED;
|
|
2132
|
+
}
|
|
2133
|
+
if (s1 !== peg$FAILED) {
|
|
2134
|
+
peg$savedPos = s0;
|
|
2135
|
+
s1 = peg$f28();
|
|
1688
2136
|
}
|
|
1689
2137
|
s0 = s1;
|
|
1690
2138
|
return s0;
|
|
@@ -1705,7 +2153,28 @@ function peg$parse(input, options) {
|
|
|
1705
2153
|
}
|
|
1706
2154
|
if (s1 !== peg$FAILED) {
|
|
1707
2155
|
peg$savedPos = s0;
|
|
1708
|
-
s1 = peg$
|
|
2156
|
+
s1 = peg$f29();
|
|
2157
|
+
}
|
|
2158
|
+
s0 = s1;
|
|
2159
|
+
return s0;
|
|
2160
|
+
}
|
|
2161
|
+
function peg$parseLetteredListLowerContainer() {
|
|
2162
|
+
var s0, s1, s2;
|
|
2163
|
+
s0 = peg$currPos;
|
|
2164
|
+
s1 = peg$currPos;
|
|
2165
|
+
peg$silentFails++;
|
|
2166
|
+
s2 = peg$parseLetteredListLowerTag();
|
|
2167
|
+
peg$silentFails--;
|
|
2168
|
+
if (s2 !== peg$FAILED) {
|
|
2169
|
+
peg$currPos = s1;
|
|
2170
|
+
s1 = undefined;
|
|
2171
|
+
}
|
|
2172
|
+
else {
|
|
2173
|
+
s1 = peg$FAILED;
|
|
2174
|
+
}
|
|
2175
|
+
if (s1 !== peg$FAILED) {
|
|
2176
|
+
peg$savedPos = s0;
|
|
2177
|
+
s1 = peg$f30();
|
|
1709
2178
|
}
|
|
1710
2179
|
s0 = s1;
|
|
1711
2180
|
return s0;
|
|
@@ -1726,7 +2195,7 @@ function peg$parse(input, options) {
|
|
|
1726
2195
|
}
|
|
1727
2196
|
if (s1 !== peg$FAILED) {
|
|
1728
2197
|
peg$savedPos = s0;
|
|
1729
|
-
s1 = peg$
|
|
2198
|
+
s1 = peg$f31();
|
|
1730
2199
|
}
|
|
1731
2200
|
s0 = s1;
|
|
1732
2201
|
return s0;
|
|
@@ -1841,7 +2310,7 @@ function peg$parse(input, options) {
|
|
|
1841
2310
|
s8 = peg$parseDEDENT();
|
|
1842
2311
|
if (s8 !== peg$FAILED) {
|
|
1843
2312
|
peg$savedPos = s5;
|
|
1844
|
-
s5 = peg$
|
|
2313
|
+
s5 = peg$f32(s2, s3, s4, s7);
|
|
1845
2314
|
}
|
|
1846
2315
|
else {
|
|
1847
2316
|
peg$currPos = s5;
|
|
@@ -1856,7 +2325,7 @@ function peg$parse(input, options) {
|
|
|
1856
2325
|
s5 = null;
|
|
1857
2326
|
}
|
|
1858
2327
|
peg$savedPos = s0;
|
|
1859
|
-
s0 = peg$
|
|
2328
|
+
s0 = peg$f33(s2, s3, s4, s5);
|
|
1860
2329
|
}
|
|
1861
2330
|
else {
|
|
1862
2331
|
peg$currPos = s0;
|
|
@@ -2004,7 +2473,7 @@ function peg$parse(input, options) {
|
|
|
2004
2473
|
}
|
|
2005
2474
|
if (s4 !== peg$FAILED) {
|
|
2006
2475
|
peg$savedPos = s0;
|
|
2007
|
-
s0 = peg$
|
|
2476
|
+
s0 = peg$f34(s4);
|
|
2008
2477
|
}
|
|
2009
2478
|
else {
|
|
2010
2479
|
peg$currPos = s0;
|
|
@@ -2070,30 +2539,30 @@ function peg$parse(input, options) {
|
|
|
2070
2539
|
s0 = peg$currPos;
|
|
2071
2540
|
s1 = [];
|
|
2072
2541
|
if (input.charCodeAt(peg$currPos) === 9) {
|
|
2073
|
-
s2 = peg$
|
|
2542
|
+
s2 = peg$c19;
|
|
2074
2543
|
peg$currPos++;
|
|
2075
2544
|
}
|
|
2076
2545
|
else {
|
|
2077
2546
|
s2 = peg$FAILED;
|
|
2078
2547
|
if (peg$silentFails === 0) {
|
|
2079
|
-
peg$fail(peg$
|
|
2548
|
+
peg$fail(peg$e23);
|
|
2080
2549
|
}
|
|
2081
2550
|
}
|
|
2082
2551
|
while (s2 !== peg$FAILED) {
|
|
2083
2552
|
s1.push(s2);
|
|
2084
2553
|
if (input.charCodeAt(peg$currPos) === 9) {
|
|
2085
|
-
s2 = peg$
|
|
2554
|
+
s2 = peg$c19;
|
|
2086
2555
|
peg$currPos++;
|
|
2087
2556
|
}
|
|
2088
2557
|
else {
|
|
2089
2558
|
s2 = peg$FAILED;
|
|
2090
2559
|
if (peg$silentFails === 0) {
|
|
2091
|
-
peg$fail(peg$
|
|
2560
|
+
peg$fail(peg$e23);
|
|
2092
2561
|
}
|
|
2093
2562
|
}
|
|
2094
2563
|
}
|
|
2095
2564
|
peg$savedPos = peg$currPos;
|
|
2096
|
-
s2 = peg$
|
|
2565
|
+
s2 = peg$f35(s1);
|
|
2097
2566
|
if (s2) {
|
|
2098
2567
|
s2 = undefined;
|
|
2099
2568
|
}
|
|
@@ -2117,26 +2586,26 @@ function peg$parse(input, options) {
|
|
|
2117
2586
|
s1 = peg$currPos;
|
|
2118
2587
|
s2 = [];
|
|
2119
2588
|
if (input.charCodeAt(peg$currPos) === 9) {
|
|
2120
|
-
s3 = peg$
|
|
2589
|
+
s3 = peg$c19;
|
|
2121
2590
|
peg$currPos++;
|
|
2122
2591
|
}
|
|
2123
2592
|
else {
|
|
2124
2593
|
s3 = peg$FAILED;
|
|
2125
2594
|
if (peg$silentFails === 0) {
|
|
2126
|
-
peg$fail(peg$
|
|
2595
|
+
peg$fail(peg$e23);
|
|
2127
2596
|
}
|
|
2128
2597
|
}
|
|
2129
2598
|
if (s3 !== peg$FAILED) {
|
|
2130
2599
|
while (s3 !== peg$FAILED) {
|
|
2131
2600
|
s2.push(s3);
|
|
2132
2601
|
if (input.charCodeAt(peg$currPos) === 9) {
|
|
2133
|
-
s3 = peg$
|
|
2602
|
+
s3 = peg$c19;
|
|
2134
2603
|
peg$currPos++;
|
|
2135
2604
|
}
|
|
2136
2605
|
else {
|
|
2137
2606
|
s3 = peg$FAILED;
|
|
2138
2607
|
if (peg$silentFails === 0) {
|
|
2139
|
-
peg$fail(peg$
|
|
2608
|
+
peg$fail(peg$e23);
|
|
2140
2609
|
}
|
|
2141
2610
|
}
|
|
2142
2611
|
}
|
|
@@ -2146,7 +2615,7 @@ function peg$parse(input, options) {
|
|
|
2146
2615
|
}
|
|
2147
2616
|
if (s2 !== peg$FAILED) {
|
|
2148
2617
|
peg$savedPos = peg$currPos;
|
|
2149
|
-
s3 = peg$
|
|
2618
|
+
s3 = peg$f36(s2);
|
|
2150
2619
|
if (s3) {
|
|
2151
2620
|
s3 = undefined;
|
|
2152
2621
|
}
|
|
@@ -2155,7 +2624,7 @@ function peg$parse(input, options) {
|
|
|
2155
2624
|
}
|
|
2156
2625
|
if (s3 !== peg$FAILED) {
|
|
2157
2626
|
peg$savedPos = s1;
|
|
2158
|
-
s1 = peg$
|
|
2627
|
+
s1 = peg$f37(s2);
|
|
2159
2628
|
}
|
|
2160
2629
|
else {
|
|
2161
2630
|
peg$currPos = s1;
|
|
@@ -2179,7 +2648,7 @@ function peg$parse(input, options) {
|
|
|
2179
2648
|
function peg$parseDEDENT() {
|
|
2180
2649
|
var s0;
|
|
2181
2650
|
peg$savedPos = peg$currPos;
|
|
2182
|
-
s0 = peg$
|
|
2651
|
+
s0 = peg$f38();
|
|
2183
2652
|
if (s0) {
|
|
2184
2653
|
s0 = undefined;
|
|
2185
2654
|
}
|
|
@@ -2206,7 +2675,7 @@ function peg$parse(input, options) {
|
|
|
2206
2675
|
s2 = peg$parseParagraphBody();
|
|
2207
2676
|
if (s2 !== peg$FAILED) {
|
|
2208
2677
|
peg$savedPos = s0;
|
|
2209
|
-
s0 = peg$
|
|
2678
|
+
s0 = peg$f39(s2);
|
|
2210
2679
|
}
|
|
2211
2680
|
else {
|
|
2212
2681
|
peg$currPos = s0;
|
|
@@ -2224,7 +2693,7 @@ function peg$parse(input, options) {
|
|
|
2224
2693
|
s2 = peg$parseParagraphBody();
|
|
2225
2694
|
if (s2 !== peg$FAILED) {
|
|
2226
2695
|
peg$savedPos = s0;
|
|
2227
|
-
s0 = peg$
|
|
2696
|
+
s0 = peg$f40(s2);
|
|
2228
2697
|
}
|
|
2229
2698
|
else {
|
|
2230
2699
|
peg$currPos = s0;
|
|
@@ -2241,7 +2710,7 @@ function peg$parse(input, options) {
|
|
|
2241
2710
|
if (s1 !== peg$FAILED) {
|
|
2242
2711
|
s2 = '';
|
|
2243
2712
|
peg$savedPos = s0;
|
|
2244
|
-
s0 = peg$
|
|
2713
|
+
s0 = peg$f41(s2);
|
|
2245
2714
|
}
|
|
2246
2715
|
else {
|
|
2247
2716
|
peg$currPos = s0;
|
|
@@ -2407,14 +2876,14 @@ function peg$parse(input, options) {
|
|
|
2407
2876
|
}
|
|
2408
2877
|
function peg$parseImageType() {
|
|
2409
2878
|
var s0;
|
|
2410
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2411
|
-
s0 = peg$
|
|
2879
|
+
if (input.substr(peg$currPos, 5) === peg$c20) {
|
|
2880
|
+
s0 = peg$c20;
|
|
2412
2881
|
peg$currPos += 5;
|
|
2413
2882
|
}
|
|
2414
2883
|
else {
|
|
2415
2884
|
s0 = peg$FAILED;
|
|
2416
2885
|
if (peg$silentFails === 0) {
|
|
2417
|
-
peg$fail(peg$
|
|
2886
|
+
peg$fail(peg$e24);
|
|
2418
2887
|
}
|
|
2419
2888
|
}
|
|
2420
2889
|
return s0;
|
|
@@ -2427,7 +2896,7 @@ function peg$parse(input, options) {
|
|
|
2427
2896
|
s2 = peg$parseImageType();
|
|
2428
2897
|
if (s2 !== peg$FAILED) {
|
|
2429
2898
|
peg$savedPos = s0;
|
|
2430
|
-
s0 = peg$
|
|
2899
|
+
s0 = peg$f42(s2);
|
|
2431
2900
|
}
|
|
2432
2901
|
else {
|
|
2433
2902
|
peg$currPos = s0;
|
|
@@ -2457,13 +2926,13 @@ function peg$parse(input, options) {
|
|
|
2457
2926
|
}
|
|
2458
2927
|
if (s2 !== peg$FAILED) {
|
|
2459
2928
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
2460
|
-
s3 = peg$
|
|
2929
|
+
s3 = peg$c12;
|
|
2461
2930
|
peg$currPos++;
|
|
2462
2931
|
}
|
|
2463
2932
|
else {
|
|
2464
2933
|
s3 = peg$FAILED;
|
|
2465
2934
|
if (peg$silentFails === 0) {
|
|
2466
|
-
peg$fail(peg$
|
|
2935
|
+
peg$fail(peg$e16);
|
|
2467
2936
|
}
|
|
2468
2937
|
}
|
|
2469
2938
|
if (s3 === peg$FAILED) {
|
|
@@ -2521,7 +2990,7 @@ function peg$parse(input, options) {
|
|
|
2521
2990
|
s8 = null;
|
|
2522
2991
|
}
|
|
2523
2992
|
peg$savedPos = s0;
|
|
2524
|
-
s0 = peg$
|
|
2993
|
+
s0 = peg$f43(s1, s4, s6);
|
|
2525
2994
|
}
|
|
2526
2995
|
else {
|
|
2527
2996
|
peg$currPos = s0;
|
|
@@ -2559,7 +3028,7 @@ function peg$parse(input, options) {
|
|
|
2559
3028
|
s2 = peg$parseMediaChainItem();
|
|
2560
3029
|
}
|
|
2561
3030
|
peg$savedPos = s0;
|
|
2562
|
-
s1 = peg$
|
|
3031
|
+
s1 = peg$f44(s1);
|
|
2563
3032
|
s0 = s1;
|
|
2564
3033
|
return s0;
|
|
2565
3034
|
}
|
|
@@ -2567,13 +3036,13 @@ function peg$parse(input, options) {
|
|
|
2567
3036
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
2568
3037
|
s0 = peg$currPos;
|
|
2569
3038
|
if (input.charCodeAt(peg$currPos) === 35) {
|
|
2570
|
-
s1 = peg$
|
|
3039
|
+
s1 = peg$c21;
|
|
2571
3040
|
peg$currPos++;
|
|
2572
3041
|
}
|
|
2573
3042
|
else {
|
|
2574
3043
|
s1 = peg$FAILED;
|
|
2575
3044
|
if (peg$silentFails === 0) {
|
|
2576
|
-
peg$fail(peg$
|
|
3045
|
+
peg$fail(peg$e25);
|
|
2577
3046
|
}
|
|
2578
3047
|
}
|
|
2579
3048
|
if (s1 !== peg$FAILED) {
|
|
@@ -2640,7 +3109,7 @@ function peg$parse(input, options) {
|
|
|
2640
3109
|
s3 = peg$parseBlockTag();
|
|
2641
3110
|
if (s3 !== peg$FAILED) {
|
|
2642
3111
|
peg$savedPos = s0;
|
|
2643
|
-
s0 = peg$
|
|
3112
|
+
s0 = peg$f45(s2);
|
|
2644
3113
|
}
|
|
2645
3114
|
else {
|
|
2646
3115
|
peg$currPos = s0;
|
|
@@ -2654,13 +3123,13 @@ function peg$parse(input, options) {
|
|
|
2654
3123
|
if (s0 === peg$FAILED) {
|
|
2655
3124
|
s0 = peg$currPos;
|
|
2656
3125
|
if (input.charCodeAt(peg$currPos) === 64) {
|
|
2657
|
-
s1 = peg$
|
|
3126
|
+
s1 = peg$c22;
|
|
2658
3127
|
peg$currPos++;
|
|
2659
3128
|
}
|
|
2660
3129
|
else {
|
|
2661
3130
|
s1 = peg$FAILED;
|
|
2662
3131
|
if (peg$silentFails === 0) {
|
|
2663
|
-
peg$fail(peg$
|
|
3132
|
+
peg$fail(peg$e26);
|
|
2664
3133
|
}
|
|
2665
3134
|
}
|
|
2666
3135
|
if (s1 === peg$FAILED) {
|
|
@@ -2681,25 +3150,25 @@ function peg$parse(input, options) {
|
|
|
2681
3150
|
if (s3 !== peg$FAILED) {
|
|
2682
3151
|
s4 = [];
|
|
2683
3152
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
2684
|
-
s5 = peg$
|
|
3153
|
+
s5 = peg$c12;
|
|
2685
3154
|
peg$currPos++;
|
|
2686
3155
|
}
|
|
2687
3156
|
else {
|
|
2688
3157
|
s5 = peg$FAILED;
|
|
2689
3158
|
if (peg$silentFails === 0) {
|
|
2690
|
-
peg$fail(peg$
|
|
3159
|
+
peg$fail(peg$e16);
|
|
2691
3160
|
}
|
|
2692
3161
|
}
|
|
2693
3162
|
while (s5 !== peg$FAILED) {
|
|
2694
3163
|
s4.push(s5);
|
|
2695
3164
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
2696
|
-
s5 = peg$
|
|
3165
|
+
s5 = peg$c12;
|
|
2697
3166
|
peg$currPos++;
|
|
2698
3167
|
}
|
|
2699
3168
|
else {
|
|
2700
3169
|
s5 = peg$FAILED;
|
|
2701
3170
|
if (peg$silentFails === 0) {
|
|
2702
|
-
peg$fail(peg$
|
|
3171
|
+
peg$fail(peg$e16);
|
|
2703
3172
|
}
|
|
2704
3173
|
}
|
|
2705
3174
|
}
|
|
@@ -2725,7 +3194,7 @@ function peg$parse(input, options) {
|
|
|
2725
3194
|
else {
|
|
2726
3195
|
s9 = peg$FAILED;
|
|
2727
3196
|
if (peg$silentFails === 0) {
|
|
2728
|
-
peg$fail(peg$
|
|
3197
|
+
peg$fail(peg$e15);
|
|
2729
3198
|
}
|
|
2730
3199
|
}
|
|
2731
3200
|
if (s9 !== peg$FAILED) {
|
|
@@ -2764,7 +3233,7 @@ function peg$parse(input, options) {
|
|
|
2764
3233
|
else {
|
|
2765
3234
|
s9 = peg$FAILED;
|
|
2766
3235
|
if (peg$silentFails === 0) {
|
|
2767
|
-
peg$fail(peg$
|
|
3236
|
+
peg$fail(peg$e15);
|
|
2768
3237
|
}
|
|
2769
3238
|
}
|
|
2770
3239
|
if (s9 !== peg$FAILED) {
|
|
@@ -2795,7 +3264,7 @@ function peg$parse(input, options) {
|
|
|
2795
3264
|
s6 = peg$parseBlockTag();
|
|
2796
3265
|
if (s6 !== peg$FAILED) {
|
|
2797
3266
|
peg$savedPos = s0;
|
|
2798
|
-
s0 = peg$
|
|
3267
|
+
s0 = peg$f46(s2, s5);
|
|
2799
3268
|
}
|
|
2800
3269
|
else {
|
|
2801
3270
|
peg$currPos = s0;
|
|
@@ -2819,13 +3288,13 @@ function peg$parse(input, options) {
|
|
|
2819
3288
|
if (s0 === peg$FAILED) {
|
|
2820
3289
|
s0 = peg$currPos;
|
|
2821
3290
|
if (input.charCodeAt(peg$currPos) === 64) {
|
|
2822
|
-
s1 = peg$
|
|
3291
|
+
s1 = peg$c22;
|
|
2823
3292
|
peg$currPos++;
|
|
2824
3293
|
}
|
|
2825
3294
|
else {
|
|
2826
3295
|
s1 = peg$FAILED;
|
|
2827
3296
|
if (peg$silentFails === 0) {
|
|
2828
|
-
peg$fail(peg$
|
|
3297
|
+
peg$fail(peg$e26);
|
|
2829
3298
|
}
|
|
2830
3299
|
}
|
|
2831
3300
|
if (s1 === peg$FAILED) {
|
|
@@ -2846,25 +3315,25 @@ function peg$parse(input, options) {
|
|
|
2846
3315
|
if (s3 !== peg$FAILED) {
|
|
2847
3316
|
s4 = [];
|
|
2848
3317
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
2849
|
-
s5 = peg$
|
|
3318
|
+
s5 = peg$c12;
|
|
2850
3319
|
peg$currPos++;
|
|
2851
3320
|
}
|
|
2852
3321
|
else {
|
|
2853
3322
|
s5 = peg$FAILED;
|
|
2854
3323
|
if (peg$silentFails === 0) {
|
|
2855
|
-
peg$fail(peg$
|
|
3324
|
+
peg$fail(peg$e16);
|
|
2856
3325
|
}
|
|
2857
3326
|
}
|
|
2858
3327
|
while (s5 !== peg$FAILED) {
|
|
2859
3328
|
s4.push(s5);
|
|
2860
3329
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
2861
|
-
s5 = peg$
|
|
3330
|
+
s5 = peg$c12;
|
|
2862
3331
|
peg$currPos++;
|
|
2863
3332
|
}
|
|
2864
3333
|
else {
|
|
2865
3334
|
s5 = peg$FAILED;
|
|
2866
3335
|
if (peg$silentFails === 0) {
|
|
2867
|
-
peg$fail(peg$
|
|
3336
|
+
peg$fail(peg$e16);
|
|
2868
3337
|
}
|
|
2869
3338
|
}
|
|
2870
3339
|
}
|
|
@@ -2931,7 +3400,7 @@ function peg$parse(input, options) {
|
|
|
2931
3400
|
s6 = peg$parseBlockTag();
|
|
2932
3401
|
if (s6 !== peg$FAILED) {
|
|
2933
3402
|
peg$savedPos = s0;
|
|
2934
|
-
s0 = peg$
|
|
3403
|
+
s0 = peg$f47(s2, s5);
|
|
2935
3404
|
}
|
|
2936
3405
|
else {
|
|
2937
3406
|
peg$currPos = s0;
|
|
@@ -2950,13 +3419,13 @@ function peg$parse(input, options) {
|
|
|
2950
3419
|
if (s0 === peg$FAILED) {
|
|
2951
3420
|
s0 = peg$currPos;
|
|
2952
3421
|
if (input.charCodeAt(peg$currPos) === 64) {
|
|
2953
|
-
s1 = peg$
|
|
3422
|
+
s1 = peg$c22;
|
|
2954
3423
|
peg$currPos++;
|
|
2955
3424
|
}
|
|
2956
3425
|
else {
|
|
2957
3426
|
s1 = peg$FAILED;
|
|
2958
3427
|
if (peg$silentFails === 0) {
|
|
2959
|
-
peg$fail(peg$
|
|
3428
|
+
peg$fail(peg$e26);
|
|
2960
3429
|
}
|
|
2961
3430
|
}
|
|
2962
3431
|
if (s1 === peg$FAILED) {
|
|
@@ -2977,25 +3446,25 @@ function peg$parse(input, options) {
|
|
|
2977
3446
|
if (s3 !== peg$FAILED) {
|
|
2978
3447
|
s4 = [];
|
|
2979
3448
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
2980
|
-
s5 = peg$
|
|
3449
|
+
s5 = peg$c12;
|
|
2981
3450
|
peg$currPos++;
|
|
2982
3451
|
}
|
|
2983
3452
|
else {
|
|
2984
3453
|
s5 = peg$FAILED;
|
|
2985
3454
|
if (peg$silentFails === 0) {
|
|
2986
|
-
peg$fail(peg$
|
|
3455
|
+
peg$fail(peg$e16);
|
|
2987
3456
|
}
|
|
2988
3457
|
}
|
|
2989
3458
|
while (s5 !== peg$FAILED) {
|
|
2990
3459
|
s4.push(s5);
|
|
2991
3460
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
2992
|
-
s5 = peg$
|
|
3461
|
+
s5 = peg$c12;
|
|
2993
3462
|
peg$currPos++;
|
|
2994
3463
|
}
|
|
2995
3464
|
else {
|
|
2996
3465
|
s5 = peg$FAILED;
|
|
2997
3466
|
if (peg$silentFails === 0) {
|
|
2998
|
-
peg$fail(peg$
|
|
3467
|
+
peg$fail(peg$e16);
|
|
2999
3468
|
}
|
|
3000
3469
|
}
|
|
3001
3470
|
}
|
|
@@ -3004,7 +3473,7 @@ function peg$parse(input, options) {
|
|
|
3004
3473
|
s6 = peg$parseBlockTag();
|
|
3005
3474
|
if (s6 !== peg$FAILED) {
|
|
3006
3475
|
peg$savedPos = s0;
|
|
3007
|
-
s0 = peg$
|
|
3476
|
+
s0 = peg$f48(s2, s5);
|
|
3008
3477
|
}
|
|
3009
3478
|
else {
|
|
3010
3479
|
peg$currPos = s0;
|
|
@@ -3028,13 +3497,13 @@ function peg$parse(input, options) {
|
|
|
3028
3497
|
if (s0 === peg$FAILED) {
|
|
3029
3498
|
s0 = peg$currPos;
|
|
3030
3499
|
if (input.charCodeAt(peg$currPos) === 64) {
|
|
3031
|
-
s1 = peg$
|
|
3500
|
+
s1 = peg$c22;
|
|
3032
3501
|
peg$currPos++;
|
|
3033
3502
|
}
|
|
3034
3503
|
else {
|
|
3035
3504
|
s1 = peg$FAILED;
|
|
3036
3505
|
if (peg$silentFails === 0) {
|
|
3037
|
-
peg$fail(peg$
|
|
3506
|
+
peg$fail(peg$e26);
|
|
3038
3507
|
}
|
|
3039
3508
|
}
|
|
3040
3509
|
if (s1 === peg$FAILED) {
|
|
@@ -3052,7 +3521,7 @@ function peg$parse(input, options) {
|
|
|
3052
3521
|
else {
|
|
3053
3522
|
s6 = peg$FAILED;
|
|
3054
3523
|
if (peg$silentFails === 0) {
|
|
3055
|
-
peg$fail(peg$
|
|
3524
|
+
peg$fail(peg$e27);
|
|
3056
3525
|
}
|
|
3057
3526
|
}
|
|
3058
3527
|
if (s6 === peg$FAILED) {
|
|
@@ -3118,7 +3587,7 @@ function peg$parse(input, options) {
|
|
|
3118
3587
|
else {
|
|
3119
3588
|
s6 = peg$FAILED;
|
|
3120
3589
|
if (peg$silentFails === 0) {
|
|
3121
|
-
peg$fail(peg$
|
|
3590
|
+
peg$fail(peg$e27);
|
|
3122
3591
|
}
|
|
3123
3592
|
}
|
|
3124
3593
|
if (s6 === peg$FAILED) {
|
|
@@ -3186,13 +3655,13 @@ function peg$parse(input, options) {
|
|
|
3186
3655
|
}
|
|
3187
3656
|
if (s3 !== peg$FAILED) {
|
|
3188
3657
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
3189
|
-
s4 = peg$
|
|
3658
|
+
s4 = peg$c12;
|
|
3190
3659
|
peg$currPos++;
|
|
3191
3660
|
}
|
|
3192
3661
|
else {
|
|
3193
3662
|
s4 = peg$FAILED;
|
|
3194
3663
|
if (peg$silentFails === 0) {
|
|
3195
|
-
peg$fail(peg$
|
|
3664
|
+
peg$fail(peg$e16);
|
|
3196
3665
|
}
|
|
3197
3666
|
}
|
|
3198
3667
|
if (s4 === peg$FAILED) {
|
|
@@ -3261,7 +3730,7 @@ function peg$parse(input, options) {
|
|
|
3261
3730
|
s6 = peg$parseBlockTag();
|
|
3262
3731
|
if (s6 !== peg$FAILED) {
|
|
3263
3732
|
peg$savedPos = s0;
|
|
3264
|
-
s0 = peg$
|
|
3733
|
+
s0 = peg$f49(s2, s5);
|
|
3265
3734
|
}
|
|
3266
3735
|
else {
|
|
3267
3736
|
peg$currPos = s0;
|
|
@@ -3275,13 +3744,13 @@ function peg$parse(input, options) {
|
|
|
3275
3744
|
if (s0 === peg$FAILED) {
|
|
3276
3745
|
s0 = peg$currPos;
|
|
3277
3746
|
if (input.charCodeAt(peg$currPos) === 64) {
|
|
3278
|
-
s1 = peg$
|
|
3747
|
+
s1 = peg$c22;
|
|
3279
3748
|
peg$currPos++;
|
|
3280
3749
|
}
|
|
3281
3750
|
else {
|
|
3282
3751
|
s1 = peg$FAILED;
|
|
3283
3752
|
if (peg$silentFails === 0) {
|
|
3284
|
-
peg$fail(peg$
|
|
3753
|
+
peg$fail(peg$e26);
|
|
3285
3754
|
}
|
|
3286
3755
|
}
|
|
3287
3756
|
if (s1 === peg$FAILED) {
|
|
@@ -3406,7 +3875,7 @@ function peg$parse(input, options) {
|
|
|
3406
3875
|
s3 = peg$parseBlockTag();
|
|
3407
3876
|
if (s3 !== peg$FAILED) {
|
|
3408
3877
|
peg$savedPos = s0;
|
|
3409
|
-
s0 = peg$
|
|
3878
|
+
s0 = peg$f50(s2);
|
|
3410
3879
|
}
|
|
3411
3880
|
else {
|
|
3412
3881
|
peg$currPos = s0;
|
|
@@ -3421,25 +3890,25 @@ function peg$parse(input, options) {
|
|
|
3421
3890
|
}
|
|
3422
3891
|
function peg$parseMediaSizeTags() {
|
|
3423
3892
|
var s0;
|
|
3424
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
3425
|
-
s0 = peg$
|
|
3893
|
+
if (input.substr(peg$currPos, 5) === peg$c23) {
|
|
3894
|
+
s0 = peg$c23;
|
|
3426
3895
|
peg$currPos += 5;
|
|
3427
3896
|
}
|
|
3428
3897
|
else {
|
|
3429
3898
|
s0 = peg$FAILED;
|
|
3430
3899
|
if (peg$silentFails === 0) {
|
|
3431
|
-
peg$fail(peg$
|
|
3900
|
+
peg$fail(peg$e28);
|
|
3432
3901
|
}
|
|
3433
3902
|
}
|
|
3434
3903
|
if (s0 === peg$FAILED) {
|
|
3435
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
3436
|
-
s0 = peg$
|
|
3904
|
+
if (input.substr(peg$currPos, 6) === peg$c24) {
|
|
3905
|
+
s0 = peg$c24;
|
|
3437
3906
|
peg$currPos += 6;
|
|
3438
3907
|
}
|
|
3439
3908
|
else {
|
|
3440
3909
|
s0 = peg$FAILED;
|
|
3441
3910
|
if (peg$silentFails === 0) {
|
|
3442
|
-
peg$fail(peg$
|
|
3911
|
+
peg$fail(peg$e29);
|
|
3443
3912
|
}
|
|
3444
3913
|
}
|
|
3445
3914
|
}
|
|
@@ -3447,25 +3916,25 @@ function peg$parse(input, options) {
|
|
|
3447
3916
|
}
|
|
3448
3917
|
function peg$parseAlignmentTags() {
|
|
3449
3918
|
var s0;
|
|
3450
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
3451
|
-
s0 = peg$
|
|
3919
|
+
if (input.substr(peg$currPos, 9) === peg$c25) {
|
|
3920
|
+
s0 = peg$c25;
|
|
3452
3921
|
peg$currPos += 9;
|
|
3453
3922
|
}
|
|
3454
3923
|
else {
|
|
3455
3924
|
s0 = peg$FAILED;
|
|
3456
3925
|
if (peg$silentFails === 0) {
|
|
3457
|
-
peg$fail(peg$
|
|
3926
|
+
peg$fail(peg$e30);
|
|
3458
3927
|
}
|
|
3459
3928
|
}
|
|
3460
3929
|
if (s0 === peg$FAILED) {
|
|
3461
|
-
if (input.substr(peg$currPos, 12) === peg$
|
|
3462
|
-
s0 = peg$
|
|
3930
|
+
if (input.substr(peg$currPos, 12) === peg$c26) {
|
|
3931
|
+
s0 = peg$c26;
|
|
3463
3932
|
peg$currPos += 12;
|
|
3464
3933
|
}
|
|
3465
3934
|
else {
|
|
3466
3935
|
s0 = peg$FAILED;
|
|
3467
3936
|
if (peg$silentFails === 0) {
|
|
3468
|
-
peg$fail(peg$
|
|
3937
|
+
peg$fail(peg$e31);
|
|
3469
3938
|
}
|
|
3470
3939
|
}
|
|
3471
3940
|
}
|
|
@@ -3473,36 +3942,36 @@ function peg$parse(input, options) {
|
|
|
3473
3942
|
}
|
|
3474
3943
|
function peg$parseAlignment() {
|
|
3475
3944
|
var s0;
|
|
3476
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3477
|
-
s0 = peg$
|
|
3945
|
+
if (input.substr(peg$currPos, 4) === peg$c27) {
|
|
3946
|
+
s0 = peg$c27;
|
|
3478
3947
|
peg$currPos += 4;
|
|
3479
3948
|
}
|
|
3480
3949
|
else {
|
|
3481
3950
|
s0 = peg$FAILED;
|
|
3482
3951
|
if (peg$silentFails === 0) {
|
|
3483
|
-
peg$fail(peg$
|
|
3952
|
+
peg$fail(peg$e32);
|
|
3484
3953
|
}
|
|
3485
3954
|
}
|
|
3486
3955
|
if (s0 === peg$FAILED) {
|
|
3487
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
3488
|
-
s0 = peg$
|
|
3956
|
+
if (input.substr(peg$currPos, 6) === peg$c28) {
|
|
3957
|
+
s0 = peg$c28;
|
|
3489
3958
|
peg$currPos += 6;
|
|
3490
3959
|
}
|
|
3491
3960
|
else {
|
|
3492
3961
|
s0 = peg$FAILED;
|
|
3493
3962
|
if (peg$silentFails === 0) {
|
|
3494
|
-
peg$fail(peg$
|
|
3963
|
+
peg$fail(peg$e33);
|
|
3495
3964
|
}
|
|
3496
3965
|
}
|
|
3497
3966
|
if (s0 === peg$FAILED) {
|
|
3498
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
3499
|
-
s0 = peg$
|
|
3967
|
+
if (input.substr(peg$currPos, 5) === peg$c29) {
|
|
3968
|
+
s0 = peg$c29;
|
|
3500
3969
|
peg$currPos += 5;
|
|
3501
3970
|
}
|
|
3502
3971
|
else {
|
|
3503
3972
|
s0 = peg$FAILED;
|
|
3504
3973
|
if (peg$silentFails === 0) {
|
|
3505
|
-
peg$fail(peg$
|
|
3974
|
+
peg$fail(peg$e34);
|
|
3506
3975
|
}
|
|
3507
3976
|
}
|
|
3508
3977
|
}
|
|
@@ -3515,7 +3984,7 @@ function peg$parse(input, options) {
|
|
|
3515
3984
|
s0 = peg$currPos;
|
|
3516
3985
|
s1 = peg$parseInlineTags();
|
|
3517
3986
|
peg$savedPos = s0;
|
|
3518
|
-
s1 = peg$
|
|
3987
|
+
s1 = peg$f51(s1);
|
|
3519
3988
|
s0 = s1;
|
|
3520
3989
|
peg$silentFails--;
|
|
3521
3990
|
s1 = peg$FAILED;
|
|
@@ -3531,7 +4000,7 @@ function peg$parse(input, options) {
|
|
|
3531
4000
|
peg$silentFails--;
|
|
3532
4001
|
s1 = peg$FAILED;
|
|
3533
4002
|
if (peg$silentFails === 0) {
|
|
3534
|
-
peg$fail(peg$
|
|
4003
|
+
peg$fail(peg$e35);
|
|
3535
4004
|
}
|
|
3536
4005
|
return s0;
|
|
3537
4006
|
}
|
|
@@ -3555,7 +4024,7 @@ function peg$parse(input, options) {
|
|
|
3555
4024
|
}
|
|
3556
4025
|
}
|
|
3557
4026
|
peg$savedPos = s0;
|
|
3558
|
-
s0 = peg$
|
|
4027
|
+
s0 = peg$f52(s1, s2);
|
|
3559
4028
|
return s0;
|
|
3560
4029
|
}
|
|
3561
4030
|
function peg$parseInlinePlainText() {
|
|
@@ -3564,7 +4033,7 @@ function peg$parse(input, options) {
|
|
|
3564
4033
|
s1 = peg$parseNL();
|
|
3565
4034
|
if (s1 !== peg$FAILED) {
|
|
3566
4035
|
peg$savedPos = s0;
|
|
3567
|
-
s1 = peg$
|
|
4036
|
+
s1 = peg$f53();
|
|
3568
4037
|
}
|
|
3569
4038
|
s0 = s1;
|
|
3570
4039
|
if (s0 === peg$FAILED) {
|
|
@@ -3707,7 +4176,7 @@ function peg$parse(input, options) {
|
|
|
3707
4176
|
}
|
|
3708
4177
|
if (s1 !== peg$FAILED) {
|
|
3709
4178
|
peg$savedPos = s0;
|
|
3710
|
-
s1 = peg$
|
|
4179
|
+
s1 = peg$f54(s1);
|
|
3711
4180
|
}
|
|
3712
4181
|
s0 = s1;
|
|
3713
4182
|
}
|
|
@@ -3716,27 +4185,27 @@ function peg$parse(input, options) {
|
|
|
3716
4185
|
function peg$parseInlineHalfTag() {
|
|
3717
4186
|
var s0;
|
|
3718
4187
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
3719
|
-
s0 = peg$
|
|
4188
|
+
s0 = peg$c30;
|
|
3720
4189
|
peg$currPos++;
|
|
3721
4190
|
}
|
|
3722
4191
|
else {
|
|
3723
4192
|
s0 = peg$FAILED;
|
|
3724
4193
|
if (peg$silentFails === 0) {
|
|
3725
|
-
peg$fail(peg$
|
|
4194
|
+
peg$fail(peg$e36);
|
|
3726
4195
|
}
|
|
3727
4196
|
}
|
|
3728
4197
|
return s0;
|
|
3729
4198
|
}
|
|
3730
4199
|
function peg$parseInlineLaTexHalfTag() {
|
|
3731
4200
|
var s0;
|
|
3732
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3733
|
-
s0 = peg$
|
|
4201
|
+
if (input.substr(peg$currPos, 2) === peg$c31) {
|
|
4202
|
+
s0 = peg$c31;
|
|
3734
4203
|
peg$currPos += 2;
|
|
3735
4204
|
}
|
|
3736
4205
|
else {
|
|
3737
4206
|
s0 = peg$FAILED;
|
|
3738
4207
|
if (peg$silentFails === 0) {
|
|
3739
|
-
peg$fail(peg$
|
|
4208
|
+
peg$fail(peg$e37);
|
|
3740
4209
|
}
|
|
3741
4210
|
}
|
|
3742
4211
|
return s0;
|
|
@@ -3797,7 +4266,7 @@ function peg$parse(input, options) {
|
|
|
3797
4266
|
else {
|
|
3798
4267
|
s4 = peg$FAILED;
|
|
3799
4268
|
if (peg$silentFails === 0) {
|
|
3800
|
-
peg$fail(peg$
|
|
4269
|
+
peg$fail(peg$e15);
|
|
3801
4270
|
}
|
|
3802
4271
|
}
|
|
3803
4272
|
if (s4 !== peg$FAILED) {
|
|
@@ -3810,7 +4279,7 @@ function peg$parse(input, options) {
|
|
|
3810
4279
|
else {
|
|
3811
4280
|
s4 = peg$FAILED;
|
|
3812
4281
|
if (peg$silentFails === 0) {
|
|
3813
|
-
peg$fail(peg$
|
|
4282
|
+
peg$fail(peg$e15);
|
|
3814
4283
|
}
|
|
3815
4284
|
}
|
|
3816
4285
|
}
|
|
@@ -3828,7 +4297,7 @@ function peg$parse(input, options) {
|
|
|
3828
4297
|
s3 = peg$parseBodyBitCloseTag();
|
|
3829
4298
|
if (s3 !== peg$FAILED) {
|
|
3830
4299
|
peg$savedPos = s0;
|
|
3831
|
-
s0 = peg$
|
|
4300
|
+
s0 = peg$f55(s2);
|
|
3832
4301
|
}
|
|
3833
4302
|
else {
|
|
3834
4303
|
peg$currPos = s0;
|
|
@@ -3849,13 +4318,13 @@ function peg$parse(input, options) {
|
|
|
3849
4318
|
s1 = peg$parseInlineTag();
|
|
3850
4319
|
if (s1 !== peg$FAILED) {
|
|
3851
4320
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
3852
|
-
s2 = peg$
|
|
4321
|
+
s2 = peg$c12;
|
|
3853
4322
|
peg$currPos++;
|
|
3854
4323
|
}
|
|
3855
4324
|
else {
|
|
3856
4325
|
s2 = peg$FAILED;
|
|
3857
4326
|
if (peg$silentFails === 0) {
|
|
3858
|
-
peg$fail(peg$
|
|
4327
|
+
peg$fail(peg$e16);
|
|
3859
4328
|
}
|
|
3860
4329
|
}
|
|
3861
4330
|
if (s2 === peg$FAILED) {
|
|
@@ -3868,13 +4337,13 @@ function peg$parse(input, options) {
|
|
|
3868
4337
|
peg$silentFails++;
|
|
3869
4338
|
s7 = peg$currPos;
|
|
3870
4339
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
3871
|
-
s8 = peg$
|
|
4340
|
+
s8 = peg$c12;
|
|
3872
4341
|
peg$currPos++;
|
|
3873
4342
|
}
|
|
3874
4343
|
else {
|
|
3875
4344
|
s8 = peg$FAILED;
|
|
3876
4345
|
if (peg$silentFails === 0) {
|
|
3877
|
-
peg$fail(peg$
|
|
4346
|
+
peg$fail(peg$e16);
|
|
3878
4347
|
}
|
|
3879
4348
|
}
|
|
3880
4349
|
if (s8 === peg$FAILED) {
|
|
@@ -3928,13 +4397,13 @@ function peg$parse(input, options) {
|
|
|
3928
4397
|
peg$silentFails++;
|
|
3929
4398
|
s7 = peg$currPos;
|
|
3930
4399
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
3931
|
-
s8 = peg$
|
|
4400
|
+
s8 = peg$c12;
|
|
3932
4401
|
peg$currPos++;
|
|
3933
4402
|
}
|
|
3934
4403
|
else {
|
|
3935
4404
|
s8 = peg$FAILED;
|
|
3936
4405
|
if (peg$silentFails === 0) {
|
|
3937
|
-
peg$fail(peg$
|
|
4406
|
+
peg$fail(peg$e16);
|
|
3938
4407
|
}
|
|
3939
4408
|
}
|
|
3940
4409
|
if (s8 === peg$FAILED) {
|
|
@@ -3984,13 +4453,13 @@ function peg$parse(input, options) {
|
|
|
3984
4453
|
}
|
|
3985
4454
|
s3 = input.substring(s3, peg$currPos);
|
|
3986
4455
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
3987
|
-
s4 = peg$
|
|
4456
|
+
s4 = peg$c12;
|
|
3988
4457
|
peg$currPos++;
|
|
3989
4458
|
}
|
|
3990
4459
|
else {
|
|
3991
4460
|
s4 = peg$FAILED;
|
|
3992
4461
|
if (peg$silentFails === 0) {
|
|
3993
|
-
peg$fail(peg$
|
|
4462
|
+
peg$fail(peg$e16);
|
|
3994
4463
|
}
|
|
3995
4464
|
}
|
|
3996
4465
|
if (s4 === peg$FAILED) {
|
|
@@ -4001,7 +4470,7 @@ function peg$parse(input, options) {
|
|
|
4001
4470
|
s6 = peg$parseAttrChain();
|
|
4002
4471
|
if (s6 !== peg$FAILED) {
|
|
4003
4472
|
peg$savedPos = s0;
|
|
4004
|
-
s0 = peg$
|
|
4473
|
+
s0 = peg$f56(s3, s6);
|
|
4005
4474
|
}
|
|
4006
4475
|
else {
|
|
4007
4476
|
peg$currPos = s0;
|
|
@@ -4022,13 +4491,13 @@ function peg$parse(input, options) {
|
|
|
4022
4491
|
s1 = peg$parseBoldTag();
|
|
4023
4492
|
if (s1 !== peg$FAILED) {
|
|
4024
4493
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4025
|
-
s2 = peg$
|
|
4494
|
+
s2 = peg$c12;
|
|
4026
4495
|
peg$currPos++;
|
|
4027
4496
|
}
|
|
4028
4497
|
else {
|
|
4029
4498
|
s2 = peg$FAILED;
|
|
4030
4499
|
if (peg$silentFails === 0) {
|
|
4031
|
-
peg$fail(peg$
|
|
4500
|
+
peg$fail(peg$e16);
|
|
4032
4501
|
}
|
|
4033
4502
|
}
|
|
4034
4503
|
if (s2 === peg$FAILED) {
|
|
@@ -4041,13 +4510,13 @@ function peg$parse(input, options) {
|
|
|
4041
4510
|
peg$silentFails++;
|
|
4042
4511
|
s7 = peg$currPos;
|
|
4043
4512
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4044
|
-
s8 = peg$
|
|
4513
|
+
s8 = peg$c12;
|
|
4045
4514
|
peg$currPos++;
|
|
4046
4515
|
}
|
|
4047
4516
|
else {
|
|
4048
4517
|
s8 = peg$FAILED;
|
|
4049
4518
|
if (peg$silentFails === 0) {
|
|
4050
|
-
peg$fail(peg$
|
|
4519
|
+
peg$fail(peg$e16);
|
|
4051
4520
|
}
|
|
4052
4521
|
}
|
|
4053
4522
|
if (s8 === peg$FAILED) {
|
|
@@ -4101,13 +4570,13 @@ function peg$parse(input, options) {
|
|
|
4101
4570
|
peg$silentFails++;
|
|
4102
4571
|
s7 = peg$currPos;
|
|
4103
4572
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4104
|
-
s8 = peg$
|
|
4573
|
+
s8 = peg$c12;
|
|
4105
4574
|
peg$currPos++;
|
|
4106
4575
|
}
|
|
4107
4576
|
else {
|
|
4108
4577
|
s8 = peg$FAILED;
|
|
4109
4578
|
if (peg$silentFails === 0) {
|
|
4110
|
-
peg$fail(peg$
|
|
4579
|
+
peg$fail(peg$e16);
|
|
4111
4580
|
}
|
|
4112
4581
|
}
|
|
4113
4582
|
if (s8 === peg$FAILED) {
|
|
@@ -4157,13 +4626,13 @@ function peg$parse(input, options) {
|
|
|
4157
4626
|
}
|
|
4158
4627
|
s3 = input.substring(s3, peg$currPos);
|
|
4159
4628
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4160
|
-
s4 = peg$
|
|
4629
|
+
s4 = peg$c12;
|
|
4161
4630
|
peg$currPos++;
|
|
4162
4631
|
}
|
|
4163
4632
|
else {
|
|
4164
4633
|
s4 = peg$FAILED;
|
|
4165
4634
|
if (peg$silentFails === 0) {
|
|
4166
|
-
peg$fail(peg$
|
|
4635
|
+
peg$fail(peg$e16);
|
|
4167
4636
|
}
|
|
4168
4637
|
}
|
|
4169
4638
|
if (s4 === peg$FAILED) {
|
|
@@ -4172,7 +4641,7 @@ function peg$parse(input, options) {
|
|
|
4172
4641
|
s5 = peg$parseBoldTag();
|
|
4173
4642
|
if (s5 !== peg$FAILED) {
|
|
4174
4643
|
peg$savedPos = s0;
|
|
4175
|
-
s0 = peg$
|
|
4644
|
+
s0 = peg$f57(s3);
|
|
4176
4645
|
}
|
|
4177
4646
|
else {
|
|
4178
4647
|
peg$currPos = s0;
|
|
@@ -4188,13 +4657,13 @@ function peg$parse(input, options) {
|
|
|
4188
4657
|
s1 = peg$parseItalicTag();
|
|
4189
4658
|
if (s1 !== peg$FAILED) {
|
|
4190
4659
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4191
|
-
s2 = peg$
|
|
4660
|
+
s2 = peg$c12;
|
|
4192
4661
|
peg$currPos++;
|
|
4193
4662
|
}
|
|
4194
4663
|
else {
|
|
4195
4664
|
s2 = peg$FAILED;
|
|
4196
4665
|
if (peg$silentFails === 0) {
|
|
4197
|
-
peg$fail(peg$
|
|
4666
|
+
peg$fail(peg$e16);
|
|
4198
4667
|
}
|
|
4199
4668
|
}
|
|
4200
4669
|
if (s2 === peg$FAILED) {
|
|
@@ -4207,13 +4676,13 @@ function peg$parse(input, options) {
|
|
|
4207
4676
|
peg$silentFails++;
|
|
4208
4677
|
s7 = peg$currPos;
|
|
4209
4678
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4210
|
-
s8 = peg$
|
|
4679
|
+
s8 = peg$c12;
|
|
4211
4680
|
peg$currPos++;
|
|
4212
4681
|
}
|
|
4213
4682
|
else {
|
|
4214
4683
|
s8 = peg$FAILED;
|
|
4215
4684
|
if (peg$silentFails === 0) {
|
|
4216
|
-
peg$fail(peg$
|
|
4685
|
+
peg$fail(peg$e16);
|
|
4217
4686
|
}
|
|
4218
4687
|
}
|
|
4219
4688
|
if (s8 === peg$FAILED) {
|
|
@@ -4267,13 +4736,13 @@ function peg$parse(input, options) {
|
|
|
4267
4736
|
peg$silentFails++;
|
|
4268
4737
|
s7 = peg$currPos;
|
|
4269
4738
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4270
|
-
s8 = peg$
|
|
4739
|
+
s8 = peg$c12;
|
|
4271
4740
|
peg$currPos++;
|
|
4272
4741
|
}
|
|
4273
4742
|
else {
|
|
4274
4743
|
s8 = peg$FAILED;
|
|
4275
4744
|
if (peg$silentFails === 0) {
|
|
4276
|
-
peg$fail(peg$
|
|
4745
|
+
peg$fail(peg$e16);
|
|
4277
4746
|
}
|
|
4278
4747
|
}
|
|
4279
4748
|
if (s8 === peg$FAILED) {
|
|
@@ -4323,13 +4792,13 @@ function peg$parse(input, options) {
|
|
|
4323
4792
|
}
|
|
4324
4793
|
s3 = input.substring(s3, peg$currPos);
|
|
4325
4794
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4326
|
-
s4 = peg$
|
|
4795
|
+
s4 = peg$c12;
|
|
4327
4796
|
peg$currPos++;
|
|
4328
4797
|
}
|
|
4329
4798
|
else {
|
|
4330
4799
|
s4 = peg$FAILED;
|
|
4331
4800
|
if (peg$silentFails === 0) {
|
|
4332
|
-
peg$fail(peg$
|
|
4801
|
+
peg$fail(peg$e16);
|
|
4333
4802
|
}
|
|
4334
4803
|
}
|
|
4335
4804
|
if (s4 === peg$FAILED) {
|
|
@@ -4338,7 +4807,7 @@ function peg$parse(input, options) {
|
|
|
4338
4807
|
s5 = peg$parseItalicTag();
|
|
4339
4808
|
if (s5 !== peg$FAILED) {
|
|
4340
4809
|
peg$savedPos = s0;
|
|
4341
|
-
s0 = peg$
|
|
4810
|
+
s0 = peg$f58(s3);
|
|
4342
4811
|
}
|
|
4343
4812
|
else {
|
|
4344
4813
|
peg$currPos = s0;
|
|
@@ -4354,13 +4823,13 @@ function peg$parse(input, options) {
|
|
|
4354
4823
|
s1 = peg$parseLightTag();
|
|
4355
4824
|
if (s1 !== peg$FAILED) {
|
|
4356
4825
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4357
|
-
s2 = peg$
|
|
4826
|
+
s2 = peg$c12;
|
|
4358
4827
|
peg$currPos++;
|
|
4359
4828
|
}
|
|
4360
4829
|
else {
|
|
4361
4830
|
s2 = peg$FAILED;
|
|
4362
4831
|
if (peg$silentFails === 0) {
|
|
4363
|
-
peg$fail(peg$
|
|
4832
|
+
peg$fail(peg$e16);
|
|
4364
4833
|
}
|
|
4365
4834
|
}
|
|
4366
4835
|
if (s2 === peg$FAILED) {
|
|
@@ -4373,13 +4842,13 @@ function peg$parse(input, options) {
|
|
|
4373
4842
|
peg$silentFails++;
|
|
4374
4843
|
s7 = peg$currPos;
|
|
4375
4844
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4376
|
-
s8 = peg$
|
|
4845
|
+
s8 = peg$c12;
|
|
4377
4846
|
peg$currPos++;
|
|
4378
4847
|
}
|
|
4379
4848
|
else {
|
|
4380
4849
|
s8 = peg$FAILED;
|
|
4381
4850
|
if (peg$silentFails === 0) {
|
|
4382
|
-
peg$fail(peg$
|
|
4851
|
+
peg$fail(peg$e16);
|
|
4383
4852
|
}
|
|
4384
4853
|
}
|
|
4385
4854
|
if (s8 === peg$FAILED) {
|
|
@@ -4433,13 +4902,13 @@ function peg$parse(input, options) {
|
|
|
4433
4902
|
peg$silentFails++;
|
|
4434
4903
|
s7 = peg$currPos;
|
|
4435
4904
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4436
|
-
s8 = peg$
|
|
4905
|
+
s8 = peg$c12;
|
|
4437
4906
|
peg$currPos++;
|
|
4438
4907
|
}
|
|
4439
4908
|
else {
|
|
4440
4909
|
s8 = peg$FAILED;
|
|
4441
4910
|
if (peg$silentFails === 0) {
|
|
4442
|
-
peg$fail(peg$
|
|
4911
|
+
peg$fail(peg$e16);
|
|
4443
4912
|
}
|
|
4444
4913
|
}
|
|
4445
4914
|
if (s8 === peg$FAILED) {
|
|
@@ -4489,13 +4958,13 @@ function peg$parse(input, options) {
|
|
|
4489
4958
|
}
|
|
4490
4959
|
s3 = input.substring(s3, peg$currPos);
|
|
4491
4960
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4492
|
-
s4 = peg$
|
|
4961
|
+
s4 = peg$c12;
|
|
4493
4962
|
peg$currPos++;
|
|
4494
4963
|
}
|
|
4495
4964
|
else {
|
|
4496
4965
|
s4 = peg$FAILED;
|
|
4497
4966
|
if (peg$silentFails === 0) {
|
|
4498
|
-
peg$fail(peg$
|
|
4967
|
+
peg$fail(peg$e16);
|
|
4499
4968
|
}
|
|
4500
4969
|
}
|
|
4501
4970
|
if (s4 === peg$FAILED) {
|
|
@@ -4504,7 +4973,7 @@ function peg$parse(input, options) {
|
|
|
4504
4973
|
s5 = peg$parseLightTag();
|
|
4505
4974
|
if (s5 !== peg$FAILED) {
|
|
4506
4975
|
peg$savedPos = s0;
|
|
4507
|
-
s0 = peg$
|
|
4976
|
+
s0 = peg$f59(s3);
|
|
4508
4977
|
}
|
|
4509
4978
|
else {
|
|
4510
4979
|
peg$currPos = s0;
|
|
@@ -4520,13 +4989,13 @@ function peg$parse(input, options) {
|
|
|
4520
4989
|
s1 = peg$parseHighlightTag();
|
|
4521
4990
|
if (s1 !== peg$FAILED) {
|
|
4522
4991
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4523
|
-
s2 = peg$
|
|
4992
|
+
s2 = peg$c12;
|
|
4524
4993
|
peg$currPos++;
|
|
4525
4994
|
}
|
|
4526
4995
|
else {
|
|
4527
4996
|
s2 = peg$FAILED;
|
|
4528
4997
|
if (peg$silentFails === 0) {
|
|
4529
|
-
peg$fail(peg$
|
|
4998
|
+
peg$fail(peg$e16);
|
|
4530
4999
|
}
|
|
4531
5000
|
}
|
|
4532
5001
|
if (s2 === peg$FAILED) {
|
|
@@ -4539,13 +5008,13 @@ function peg$parse(input, options) {
|
|
|
4539
5008
|
peg$silentFails++;
|
|
4540
5009
|
s7 = peg$currPos;
|
|
4541
5010
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4542
|
-
s8 = peg$
|
|
5011
|
+
s8 = peg$c12;
|
|
4543
5012
|
peg$currPos++;
|
|
4544
5013
|
}
|
|
4545
5014
|
else {
|
|
4546
5015
|
s8 = peg$FAILED;
|
|
4547
5016
|
if (peg$silentFails === 0) {
|
|
4548
|
-
peg$fail(peg$
|
|
5017
|
+
peg$fail(peg$e16);
|
|
4549
5018
|
}
|
|
4550
5019
|
}
|
|
4551
5020
|
if (s8 === peg$FAILED) {
|
|
@@ -4599,13 +5068,13 @@ function peg$parse(input, options) {
|
|
|
4599
5068
|
peg$silentFails++;
|
|
4600
5069
|
s7 = peg$currPos;
|
|
4601
5070
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4602
|
-
s8 = peg$
|
|
5071
|
+
s8 = peg$c12;
|
|
4603
5072
|
peg$currPos++;
|
|
4604
5073
|
}
|
|
4605
5074
|
else {
|
|
4606
5075
|
s8 = peg$FAILED;
|
|
4607
5076
|
if (peg$silentFails === 0) {
|
|
4608
|
-
peg$fail(peg$
|
|
5077
|
+
peg$fail(peg$e16);
|
|
4609
5078
|
}
|
|
4610
5079
|
}
|
|
4611
5080
|
if (s8 === peg$FAILED) {
|
|
@@ -4655,13 +5124,13 @@ function peg$parse(input, options) {
|
|
|
4655
5124
|
}
|
|
4656
5125
|
s3 = input.substring(s3, peg$currPos);
|
|
4657
5126
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4658
|
-
s4 = peg$
|
|
5127
|
+
s4 = peg$c12;
|
|
4659
5128
|
peg$currPos++;
|
|
4660
5129
|
}
|
|
4661
5130
|
else {
|
|
4662
5131
|
s4 = peg$FAILED;
|
|
4663
5132
|
if (peg$silentFails === 0) {
|
|
4664
|
-
peg$fail(peg$
|
|
5133
|
+
peg$fail(peg$e16);
|
|
4665
5134
|
}
|
|
4666
5135
|
}
|
|
4667
5136
|
if (s4 === peg$FAILED) {
|
|
@@ -4670,7 +5139,7 @@ function peg$parse(input, options) {
|
|
|
4670
5139
|
s5 = peg$parseHighlightTag();
|
|
4671
5140
|
if (s5 !== peg$FAILED) {
|
|
4672
5141
|
peg$savedPos = s0;
|
|
4673
|
-
s0 = peg$
|
|
5142
|
+
s0 = peg$f60(s3);
|
|
4674
5143
|
}
|
|
4675
5144
|
else {
|
|
4676
5145
|
peg$currPos = s0;
|
|
@@ -4686,7 +5155,7 @@ function peg$parse(input, options) {
|
|
|
4686
5155
|
s1 = peg$parseUrl();
|
|
4687
5156
|
if (s1 !== peg$FAILED) {
|
|
4688
5157
|
peg$savedPos = s0;
|
|
4689
|
-
s1 = peg$
|
|
5158
|
+
s1 = peg$f61(s1);
|
|
4690
5159
|
}
|
|
4691
5160
|
s0 = s1;
|
|
4692
5161
|
}
|
|
@@ -4870,7 +5339,7 @@ function peg$parse(input, options) {
|
|
|
4870
5339
|
}
|
|
4871
5340
|
if (s2 !== peg$FAILED) {
|
|
4872
5341
|
peg$savedPos = s0;
|
|
4873
|
-
s0 = peg$
|
|
5342
|
+
s0 = peg$f62(s2);
|
|
4874
5343
|
}
|
|
4875
5344
|
else {
|
|
4876
5345
|
peg$currPos = s0;
|
|
@@ -4886,14 +5355,14 @@ function peg$parse(input, options) {
|
|
|
4886
5355
|
function peg$parseAttrChainItem() {
|
|
4887
5356
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
4888
5357
|
s0 = peg$currPos;
|
|
4889
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4890
|
-
s1 = peg$
|
|
5358
|
+
if (input.substr(peg$currPos, 5) === peg$c32) {
|
|
5359
|
+
s1 = peg$c32;
|
|
4891
5360
|
peg$currPos += 5;
|
|
4892
5361
|
}
|
|
4893
5362
|
else {
|
|
4894
5363
|
s1 = peg$FAILED;
|
|
4895
5364
|
if (peg$silentFails === 0) {
|
|
4896
|
-
peg$fail(peg$
|
|
5365
|
+
peg$fail(peg$e38);
|
|
4897
5366
|
}
|
|
4898
5367
|
}
|
|
4899
5368
|
if (s1 !== peg$FAILED) {
|
|
@@ -4960,7 +5429,7 @@ function peg$parse(input, options) {
|
|
|
4960
5429
|
s3 = peg$parseBlockTag();
|
|
4961
5430
|
if (s3 !== peg$FAILED) {
|
|
4962
5431
|
peg$savedPos = s0;
|
|
4963
|
-
s0 = peg$
|
|
5432
|
+
s0 = peg$f63(s2);
|
|
4964
5433
|
}
|
|
4965
5434
|
else {
|
|
4966
5435
|
peg$currPos = s0;
|
|
@@ -4973,14 +5442,14 @@ function peg$parse(input, options) {
|
|
|
4973
5442
|
}
|
|
4974
5443
|
if (s0 === peg$FAILED) {
|
|
4975
5444
|
s0 = peg$currPos;
|
|
4976
|
-
if (input.
|
|
4977
|
-
s1 = peg$
|
|
4978
|
-
peg$currPos
|
|
5445
|
+
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5446
|
+
s1 = peg$c33;
|
|
5447
|
+
peg$currPos++;
|
|
4979
5448
|
}
|
|
4980
5449
|
else {
|
|
4981
5450
|
s1 = peg$FAILED;
|
|
4982
5451
|
if (peg$silentFails === 0) {
|
|
4983
|
-
peg$fail(peg$
|
|
5452
|
+
peg$fail(peg$e39);
|
|
4984
5453
|
}
|
|
4985
5454
|
}
|
|
4986
5455
|
if (s1 !== peg$FAILED) {
|
|
@@ -5047,7 +5516,7 @@ function peg$parse(input, options) {
|
|
|
5047
5516
|
s3 = peg$parseBlockTag();
|
|
5048
5517
|
if (s3 !== peg$FAILED) {
|
|
5049
5518
|
peg$savedPos = s0;
|
|
5050
|
-
s0 = peg$
|
|
5519
|
+
s0 = peg$f64(s2);
|
|
5051
5520
|
}
|
|
5052
5521
|
else {
|
|
5053
5522
|
peg$currPos = s0;
|
|
@@ -5060,21 +5529,81 @@ function peg$parse(input, options) {
|
|
|
5060
5529
|
}
|
|
5061
5530
|
if (s0 === peg$FAILED) {
|
|
5062
5531
|
s0 = peg$currPos;
|
|
5063
|
-
if (input.substr(peg$currPos,
|
|
5064
|
-
s1 = peg$
|
|
5065
|
-
peg$currPos +=
|
|
5532
|
+
if (input.substr(peg$currPos, 5) === peg$c34) {
|
|
5533
|
+
s1 = peg$c34;
|
|
5534
|
+
peg$currPos += 5;
|
|
5066
5535
|
}
|
|
5067
5536
|
else {
|
|
5068
5537
|
s1 = peg$FAILED;
|
|
5069
5538
|
if (peg$silentFails === 0) {
|
|
5070
|
-
peg$fail(peg$
|
|
5539
|
+
peg$fail(peg$e40);
|
|
5071
5540
|
}
|
|
5072
5541
|
}
|
|
5073
5542
|
if (s1 !== peg$FAILED) {
|
|
5074
|
-
s2 = peg$
|
|
5075
|
-
|
|
5543
|
+
s2 = peg$currPos;
|
|
5544
|
+
s3 = [];
|
|
5545
|
+
s4 = peg$currPos;
|
|
5546
|
+
s5 = peg$currPos;
|
|
5547
|
+
peg$silentFails++;
|
|
5548
|
+
s6 = peg$parseBlockTag();
|
|
5549
|
+
peg$silentFails--;
|
|
5550
|
+
if (s6 === peg$FAILED) {
|
|
5551
|
+
s5 = undefined;
|
|
5552
|
+
}
|
|
5553
|
+
else {
|
|
5554
|
+
peg$currPos = s5;
|
|
5555
|
+
s5 = peg$FAILED;
|
|
5556
|
+
}
|
|
5557
|
+
if (s5 !== peg$FAILED) {
|
|
5558
|
+
s6 = peg$parsechar();
|
|
5559
|
+
if (s6 !== peg$FAILED) {
|
|
5560
|
+
s5 = [s5, s6];
|
|
5561
|
+
s4 = s5;
|
|
5562
|
+
}
|
|
5563
|
+
else {
|
|
5564
|
+
peg$currPos = s4;
|
|
5565
|
+
s4 = peg$FAILED;
|
|
5566
|
+
}
|
|
5567
|
+
}
|
|
5568
|
+
else {
|
|
5569
|
+
peg$currPos = s4;
|
|
5570
|
+
s4 = peg$FAILED;
|
|
5571
|
+
}
|
|
5572
|
+
while (s4 !== peg$FAILED) {
|
|
5573
|
+
s3.push(s4);
|
|
5574
|
+
s4 = peg$currPos;
|
|
5575
|
+
s5 = peg$currPos;
|
|
5576
|
+
peg$silentFails++;
|
|
5577
|
+
s6 = peg$parseBlockTag();
|
|
5578
|
+
peg$silentFails--;
|
|
5579
|
+
if (s6 === peg$FAILED) {
|
|
5580
|
+
s5 = undefined;
|
|
5581
|
+
}
|
|
5582
|
+
else {
|
|
5583
|
+
peg$currPos = s5;
|
|
5584
|
+
s5 = peg$FAILED;
|
|
5585
|
+
}
|
|
5586
|
+
if (s5 !== peg$FAILED) {
|
|
5587
|
+
s6 = peg$parsechar();
|
|
5588
|
+
if (s6 !== peg$FAILED) {
|
|
5589
|
+
s5 = [s5, s6];
|
|
5590
|
+
s4 = s5;
|
|
5591
|
+
}
|
|
5592
|
+
else {
|
|
5593
|
+
peg$currPos = s4;
|
|
5594
|
+
s4 = peg$FAILED;
|
|
5595
|
+
}
|
|
5596
|
+
}
|
|
5597
|
+
else {
|
|
5598
|
+
peg$currPos = s4;
|
|
5599
|
+
s4 = peg$FAILED;
|
|
5600
|
+
}
|
|
5601
|
+
}
|
|
5602
|
+
s2 = input.substring(s2, peg$currPos);
|
|
5603
|
+
s3 = peg$parseBlockTag();
|
|
5604
|
+
if (s3 !== peg$FAILED) {
|
|
5076
5605
|
peg$savedPos = s0;
|
|
5077
|
-
s0 = peg$
|
|
5606
|
+
s0 = peg$f65(s2);
|
|
5078
5607
|
}
|
|
5079
5608
|
else {
|
|
5080
5609
|
peg$currPos = s0;
|
|
@@ -5087,14 +5616,14 @@ function peg$parse(input, options) {
|
|
|
5087
5616
|
}
|
|
5088
5617
|
if (s0 === peg$FAILED) {
|
|
5089
5618
|
s0 = peg$currPos;
|
|
5090
|
-
if (input.substr(peg$currPos,
|
|
5091
|
-
s1 = peg$
|
|
5092
|
-
peg$currPos +=
|
|
5619
|
+
if (input.substr(peg$currPos, 9) === peg$c35) {
|
|
5620
|
+
s1 = peg$c35;
|
|
5621
|
+
peg$currPos += 9;
|
|
5093
5622
|
}
|
|
5094
5623
|
else {
|
|
5095
5624
|
s1 = peg$FAILED;
|
|
5096
5625
|
if (peg$silentFails === 0) {
|
|
5097
|
-
peg$fail(peg$
|
|
5626
|
+
peg$fail(peg$e41);
|
|
5098
5627
|
}
|
|
5099
5628
|
}
|
|
5100
5629
|
if (s1 !== peg$FAILED) {
|
|
@@ -5161,7 +5690,7 @@ function peg$parse(input, options) {
|
|
|
5161
5690
|
s3 = peg$parseBlockTag();
|
|
5162
5691
|
if (s3 !== peg$FAILED) {
|
|
5163
5692
|
peg$savedPos = s0;
|
|
5164
|
-
s0 = peg$
|
|
5693
|
+
s0 = peg$f66(s2);
|
|
5165
5694
|
}
|
|
5166
5695
|
else {
|
|
5167
5696
|
peg$currPos = s0;
|
|
@@ -5174,21 +5703,81 @@ function peg$parse(input, options) {
|
|
|
5174
5703
|
}
|
|
5175
5704
|
if (s0 === peg$FAILED) {
|
|
5176
5705
|
s0 = peg$currPos;
|
|
5177
|
-
if (input.substr(peg$currPos,
|
|
5178
|
-
s1 = peg$
|
|
5179
|
-
peg$currPos +=
|
|
5706
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
5707
|
+
s1 = peg$c36;
|
|
5708
|
+
peg$currPos += 4;
|
|
5180
5709
|
}
|
|
5181
5710
|
else {
|
|
5182
5711
|
s1 = peg$FAILED;
|
|
5183
5712
|
if (peg$silentFails === 0) {
|
|
5184
|
-
peg$fail(peg$
|
|
5713
|
+
peg$fail(peg$e42);
|
|
5185
5714
|
}
|
|
5186
5715
|
}
|
|
5187
5716
|
if (s1 !== peg$FAILED) {
|
|
5188
|
-
s2 = peg$
|
|
5189
|
-
|
|
5717
|
+
s2 = peg$currPos;
|
|
5718
|
+
s3 = [];
|
|
5719
|
+
s4 = peg$currPos;
|
|
5720
|
+
s5 = peg$currPos;
|
|
5721
|
+
peg$silentFails++;
|
|
5722
|
+
s6 = peg$parseBlockTag();
|
|
5723
|
+
peg$silentFails--;
|
|
5724
|
+
if (s6 === peg$FAILED) {
|
|
5725
|
+
s5 = undefined;
|
|
5726
|
+
}
|
|
5727
|
+
else {
|
|
5728
|
+
peg$currPos = s5;
|
|
5729
|
+
s5 = peg$FAILED;
|
|
5730
|
+
}
|
|
5731
|
+
if (s5 !== peg$FAILED) {
|
|
5732
|
+
s6 = peg$parsechar();
|
|
5733
|
+
if (s6 !== peg$FAILED) {
|
|
5734
|
+
s5 = [s5, s6];
|
|
5735
|
+
s4 = s5;
|
|
5736
|
+
}
|
|
5737
|
+
else {
|
|
5738
|
+
peg$currPos = s4;
|
|
5739
|
+
s4 = peg$FAILED;
|
|
5740
|
+
}
|
|
5741
|
+
}
|
|
5742
|
+
else {
|
|
5743
|
+
peg$currPos = s4;
|
|
5744
|
+
s4 = peg$FAILED;
|
|
5745
|
+
}
|
|
5746
|
+
while (s4 !== peg$FAILED) {
|
|
5747
|
+
s3.push(s4);
|
|
5748
|
+
s4 = peg$currPos;
|
|
5749
|
+
s5 = peg$currPos;
|
|
5750
|
+
peg$silentFails++;
|
|
5751
|
+
s6 = peg$parseBlockTag();
|
|
5752
|
+
peg$silentFails--;
|
|
5753
|
+
if (s6 === peg$FAILED) {
|
|
5754
|
+
s5 = undefined;
|
|
5755
|
+
}
|
|
5756
|
+
else {
|
|
5757
|
+
peg$currPos = s5;
|
|
5758
|
+
s5 = peg$FAILED;
|
|
5759
|
+
}
|
|
5760
|
+
if (s5 !== peg$FAILED) {
|
|
5761
|
+
s6 = peg$parsechar();
|
|
5762
|
+
if (s6 !== peg$FAILED) {
|
|
5763
|
+
s5 = [s5, s6];
|
|
5764
|
+
s4 = s5;
|
|
5765
|
+
}
|
|
5766
|
+
else {
|
|
5767
|
+
peg$currPos = s4;
|
|
5768
|
+
s4 = peg$FAILED;
|
|
5769
|
+
}
|
|
5770
|
+
}
|
|
5771
|
+
else {
|
|
5772
|
+
peg$currPos = s4;
|
|
5773
|
+
s4 = peg$FAILED;
|
|
5774
|
+
}
|
|
5775
|
+
}
|
|
5776
|
+
s2 = input.substring(s2, peg$currPos);
|
|
5777
|
+
s3 = peg$parseBlockTag();
|
|
5778
|
+
if (s3 !== peg$FAILED) {
|
|
5190
5779
|
peg$savedPos = s0;
|
|
5191
|
-
s0 = peg$
|
|
5780
|
+
s0 = peg$f67(s2);
|
|
5192
5781
|
}
|
|
5193
5782
|
else {
|
|
5194
5783
|
peg$currPos = s0;
|
|
@@ -5201,48 +5790,46 @@ function peg$parse(input, options) {
|
|
|
5201
5790
|
}
|
|
5202
5791
|
if (s0 === peg$FAILED) {
|
|
5203
5792
|
s0 = peg$currPos;
|
|
5204
|
-
if (input.substr(peg$currPos,
|
|
5205
|
-
s1 = peg$
|
|
5206
|
-
peg$currPos +=
|
|
5793
|
+
if (input.substr(peg$currPos, 4) === peg$c5) {
|
|
5794
|
+
s1 = peg$c5;
|
|
5795
|
+
peg$currPos += 4;
|
|
5207
5796
|
}
|
|
5208
5797
|
else {
|
|
5209
5798
|
s1 = peg$FAILED;
|
|
5210
5799
|
if (peg$silentFails === 0) {
|
|
5211
|
-
peg$fail(peg$
|
|
5800
|
+
peg$fail(peg$e7);
|
|
5212
5801
|
}
|
|
5213
5802
|
}
|
|
5214
5803
|
if (s1 !== peg$FAILED) {
|
|
5215
|
-
s2 = peg$
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5804
|
+
s2 = peg$parseBlockTag();
|
|
5805
|
+
if (s2 !== peg$FAILED) {
|
|
5806
|
+
peg$savedPos = s0;
|
|
5807
|
+
s0 = peg$f68();
|
|
5808
|
+
}
|
|
5809
|
+
else {
|
|
5810
|
+
peg$currPos = s0;
|
|
5811
|
+
s0 = peg$FAILED;
|
|
5812
|
+
}
|
|
5813
|
+
}
|
|
5814
|
+
else {
|
|
5815
|
+
peg$currPos = s0;
|
|
5816
|
+
s0 = peg$FAILED;
|
|
5817
|
+
}
|
|
5818
|
+
if (s0 === peg$FAILED) {
|
|
5819
|
+
s0 = peg$currPos;
|
|
5820
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
5821
|
+
s1 = peg$c37;
|
|
5822
|
+
peg$currPos += 5;
|
|
5224
5823
|
}
|
|
5225
5824
|
else {
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
if (s5 !== peg$FAILED) {
|
|
5230
|
-
s6 = peg$parsechar();
|
|
5231
|
-
if (s6 !== peg$FAILED) {
|
|
5232
|
-
s5 = [s5, s6];
|
|
5233
|
-
s4 = s5;
|
|
5234
|
-
}
|
|
5235
|
-
else {
|
|
5236
|
-
peg$currPos = s4;
|
|
5237
|
-
s4 = peg$FAILED;
|
|
5825
|
+
s1 = peg$FAILED;
|
|
5826
|
+
if (peg$silentFails === 0) {
|
|
5827
|
+
peg$fail(peg$e43);
|
|
5238
5828
|
}
|
|
5239
5829
|
}
|
|
5240
|
-
|
|
5241
|
-
peg$currPos
|
|
5242
|
-
|
|
5243
|
-
}
|
|
5244
|
-
while (s4 !== peg$FAILED) {
|
|
5245
|
-
s3.push(s4);
|
|
5830
|
+
if (s1 !== peg$FAILED) {
|
|
5831
|
+
s2 = peg$currPos;
|
|
5832
|
+
s3 = [];
|
|
5246
5833
|
s4 = peg$currPos;
|
|
5247
5834
|
s5 = peg$currPos;
|
|
5248
5835
|
peg$silentFails++;
|
|
@@ -5270,131 +5857,41 @@ function peg$parse(input, options) {
|
|
|
5270
5857
|
peg$currPos = s4;
|
|
5271
5858
|
s4 = peg$FAILED;
|
|
5272
5859
|
}
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
if (s3 !== peg$FAILED) {
|
|
5277
|
-
peg$savedPos = s0;
|
|
5278
|
-
s0 = peg$f60(s2);
|
|
5279
|
-
}
|
|
5280
|
-
else {
|
|
5281
|
-
peg$currPos = s0;
|
|
5282
|
-
s0 = peg$FAILED;
|
|
5283
|
-
}
|
|
5284
|
-
}
|
|
5285
|
-
else {
|
|
5286
|
-
peg$currPos = s0;
|
|
5287
|
-
s0 = peg$FAILED;
|
|
5288
|
-
}
|
|
5289
|
-
if (s0 === peg$FAILED) {
|
|
5290
|
-
s0 = peg$currPos;
|
|
5291
|
-
if (input.substr(peg$currPos, 9) === peg$c33) {
|
|
5292
|
-
s1 = peg$c33;
|
|
5293
|
-
peg$currPos += 9;
|
|
5294
|
-
}
|
|
5295
|
-
else {
|
|
5296
|
-
s1 = peg$FAILED;
|
|
5297
|
-
if (peg$silentFails === 0) {
|
|
5298
|
-
peg$fail(peg$e39);
|
|
5299
|
-
}
|
|
5300
|
-
}
|
|
5301
|
-
if (s1 !== peg$FAILED) {
|
|
5302
|
-
s2 = peg$currPos;
|
|
5303
|
-
s3 = peg$currPos;
|
|
5304
|
-
if (input.charCodeAt(peg$currPos) === 80) {
|
|
5305
|
-
s4 = peg$c34;
|
|
5306
|
-
peg$currPos++;
|
|
5307
|
-
}
|
|
5308
|
-
else {
|
|
5309
|
-
s4 = peg$FAILED;
|
|
5310
|
-
if (peg$silentFails === 0) {
|
|
5311
|
-
peg$fail(peg$e40);
|
|
5312
|
-
}
|
|
5313
|
-
}
|
|
5314
|
-
if (s4 !== peg$FAILED) {
|
|
5860
|
+
while (s4 !== peg$FAILED) {
|
|
5861
|
+
s3.push(s4);
|
|
5862
|
+
s4 = peg$currPos;
|
|
5315
5863
|
s5 = peg$currPos;
|
|
5316
|
-
s6 = [];
|
|
5317
|
-
s7 = peg$currPos;
|
|
5318
|
-
s8 = peg$currPos;
|
|
5319
5864
|
peg$silentFails++;
|
|
5320
|
-
|
|
5865
|
+
s6 = peg$parseBlockTag();
|
|
5321
5866
|
peg$silentFails--;
|
|
5322
|
-
if (
|
|
5323
|
-
|
|
5867
|
+
if (s6 === peg$FAILED) {
|
|
5868
|
+
s5 = undefined;
|
|
5324
5869
|
}
|
|
5325
5870
|
else {
|
|
5326
|
-
peg$currPos =
|
|
5327
|
-
|
|
5871
|
+
peg$currPos = s5;
|
|
5872
|
+
s5 = peg$FAILED;
|
|
5328
5873
|
}
|
|
5329
|
-
if (
|
|
5330
|
-
|
|
5331
|
-
if (
|
|
5332
|
-
|
|
5333
|
-
|
|
5874
|
+
if (s5 !== peg$FAILED) {
|
|
5875
|
+
s6 = peg$parsechar();
|
|
5876
|
+
if (s6 !== peg$FAILED) {
|
|
5877
|
+
s5 = [s5, s6];
|
|
5878
|
+
s4 = s5;
|
|
5334
5879
|
}
|
|
5335
5880
|
else {
|
|
5336
|
-
peg$currPos =
|
|
5337
|
-
|
|
5881
|
+
peg$currPos = s4;
|
|
5882
|
+
s4 = peg$FAILED;
|
|
5338
5883
|
}
|
|
5339
5884
|
}
|
|
5340
5885
|
else {
|
|
5341
|
-
peg$currPos =
|
|
5342
|
-
|
|
5343
|
-
}
|
|
5344
|
-
while (s7 !== peg$FAILED) {
|
|
5345
|
-
s6.push(s7);
|
|
5346
|
-
s7 = peg$currPos;
|
|
5347
|
-
s8 = peg$currPos;
|
|
5348
|
-
peg$silentFails++;
|
|
5349
|
-
s9 = peg$parseBlockTag();
|
|
5350
|
-
peg$silentFails--;
|
|
5351
|
-
if (s9 === peg$FAILED) {
|
|
5352
|
-
s8 = undefined;
|
|
5353
|
-
}
|
|
5354
|
-
else {
|
|
5355
|
-
peg$currPos = s8;
|
|
5356
|
-
s8 = peg$FAILED;
|
|
5357
|
-
}
|
|
5358
|
-
if (s8 !== peg$FAILED) {
|
|
5359
|
-
s9 = peg$parsechar();
|
|
5360
|
-
if (s9 !== peg$FAILED) {
|
|
5361
|
-
s8 = [s8, s9];
|
|
5362
|
-
s7 = s8;
|
|
5363
|
-
}
|
|
5364
|
-
else {
|
|
5365
|
-
peg$currPos = s7;
|
|
5366
|
-
s7 = peg$FAILED;
|
|
5367
|
-
}
|
|
5368
|
-
}
|
|
5369
|
-
else {
|
|
5370
|
-
peg$currPos = s7;
|
|
5371
|
-
s7 = peg$FAILED;
|
|
5372
|
-
}
|
|
5886
|
+
peg$currPos = s4;
|
|
5887
|
+
s4 = peg$FAILED;
|
|
5373
5888
|
}
|
|
5374
|
-
s5 = input.substring(s5, peg$currPos);
|
|
5375
|
-
s4 = [s4, s5];
|
|
5376
|
-
s3 = s4;
|
|
5377
|
-
}
|
|
5378
|
-
else {
|
|
5379
|
-
peg$currPos = s3;
|
|
5380
|
-
s3 = peg$FAILED;
|
|
5381
5889
|
}
|
|
5890
|
+
s2 = input.substring(s2, peg$currPos);
|
|
5891
|
+
s3 = peg$parseBlockTag();
|
|
5382
5892
|
if (s3 !== peg$FAILED) {
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
else {
|
|
5386
|
-
s2 = s3;
|
|
5387
|
-
}
|
|
5388
|
-
if (s2 !== peg$FAILED) {
|
|
5389
|
-
s3 = peg$parseBlockTag();
|
|
5390
|
-
if (s3 !== peg$FAILED) {
|
|
5391
|
-
peg$savedPos = s0;
|
|
5392
|
-
s0 = peg$f61(s2);
|
|
5393
|
-
}
|
|
5394
|
-
else {
|
|
5395
|
-
peg$currPos = s0;
|
|
5396
|
-
s0 = peg$FAILED;
|
|
5397
|
-
}
|
|
5893
|
+
peg$savedPos = s0;
|
|
5894
|
+
s0 = peg$f69(s2);
|
|
5398
5895
|
}
|
|
5399
5896
|
else {
|
|
5400
5897
|
peg$currPos = s0;
|
|
@@ -5407,28 +5904,21 @@ function peg$parse(input, options) {
|
|
|
5407
5904
|
}
|
|
5408
5905
|
if (s0 === peg$FAILED) {
|
|
5409
5906
|
s0 = peg$currPos;
|
|
5410
|
-
if (input.substr(peg$currPos,
|
|
5411
|
-
s1 = peg$
|
|
5412
|
-
peg$currPos +=
|
|
5907
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
5908
|
+
s1 = peg$c38;
|
|
5909
|
+
peg$currPos += 5;
|
|
5413
5910
|
}
|
|
5414
5911
|
else {
|
|
5415
5912
|
s1 = peg$FAILED;
|
|
5416
5913
|
if (peg$silentFails === 0) {
|
|
5417
|
-
peg$fail(peg$
|
|
5914
|
+
peg$fail(peg$e44);
|
|
5418
5915
|
}
|
|
5419
5916
|
}
|
|
5420
5917
|
if (s1 !== peg$FAILED) {
|
|
5421
|
-
s2 = peg$
|
|
5918
|
+
s2 = peg$parseBlockTag();
|
|
5422
5919
|
if (s2 !== peg$FAILED) {
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
peg$savedPos = s0;
|
|
5426
|
-
s0 = peg$f62(s2);
|
|
5427
|
-
}
|
|
5428
|
-
else {
|
|
5429
|
-
peg$currPos = s0;
|
|
5430
|
-
s0 = peg$FAILED;
|
|
5431
|
-
}
|
|
5920
|
+
peg$savedPos = s0;
|
|
5921
|
+
s0 = peg$f70();
|
|
5432
5922
|
}
|
|
5433
5923
|
else {
|
|
5434
5924
|
peg$currPos = s0;
|
|
@@ -5441,37 +5931,48 @@ function peg$parse(input, options) {
|
|
|
5441
5931
|
}
|
|
5442
5932
|
if (s0 === peg$FAILED) {
|
|
5443
5933
|
s0 = peg$currPos;
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
if (s2 !== peg$FAILED) {
|
|
5448
|
-
peg$savedPos = s0;
|
|
5449
|
-
s0 = peg$f63(s1);
|
|
5450
|
-
}
|
|
5451
|
-
else {
|
|
5452
|
-
peg$currPos = s0;
|
|
5453
|
-
s0 = peg$FAILED;
|
|
5454
|
-
}
|
|
5934
|
+
if (input.substr(peg$currPos, 6) === peg$c39) {
|
|
5935
|
+
s1 = peg$c39;
|
|
5936
|
+
peg$currPos += 6;
|
|
5455
5937
|
}
|
|
5456
5938
|
else {
|
|
5457
|
-
|
|
5458
|
-
|
|
5939
|
+
s1 = peg$FAILED;
|
|
5940
|
+
if (peg$silentFails === 0) {
|
|
5941
|
+
peg$fail(peg$e45);
|
|
5942
|
+
}
|
|
5459
5943
|
}
|
|
5460
|
-
if (
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5944
|
+
if (s1 !== peg$FAILED) {
|
|
5945
|
+
s2 = peg$currPos;
|
|
5946
|
+
s3 = [];
|
|
5947
|
+
s4 = peg$currPos;
|
|
5948
|
+
s5 = peg$currPos;
|
|
5949
|
+
peg$silentFails++;
|
|
5950
|
+
s6 = peg$parseBlockTag();
|
|
5951
|
+
peg$silentFails--;
|
|
5952
|
+
if (s6 === peg$FAILED) {
|
|
5953
|
+
s5 = undefined;
|
|
5465
5954
|
}
|
|
5466
5955
|
else {
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5956
|
+
peg$currPos = s5;
|
|
5957
|
+
s5 = peg$FAILED;
|
|
5958
|
+
}
|
|
5959
|
+
if (s5 !== peg$FAILED) {
|
|
5960
|
+
s6 = peg$parsechar();
|
|
5961
|
+
if (s6 !== peg$FAILED) {
|
|
5962
|
+
s5 = [s5, s6];
|
|
5963
|
+
s4 = s5;
|
|
5964
|
+
}
|
|
5965
|
+
else {
|
|
5966
|
+
peg$currPos = s4;
|
|
5967
|
+
s4 = peg$FAILED;
|
|
5470
5968
|
}
|
|
5471
5969
|
}
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5970
|
+
else {
|
|
5971
|
+
peg$currPos = s4;
|
|
5972
|
+
s4 = peg$FAILED;
|
|
5973
|
+
}
|
|
5974
|
+
while (s4 !== peg$FAILED) {
|
|
5975
|
+
s3.push(s4);
|
|
5475
5976
|
s4 = peg$currPos;
|
|
5476
5977
|
s5 = peg$currPos;
|
|
5477
5978
|
peg$silentFails++;
|
|
@@ -5499,41 +6000,131 @@ function peg$parse(input, options) {
|
|
|
5499
6000
|
peg$currPos = s4;
|
|
5500
6001
|
s4 = peg$FAILED;
|
|
5501
6002
|
}
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
6003
|
+
}
|
|
6004
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6005
|
+
s3 = peg$parseBlockTag();
|
|
6006
|
+
if (s3 !== peg$FAILED) {
|
|
6007
|
+
peg$savedPos = s0;
|
|
6008
|
+
s0 = peg$f71(s2);
|
|
6009
|
+
}
|
|
6010
|
+
else {
|
|
6011
|
+
peg$currPos = s0;
|
|
6012
|
+
s0 = peg$FAILED;
|
|
6013
|
+
}
|
|
6014
|
+
}
|
|
6015
|
+
else {
|
|
6016
|
+
peg$currPos = s0;
|
|
6017
|
+
s0 = peg$FAILED;
|
|
6018
|
+
}
|
|
6019
|
+
if (s0 === peg$FAILED) {
|
|
6020
|
+
s0 = peg$currPos;
|
|
6021
|
+
if (input.substr(peg$currPos, 9) === peg$c40) {
|
|
6022
|
+
s1 = peg$c40;
|
|
6023
|
+
peg$currPos += 9;
|
|
6024
|
+
}
|
|
6025
|
+
else {
|
|
6026
|
+
s1 = peg$FAILED;
|
|
6027
|
+
if (peg$silentFails === 0) {
|
|
6028
|
+
peg$fail(peg$e46);
|
|
6029
|
+
}
|
|
6030
|
+
}
|
|
6031
|
+
if (s1 !== peg$FAILED) {
|
|
6032
|
+
s2 = peg$currPos;
|
|
6033
|
+
s3 = peg$currPos;
|
|
6034
|
+
if (input.charCodeAt(peg$currPos) === 80) {
|
|
6035
|
+
s4 = peg$c41;
|
|
6036
|
+
peg$currPos++;
|
|
6037
|
+
}
|
|
6038
|
+
else {
|
|
6039
|
+
s4 = peg$FAILED;
|
|
6040
|
+
if (peg$silentFails === 0) {
|
|
6041
|
+
peg$fail(peg$e47);
|
|
6042
|
+
}
|
|
6043
|
+
}
|
|
6044
|
+
if (s4 !== peg$FAILED) {
|
|
5505
6045
|
s5 = peg$currPos;
|
|
6046
|
+
s6 = [];
|
|
6047
|
+
s7 = peg$currPos;
|
|
6048
|
+
s8 = peg$currPos;
|
|
5506
6049
|
peg$silentFails++;
|
|
5507
|
-
|
|
6050
|
+
s9 = peg$parseBlockTag();
|
|
5508
6051
|
peg$silentFails--;
|
|
5509
|
-
if (
|
|
5510
|
-
|
|
6052
|
+
if (s9 === peg$FAILED) {
|
|
6053
|
+
s8 = undefined;
|
|
5511
6054
|
}
|
|
5512
6055
|
else {
|
|
5513
|
-
peg$currPos =
|
|
5514
|
-
|
|
6056
|
+
peg$currPos = s8;
|
|
6057
|
+
s8 = peg$FAILED;
|
|
5515
6058
|
}
|
|
5516
|
-
if (
|
|
5517
|
-
|
|
5518
|
-
if (
|
|
5519
|
-
|
|
5520
|
-
|
|
6059
|
+
if (s8 !== peg$FAILED) {
|
|
6060
|
+
s9 = peg$parsechar();
|
|
6061
|
+
if (s9 !== peg$FAILED) {
|
|
6062
|
+
s8 = [s8, s9];
|
|
6063
|
+
s7 = s8;
|
|
5521
6064
|
}
|
|
5522
6065
|
else {
|
|
5523
|
-
peg$currPos =
|
|
5524
|
-
|
|
6066
|
+
peg$currPos = s7;
|
|
6067
|
+
s7 = peg$FAILED;
|
|
5525
6068
|
}
|
|
5526
6069
|
}
|
|
5527
6070
|
else {
|
|
5528
|
-
peg$currPos =
|
|
5529
|
-
|
|
6071
|
+
peg$currPos = s7;
|
|
6072
|
+
s7 = peg$FAILED;
|
|
6073
|
+
}
|
|
6074
|
+
while (s7 !== peg$FAILED) {
|
|
6075
|
+
s6.push(s7);
|
|
6076
|
+
s7 = peg$currPos;
|
|
6077
|
+
s8 = peg$currPos;
|
|
6078
|
+
peg$silentFails++;
|
|
6079
|
+
s9 = peg$parseBlockTag();
|
|
6080
|
+
peg$silentFails--;
|
|
6081
|
+
if (s9 === peg$FAILED) {
|
|
6082
|
+
s8 = undefined;
|
|
6083
|
+
}
|
|
6084
|
+
else {
|
|
6085
|
+
peg$currPos = s8;
|
|
6086
|
+
s8 = peg$FAILED;
|
|
6087
|
+
}
|
|
6088
|
+
if (s8 !== peg$FAILED) {
|
|
6089
|
+
s9 = peg$parsechar();
|
|
6090
|
+
if (s9 !== peg$FAILED) {
|
|
6091
|
+
s8 = [s8, s9];
|
|
6092
|
+
s7 = s8;
|
|
6093
|
+
}
|
|
6094
|
+
else {
|
|
6095
|
+
peg$currPos = s7;
|
|
6096
|
+
s7 = peg$FAILED;
|
|
6097
|
+
}
|
|
6098
|
+
}
|
|
6099
|
+
else {
|
|
6100
|
+
peg$currPos = s7;
|
|
6101
|
+
s7 = peg$FAILED;
|
|
6102
|
+
}
|
|
5530
6103
|
}
|
|
6104
|
+
s5 = input.substring(s5, peg$currPos);
|
|
6105
|
+
s4 = [s4, s5];
|
|
6106
|
+
s3 = s4;
|
|
6107
|
+
}
|
|
6108
|
+
else {
|
|
6109
|
+
peg$currPos = s3;
|
|
6110
|
+
s3 = peg$FAILED;
|
|
5531
6111
|
}
|
|
5532
|
-
s2 = input.substring(s2, peg$currPos);
|
|
5533
|
-
s3 = peg$parseBlockTag();
|
|
5534
6112
|
if (s3 !== peg$FAILED) {
|
|
5535
|
-
|
|
5536
|
-
|
|
6113
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6114
|
+
}
|
|
6115
|
+
else {
|
|
6116
|
+
s2 = s3;
|
|
6117
|
+
}
|
|
6118
|
+
if (s2 !== peg$FAILED) {
|
|
6119
|
+
s3 = peg$parseBlockTag();
|
|
6120
|
+
if (s3 !== peg$FAILED) {
|
|
6121
|
+
peg$savedPos = s0;
|
|
6122
|
+
s0 = peg$f72(s2);
|
|
6123
|
+
}
|
|
6124
|
+
else {
|
|
6125
|
+
peg$currPos = s0;
|
|
6126
|
+
s0 = peg$FAILED;
|
|
6127
|
+
}
|
|
5537
6128
|
}
|
|
5538
6129
|
else {
|
|
5539
6130
|
peg$currPos = s0;
|
|
@@ -5544,6 +6135,148 @@ function peg$parse(input, options) {
|
|
|
5544
6135
|
peg$currPos = s0;
|
|
5545
6136
|
s0 = peg$FAILED;
|
|
5546
6137
|
}
|
|
6138
|
+
if (s0 === peg$FAILED) {
|
|
6139
|
+
s0 = peg$currPos;
|
|
6140
|
+
if (input.substr(peg$currPos, 6) === peg$c42) {
|
|
6141
|
+
s1 = peg$c42;
|
|
6142
|
+
peg$currPos += 6;
|
|
6143
|
+
}
|
|
6144
|
+
else {
|
|
6145
|
+
s1 = peg$FAILED;
|
|
6146
|
+
if (peg$silentFails === 0) {
|
|
6147
|
+
peg$fail(peg$e48);
|
|
6148
|
+
}
|
|
6149
|
+
}
|
|
6150
|
+
if (s1 !== peg$FAILED) {
|
|
6151
|
+
s2 = peg$parseColor();
|
|
6152
|
+
if (s2 !== peg$FAILED) {
|
|
6153
|
+
s3 = peg$parseBlockTag();
|
|
6154
|
+
if (s3 !== peg$FAILED) {
|
|
6155
|
+
peg$savedPos = s0;
|
|
6156
|
+
s0 = peg$f73(s2);
|
|
6157
|
+
}
|
|
6158
|
+
else {
|
|
6159
|
+
peg$currPos = s0;
|
|
6160
|
+
s0 = peg$FAILED;
|
|
6161
|
+
}
|
|
6162
|
+
}
|
|
6163
|
+
else {
|
|
6164
|
+
peg$currPos = s0;
|
|
6165
|
+
s0 = peg$FAILED;
|
|
6166
|
+
}
|
|
6167
|
+
}
|
|
6168
|
+
else {
|
|
6169
|
+
peg$currPos = s0;
|
|
6170
|
+
s0 = peg$FAILED;
|
|
6171
|
+
}
|
|
6172
|
+
if (s0 === peg$FAILED) {
|
|
6173
|
+
s0 = peg$currPos;
|
|
6174
|
+
s1 = peg$parseAlternativeStyleTags();
|
|
6175
|
+
if (s1 !== peg$FAILED) {
|
|
6176
|
+
s2 = peg$parseBlockTag();
|
|
6177
|
+
if (s2 !== peg$FAILED) {
|
|
6178
|
+
peg$savedPos = s0;
|
|
6179
|
+
s0 = peg$f74(s1);
|
|
6180
|
+
}
|
|
6181
|
+
else {
|
|
6182
|
+
peg$currPos = s0;
|
|
6183
|
+
s0 = peg$FAILED;
|
|
6184
|
+
}
|
|
6185
|
+
}
|
|
6186
|
+
else {
|
|
6187
|
+
peg$currPos = s0;
|
|
6188
|
+
s0 = peg$FAILED;
|
|
6189
|
+
}
|
|
6190
|
+
if (s0 === peg$FAILED) {
|
|
6191
|
+
s0 = peg$currPos;
|
|
6192
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
6193
|
+
s1 = peg$c21;
|
|
6194
|
+
peg$currPos++;
|
|
6195
|
+
}
|
|
6196
|
+
else {
|
|
6197
|
+
s1 = peg$FAILED;
|
|
6198
|
+
if (peg$silentFails === 0) {
|
|
6199
|
+
peg$fail(peg$e25);
|
|
6200
|
+
}
|
|
6201
|
+
}
|
|
6202
|
+
if (s1 !== peg$FAILED) {
|
|
6203
|
+
s2 = peg$currPos;
|
|
6204
|
+
s3 = [];
|
|
6205
|
+
s4 = peg$currPos;
|
|
6206
|
+
s5 = peg$currPos;
|
|
6207
|
+
peg$silentFails++;
|
|
6208
|
+
s6 = peg$parseBlockTag();
|
|
6209
|
+
peg$silentFails--;
|
|
6210
|
+
if (s6 === peg$FAILED) {
|
|
6211
|
+
s5 = undefined;
|
|
6212
|
+
}
|
|
6213
|
+
else {
|
|
6214
|
+
peg$currPos = s5;
|
|
6215
|
+
s5 = peg$FAILED;
|
|
6216
|
+
}
|
|
6217
|
+
if (s5 !== peg$FAILED) {
|
|
6218
|
+
s6 = peg$parsechar();
|
|
6219
|
+
if (s6 !== peg$FAILED) {
|
|
6220
|
+
s5 = [s5, s6];
|
|
6221
|
+
s4 = s5;
|
|
6222
|
+
}
|
|
6223
|
+
else {
|
|
6224
|
+
peg$currPos = s4;
|
|
6225
|
+
s4 = peg$FAILED;
|
|
6226
|
+
}
|
|
6227
|
+
}
|
|
6228
|
+
else {
|
|
6229
|
+
peg$currPos = s4;
|
|
6230
|
+
s4 = peg$FAILED;
|
|
6231
|
+
}
|
|
6232
|
+
while (s4 !== peg$FAILED) {
|
|
6233
|
+
s3.push(s4);
|
|
6234
|
+
s4 = peg$currPos;
|
|
6235
|
+
s5 = peg$currPos;
|
|
6236
|
+
peg$silentFails++;
|
|
6237
|
+
s6 = peg$parseBlockTag();
|
|
6238
|
+
peg$silentFails--;
|
|
6239
|
+
if (s6 === peg$FAILED) {
|
|
6240
|
+
s5 = undefined;
|
|
6241
|
+
}
|
|
6242
|
+
else {
|
|
6243
|
+
peg$currPos = s5;
|
|
6244
|
+
s5 = peg$FAILED;
|
|
6245
|
+
}
|
|
6246
|
+
if (s5 !== peg$FAILED) {
|
|
6247
|
+
s6 = peg$parsechar();
|
|
6248
|
+
if (s6 !== peg$FAILED) {
|
|
6249
|
+
s5 = [s5, s6];
|
|
6250
|
+
s4 = s5;
|
|
6251
|
+
}
|
|
6252
|
+
else {
|
|
6253
|
+
peg$currPos = s4;
|
|
6254
|
+
s4 = peg$FAILED;
|
|
6255
|
+
}
|
|
6256
|
+
}
|
|
6257
|
+
else {
|
|
6258
|
+
peg$currPos = s4;
|
|
6259
|
+
s4 = peg$FAILED;
|
|
6260
|
+
}
|
|
6261
|
+
}
|
|
6262
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6263
|
+
s3 = peg$parseBlockTag();
|
|
6264
|
+
if (s3 !== peg$FAILED) {
|
|
6265
|
+
peg$savedPos = s0;
|
|
6266
|
+
s0 = peg$f75(s2);
|
|
6267
|
+
}
|
|
6268
|
+
else {
|
|
6269
|
+
peg$currPos = s0;
|
|
6270
|
+
s0 = peg$FAILED;
|
|
6271
|
+
}
|
|
6272
|
+
}
|
|
6273
|
+
else {
|
|
6274
|
+
peg$currPos = s0;
|
|
6275
|
+
s0 = peg$FAILED;
|
|
6276
|
+
}
|
|
6277
|
+
}
|
|
6278
|
+
}
|
|
6279
|
+
}
|
|
5547
6280
|
}
|
|
5548
6281
|
}
|
|
5549
6282
|
}
|
|
@@ -5557,201 +6290,201 @@ function peg$parse(input, options) {
|
|
|
5557
6290
|
}
|
|
5558
6291
|
function peg$parseAlternativeStyleTags() {
|
|
5559
6292
|
var s0;
|
|
5560
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5561
|
-
s0 = peg$
|
|
6293
|
+
if (input.substr(peg$currPos, 4) === peg$c43) {
|
|
6294
|
+
s0 = peg$c43;
|
|
5562
6295
|
peg$currPos += 4;
|
|
5563
6296
|
}
|
|
5564
6297
|
else {
|
|
5565
6298
|
s0 = peg$FAILED;
|
|
5566
6299
|
if (peg$silentFails === 0) {
|
|
5567
|
-
peg$fail(peg$
|
|
6300
|
+
peg$fail(peg$e49);
|
|
5568
6301
|
}
|
|
5569
6302
|
}
|
|
5570
6303
|
if (s0 === peg$FAILED) {
|
|
5571
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
5572
|
-
s0 = peg$
|
|
6304
|
+
if (input.substr(peg$currPos, 6) === peg$c44) {
|
|
6305
|
+
s0 = peg$c44;
|
|
5573
6306
|
peg$currPos += 6;
|
|
5574
6307
|
}
|
|
5575
6308
|
else {
|
|
5576
6309
|
s0 = peg$FAILED;
|
|
5577
6310
|
if (peg$silentFails === 0) {
|
|
5578
|
-
peg$fail(peg$
|
|
6311
|
+
peg$fail(peg$e50);
|
|
5579
6312
|
}
|
|
5580
6313
|
}
|
|
5581
6314
|
if (s0 === peg$FAILED) {
|
|
5582
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5583
|
-
s0 = peg$
|
|
6315
|
+
if (input.substr(peg$currPos, 5) === peg$c45) {
|
|
6316
|
+
s0 = peg$c45;
|
|
5584
6317
|
peg$currPos += 5;
|
|
5585
6318
|
}
|
|
5586
6319
|
else {
|
|
5587
6320
|
s0 = peg$FAILED;
|
|
5588
6321
|
if (peg$silentFails === 0) {
|
|
5589
|
-
peg$fail(peg$
|
|
6322
|
+
peg$fail(peg$e51);
|
|
5590
6323
|
}
|
|
5591
6324
|
}
|
|
5592
6325
|
if (s0 === peg$FAILED) {
|
|
5593
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
5594
|
-
s0 = peg$
|
|
6326
|
+
if (input.substr(peg$currPos, 9) === peg$c46) {
|
|
6327
|
+
s0 = peg$c46;
|
|
5595
6328
|
peg$currPos += 9;
|
|
5596
6329
|
}
|
|
5597
6330
|
else {
|
|
5598
6331
|
s0 = peg$FAILED;
|
|
5599
6332
|
if (peg$silentFails === 0) {
|
|
5600
|
-
peg$fail(peg$
|
|
6333
|
+
peg$fail(peg$e52);
|
|
5601
6334
|
}
|
|
5602
6335
|
}
|
|
5603
6336
|
if (s0 === peg$FAILED) {
|
|
5604
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
5605
|
-
s0 = peg$
|
|
6337
|
+
if (input.substr(peg$currPos, 6) === peg$c47) {
|
|
6338
|
+
s0 = peg$c47;
|
|
5606
6339
|
peg$currPos += 6;
|
|
5607
6340
|
}
|
|
5608
6341
|
else {
|
|
5609
6342
|
s0 = peg$FAILED;
|
|
5610
6343
|
if (peg$silentFails === 0) {
|
|
5611
|
-
peg$fail(peg$
|
|
6344
|
+
peg$fail(peg$e53);
|
|
5612
6345
|
}
|
|
5613
6346
|
}
|
|
5614
6347
|
if (s0 === peg$FAILED) {
|
|
5615
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
5616
|
-
s0 = peg$
|
|
6348
|
+
if (input.substr(peg$currPos, 9) === peg$c48) {
|
|
6349
|
+
s0 = peg$c48;
|
|
5617
6350
|
peg$currPos += 9;
|
|
5618
6351
|
}
|
|
5619
6352
|
else {
|
|
5620
6353
|
s0 = peg$FAILED;
|
|
5621
6354
|
if (peg$silentFails === 0) {
|
|
5622
|
-
peg$fail(peg$
|
|
6355
|
+
peg$fail(peg$e54);
|
|
5623
6356
|
}
|
|
5624
6357
|
}
|
|
5625
6358
|
if (s0 === peg$FAILED) {
|
|
5626
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
5627
|
-
s0 = peg$
|
|
6359
|
+
if (input.substr(peg$currPos, 11) === peg$c49) {
|
|
6360
|
+
s0 = peg$c49;
|
|
5628
6361
|
peg$currPos += 11;
|
|
5629
6362
|
}
|
|
5630
6363
|
else {
|
|
5631
6364
|
s0 = peg$FAILED;
|
|
5632
6365
|
if (peg$silentFails === 0) {
|
|
5633
|
-
peg$fail(peg$
|
|
6366
|
+
peg$fail(peg$e55);
|
|
5634
6367
|
}
|
|
5635
6368
|
}
|
|
5636
6369
|
if (s0 === peg$FAILED) {
|
|
5637
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
5638
|
-
s0 = peg$
|
|
6370
|
+
if (input.substr(peg$currPos, 3) === peg$c50) {
|
|
6371
|
+
s0 = peg$c50;
|
|
5639
6372
|
peg$currPos += 3;
|
|
5640
6373
|
}
|
|
5641
6374
|
else {
|
|
5642
6375
|
s0 = peg$FAILED;
|
|
5643
6376
|
if (peg$silentFails === 0) {
|
|
5644
|
-
peg$fail(peg$
|
|
6377
|
+
peg$fail(peg$e56);
|
|
5645
6378
|
}
|
|
5646
6379
|
}
|
|
5647
6380
|
if (s0 === peg$FAILED) {
|
|
5648
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
5649
|
-
s0 = peg$
|
|
6381
|
+
if (input.substr(peg$currPos, 3) === peg$c51) {
|
|
6382
|
+
s0 = peg$c51;
|
|
5650
6383
|
peg$currPos += 3;
|
|
5651
6384
|
}
|
|
5652
6385
|
else {
|
|
5653
6386
|
s0 = peg$FAILED;
|
|
5654
6387
|
if (peg$silentFails === 0) {
|
|
5655
|
-
peg$fail(peg$
|
|
6388
|
+
peg$fail(peg$e57);
|
|
5656
6389
|
}
|
|
5657
6390
|
}
|
|
5658
6391
|
if (s0 === peg$FAILED) {
|
|
5659
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
5660
|
-
s0 = peg$
|
|
6392
|
+
if (input.substr(peg$currPos, 9) === peg$c52) {
|
|
6393
|
+
s0 = peg$c52;
|
|
5661
6394
|
peg$currPos += 9;
|
|
5662
6395
|
}
|
|
5663
6396
|
else {
|
|
5664
6397
|
s0 = peg$FAILED;
|
|
5665
6398
|
if (peg$silentFails === 0) {
|
|
5666
|
-
peg$fail(peg$
|
|
6399
|
+
peg$fail(peg$e58);
|
|
5667
6400
|
}
|
|
5668
6401
|
}
|
|
5669
6402
|
if (s0 === peg$FAILED) {
|
|
5670
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
5671
|
-
s0 = peg$
|
|
6403
|
+
if (input.substr(peg$currPos, 15) === peg$c53) {
|
|
6404
|
+
s0 = peg$c53;
|
|
5672
6405
|
peg$currPos += 15;
|
|
5673
6406
|
}
|
|
5674
6407
|
else {
|
|
5675
6408
|
s0 = peg$FAILED;
|
|
5676
6409
|
if (peg$silentFails === 0) {
|
|
5677
|
-
peg$fail(peg$
|
|
6410
|
+
peg$fail(peg$e59);
|
|
5678
6411
|
}
|
|
5679
6412
|
}
|
|
5680
6413
|
if (s0 === peg$FAILED) {
|
|
5681
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
5682
|
-
s0 = peg$
|
|
6414
|
+
if (input.substr(peg$currPos, 6) === peg$c54) {
|
|
6415
|
+
s0 = peg$c54;
|
|
5683
6416
|
peg$currPos += 6;
|
|
5684
6417
|
}
|
|
5685
6418
|
else {
|
|
5686
6419
|
s0 = peg$FAILED;
|
|
5687
6420
|
if (peg$silentFails === 0) {
|
|
5688
|
-
peg$fail(peg$
|
|
6421
|
+
peg$fail(peg$e60);
|
|
5689
6422
|
}
|
|
5690
6423
|
}
|
|
5691
6424
|
if (s0 === peg$FAILED) {
|
|
5692
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
5693
|
-
s0 = peg$
|
|
6425
|
+
if (input.substr(peg$currPos, 10) === peg$c55) {
|
|
6426
|
+
s0 = peg$c55;
|
|
5694
6427
|
peg$currPos += 10;
|
|
5695
6428
|
}
|
|
5696
6429
|
else {
|
|
5697
6430
|
s0 = peg$FAILED;
|
|
5698
6431
|
if (peg$silentFails === 0) {
|
|
5699
|
-
peg$fail(peg$
|
|
6432
|
+
peg$fail(peg$e61);
|
|
5700
6433
|
}
|
|
5701
6434
|
}
|
|
5702
6435
|
if (s0 === peg$FAILED) {
|
|
5703
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
5704
|
-
s0 = peg$
|
|
6436
|
+
if (input.substr(peg$currPos, 13) === peg$c56) {
|
|
6437
|
+
s0 = peg$c56;
|
|
5705
6438
|
peg$currPos += 13;
|
|
5706
6439
|
}
|
|
5707
6440
|
else {
|
|
5708
6441
|
s0 = peg$FAILED;
|
|
5709
6442
|
if (peg$silentFails === 0) {
|
|
5710
|
-
peg$fail(peg$
|
|
6443
|
+
peg$fail(peg$e62);
|
|
5711
6444
|
}
|
|
5712
6445
|
}
|
|
5713
6446
|
if (s0 === peg$FAILED) {
|
|
5714
|
-
if (input.substr(peg$currPos, 19) === peg$
|
|
5715
|
-
s0 = peg$
|
|
6447
|
+
if (input.substr(peg$currPos, 19) === peg$c57) {
|
|
6448
|
+
s0 = peg$c57;
|
|
5716
6449
|
peg$currPos += 19;
|
|
5717
6450
|
}
|
|
5718
6451
|
else {
|
|
5719
6452
|
s0 = peg$FAILED;
|
|
5720
6453
|
if (peg$silentFails === 0) {
|
|
5721
|
-
peg$fail(peg$
|
|
6454
|
+
peg$fail(peg$e63);
|
|
5722
6455
|
}
|
|
5723
6456
|
}
|
|
5724
6457
|
if (s0 === peg$FAILED) {
|
|
5725
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
5726
|
-
s0 = peg$
|
|
6458
|
+
if (input.substr(peg$currPos, 10) === peg$c58) {
|
|
6459
|
+
s0 = peg$c58;
|
|
5727
6460
|
peg$currPos += 10;
|
|
5728
6461
|
}
|
|
5729
6462
|
else {
|
|
5730
6463
|
s0 = peg$FAILED;
|
|
5731
6464
|
if (peg$silentFails === 0) {
|
|
5732
|
-
peg$fail(peg$
|
|
6465
|
+
peg$fail(peg$e64);
|
|
5733
6466
|
}
|
|
5734
6467
|
}
|
|
5735
6468
|
if (s0 === peg$FAILED) {
|
|
5736
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
5737
|
-
s0 = peg$
|
|
6469
|
+
if (input.substr(peg$currPos, 10) === peg$c59) {
|
|
6470
|
+
s0 = peg$c59;
|
|
5738
6471
|
peg$currPos += 10;
|
|
5739
6472
|
}
|
|
5740
6473
|
else {
|
|
5741
6474
|
s0 = peg$FAILED;
|
|
5742
6475
|
if (peg$silentFails === 0) {
|
|
5743
|
-
peg$fail(peg$
|
|
6476
|
+
peg$fail(peg$e65);
|
|
5744
6477
|
}
|
|
5745
6478
|
}
|
|
5746
6479
|
if (s0 === peg$FAILED) {
|
|
5747
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
5748
|
-
s0 = peg$
|
|
6480
|
+
if (input.substr(peg$currPos, 13) === peg$c60) {
|
|
6481
|
+
s0 = peg$c60;
|
|
5749
6482
|
peg$currPos += 13;
|
|
5750
6483
|
}
|
|
5751
6484
|
else {
|
|
5752
6485
|
s0 = peg$FAILED;
|
|
5753
6486
|
if (peg$silentFails === 0) {
|
|
5754
|
-
peg$fail(peg$
|
|
6487
|
+
peg$fail(peg$e66);
|
|
5755
6488
|
}
|
|
5756
6489
|
}
|
|
5757
6490
|
}
|
|
@@ -5775,245 +6508,245 @@ function peg$parse(input, options) {
|
|
|
5775
6508
|
}
|
|
5776
6509
|
function peg$parseColor() {
|
|
5777
6510
|
var s0;
|
|
5778
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5779
|
-
s0 = peg$
|
|
6511
|
+
if (input.substr(peg$currPos, 4) === peg$c61) {
|
|
6512
|
+
s0 = peg$c61;
|
|
5780
6513
|
peg$currPos += 4;
|
|
5781
6514
|
}
|
|
5782
6515
|
else {
|
|
5783
6516
|
s0 = peg$FAILED;
|
|
5784
6517
|
if (peg$silentFails === 0) {
|
|
5785
|
-
peg$fail(peg$
|
|
6518
|
+
peg$fail(peg$e67);
|
|
5786
6519
|
}
|
|
5787
6520
|
}
|
|
5788
6521
|
if (s0 === peg$FAILED) {
|
|
5789
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5790
|
-
s0 = peg$
|
|
6522
|
+
if (input.substr(peg$currPos, 5) === peg$c62) {
|
|
6523
|
+
s0 = peg$c62;
|
|
5791
6524
|
peg$currPos += 5;
|
|
5792
6525
|
}
|
|
5793
6526
|
else {
|
|
5794
6527
|
s0 = peg$FAILED;
|
|
5795
6528
|
if (peg$silentFails === 0) {
|
|
5796
|
-
peg$fail(peg$
|
|
6529
|
+
peg$fail(peg$e68);
|
|
5797
6530
|
}
|
|
5798
6531
|
}
|
|
5799
6532
|
if (s0 === peg$FAILED) {
|
|
5800
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5801
|
-
s0 = peg$
|
|
6533
|
+
if (input.substr(peg$currPos, 4) === peg$c63) {
|
|
6534
|
+
s0 = peg$c63;
|
|
5802
6535
|
peg$currPos += 4;
|
|
5803
6536
|
}
|
|
5804
6537
|
else {
|
|
5805
6538
|
s0 = peg$FAILED;
|
|
5806
6539
|
if (peg$silentFails === 0) {
|
|
5807
|
-
peg$fail(peg$
|
|
6540
|
+
peg$fail(peg$e69);
|
|
5808
6541
|
}
|
|
5809
6542
|
}
|
|
5810
6543
|
if (s0 === peg$FAILED) {
|
|
5811
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5812
|
-
s0 = peg$
|
|
6544
|
+
if (input.substr(peg$currPos, 4) === peg$c64) {
|
|
6545
|
+
s0 = peg$c64;
|
|
5813
6546
|
peg$currPos += 4;
|
|
5814
6547
|
}
|
|
5815
6548
|
else {
|
|
5816
6549
|
s0 = peg$FAILED;
|
|
5817
6550
|
if (peg$silentFails === 0) {
|
|
5818
|
-
peg$fail(peg$
|
|
6551
|
+
peg$fail(peg$e70);
|
|
5819
6552
|
}
|
|
5820
6553
|
}
|
|
5821
6554
|
if (s0 === peg$FAILED) {
|
|
5822
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
5823
|
-
s0 = peg$
|
|
6555
|
+
if (input.substr(peg$currPos, 7) === peg$c65) {
|
|
6556
|
+
s0 = peg$c65;
|
|
5824
6557
|
peg$currPos += 7;
|
|
5825
6558
|
}
|
|
5826
6559
|
else {
|
|
5827
6560
|
s0 = peg$FAILED;
|
|
5828
6561
|
if (peg$silentFails === 0) {
|
|
5829
|
-
peg$fail(peg$
|
|
6562
|
+
peg$fail(peg$e71);
|
|
5830
6563
|
}
|
|
5831
6564
|
}
|
|
5832
6565
|
if (s0 === peg$FAILED) {
|
|
5833
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
5834
|
-
s0 = peg$
|
|
6566
|
+
if (input.substr(peg$currPos, 9) === peg$c66) {
|
|
6567
|
+
s0 = peg$c66;
|
|
5835
6568
|
peg$currPos += 9;
|
|
5836
6569
|
}
|
|
5837
6570
|
else {
|
|
5838
6571
|
s0 = peg$FAILED;
|
|
5839
6572
|
if (peg$silentFails === 0) {
|
|
5840
|
-
peg$fail(peg$
|
|
6573
|
+
peg$fail(peg$e72);
|
|
5841
6574
|
}
|
|
5842
6575
|
}
|
|
5843
6576
|
if (s0 === peg$FAILED) {
|
|
5844
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5845
|
-
s0 = peg$
|
|
6577
|
+
if (input.substr(peg$currPos, 4) === peg$c67) {
|
|
6578
|
+
s0 = peg$c67;
|
|
5846
6579
|
peg$currPos += 4;
|
|
5847
6580
|
}
|
|
5848
6581
|
else {
|
|
5849
6582
|
s0 = peg$FAILED;
|
|
5850
6583
|
if (peg$silentFails === 0) {
|
|
5851
|
-
peg$fail(peg$
|
|
6584
|
+
peg$fail(peg$e73);
|
|
5852
6585
|
}
|
|
5853
6586
|
}
|
|
5854
6587
|
if (s0 === peg$FAILED) {
|
|
5855
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
5856
|
-
s0 = peg$
|
|
6588
|
+
if (input.substr(peg$currPos, 8) === peg$c68) {
|
|
6589
|
+
s0 = peg$c68;
|
|
5857
6590
|
peg$currPos += 8;
|
|
5858
6591
|
}
|
|
5859
6592
|
else {
|
|
5860
6593
|
s0 = peg$FAILED;
|
|
5861
6594
|
if (peg$silentFails === 0) {
|
|
5862
|
-
peg$fail(peg$
|
|
6595
|
+
peg$fail(peg$e74);
|
|
5863
6596
|
}
|
|
5864
6597
|
}
|
|
5865
6598
|
if (s0 === peg$FAILED) {
|
|
5866
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5867
|
-
s0 = peg$
|
|
6599
|
+
if (input.substr(peg$currPos, 5) === peg$c69) {
|
|
6600
|
+
s0 = peg$c69;
|
|
5868
6601
|
peg$currPos += 5;
|
|
5869
6602
|
}
|
|
5870
6603
|
else {
|
|
5871
6604
|
s0 = peg$FAILED;
|
|
5872
6605
|
if (peg$silentFails === 0) {
|
|
5873
|
-
peg$fail(peg$
|
|
6606
|
+
peg$fail(peg$e75);
|
|
5874
6607
|
}
|
|
5875
6608
|
}
|
|
5876
6609
|
if (s0 === peg$FAILED) {
|
|
5877
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5878
|
-
s0 = peg$
|
|
6610
|
+
if (input.substr(peg$currPos, 4) === peg$c70) {
|
|
6611
|
+
s0 = peg$c70;
|
|
5879
6612
|
peg$currPos += 4;
|
|
5880
6613
|
}
|
|
5881
6614
|
else {
|
|
5882
6615
|
s0 = peg$FAILED;
|
|
5883
6616
|
if (peg$silentFails === 0) {
|
|
5884
|
-
peg$fail(peg$
|
|
6617
|
+
peg$fail(peg$e76);
|
|
5885
6618
|
}
|
|
5886
6619
|
}
|
|
5887
6620
|
if (s0 === peg$FAILED) {
|
|
5888
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
5889
|
-
s0 = peg$
|
|
6621
|
+
if (input.substr(peg$currPos, 7) === peg$c71) {
|
|
6622
|
+
s0 = peg$c71;
|
|
5890
6623
|
peg$currPos += 7;
|
|
5891
6624
|
}
|
|
5892
6625
|
else {
|
|
5893
6626
|
s0 = peg$FAILED;
|
|
5894
6627
|
if (peg$silentFails === 0) {
|
|
5895
|
-
peg$fail(peg$
|
|
6628
|
+
peg$fail(peg$e77);
|
|
5896
6629
|
}
|
|
5897
6630
|
}
|
|
5898
6631
|
if (s0 === peg$FAILED) {
|
|
5899
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
5900
|
-
s0 = peg$
|
|
6632
|
+
if (input.substr(peg$currPos, 6) === peg$c72) {
|
|
6633
|
+
s0 = peg$c72;
|
|
5901
6634
|
peg$currPos += 6;
|
|
5902
6635
|
}
|
|
5903
6636
|
else {
|
|
5904
6637
|
s0 = peg$FAILED;
|
|
5905
6638
|
if (peg$silentFails === 0) {
|
|
5906
|
-
peg$fail(peg$
|
|
6639
|
+
peg$fail(peg$e78);
|
|
5907
6640
|
}
|
|
5908
6641
|
}
|
|
5909
6642
|
if (s0 === peg$FAILED) {
|
|
5910
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5911
|
-
s0 = peg$
|
|
6643
|
+
if (input.substr(peg$currPos, 4) === peg$c73) {
|
|
6644
|
+
s0 = peg$c73;
|
|
5912
6645
|
peg$currPos += 4;
|
|
5913
6646
|
}
|
|
5914
6647
|
else {
|
|
5915
6648
|
s0 = peg$FAILED;
|
|
5916
6649
|
if (peg$silentFails === 0) {
|
|
5917
|
-
peg$fail(peg$
|
|
6650
|
+
peg$fail(peg$e79);
|
|
5918
6651
|
}
|
|
5919
6652
|
}
|
|
5920
6653
|
if (s0 === peg$FAILED) {
|
|
5921
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5922
|
-
s0 = peg$
|
|
6654
|
+
if (input.substr(peg$currPos, 5) === peg$c74) {
|
|
6655
|
+
s0 = peg$c74;
|
|
5923
6656
|
peg$currPos += 5;
|
|
5924
6657
|
}
|
|
5925
6658
|
else {
|
|
5926
6659
|
s0 = peg$FAILED;
|
|
5927
6660
|
if (peg$silentFails === 0) {
|
|
5928
|
-
peg$fail(peg$
|
|
6661
|
+
peg$fail(peg$e80);
|
|
5929
6662
|
}
|
|
5930
6663
|
}
|
|
5931
6664
|
if (s0 === peg$FAILED) {
|
|
5932
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
5933
|
-
s0 = peg$
|
|
6665
|
+
if (input.substr(peg$currPos, 6) === peg$c75) {
|
|
6666
|
+
s0 = peg$c75;
|
|
5934
6667
|
peg$currPos += 6;
|
|
5935
6668
|
}
|
|
5936
6669
|
else {
|
|
5937
6670
|
s0 = peg$FAILED;
|
|
5938
6671
|
if (peg$silentFails === 0) {
|
|
5939
|
-
peg$fail(peg$
|
|
6672
|
+
peg$fail(peg$e81);
|
|
5940
6673
|
}
|
|
5941
6674
|
}
|
|
5942
6675
|
if (s0 === peg$FAILED) {
|
|
5943
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
5944
|
-
s0 = peg$
|
|
6676
|
+
if (input.substr(peg$currPos, 6) === peg$c76) {
|
|
6677
|
+
s0 = peg$c76;
|
|
5945
6678
|
peg$currPos += 6;
|
|
5946
6679
|
}
|
|
5947
6680
|
else {
|
|
5948
6681
|
s0 = peg$FAILED;
|
|
5949
6682
|
if (peg$silentFails === 0) {
|
|
5950
|
-
peg$fail(peg$
|
|
6683
|
+
peg$fail(peg$e82);
|
|
5951
6684
|
}
|
|
5952
6685
|
}
|
|
5953
6686
|
if (s0 === peg$FAILED) {
|
|
5954
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
5955
|
-
s0 = peg$
|
|
6687
|
+
if (input.substr(peg$currPos, 3) === peg$c77) {
|
|
6688
|
+
s0 = peg$c77;
|
|
5956
6689
|
peg$currPos += 3;
|
|
5957
6690
|
}
|
|
5958
6691
|
else {
|
|
5959
6692
|
s0 = peg$FAILED;
|
|
5960
6693
|
if (peg$silentFails === 0) {
|
|
5961
|
-
peg$fail(peg$
|
|
6694
|
+
peg$fail(peg$e83);
|
|
5962
6695
|
}
|
|
5963
6696
|
}
|
|
5964
6697
|
if (s0 === peg$FAILED) {
|
|
5965
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
5966
|
-
s0 = peg$
|
|
6698
|
+
if (input.substr(peg$currPos, 6) === peg$c78) {
|
|
6699
|
+
s0 = peg$c78;
|
|
5967
6700
|
peg$currPos += 6;
|
|
5968
6701
|
}
|
|
5969
6702
|
else {
|
|
5970
6703
|
s0 = peg$FAILED;
|
|
5971
6704
|
if (peg$silentFails === 0) {
|
|
5972
|
-
peg$fail(peg$
|
|
6705
|
+
peg$fail(peg$e84);
|
|
5973
6706
|
}
|
|
5974
6707
|
}
|
|
5975
6708
|
if (s0 === peg$FAILED) {
|
|
5976
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5977
|
-
s0 = peg$
|
|
6709
|
+
if (input.substr(peg$currPos, 4) === peg$c79) {
|
|
6710
|
+
s0 = peg$c79;
|
|
5978
6711
|
peg$currPos += 4;
|
|
5979
6712
|
}
|
|
5980
6713
|
else {
|
|
5981
6714
|
s0 = peg$FAILED;
|
|
5982
6715
|
if (peg$silentFails === 0) {
|
|
5983
|
-
peg$fail(peg$
|
|
6716
|
+
peg$fail(peg$e85);
|
|
5984
6717
|
}
|
|
5985
6718
|
}
|
|
5986
6719
|
if (s0 === peg$FAILED) {
|
|
5987
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
5988
|
-
s0 = peg$
|
|
6720
|
+
if (input.substr(peg$currPos, 6) === peg$c80) {
|
|
6721
|
+
s0 = peg$c80;
|
|
5989
6722
|
peg$currPos += 6;
|
|
5990
6723
|
}
|
|
5991
6724
|
else {
|
|
5992
6725
|
s0 = peg$FAILED;
|
|
5993
6726
|
if (peg$silentFails === 0) {
|
|
5994
|
-
peg$fail(peg$
|
|
6727
|
+
peg$fail(peg$e86);
|
|
5995
6728
|
}
|
|
5996
6729
|
}
|
|
5997
6730
|
if (s0 === peg$FAILED) {
|
|
5998
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5999
|
-
s0 = peg$
|
|
6731
|
+
if (input.substr(peg$currPos, 5) === peg$c81) {
|
|
6732
|
+
s0 = peg$c81;
|
|
6000
6733
|
peg$currPos += 5;
|
|
6001
6734
|
}
|
|
6002
6735
|
else {
|
|
6003
6736
|
s0 = peg$FAILED;
|
|
6004
6737
|
if (peg$silentFails === 0) {
|
|
6005
|
-
peg$fail(peg$
|
|
6738
|
+
peg$fail(peg$e87);
|
|
6006
6739
|
}
|
|
6007
6740
|
}
|
|
6008
6741
|
if (s0 === peg$FAILED) {
|
|
6009
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6010
|
-
s0 = peg$
|
|
6742
|
+
if (input.substr(peg$currPos, 6) === peg$c82) {
|
|
6743
|
+
s0 = peg$c82;
|
|
6011
6744
|
peg$currPos += 6;
|
|
6012
6745
|
}
|
|
6013
6746
|
else {
|
|
6014
6747
|
s0 = peg$FAILED;
|
|
6015
6748
|
if (peg$silentFails === 0) {
|
|
6016
|
-
peg$fail(peg$
|
|
6749
|
+
peg$fail(peg$e88);
|
|
6017
6750
|
}
|
|
6018
6751
|
}
|
|
6019
6752
|
}
|
|
@@ -6045,12 +6778,12 @@ function peg$parse(input, options) {
|
|
|
6045
6778
|
s0 = peg$currPos;
|
|
6046
6779
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
6047
6780
|
peg$savedPos = s0;
|
|
6048
|
-
s1 = peg$
|
|
6781
|
+
s1 = peg$f76(s1);
|
|
6049
6782
|
s0 = s1;
|
|
6050
6783
|
peg$silentFails--;
|
|
6051
6784
|
s1 = peg$FAILED;
|
|
6052
6785
|
if (peg$silentFails === 0) {
|
|
6053
|
-
peg$fail(peg$
|
|
6786
|
+
peg$fail(peg$e89);
|
|
6054
6787
|
}
|
|
6055
6788
|
return s0;
|
|
6056
6789
|
}
|
|
@@ -6075,11 +6808,11 @@ function peg$parse(input, options) {
|
|
|
6075
6808
|
}
|
|
6076
6809
|
}
|
|
6077
6810
|
peg$savedPos = s0;
|
|
6078
|
-
s0 = peg$
|
|
6811
|
+
s0 = peg$f77(s1, s2);
|
|
6079
6812
|
peg$silentFails--;
|
|
6080
6813
|
s1 = peg$FAILED;
|
|
6081
6814
|
if (peg$silentFails === 0) {
|
|
6082
|
-
peg$fail(peg$
|
|
6815
|
+
peg$fail(peg$e90);
|
|
6083
6816
|
}
|
|
6084
6817
|
return s0;
|
|
6085
6818
|
}
|
|
@@ -6184,7 +6917,7 @@ function peg$parse(input, options) {
|
|
|
6184
6917
|
}
|
|
6185
6918
|
if (s1 !== peg$FAILED) {
|
|
6186
6919
|
peg$savedPos = s0;
|
|
6187
|
-
s1 = peg$
|
|
6920
|
+
s1 = peg$f78(s1);
|
|
6188
6921
|
}
|
|
6189
6922
|
s0 = s1;
|
|
6190
6923
|
if (s0 === peg$FAILED) {
|
|
@@ -6195,13 +6928,13 @@ function peg$parse(input, options) {
|
|
|
6195
6928
|
function peg$parseBoldHalfTag() {
|
|
6196
6929
|
var s0;
|
|
6197
6930
|
if (input.charCodeAt(peg$currPos) === 42) {
|
|
6198
|
-
s0 = peg$
|
|
6931
|
+
s0 = peg$c83;
|
|
6199
6932
|
peg$currPos++;
|
|
6200
6933
|
}
|
|
6201
6934
|
else {
|
|
6202
6935
|
s0 = peg$FAILED;
|
|
6203
6936
|
if (peg$silentFails === 0) {
|
|
6204
|
-
peg$fail(peg$
|
|
6937
|
+
peg$fail(peg$e91);
|
|
6205
6938
|
}
|
|
6206
6939
|
}
|
|
6207
6940
|
return s0;
|
|
@@ -6209,13 +6942,13 @@ function peg$parse(input, options) {
|
|
|
6209
6942
|
function peg$parseItalicHalfTag() {
|
|
6210
6943
|
var s0;
|
|
6211
6944
|
if (input.charCodeAt(peg$currPos) === 95) {
|
|
6212
|
-
s0 = peg$
|
|
6945
|
+
s0 = peg$c84;
|
|
6213
6946
|
peg$currPos++;
|
|
6214
6947
|
}
|
|
6215
6948
|
else {
|
|
6216
6949
|
s0 = peg$FAILED;
|
|
6217
6950
|
if (peg$silentFails === 0) {
|
|
6218
|
-
peg$fail(peg$
|
|
6951
|
+
peg$fail(peg$e92);
|
|
6219
6952
|
}
|
|
6220
6953
|
}
|
|
6221
6954
|
return s0;
|
|
@@ -6223,13 +6956,13 @@ function peg$parse(input, options) {
|
|
|
6223
6956
|
function peg$parseLightHalfTag() {
|
|
6224
6957
|
var s0;
|
|
6225
6958
|
if (input.charCodeAt(peg$currPos) === 96) {
|
|
6226
|
-
s0 = peg$
|
|
6959
|
+
s0 = peg$c85;
|
|
6227
6960
|
peg$currPos++;
|
|
6228
6961
|
}
|
|
6229
6962
|
else {
|
|
6230
6963
|
s0 = peg$FAILED;
|
|
6231
6964
|
if (peg$silentFails === 0) {
|
|
6232
|
-
peg$fail(peg$
|
|
6965
|
+
peg$fail(peg$e93);
|
|
6233
6966
|
}
|
|
6234
6967
|
}
|
|
6235
6968
|
return s0;
|
|
@@ -6237,13 +6970,13 @@ function peg$parse(input, options) {
|
|
|
6237
6970
|
function peg$parseHighlightHalfTag() {
|
|
6238
6971
|
var s0;
|
|
6239
6972
|
if (input.charCodeAt(peg$currPos) === 33) {
|
|
6240
|
-
s0 = peg$
|
|
6973
|
+
s0 = peg$c86;
|
|
6241
6974
|
peg$currPos++;
|
|
6242
6975
|
}
|
|
6243
6976
|
else {
|
|
6244
6977
|
s0 = peg$FAILED;
|
|
6245
6978
|
if (peg$silentFails === 0) {
|
|
6246
|
-
peg$fail(peg$
|
|
6979
|
+
peg$fail(peg$e94);
|
|
6247
6980
|
}
|
|
6248
6981
|
}
|
|
6249
6982
|
return s0;
|
|
@@ -6334,14 +7067,14 @@ function peg$parse(input, options) {
|
|
|
6334
7067
|
}
|
|
6335
7068
|
function peg$parseBodyBitOpenTag() {
|
|
6336
7069
|
var s0;
|
|
6337
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6338
|
-
s0 = peg$
|
|
7070
|
+
if (input.substr(peg$currPos, 2) === peg$c87) {
|
|
7071
|
+
s0 = peg$c87;
|
|
6339
7072
|
peg$currPos += 2;
|
|
6340
7073
|
}
|
|
6341
7074
|
else {
|
|
6342
7075
|
s0 = peg$FAILED;
|
|
6343
7076
|
if (peg$silentFails === 0) {
|
|
6344
|
-
peg$fail(peg$
|
|
7077
|
+
peg$fail(peg$e95);
|
|
6345
7078
|
}
|
|
6346
7079
|
}
|
|
6347
7080
|
return s0;
|
|
@@ -6349,13 +7082,13 @@ function peg$parse(input, options) {
|
|
|
6349
7082
|
function peg$parseBodyBitCloseTag() {
|
|
6350
7083
|
var s0;
|
|
6351
7084
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
6352
|
-
s0 = peg$
|
|
7085
|
+
s0 = peg$c88;
|
|
6353
7086
|
peg$currPos++;
|
|
6354
7087
|
}
|
|
6355
7088
|
else {
|
|
6356
7089
|
s0 = peg$FAILED;
|
|
6357
7090
|
if (peg$silentFails === 0) {
|
|
6358
|
-
peg$fail(peg$
|
|
7091
|
+
peg$fail(peg$e96);
|
|
6359
7092
|
}
|
|
6360
7093
|
}
|
|
6361
7094
|
return s0;
|
|
@@ -6374,7 +7107,7 @@ function peg$parse(input, options) {
|
|
|
6374
7107
|
else {
|
|
6375
7108
|
s4 = peg$FAILED;
|
|
6376
7109
|
if (peg$silentFails === 0) {
|
|
6377
|
-
peg$fail(peg$
|
|
7110
|
+
peg$fail(peg$e15);
|
|
6378
7111
|
}
|
|
6379
7112
|
}
|
|
6380
7113
|
if (s4 !== peg$FAILED) {
|
|
@@ -6387,7 +7120,7 @@ function peg$parse(input, options) {
|
|
|
6387
7120
|
else {
|
|
6388
7121
|
s4 = peg$FAILED;
|
|
6389
7122
|
if (peg$silentFails === 0) {
|
|
6390
|
-
peg$fail(peg$
|
|
7123
|
+
peg$fail(peg$e15);
|
|
6391
7124
|
}
|
|
6392
7125
|
}
|
|
6393
7126
|
}
|
|
@@ -6405,7 +7138,7 @@ function peg$parse(input, options) {
|
|
|
6405
7138
|
s3 = peg$parseBodyBitCloseTag();
|
|
6406
7139
|
if (s3 !== peg$FAILED) {
|
|
6407
7140
|
peg$savedPos = s0;
|
|
6408
|
-
s0 = peg$
|
|
7141
|
+
s0 = peg$f79(s2);
|
|
6409
7142
|
}
|
|
6410
7143
|
else {
|
|
6411
7144
|
peg$currPos = s0;
|
|
@@ -6426,13 +7159,13 @@ function peg$parse(input, options) {
|
|
|
6426
7159
|
s1 = peg$parseBoldTag();
|
|
6427
7160
|
if (s1 !== peg$FAILED) {
|
|
6428
7161
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6429
|
-
s2 = peg$
|
|
7162
|
+
s2 = peg$c12;
|
|
6430
7163
|
peg$currPos++;
|
|
6431
7164
|
}
|
|
6432
7165
|
else {
|
|
6433
7166
|
s2 = peg$FAILED;
|
|
6434
7167
|
if (peg$silentFails === 0) {
|
|
6435
|
-
peg$fail(peg$
|
|
7168
|
+
peg$fail(peg$e16);
|
|
6436
7169
|
}
|
|
6437
7170
|
}
|
|
6438
7171
|
if (s2 === peg$FAILED) {
|
|
@@ -6445,13 +7178,13 @@ function peg$parse(input, options) {
|
|
|
6445
7178
|
peg$silentFails++;
|
|
6446
7179
|
s7 = peg$currPos;
|
|
6447
7180
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6448
|
-
s8 = peg$
|
|
7181
|
+
s8 = peg$c12;
|
|
6449
7182
|
peg$currPos++;
|
|
6450
7183
|
}
|
|
6451
7184
|
else {
|
|
6452
7185
|
s8 = peg$FAILED;
|
|
6453
7186
|
if (peg$silentFails === 0) {
|
|
6454
|
-
peg$fail(peg$
|
|
7187
|
+
peg$fail(peg$e16);
|
|
6455
7188
|
}
|
|
6456
7189
|
}
|
|
6457
7190
|
if (s8 === peg$FAILED) {
|
|
@@ -6505,13 +7238,13 @@ function peg$parse(input, options) {
|
|
|
6505
7238
|
peg$silentFails++;
|
|
6506
7239
|
s7 = peg$currPos;
|
|
6507
7240
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6508
|
-
s8 = peg$
|
|
7241
|
+
s8 = peg$c12;
|
|
6509
7242
|
peg$currPos++;
|
|
6510
7243
|
}
|
|
6511
7244
|
else {
|
|
6512
7245
|
s8 = peg$FAILED;
|
|
6513
7246
|
if (peg$silentFails === 0) {
|
|
6514
|
-
peg$fail(peg$
|
|
7247
|
+
peg$fail(peg$e16);
|
|
6515
7248
|
}
|
|
6516
7249
|
}
|
|
6517
7250
|
if (s8 === peg$FAILED) {
|
|
@@ -6561,13 +7294,13 @@ function peg$parse(input, options) {
|
|
|
6561
7294
|
}
|
|
6562
7295
|
s3 = input.substring(s3, peg$currPos);
|
|
6563
7296
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6564
|
-
s4 = peg$
|
|
7297
|
+
s4 = peg$c12;
|
|
6565
7298
|
peg$currPos++;
|
|
6566
7299
|
}
|
|
6567
7300
|
else {
|
|
6568
7301
|
s4 = peg$FAILED;
|
|
6569
7302
|
if (peg$silentFails === 0) {
|
|
6570
|
-
peg$fail(peg$
|
|
7303
|
+
peg$fail(peg$e16);
|
|
6571
7304
|
}
|
|
6572
7305
|
}
|
|
6573
7306
|
if (s4 === peg$FAILED) {
|
|
@@ -6576,7 +7309,7 @@ function peg$parse(input, options) {
|
|
|
6576
7309
|
s5 = peg$parseBoldTag();
|
|
6577
7310
|
if (s5 !== peg$FAILED) {
|
|
6578
7311
|
peg$savedPos = s0;
|
|
6579
|
-
s0 = peg$
|
|
7312
|
+
s0 = peg$f80(s3);
|
|
6580
7313
|
}
|
|
6581
7314
|
else {
|
|
6582
7315
|
peg$currPos = s0;
|
|
@@ -6592,13 +7325,13 @@ function peg$parse(input, options) {
|
|
|
6592
7325
|
s1 = peg$parseItalicTag();
|
|
6593
7326
|
if (s1 !== peg$FAILED) {
|
|
6594
7327
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6595
|
-
s2 = peg$
|
|
7328
|
+
s2 = peg$c12;
|
|
6596
7329
|
peg$currPos++;
|
|
6597
7330
|
}
|
|
6598
7331
|
else {
|
|
6599
7332
|
s2 = peg$FAILED;
|
|
6600
7333
|
if (peg$silentFails === 0) {
|
|
6601
|
-
peg$fail(peg$
|
|
7334
|
+
peg$fail(peg$e16);
|
|
6602
7335
|
}
|
|
6603
7336
|
}
|
|
6604
7337
|
if (s2 === peg$FAILED) {
|
|
@@ -6611,13 +7344,13 @@ function peg$parse(input, options) {
|
|
|
6611
7344
|
peg$silentFails++;
|
|
6612
7345
|
s7 = peg$currPos;
|
|
6613
7346
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6614
|
-
s8 = peg$
|
|
7347
|
+
s8 = peg$c12;
|
|
6615
7348
|
peg$currPos++;
|
|
6616
7349
|
}
|
|
6617
7350
|
else {
|
|
6618
7351
|
s8 = peg$FAILED;
|
|
6619
7352
|
if (peg$silentFails === 0) {
|
|
6620
|
-
peg$fail(peg$
|
|
7353
|
+
peg$fail(peg$e16);
|
|
6621
7354
|
}
|
|
6622
7355
|
}
|
|
6623
7356
|
if (s8 === peg$FAILED) {
|
|
@@ -6671,13 +7404,13 @@ function peg$parse(input, options) {
|
|
|
6671
7404
|
peg$silentFails++;
|
|
6672
7405
|
s7 = peg$currPos;
|
|
6673
7406
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6674
|
-
s8 = peg$
|
|
7407
|
+
s8 = peg$c12;
|
|
6675
7408
|
peg$currPos++;
|
|
6676
7409
|
}
|
|
6677
7410
|
else {
|
|
6678
7411
|
s8 = peg$FAILED;
|
|
6679
7412
|
if (peg$silentFails === 0) {
|
|
6680
|
-
peg$fail(peg$
|
|
7413
|
+
peg$fail(peg$e16);
|
|
6681
7414
|
}
|
|
6682
7415
|
}
|
|
6683
7416
|
if (s8 === peg$FAILED) {
|
|
@@ -6727,13 +7460,13 @@ function peg$parse(input, options) {
|
|
|
6727
7460
|
}
|
|
6728
7461
|
s3 = input.substring(s3, peg$currPos);
|
|
6729
7462
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6730
|
-
s4 = peg$
|
|
7463
|
+
s4 = peg$c12;
|
|
6731
7464
|
peg$currPos++;
|
|
6732
7465
|
}
|
|
6733
7466
|
else {
|
|
6734
7467
|
s4 = peg$FAILED;
|
|
6735
7468
|
if (peg$silentFails === 0) {
|
|
6736
|
-
peg$fail(peg$
|
|
7469
|
+
peg$fail(peg$e16);
|
|
6737
7470
|
}
|
|
6738
7471
|
}
|
|
6739
7472
|
if (s4 === peg$FAILED) {
|
|
@@ -6742,7 +7475,7 @@ function peg$parse(input, options) {
|
|
|
6742
7475
|
s5 = peg$parseItalicTag();
|
|
6743
7476
|
if (s5 !== peg$FAILED) {
|
|
6744
7477
|
peg$savedPos = s0;
|
|
6745
|
-
s0 = peg$
|
|
7478
|
+
s0 = peg$f81(s3);
|
|
6746
7479
|
}
|
|
6747
7480
|
else {
|
|
6748
7481
|
peg$currPos = s0;
|
|
@@ -6758,13 +7491,13 @@ function peg$parse(input, options) {
|
|
|
6758
7491
|
s1 = peg$parseLightTag();
|
|
6759
7492
|
if (s1 !== peg$FAILED) {
|
|
6760
7493
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6761
|
-
s2 = peg$
|
|
7494
|
+
s2 = peg$c12;
|
|
6762
7495
|
peg$currPos++;
|
|
6763
7496
|
}
|
|
6764
7497
|
else {
|
|
6765
7498
|
s2 = peg$FAILED;
|
|
6766
7499
|
if (peg$silentFails === 0) {
|
|
6767
|
-
peg$fail(peg$
|
|
7500
|
+
peg$fail(peg$e16);
|
|
6768
7501
|
}
|
|
6769
7502
|
}
|
|
6770
7503
|
if (s2 === peg$FAILED) {
|
|
@@ -6777,13 +7510,13 @@ function peg$parse(input, options) {
|
|
|
6777
7510
|
peg$silentFails++;
|
|
6778
7511
|
s7 = peg$currPos;
|
|
6779
7512
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6780
|
-
s8 = peg$
|
|
7513
|
+
s8 = peg$c12;
|
|
6781
7514
|
peg$currPos++;
|
|
6782
7515
|
}
|
|
6783
7516
|
else {
|
|
6784
7517
|
s8 = peg$FAILED;
|
|
6785
7518
|
if (peg$silentFails === 0) {
|
|
6786
|
-
peg$fail(peg$
|
|
7519
|
+
peg$fail(peg$e16);
|
|
6787
7520
|
}
|
|
6788
7521
|
}
|
|
6789
7522
|
if (s8 === peg$FAILED) {
|
|
@@ -6837,13 +7570,13 @@ function peg$parse(input, options) {
|
|
|
6837
7570
|
peg$silentFails++;
|
|
6838
7571
|
s7 = peg$currPos;
|
|
6839
7572
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6840
|
-
s8 = peg$
|
|
7573
|
+
s8 = peg$c12;
|
|
6841
7574
|
peg$currPos++;
|
|
6842
7575
|
}
|
|
6843
7576
|
else {
|
|
6844
7577
|
s8 = peg$FAILED;
|
|
6845
7578
|
if (peg$silentFails === 0) {
|
|
6846
|
-
peg$fail(peg$
|
|
7579
|
+
peg$fail(peg$e16);
|
|
6847
7580
|
}
|
|
6848
7581
|
}
|
|
6849
7582
|
if (s8 === peg$FAILED) {
|
|
@@ -6893,13 +7626,13 @@ function peg$parse(input, options) {
|
|
|
6893
7626
|
}
|
|
6894
7627
|
s3 = input.substring(s3, peg$currPos);
|
|
6895
7628
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6896
|
-
s4 = peg$
|
|
7629
|
+
s4 = peg$c12;
|
|
6897
7630
|
peg$currPos++;
|
|
6898
7631
|
}
|
|
6899
7632
|
else {
|
|
6900
7633
|
s4 = peg$FAILED;
|
|
6901
7634
|
if (peg$silentFails === 0) {
|
|
6902
|
-
peg$fail(peg$
|
|
7635
|
+
peg$fail(peg$e16);
|
|
6903
7636
|
}
|
|
6904
7637
|
}
|
|
6905
7638
|
if (s4 === peg$FAILED) {
|
|
@@ -6908,7 +7641,7 @@ function peg$parse(input, options) {
|
|
|
6908
7641
|
s5 = peg$parseLightTag();
|
|
6909
7642
|
if (s5 !== peg$FAILED) {
|
|
6910
7643
|
peg$savedPos = s0;
|
|
6911
|
-
s0 = peg$
|
|
7644
|
+
s0 = peg$f82(s3);
|
|
6912
7645
|
}
|
|
6913
7646
|
else {
|
|
6914
7647
|
peg$currPos = s0;
|
|
@@ -6924,13 +7657,13 @@ function peg$parse(input, options) {
|
|
|
6924
7657
|
s1 = peg$parseHighlightTag();
|
|
6925
7658
|
if (s1 !== peg$FAILED) {
|
|
6926
7659
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6927
|
-
s2 = peg$
|
|
7660
|
+
s2 = peg$c12;
|
|
6928
7661
|
peg$currPos++;
|
|
6929
7662
|
}
|
|
6930
7663
|
else {
|
|
6931
7664
|
s2 = peg$FAILED;
|
|
6932
7665
|
if (peg$silentFails === 0) {
|
|
6933
|
-
peg$fail(peg$
|
|
7666
|
+
peg$fail(peg$e16);
|
|
6934
7667
|
}
|
|
6935
7668
|
}
|
|
6936
7669
|
if (s2 === peg$FAILED) {
|
|
@@ -6943,13 +7676,13 @@ function peg$parse(input, options) {
|
|
|
6943
7676
|
peg$silentFails++;
|
|
6944
7677
|
s7 = peg$currPos;
|
|
6945
7678
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
6946
|
-
s8 = peg$
|
|
7679
|
+
s8 = peg$c12;
|
|
6947
7680
|
peg$currPos++;
|
|
6948
7681
|
}
|
|
6949
7682
|
else {
|
|
6950
7683
|
s8 = peg$FAILED;
|
|
6951
7684
|
if (peg$silentFails === 0) {
|
|
6952
|
-
peg$fail(peg$
|
|
7685
|
+
peg$fail(peg$e16);
|
|
6953
7686
|
}
|
|
6954
7687
|
}
|
|
6955
7688
|
if (s8 === peg$FAILED) {
|
|
@@ -7003,13 +7736,13 @@ function peg$parse(input, options) {
|
|
|
7003
7736
|
peg$silentFails++;
|
|
7004
7737
|
s7 = peg$currPos;
|
|
7005
7738
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
7006
|
-
s8 = peg$
|
|
7739
|
+
s8 = peg$c12;
|
|
7007
7740
|
peg$currPos++;
|
|
7008
7741
|
}
|
|
7009
7742
|
else {
|
|
7010
7743
|
s8 = peg$FAILED;
|
|
7011
7744
|
if (peg$silentFails === 0) {
|
|
7012
|
-
peg$fail(peg$
|
|
7745
|
+
peg$fail(peg$e16);
|
|
7013
7746
|
}
|
|
7014
7747
|
}
|
|
7015
7748
|
if (s8 === peg$FAILED) {
|
|
@@ -7059,13 +7792,13 @@ function peg$parse(input, options) {
|
|
|
7059
7792
|
}
|
|
7060
7793
|
s3 = input.substring(s3, peg$currPos);
|
|
7061
7794
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
7062
|
-
s4 = peg$
|
|
7795
|
+
s4 = peg$c12;
|
|
7063
7796
|
peg$currPos++;
|
|
7064
7797
|
}
|
|
7065
7798
|
else {
|
|
7066
7799
|
s4 = peg$FAILED;
|
|
7067
7800
|
if (peg$silentFails === 0) {
|
|
7068
|
-
peg$fail(peg$
|
|
7801
|
+
peg$fail(peg$e16);
|
|
7069
7802
|
}
|
|
7070
7803
|
}
|
|
7071
7804
|
if (s4 === peg$FAILED) {
|
|
@@ -7074,7 +7807,7 @@ function peg$parse(input, options) {
|
|
|
7074
7807
|
s5 = peg$parseHighlightTag();
|
|
7075
7808
|
if (s5 !== peg$FAILED) {
|
|
7076
7809
|
peg$savedPos = s0;
|
|
7077
|
-
s0 = peg$
|
|
7810
|
+
s0 = peg$f83(s3);
|
|
7078
7811
|
}
|
|
7079
7812
|
else {
|
|
7080
7813
|
peg$currPos = s0;
|
|
@@ -7241,24 +7974,24 @@ function peg$parse(input, options) {
|
|
|
7241
7974
|
var s0, s1;
|
|
7242
7975
|
peg$silentFails++;
|
|
7243
7976
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
7244
|
-
s0 = peg$
|
|
7977
|
+
s0 = peg$c89;
|
|
7245
7978
|
peg$currPos++;
|
|
7246
7979
|
}
|
|
7247
7980
|
else {
|
|
7248
7981
|
s0 = peg$FAILED;
|
|
7249
7982
|
if (peg$silentFails === 0) {
|
|
7250
|
-
peg$fail(peg$
|
|
7983
|
+
peg$fail(peg$e98);
|
|
7251
7984
|
}
|
|
7252
7985
|
}
|
|
7253
7986
|
if (s0 === peg$FAILED) {
|
|
7254
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
7255
|
-
s0 = peg$
|
|
7987
|
+
if (input.substr(peg$currPos, 2) === peg$c90) {
|
|
7988
|
+
s0 = peg$c90;
|
|
7256
7989
|
peg$currPos += 2;
|
|
7257
7990
|
}
|
|
7258
7991
|
else {
|
|
7259
7992
|
s0 = peg$FAILED;
|
|
7260
7993
|
if (peg$silentFails === 0) {
|
|
7261
|
-
peg$fail(peg$
|
|
7994
|
+
peg$fail(peg$e99);
|
|
7262
7995
|
}
|
|
7263
7996
|
}
|
|
7264
7997
|
if (s0 === peg$FAILED) {
|
|
@@ -7269,7 +8002,7 @@ function peg$parse(input, options) {
|
|
|
7269
8002
|
else {
|
|
7270
8003
|
s0 = peg$FAILED;
|
|
7271
8004
|
if (peg$silentFails === 0) {
|
|
7272
|
-
peg$fail(peg$
|
|
8005
|
+
peg$fail(peg$e100);
|
|
7273
8006
|
}
|
|
7274
8007
|
}
|
|
7275
8008
|
}
|
|
@@ -7278,7 +8011,7 @@ function peg$parse(input, options) {
|
|
|
7278
8011
|
if (s0 === peg$FAILED) {
|
|
7279
8012
|
s1 = peg$FAILED;
|
|
7280
8013
|
if (peg$silentFails === 0) {
|
|
7281
|
-
peg$fail(peg$
|
|
8014
|
+
peg$fail(peg$e97);
|
|
7282
8015
|
}
|
|
7283
8016
|
}
|
|
7284
8017
|
return s0;
|
|
@@ -7313,7 +8046,7 @@ function peg$parse(input, options) {
|
|
|
7313
8046
|
peg$silentFails--;
|
|
7314
8047
|
s1 = peg$FAILED;
|
|
7315
8048
|
if (peg$silentFails === 0) {
|
|
7316
|
-
peg$fail(peg$
|
|
8049
|
+
peg$fail(peg$e101);
|
|
7317
8050
|
}
|
|
7318
8051
|
return s0;
|
|
7319
8052
|
}
|
|
@@ -7337,7 +8070,7 @@ function peg$parse(input, options) {
|
|
|
7337
8070
|
peg$silentFails--;
|
|
7338
8071
|
s1 = peg$FAILED;
|
|
7339
8072
|
if (peg$silentFails === 0) {
|
|
7340
|
-
peg$fail(peg$
|
|
8073
|
+
peg$fail(peg$e102);
|
|
7341
8074
|
}
|
|
7342
8075
|
return s0;
|
|
7343
8076
|
}
|
|
@@ -7361,7 +8094,7 @@ function peg$parse(input, options) {
|
|
|
7361
8094
|
if (s0 === peg$FAILED) {
|
|
7362
8095
|
s1 = peg$FAILED;
|
|
7363
8096
|
if (peg$silentFails === 0) {
|
|
7364
|
-
peg$fail(peg$
|
|
8097
|
+
peg$fail(peg$e103);
|
|
7365
8098
|
}
|
|
7366
8099
|
}
|
|
7367
8100
|
return s0;
|
|
@@ -7376,14 +8109,14 @@ function peg$parse(input, options) {
|
|
|
7376
8109
|
else {
|
|
7377
8110
|
s0 = peg$FAILED;
|
|
7378
8111
|
if (peg$silentFails === 0) {
|
|
7379
|
-
peg$fail(peg$
|
|
8112
|
+
peg$fail(peg$e105);
|
|
7380
8113
|
}
|
|
7381
8114
|
}
|
|
7382
8115
|
peg$silentFails--;
|
|
7383
8116
|
if (s0 === peg$FAILED) {
|
|
7384
8117
|
s1 = peg$FAILED;
|
|
7385
8118
|
if (peg$silentFails === 0) {
|
|
7386
|
-
peg$fail(peg$
|
|
8119
|
+
peg$fail(peg$e104);
|
|
7387
8120
|
}
|
|
7388
8121
|
}
|
|
7389
8122
|
return s0;
|
|
@@ -7397,7 +8130,7 @@ function peg$parse(input, options) {
|
|
|
7397
8130
|
else {
|
|
7398
8131
|
s0 = peg$FAILED;
|
|
7399
8132
|
if (peg$silentFails === 0) {
|
|
7400
|
-
peg$fail(peg$
|
|
8133
|
+
peg$fail(peg$e106);
|
|
7401
8134
|
}
|
|
7402
8135
|
}
|
|
7403
8136
|
return s0;
|
|
@@ -7411,7 +8144,7 @@ function peg$parse(input, options) {
|
|
|
7411
8144
|
else {
|
|
7412
8145
|
s0 = peg$FAILED;
|
|
7413
8146
|
if (peg$silentFails === 0) {
|
|
7414
|
-
peg$fail(peg$
|
|
8147
|
+
peg$fail(peg$e107);
|
|
7415
8148
|
}
|
|
7416
8149
|
}
|
|
7417
8150
|
return s0;
|
|
@@ -7425,7 +8158,7 @@ function peg$parse(input, options) {
|
|
|
7425
8158
|
else {
|
|
7426
8159
|
s0 = peg$FAILED;
|
|
7427
8160
|
if (peg$silentFails === 0) {
|
|
7428
|
-
peg$fail(peg$
|
|
8161
|
+
peg$fail(peg$e108);
|
|
7429
8162
|
}
|
|
7430
8163
|
}
|
|
7431
8164
|
return s0;
|
|
@@ -7461,38 +8194,38 @@ function peg$parse(input, options) {
|
|
|
7461
8194
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8;
|
|
7462
8195
|
s0 = peg$currPos;
|
|
7463
8196
|
s1 = peg$currPos;
|
|
7464
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7465
|
-
s2 = peg$
|
|
8197
|
+
if (input.substr(peg$currPos, 4) === peg$c91) {
|
|
8198
|
+
s2 = peg$c91;
|
|
7466
8199
|
peg$currPos += 4;
|
|
7467
8200
|
}
|
|
7468
8201
|
else {
|
|
7469
8202
|
s2 = peg$FAILED;
|
|
7470
8203
|
if (peg$silentFails === 0) {
|
|
7471
|
-
peg$fail(peg$
|
|
8204
|
+
peg$fail(peg$e109);
|
|
7472
8205
|
}
|
|
7473
8206
|
}
|
|
7474
8207
|
if (s2 !== peg$FAILED) {
|
|
7475
8208
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
7476
|
-
s3 = peg$
|
|
8209
|
+
s3 = peg$c92;
|
|
7477
8210
|
peg$currPos++;
|
|
7478
8211
|
}
|
|
7479
8212
|
else {
|
|
7480
8213
|
s3 = peg$FAILED;
|
|
7481
8214
|
if (peg$silentFails === 0) {
|
|
7482
|
-
peg$fail(peg$
|
|
8215
|
+
peg$fail(peg$e110);
|
|
7483
8216
|
}
|
|
7484
8217
|
}
|
|
7485
8218
|
if (s3 === peg$FAILED) {
|
|
7486
8219
|
s3 = null;
|
|
7487
8220
|
}
|
|
7488
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7489
|
-
s4 = peg$
|
|
8221
|
+
if (input.substr(peg$currPos, 3) === peg$c93) {
|
|
8222
|
+
s4 = peg$c93;
|
|
7490
8223
|
peg$currPos += 3;
|
|
7491
8224
|
}
|
|
7492
8225
|
else {
|
|
7493
8226
|
s4 = peg$FAILED;
|
|
7494
8227
|
if (peg$silentFails === 0) {
|
|
7495
|
-
peg$fail(peg$
|
|
8228
|
+
peg$fail(peg$e111);
|
|
7496
8229
|
}
|
|
7497
8230
|
}
|
|
7498
8231
|
if (s4 !== peg$FAILED) {
|
|
@@ -7579,38 +8312,38 @@ function peg$parse(input, options) {
|
|
|
7579
8312
|
s0 = peg$currPos;
|
|
7580
8313
|
s1 = peg$currPos;
|
|
7581
8314
|
s2 = peg$currPos;
|
|
7582
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7583
|
-
s3 = peg$
|
|
8315
|
+
if (input.substr(peg$currPos, 4) === peg$c91) {
|
|
8316
|
+
s3 = peg$c91;
|
|
7584
8317
|
peg$currPos += 4;
|
|
7585
8318
|
}
|
|
7586
8319
|
else {
|
|
7587
8320
|
s3 = peg$FAILED;
|
|
7588
8321
|
if (peg$silentFails === 0) {
|
|
7589
|
-
peg$fail(peg$
|
|
8322
|
+
peg$fail(peg$e109);
|
|
7590
8323
|
}
|
|
7591
8324
|
}
|
|
7592
8325
|
if (s3 !== peg$FAILED) {
|
|
7593
8326
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
7594
|
-
s4 = peg$
|
|
8327
|
+
s4 = peg$c92;
|
|
7595
8328
|
peg$currPos++;
|
|
7596
8329
|
}
|
|
7597
8330
|
else {
|
|
7598
8331
|
s4 = peg$FAILED;
|
|
7599
8332
|
if (peg$silentFails === 0) {
|
|
7600
|
-
peg$fail(peg$
|
|
8333
|
+
peg$fail(peg$e110);
|
|
7601
8334
|
}
|
|
7602
8335
|
}
|
|
7603
8336
|
if (s4 === peg$FAILED) {
|
|
7604
8337
|
s4 = null;
|
|
7605
8338
|
}
|
|
7606
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7607
|
-
s5 = peg$
|
|
8339
|
+
if (input.substr(peg$currPos, 3) === peg$c93) {
|
|
8340
|
+
s5 = peg$c93;
|
|
7608
8341
|
peg$currPos += 3;
|
|
7609
8342
|
}
|
|
7610
8343
|
else {
|
|
7611
8344
|
s5 = peg$FAILED;
|
|
7612
8345
|
if (peg$silentFails === 0) {
|
|
7613
|
-
peg$fail(peg$
|
|
8346
|
+
peg$fail(peg$e111);
|
|
7614
8347
|
}
|
|
7615
8348
|
}
|
|
7616
8349
|
if (s5 !== peg$FAILED) {
|
|
@@ -7627,14 +8360,14 @@ function peg$parse(input, options) {
|
|
|
7627
8360
|
s2 = peg$FAILED;
|
|
7628
8361
|
}
|
|
7629
8362
|
if (s2 === peg$FAILED) {
|
|
7630
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
7631
|
-
s2 = peg$
|
|
8363
|
+
if (input.substr(peg$currPos, 7) === peg$c94) {
|
|
8364
|
+
s2 = peg$c94;
|
|
7632
8365
|
peg$currPos += 7;
|
|
7633
8366
|
}
|
|
7634
8367
|
else {
|
|
7635
8368
|
s2 = peg$FAILED;
|
|
7636
8369
|
if (peg$silentFails === 0) {
|
|
7637
|
-
peg$fail(peg$
|
|
8370
|
+
peg$fail(peg$e112);
|
|
7638
8371
|
}
|
|
7639
8372
|
}
|
|
7640
8373
|
}
|
|
@@ -7706,7 +8439,7 @@ function peg$parse(input, options) {
|
|
|
7706
8439
|
}
|
|
7707
8440
|
s2 = input.substring(s2, peg$currPos);
|
|
7708
8441
|
peg$savedPos = s0;
|
|
7709
|
-
s0 = peg$
|
|
8442
|
+
s0 = peg$f84(s1, s2);
|
|
7710
8443
|
}
|
|
7711
8444
|
else {
|
|
7712
8445
|
peg$currPos = s0;
|
|
@@ -7723,7 +8456,7 @@ function peg$parse(input, options) {
|
|
|
7723
8456
|
else {
|
|
7724
8457
|
s0 = peg$FAILED;
|
|
7725
8458
|
if (peg$silentFails === 0) {
|
|
7726
|
-
peg$fail(peg$
|
|
8459
|
+
peg$fail(peg$e113);
|
|
7727
8460
|
}
|
|
7728
8461
|
}
|
|
7729
8462
|
return s0;
|