@gmb/bitmark-parser-generator 3.12.0 → 3.13.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/BitmarkParserGenerator.js +17 -7
- package/dist/cjs/BitmarkParserGenerator.js.map +1 -1
- package/dist/cjs/ast/BaseBuilder.js +3 -0
- package/dist/cjs/ast/BaseBuilder.js.map +1 -1
- package/dist/cjs/ast/Builder.js +116 -4
- package/dist/cjs/ast/Builder.js.map +1 -1
- package/dist/cjs/ast/writer/FileWriter.js +17 -7
- package/dist/cjs/ast/writer/FileWriter.js.map +1 -1
- package/dist/cjs/config/raw/bits.js +24 -0
- package/dist/cjs/config/raw/bits.js.map +1 -1
- package/dist/cjs/config/raw/cardSets.js +42 -0
- package/dist/cjs/config/raw/cardSets.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 +5 -0
- package/dist/cjs/config/raw/properties.js.map +1 -1
- package/dist/cjs/generated/build-info.js +1 -1
- package/dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js +1 -1
- package/dist/cjs/generated/parser/text/text-peggy-parser.js +1258 -710
- package/dist/cjs/generated/parser/text/text-peggy-parser.js.map +1 -1
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js +28 -2
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/cjs/generator/json/JsonGenerator.js +5 -0
- package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
- package/dist/cjs/generator/text/TextGenerator.js +32 -13
- package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
- package/dist/cjs/model/ast/NodeType.js +5 -0
- package/dist/cjs/model/ast/NodeType.js.map +1 -1
- package/dist/cjs/model/config/enum/CardSetConfigKey.js +1 -0
- package/dist/cjs/model/config/enum/CardSetConfigKey.js.map +1 -1
- package/dist/cjs/model/config/enum/PropertyConfigKey.js +1 -0
- package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -1
- package/dist/cjs/model/enum/BitType.js +4 -0
- package/dist/cjs/model/enum/BitType.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +53 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +6 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
- package/dist/cjs/utils/FileUtils.js +17 -7
- package/dist/cjs/utils/FileUtils.js.map +1 -1
- package/dist/esm/ast/BaseBuilder.js +3 -0
- package/dist/esm/ast/BaseBuilder.js.map +1 -1
- package/dist/esm/ast/Builder.js +116 -4
- package/dist/esm/ast/Builder.js.map +1 -1
- package/dist/esm/config/raw/bits.js +24 -0
- package/dist/esm/config/raw/bits.js.map +1 -1
- package/dist/esm/config/raw/cardSets.js +42 -0
- package/dist/esm/config/raw/cardSets.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 +5 -0
- package/dist/esm/config/raw/properties.js.map +1 -1
- package/dist/esm/generated/build-info.js +1 -1
- package/dist/esm/generated/parser/bitmark/bitmark-peggy-parser.js +1 -1
- package/dist/esm/generated/parser/text/text-peggy-parser.js +1258 -710
- package/dist/esm/generated/parser/text/text-peggy-parser.js.map +1 -1
- package/dist/esm/generator/bitmark/BitmarkGenerator.js +28 -2
- package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/esm/generator/json/JsonGenerator.js +5 -0
- package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
- package/dist/esm/generator/text/TextGenerator.js +32 -13
- package/dist/esm/generator/text/TextGenerator.js.map +1 -1
- package/dist/esm/model/ast/NodeType.js +5 -0
- package/dist/esm/model/ast/NodeType.js.map +1 -1
- package/dist/esm/model/config/enum/CardSetConfigKey.js +1 -0
- package/dist/esm/model/config/enum/CardSetConfigKey.js.map +1 -1
- package/dist/esm/model/config/enum/PropertyConfigKey.js +1 -0
- package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -1
- package/dist/esm/model/enum/BitType.js +4 -0
- package/dist/esm/model/enum/BitType.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +53 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +6 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
- package/dist/types/ast/BaseBuilder.d.ts +1 -0
- package/dist/types/ast/BaseBuilder.d.ts.map +1 -1
- package/dist/types/ast/Builder.d.ts +38 -2
- package/dist/types/ast/Builder.d.ts.map +1 -1
- package/dist/types/config/raw/bits.d.ts.map +1 -1
- package/dist/types/config/raw/cardSets.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 +11 -0
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
- package/dist/types/generator/json/JsonGenerator.d.ts +1 -0
- package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
- package/dist/types/generator/text/TextGenerator.d.ts +5 -1
- package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
- package/dist/types/model/ast/NodeType.d.ts +10 -0
- package/dist/types/model/ast/NodeType.d.ts.map +1 -1
- package/dist/types/model/ast/Nodes.d.ts +3 -1
- package/dist/types/model/ast/Nodes.d.ts.map +1 -1
- package/dist/types/model/config/enum/CardSetConfigKey.d.ts +2 -0
- package/dist/types/model/config/enum/CardSetConfigKey.d.ts.map +1 -1
- package/dist/types/model/config/enum/ConfigKey.d.ts +2 -0
- package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -1
- package/dist/types/model/config/enum/PropertyConfigKey.d.ts +3 -0
- package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -1
- package/dist/types/model/enum/BitType.d.ts +8 -0
- package/dist/types/model/enum/BitType.d.ts.map +1 -1
- package/dist/types/model/enum/PropertyTag.d.ts +2 -0
- package/dist/types/model/enum/PropertyTag.d.ts.map +1 -1
- package/dist/types/model/json/BitJson.d.ts +34 -0
- package/dist/types/model/json/BitJson.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts +3 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts.map +1 -1
- package/package.json +40 -40
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// @generated by Peggy 4.
|
|
2
|
+
// @generated by Peggy 4.2.0.
|
|
3
3
|
//
|
|
4
4
|
// https://peggyjs.org/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -7,7 +7,7 @@ exports.StartRules = void 0;
|
|
|
7
7
|
exports.SyntaxError = peg$SyntaxError;
|
|
8
8
|
exports.parse = peg$parse;
|
|
9
9
|
const Breakscape_1 = require("../../../breakscaping/Breakscape");
|
|
10
|
-
const VERSION = "8.
|
|
10
|
+
const VERSION = "8.23.1";
|
|
11
11
|
//Parser peggy.js
|
|
12
12
|
// parser options (parameter when running parser):
|
|
13
13
|
// allowedStartRules: ["bitmarkPlusPlus", "bitmarkPlus", "bitmarkMinusMinus", "bitmarkPlusString", "bitmarkMinusMinusString"]
|
|
@@ -61,6 +61,8 @@ Alex
|
|
|
61
61
|
|
|
62
62
|
|image:https://apple.com|width:300|height: 400|
|
|
63
63
|
|
|
64
|
+
text ==alt text of the inline image==|image:https://img.io/img.svg|width:400|height:200|#comment| more text
|
|
65
|
+
|
|
64
66
|
|code: javascript
|
|
65
67
|
|
|
66
68
|
let a = 3
|
|
@@ -318,75 +320,76 @@ function peg$parse(input, options) {
|
|
|
318
320
|
var peg$c29 = "right";
|
|
319
321
|
var peg$c30 = "=";
|
|
320
322
|
var peg$c31 = "|latex|";
|
|
321
|
-
var peg$c32 = "
|
|
322
|
-
var peg$c33 = "
|
|
323
|
-
var peg$c34 = "
|
|
324
|
-
var peg$c35 = "
|
|
325
|
-
var peg$c36 = "
|
|
326
|
-
var peg$c37 = "
|
|
327
|
-
var peg$c38 = "
|
|
328
|
-
var peg$c39 = "footnote
|
|
329
|
-
var peg$c40 = "
|
|
330
|
-
var peg$c41 = "
|
|
331
|
-
var peg$c42 = "
|
|
332
|
-
var peg$c43 = "timer
|
|
333
|
-
var peg$c44 = "
|
|
334
|
-
var peg$c45 = "
|
|
335
|
-
var peg$c46 = "
|
|
336
|
-
var peg$c47 = "
|
|
337
|
-
var peg$c48 = "
|
|
338
|
-
var peg$c49 = "
|
|
339
|
-
var peg$c50 = "
|
|
340
|
-
var peg$c51 = "
|
|
341
|
-
var peg$c52 = "
|
|
342
|
-
var peg$c53 = "
|
|
343
|
-
var peg$c54 = "
|
|
344
|
-
var peg$c55 = "
|
|
345
|
-
var peg$c56 = "
|
|
346
|
-
var peg$c57 = "
|
|
347
|
-
var peg$c58 = "
|
|
348
|
-
var peg$c59 = "
|
|
349
|
-
var peg$c60 = "
|
|
350
|
-
var peg$c61 = "
|
|
351
|
-
var peg$c62 = "
|
|
352
|
-
var peg$c63 = "
|
|
353
|
-
var peg$c64 = "
|
|
354
|
-
var peg$c65 = "
|
|
355
|
-
var peg$c66 = "
|
|
356
|
-
var peg$c67 = "
|
|
357
|
-
var peg$c68 = "
|
|
358
|
-
var peg$c69 = "
|
|
359
|
-
var peg$c70 = "
|
|
360
|
-
var peg$c71 = "
|
|
361
|
-
var peg$c72 = "
|
|
362
|
-
var peg$c73 = "
|
|
363
|
-
var peg$c74 = "
|
|
364
|
-
var peg$c75 = "
|
|
365
|
-
var peg$c76 = "
|
|
366
|
-
var peg$c77 = "
|
|
367
|
-
var peg$c78 = "
|
|
368
|
-
var peg$c79 = "
|
|
369
|
-
var peg$c80 = "
|
|
370
|
-
var peg$c81 = "
|
|
371
|
-
var peg$c82 = "
|
|
372
|
-
var peg$c83 = "
|
|
373
|
-
var peg$c84 = "
|
|
374
|
-
var peg$c85 = "
|
|
375
|
-
var peg$c86 = "
|
|
376
|
-
var peg$c87 = "
|
|
377
|
-
var peg$c88 = "
|
|
378
|
-
var peg$c89 = "
|
|
379
|
-
var peg$c90 = "
|
|
380
|
-
var peg$c91 = "
|
|
381
|
-
var peg$c92 = "
|
|
382
|
-
var peg$c93 = "
|
|
383
|
-
var peg$c94 = "
|
|
384
|
-
var peg$c95 = "
|
|
385
|
-
var peg$c96 = "\
|
|
386
|
-
var peg$c97 = "
|
|
387
|
-
var peg$c98 = "
|
|
388
|
-
var peg$c99 = "
|
|
389
|
-
var peg$c100 = "
|
|
323
|
+
var peg$c32 = "|image:";
|
|
324
|
+
var peg$c33 = "link:";
|
|
325
|
+
var peg$c34 = "extref:";
|
|
326
|
+
var peg$c35 = "provider:";
|
|
327
|
+
var peg$c36 = "xref:";
|
|
328
|
+
var peg$c37 = "\u25BA";
|
|
329
|
+
var peg$c38 = "symbol:";
|
|
330
|
+
var peg$c39 = "footnote:";
|
|
331
|
+
var peg$c40 = "footnote*:";
|
|
332
|
+
var peg$c41 = "var:";
|
|
333
|
+
var peg$c42 = "code:";
|
|
334
|
+
var peg$c43 = "timer";
|
|
335
|
+
var peg$c44 = "timer:";
|
|
336
|
+
var peg$c45 = "duration:";
|
|
337
|
+
var peg$c46 = "P";
|
|
338
|
+
var peg$c47 = "color:";
|
|
339
|
+
var peg$c48 = "|\u25BA";
|
|
340
|
+
var peg$c49 = "bold";
|
|
341
|
+
var peg$c50 = "italic";
|
|
342
|
+
var peg$c51 = "light";
|
|
343
|
+
var peg$c52 = "highlight";
|
|
344
|
+
var peg$c53 = "strike";
|
|
345
|
+
var peg$c54 = "subscript";
|
|
346
|
+
var peg$c55 = "superscript";
|
|
347
|
+
var peg$c56 = "ins";
|
|
348
|
+
var peg$c57 = "del";
|
|
349
|
+
var peg$c58 = "underline";
|
|
350
|
+
var peg$c59 = "doubleUnderline";
|
|
351
|
+
var peg$c60 = "circle";
|
|
352
|
+
var peg$c61 = "languageEm";
|
|
353
|
+
var peg$c62 = "userUnderline";
|
|
354
|
+
var peg$c63 = "userDoubleUnderline";
|
|
355
|
+
var peg$c64 = "userStrike";
|
|
356
|
+
var peg$c65 = "userCircle";
|
|
357
|
+
var peg$c66 = "userHighlight";
|
|
358
|
+
var peg$c67 = "notranslate";
|
|
359
|
+
var peg$c68 = "aqua";
|
|
360
|
+
var peg$c69 = "black";
|
|
361
|
+
var peg$c70 = "blue";
|
|
362
|
+
var peg$c71 = "pink";
|
|
363
|
+
var peg$c72 = "fuchsia";
|
|
364
|
+
var peg$c73 = "lightgrey";
|
|
365
|
+
var peg$c74 = "gray";
|
|
366
|
+
var peg$c75 = "darkgray";
|
|
367
|
+
var peg$c76 = "green";
|
|
368
|
+
var peg$c77 = "lime";
|
|
369
|
+
var peg$c78 = "magenta";
|
|
370
|
+
var peg$c79 = "maroon";
|
|
371
|
+
var peg$c80 = "navy";
|
|
372
|
+
var peg$c81 = "olive";
|
|
373
|
+
var peg$c82 = "orange";
|
|
374
|
+
var peg$c83 = "purple";
|
|
375
|
+
var peg$c84 = "red";
|
|
376
|
+
var peg$c85 = "silver";
|
|
377
|
+
var peg$c86 = "teal";
|
|
378
|
+
var peg$c87 = "violet";
|
|
379
|
+
var peg$c88 = "white";
|
|
380
|
+
var peg$c89 = "yellow";
|
|
381
|
+
var peg$c90 = "*";
|
|
382
|
+
var peg$c91 = "_";
|
|
383
|
+
var peg$c92 = "`";
|
|
384
|
+
var peg$c93 = "!";
|
|
385
|
+
var peg$c94 = "[!";
|
|
386
|
+
var peg$c95 = "]";
|
|
387
|
+
var peg$c96 = "\n";
|
|
388
|
+
var peg$c97 = "\r\n";
|
|
389
|
+
var peg$c98 = "http";
|
|
390
|
+
var peg$c99 = "s";
|
|
391
|
+
var peg$c100 = "://";
|
|
392
|
+
var peg$c101 = "mailto:";
|
|
390
393
|
var peg$r0 = /^[ \t]/;
|
|
391
394
|
var peg$r1 = /^[0-9]/;
|
|
392
395
|
var peg$r2 = /^[:|]/;
|
|
@@ -434,88 +437,89 @@ function peg$parse(input, options) {
|
|
|
434
437
|
var peg$e35 = peg$otherExpectation("StyledString");
|
|
435
438
|
var peg$e36 = peg$literalExpectation("=", false);
|
|
436
439
|
var peg$e37 = peg$literalExpectation("|latex|", false);
|
|
437
|
-
var peg$e38 = peg$literalExpectation("
|
|
438
|
-
var peg$e39 = peg$literalExpectation("
|
|
439
|
-
var peg$e40 = peg$literalExpectation("
|
|
440
|
-
var peg$e41 = peg$literalExpectation("
|
|
441
|
-
var peg$e42 = peg$literalExpectation("
|
|
442
|
-
var peg$e43 = peg$literalExpectation("
|
|
443
|
-
var peg$e44 = peg$literalExpectation("
|
|
444
|
-
var peg$e45 = peg$literalExpectation("footnote
|
|
445
|
-
var peg$e46 = peg$literalExpectation("
|
|
446
|
-
var peg$e47 = peg$literalExpectation("
|
|
447
|
-
var peg$e48 = peg$literalExpectation("
|
|
448
|
-
var peg$e49 = peg$literalExpectation("timer
|
|
449
|
-
var peg$e50 = peg$literalExpectation("
|
|
450
|
-
var peg$e51 = peg$literalExpectation("
|
|
451
|
-
var peg$e52 = peg$literalExpectation("
|
|
452
|
-
var peg$e53 = peg$literalExpectation("
|
|
453
|
-
var peg$e54 = peg$literalExpectation("
|
|
454
|
-
var peg$e55 = peg$literalExpectation("
|
|
455
|
-
var peg$e56 = peg$literalExpectation("
|
|
456
|
-
var peg$e57 = peg$literalExpectation("
|
|
457
|
-
var peg$e58 = peg$literalExpectation("
|
|
458
|
-
var peg$e59 = peg$literalExpectation("
|
|
459
|
-
var peg$e60 = peg$literalExpectation("
|
|
460
|
-
var peg$e61 = peg$literalExpectation("
|
|
461
|
-
var peg$e62 = peg$literalExpectation("
|
|
462
|
-
var peg$e63 = peg$literalExpectation("
|
|
463
|
-
var peg$e64 = peg$literalExpectation("
|
|
464
|
-
var peg$e65 = peg$literalExpectation("
|
|
465
|
-
var peg$e66 = peg$literalExpectation("
|
|
466
|
-
var peg$e67 = peg$literalExpectation("
|
|
467
|
-
var peg$e68 = peg$literalExpectation("
|
|
468
|
-
var peg$e69 = peg$literalExpectation("
|
|
469
|
-
var peg$e70 = peg$literalExpectation("
|
|
470
|
-
var peg$e71 = peg$literalExpectation("
|
|
471
|
-
var peg$e72 = peg$literalExpectation("
|
|
472
|
-
var peg$e73 = peg$literalExpectation("
|
|
473
|
-
var peg$e74 = peg$literalExpectation("
|
|
474
|
-
var peg$e75 = peg$literalExpectation("
|
|
475
|
-
var peg$e76 = peg$literalExpectation("
|
|
476
|
-
var peg$e77 = peg$literalExpectation("
|
|
477
|
-
var peg$e78 = peg$literalExpectation("
|
|
478
|
-
var peg$e79 = peg$literalExpectation("
|
|
479
|
-
var peg$e80 = peg$literalExpectation("
|
|
480
|
-
var peg$e81 = peg$literalExpectation("
|
|
481
|
-
var peg$e82 = peg$literalExpectation("
|
|
482
|
-
var peg$e83 = peg$literalExpectation("
|
|
483
|
-
var peg$e84 = peg$literalExpectation("
|
|
484
|
-
var peg$e85 = peg$literalExpectation("
|
|
485
|
-
var peg$e86 = peg$literalExpectation("
|
|
486
|
-
var peg$e87 = peg$literalExpectation("
|
|
487
|
-
var peg$e88 = peg$literalExpectation("
|
|
488
|
-
var peg$e89 = peg$literalExpectation("
|
|
489
|
-
var peg$e90 = peg$literalExpectation("
|
|
490
|
-
var peg$e91 = peg$literalExpectation("
|
|
491
|
-
var peg$e92 = peg$literalExpectation("
|
|
492
|
-
var peg$e93 = peg$literalExpectation("
|
|
493
|
-
var peg$e94 = peg$literalExpectation("
|
|
494
|
-
var peg$e95 = peg$
|
|
495
|
-
var peg$e96 = peg$otherExpectation("
|
|
496
|
-
var peg$e97 = peg$
|
|
497
|
-
var peg$e98 = peg$literalExpectation("
|
|
498
|
-
var peg$e99 = peg$literalExpectation("
|
|
499
|
-
var peg$e100 = peg$literalExpectation("
|
|
500
|
-
var peg$e101 = peg$literalExpectation("
|
|
501
|
-
var peg$e102 = peg$literalExpectation("
|
|
502
|
-
var peg$e103 = peg$
|
|
503
|
-
var peg$e104 = peg$
|
|
504
|
-
var peg$e105 = peg$literalExpectation("\
|
|
505
|
-
var peg$e106 = peg$
|
|
506
|
-
var peg$e107 = peg$
|
|
507
|
-
var peg$e108 = peg$otherExpectation("
|
|
508
|
-
var peg$e109 = peg$otherExpectation("
|
|
509
|
-
var peg$e110 = peg$otherExpectation("
|
|
510
|
-
var peg$e111 = peg$
|
|
511
|
-
var peg$e112 = peg$classExpectation(["\
|
|
512
|
-
var peg$e113 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"],
|
|
513
|
-
var peg$e114 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"
|
|
514
|
-
var peg$e115 = peg$
|
|
515
|
-
var peg$e116 = peg$literalExpectation("
|
|
516
|
-
var peg$e117 = peg$literalExpectation("
|
|
517
|
-
var peg$e118 = peg$literalExpectation("
|
|
518
|
-
var peg$e119 = peg$
|
|
440
|
+
var peg$e38 = peg$literalExpectation("|image:", false);
|
|
441
|
+
var peg$e39 = peg$literalExpectation("link:", false);
|
|
442
|
+
var peg$e40 = peg$literalExpectation("extref:", false);
|
|
443
|
+
var peg$e41 = peg$literalExpectation("provider:", false);
|
|
444
|
+
var peg$e42 = peg$literalExpectation("xref:", false);
|
|
445
|
+
var peg$e43 = peg$literalExpectation("\u25BA", false);
|
|
446
|
+
var peg$e44 = peg$literalExpectation("symbol:", false);
|
|
447
|
+
var peg$e45 = peg$literalExpectation("footnote:", false);
|
|
448
|
+
var peg$e46 = peg$literalExpectation("footnote*:", false);
|
|
449
|
+
var peg$e47 = peg$literalExpectation("var:", false);
|
|
450
|
+
var peg$e48 = peg$literalExpectation("code:", false);
|
|
451
|
+
var peg$e49 = peg$literalExpectation("timer", false);
|
|
452
|
+
var peg$e50 = peg$literalExpectation("timer:", false);
|
|
453
|
+
var peg$e51 = peg$literalExpectation("duration:", false);
|
|
454
|
+
var peg$e52 = peg$literalExpectation("P", false);
|
|
455
|
+
var peg$e53 = peg$literalExpectation("color:", false);
|
|
456
|
+
var peg$e54 = peg$literalExpectation("|\u25BA", false);
|
|
457
|
+
var peg$e55 = peg$literalExpectation("bold", false);
|
|
458
|
+
var peg$e56 = peg$literalExpectation("italic", false);
|
|
459
|
+
var peg$e57 = peg$literalExpectation("light", false);
|
|
460
|
+
var peg$e58 = peg$literalExpectation("highlight", false);
|
|
461
|
+
var peg$e59 = peg$literalExpectation("strike", false);
|
|
462
|
+
var peg$e60 = peg$literalExpectation("subscript", false);
|
|
463
|
+
var peg$e61 = peg$literalExpectation("superscript", false);
|
|
464
|
+
var peg$e62 = peg$literalExpectation("ins", false);
|
|
465
|
+
var peg$e63 = peg$literalExpectation("del", false);
|
|
466
|
+
var peg$e64 = peg$literalExpectation("underline", false);
|
|
467
|
+
var peg$e65 = peg$literalExpectation("doubleUnderline", false);
|
|
468
|
+
var peg$e66 = peg$literalExpectation("circle", false);
|
|
469
|
+
var peg$e67 = peg$literalExpectation("languageEm", false);
|
|
470
|
+
var peg$e68 = peg$literalExpectation("userUnderline", false);
|
|
471
|
+
var peg$e69 = peg$literalExpectation("userDoubleUnderline", false);
|
|
472
|
+
var peg$e70 = peg$literalExpectation("userStrike", false);
|
|
473
|
+
var peg$e71 = peg$literalExpectation("userCircle", false);
|
|
474
|
+
var peg$e72 = peg$literalExpectation("userHighlight", false);
|
|
475
|
+
var peg$e73 = peg$literalExpectation("notranslate", false);
|
|
476
|
+
var peg$e74 = peg$literalExpectation("aqua", false);
|
|
477
|
+
var peg$e75 = peg$literalExpectation("black", false);
|
|
478
|
+
var peg$e76 = peg$literalExpectation("blue", false);
|
|
479
|
+
var peg$e77 = peg$literalExpectation("pink", false);
|
|
480
|
+
var peg$e78 = peg$literalExpectation("fuchsia", false);
|
|
481
|
+
var peg$e79 = peg$literalExpectation("lightgrey", false);
|
|
482
|
+
var peg$e80 = peg$literalExpectation("gray", false);
|
|
483
|
+
var peg$e81 = peg$literalExpectation("darkgray", false);
|
|
484
|
+
var peg$e82 = peg$literalExpectation("green", false);
|
|
485
|
+
var peg$e83 = peg$literalExpectation("lime", false);
|
|
486
|
+
var peg$e84 = peg$literalExpectation("magenta", false);
|
|
487
|
+
var peg$e85 = peg$literalExpectation("maroon", false);
|
|
488
|
+
var peg$e86 = peg$literalExpectation("navy", false);
|
|
489
|
+
var peg$e87 = peg$literalExpectation("olive", false);
|
|
490
|
+
var peg$e88 = peg$literalExpectation("orange", false);
|
|
491
|
+
var peg$e89 = peg$literalExpectation("purple", false);
|
|
492
|
+
var peg$e90 = peg$literalExpectation("red", false);
|
|
493
|
+
var peg$e91 = peg$literalExpectation("silver", false);
|
|
494
|
+
var peg$e92 = peg$literalExpectation("teal", false);
|
|
495
|
+
var peg$e93 = peg$literalExpectation("violet", false);
|
|
496
|
+
var peg$e94 = peg$literalExpectation("white", false);
|
|
497
|
+
var peg$e95 = peg$literalExpectation("yellow", false);
|
|
498
|
+
var peg$e96 = peg$otherExpectation("MinimalStyledText");
|
|
499
|
+
var peg$e97 = peg$otherExpectation("MinimalStyledString");
|
|
500
|
+
var peg$e98 = peg$literalExpectation("*", false);
|
|
501
|
+
var peg$e99 = peg$literalExpectation("_", false);
|
|
502
|
+
var peg$e100 = peg$literalExpectation("`", false);
|
|
503
|
+
var peg$e101 = peg$literalExpectation("!", false);
|
|
504
|
+
var peg$e102 = peg$literalExpectation("[!", false);
|
|
505
|
+
var peg$e103 = peg$literalExpectation("]", false);
|
|
506
|
+
var peg$e104 = peg$otherExpectation("Line Terminator");
|
|
507
|
+
var peg$e105 = peg$literalExpectation("\n", false);
|
|
508
|
+
var peg$e106 = peg$literalExpectation("\r\n", false);
|
|
509
|
+
var peg$e107 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false);
|
|
510
|
+
var peg$e108 = peg$otherExpectation("whitespace in line");
|
|
511
|
+
var peg$e109 = peg$otherExpectation("space");
|
|
512
|
+
var peg$e110 = peg$otherExpectation("language tag separator");
|
|
513
|
+
var peg$e111 = peg$otherExpectation("white space, separator");
|
|
514
|
+
var peg$e112 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
|
|
515
|
+
var peg$e113 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
|
|
516
|
+
var peg$e114 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
|
|
517
|
+
var peg$e115 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
|
|
518
|
+
var peg$e116 = peg$literalExpectation("http", false);
|
|
519
|
+
var peg$e117 = peg$literalExpectation("s", false);
|
|
520
|
+
var peg$e118 = peg$literalExpectation("://", false);
|
|
521
|
+
var peg$e119 = peg$literalExpectation("mailto:", false);
|
|
522
|
+
var peg$e120 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false);
|
|
519
523
|
var peg$f0 = function () { return VERSION; };
|
|
520
524
|
var peg$f1 = function (b) { return Object.assign({}, b); };
|
|
521
525
|
var peg$f2 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); return lb_; };
|
|
@@ -662,42 +666,47 @@ function peg$parse(input, options) {
|
|
|
662
666
|
var peg$f54 = function (t) { return { text: unbreakscape(t), type: "text" }; };
|
|
663
667
|
var peg$f55 = function (t) { return { index: +t, type: "bit" }; };
|
|
664
668
|
var peg$f56 = function (t) { return { attrs: { formula: t }, type: "latex" }; };
|
|
665
|
-
var peg$f57 = function (
|
|
669
|
+
var peg$f57 = function (alt, u, ch) { return { attrs: Object.assign(Object.assign({ alt, src: (u.pr + u.t).trim(), title: null }, Object.assign({}, ...ch)), { zoomDisabled: true }), type: "image" }; };
|
|
670
|
+
var peg$f58 = function (t, marks) { if (!marks)
|
|
666
671
|
marks = []; return { marks, text: unbreakscape(t), type: "text" }; };
|
|
667
|
-
var peg$
|
|
668
|
-
var peg$
|
|
669
|
-
var peg$
|
|
670
|
-
var peg$
|
|
671
|
-
var peg$
|
|
672
|
-
var peg$
|
|
673
|
-
var peg$
|
|
674
|
-
var peg$
|
|
675
|
-
var peg$
|
|
676
|
-
var peg$
|
|
677
|
-
var peg$
|
|
678
|
-
var peg$
|
|
679
|
-
var peg$
|
|
680
|
-
var peg$
|
|
681
|
-
var peg$
|
|
682
|
-
var peg$
|
|
683
|
-
var peg$
|
|
684
|
-
var peg$
|
|
685
|
-
var peg$
|
|
686
|
-
var peg$
|
|
687
|
-
var peg$
|
|
688
|
-
var peg$
|
|
689
|
-
var peg$
|
|
690
|
-
var peg$
|
|
691
|
-
var peg$
|
|
692
|
-
var peg$
|
|
693
|
-
var peg$
|
|
694
|
-
var peg$
|
|
695
|
-
var peg$
|
|
696
|
-
var peg$
|
|
697
|
-
var peg$
|
|
698
|
-
var peg$
|
|
699
|
-
var peg$
|
|
700
|
-
var peg$
|
|
672
|
+
var peg$f59 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
|
|
673
|
+
var peg$f60 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
|
|
674
|
+
var peg$f61 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
|
|
675
|
+
var peg$f62 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
|
|
676
|
+
var peg$f63 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
|
|
677
|
+
var peg$f64 = function (ch) { return ch; };
|
|
678
|
+
var peg$f65 = function (ch) { return ch; };
|
|
679
|
+
var peg$f66 = function (str) { return { comment: str }; };
|
|
680
|
+
var peg$f67 = function (p, v) { return { [p]: parseInt(v) }; };
|
|
681
|
+
var peg$f68 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
|
|
682
|
+
var peg$f69 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
|
|
683
|
+
var peg$f70 = function (str, rc, p) { return { type: 'extref', attrs: { extref: str.trim(), references: rc, provider: p.trim() } }; };
|
|
684
|
+
var peg$f71 = function (str, str2) { return { type: 'xref', attrs: { xref: str.trim(), reference: str2.trim() } }; };
|
|
685
|
+
var peg$f72 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference: '' } }; };
|
|
686
|
+
var peg$f73 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
|
|
687
|
+
var peg$f74 = function (str, ch) { const chain = Object.assign({}, ...ch); return { type: 'symbol', attrs: Object.assign({ src: str.trim() }, chain) }; };
|
|
688
|
+
var peg$f75 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
689
|
+
var peg$f76 = function (str) { return { type: 'footnote*', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
690
|
+
var peg$f77 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
|
|
691
|
+
var peg$f78 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
|
|
692
|
+
var peg$f79 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
|
|
693
|
+
var peg$f80 = function () { return { type: 'timer', attrs: { name: "" } }; };
|
|
694
|
+
var peg$f81 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
|
|
695
|
+
var peg$f82 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
|
|
696
|
+
var peg$f83 = function (color) { return { type: 'color', attrs: { color } }; };
|
|
697
|
+
var peg$f84 = function (style) { return { type: style }; };
|
|
698
|
+
var peg$f85 = function (str) { return { type: "comment", comment: str }; };
|
|
699
|
+
var peg$f86 = function (r) { return r.trim(); };
|
|
700
|
+
var peg$f87 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
|
|
701
|
+
var peg$f88 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
|
|
702
|
+
var peg$f89 = function () { return { "type": "hardBreak" }; };
|
|
703
|
+
var peg$f90 = function (t) { return { text: unbreakscape(t), type: "text" }; };
|
|
704
|
+
var peg$f91 = function (t) { return { index: +t, type: "bit" }; };
|
|
705
|
+
var peg$f92 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
|
|
706
|
+
var peg$f93 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
|
|
707
|
+
var peg$f94 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
|
|
708
|
+
var peg$f95 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
|
|
709
|
+
var peg$f96 = function (pr, t) { return { pr, t }; };
|
|
701
710
|
var peg$currPos = options.peg$currPos | 0;
|
|
702
711
|
var peg$savedPos = peg$currPos;
|
|
703
712
|
var peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -4412,160 +4421,123 @@ function peg$parse(input, options) {
|
|
|
4412
4421
|
s0 = peg$currPos;
|
|
4413
4422
|
s1 = peg$parseInlineTag();
|
|
4414
4423
|
if (s1 !== peg$FAILED) {
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
}
|
|
4419
|
-
else {
|
|
4420
|
-
s2 = peg$FAILED;
|
|
4421
|
-
if (peg$silentFails === 0) {
|
|
4422
|
-
peg$fail(peg$e16);
|
|
4423
|
-
}
|
|
4424
|
-
}
|
|
4425
|
-
if (s2 === peg$FAILED) {
|
|
4426
|
-
s2 = null;
|
|
4427
|
-
}
|
|
4428
|
-
s3 = peg$currPos;
|
|
4429
|
-
s4 = [];
|
|
4424
|
+
s2 = peg$currPos;
|
|
4425
|
+
s3 = [];
|
|
4426
|
+
s4 = peg$currPos;
|
|
4430
4427
|
s5 = peg$currPos;
|
|
4431
|
-
s6 = peg$currPos;
|
|
4432
4428
|
peg$silentFails++;
|
|
4433
|
-
|
|
4434
|
-
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4435
|
-
s8 = peg$c12;
|
|
4436
|
-
peg$currPos++;
|
|
4437
|
-
}
|
|
4438
|
-
else {
|
|
4439
|
-
s8 = peg$FAILED;
|
|
4440
|
-
if (peg$silentFails === 0) {
|
|
4441
|
-
peg$fail(peg$e16);
|
|
4442
|
-
}
|
|
4443
|
-
}
|
|
4444
|
-
if (s8 === peg$FAILED) {
|
|
4445
|
-
s8 = null;
|
|
4446
|
-
}
|
|
4447
|
-
s9 = peg$parseInlineTag();
|
|
4448
|
-
if (s9 !== peg$FAILED) {
|
|
4449
|
-
s8 = [s8, s9];
|
|
4450
|
-
s7 = s8;
|
|
4451
|
-
}
|
|
4452
|
-
else {
|
|
4453
|
-
peg$currPos = s7;
|
|
4454
|
-
s7 = peg$FAILED;
|
|
4455
|
-
}
|
|
4429
|
+
s6 = peg$parseInlineTag();
|
|
4456
4430
|
peg$silentFails--;
|
|
4457
|
-
if (
|
|
4458
|
-
|
|
4431
|
+
if (s6 === peg$FAILED) {
|
|
4432
|
+
s5 = undefined;
|
|
4459
4433
|
}
|
|
4460
4434
|
else {
|
|
4461
|
-
peg$currPos =
|
|
4462
|
-
|
|
4435
|
+
peg$currPos = s5;
|
|
4436
|
+
s5 = peg$FAILED;
|
|
4463
4437
|
}
|
|
4464
|
-
if (
|
|
4438
|
+
if (s5 !== peg$FAILED) {
|
|
4465
4439
|
if (input.length > peg$currPos) {
|
|
4466
|
-
|
|
4440
|
+
s6 = input.charAt(peg$currPos);
|
|
4467
4441
|
peg$currPos++;
|
|
4468
4442
|
}
|
|
4469
4443
|
else {
|
|
4470
|
-
|
|
4444
|
+
s6 = peg$FAILED;
|
|
4471
4445
|
if (peg$silentFails === 0) {
|
|
4472
4446
|
peg$fail(peg$e0);
|
|
4473
4447
|
}
|
|
4474
4448
|
}
|
|
4475
|
-
if (
|
|
4476
|
-
|
|
4477
|
-
|
|
4449
|
+
if (s6 !== peg$FAILED) {
|
|
4450
|
+
s5 = [s5, s6];
|
|
4451
|
+
s4 = s5;
|
|
4478
4452
|
}
|
|
4479
4453
|
else {
|
|
4480
|
-
peg$currPos =
|
|
4481
|
-
|
|
4454
|
+
peg$currPos = s4;
|
|
4455
|
+
s4 = peg$FAILED;
|
|
4482
4456
|
}
|
|
4483
4457
|
}
|
|
4484
4458
|
else {
|
|
4485
|
-
peg$currPos =
|
|
4486
|
-
|
|
4459
|
+
peg$currPos = s4;
|
|
4460
|
+
s4 = peg$FAILED;
|
|
4487
4461
|
}
|
|
4488
|
-
while (
|
|
4489
|
-
|
|
4462
|
+
while (s4 !== peg$FAILED) {
|
|
4463
|
+
s3.push(s4);
|
|
4464
|
+
s4 = peg$currPos;
|
|
4490
4465
|
s5 = peg$currPos;
|
|
4491
|
-
s6 = peg$currPos;
|
|
4492
4466
|
peg$silentFails++;
|
|
4493
|
-
|
|
4494
|
-
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4495
|
-
s8 = peg$c12;
|
|
4496
|
-
peg$currPos++;
|
|
4497
|
-
}
|
|
4498
|
-
else {
|
|
4499
|
-
s8 = peg$FAILED;
|
|
4500
|
-
if (peg$silentFails === 0) {
|
|
4501
|
-
peg$fail(peg$e16);
|
|
4502
|
-
}
|
|
4503
|
-
}
|
|
4504
|
-
if (s8 === peg$FAILED) {
|
|
4505
|
-
s8 = null;
|
|
4506
|
-
}
|
|
4507
|
-
s9 = peg$parseInlineTag();
|
|
4508
|
-
if (s9 !== peg$FAILED) {
|
|
4509
|
-
s8 = [s8, s9];
|
|
4510
|
-
s7 = s8;
|
|
4511
|
-
}
|
|
4512
|
-
else {
|
|
4513
|
-
peg$currPos = s7;
|
|
4514
|
-
s7 = peg$FAILED;
|
|
4515
|
-
}
|
|
4467
|
+
s6 = peg$parseInlineTag();
|
|
4516
4468
|
peg$silentFails--;
|
|
4517
|
-
if (
|
|
4518
|
-
|
|
4469
|
+
if (s6 === peg$FAILED) {
|
|
4470
|
+
s5 = undefined;
|
|
4519
4471
|
}
|
|
4520
4472
|
else {
|
|
4521
|
-
peg$currPos =
|
|
4522
|
-
|
|
4473
|
+
peg$currPos = s5;
|
|
4474
|
+
s5 = peg$FAILED;
|
|
4523
4475
|
}
|
|
4524
|
-
if (
|
|
4476
|
+
if (s5 !== peg$FAILED) {
|
|
4525
4477
|
if (input.length > peg$currPos) {
|
|
4526
|
-
|
|
4478
|
+
s6 = input.charAt(peg$currPos);
|
|
4527
4479
|
peg$currPos++;
|
|
4528
4480
|
}
|
|
4529
4481
|
else {
|
|
4530
|
-
|
|
4482
|
+
s6 = peg$FAILED;
|
|
4531
4483
|
if (peg$silentFails === 0) {
|
|
4532
4484
|
peg$fail(peg$e0);
|
|
4533
4485
|
}
|
|
4534
4486
|
}
|
|
4535
|
-
if (
|
|
4536
|
-
|
|
4537
|
-
|
|
4487
|
+
if (s6 !== peg$FAILED) {
|
|
4488
|
+
s5 = [s5, s6];
|
|
4489
|
+
s4 = s5;
|
|
4538
4490
|
}
|
|
4539
4491
|
else {
|
|
4540
|
-
peg$currPos =
|
|
4541
|
-
|
|
4492
|
+
peg$currPos = s4;
|
|
4493
|
+
s4 = peg$FAILED;
|
|
4542
4494
|
}
|
|
4543
4495
|
}
|
|
4544
4496
|
else {
|
|
4545
|
-
peg$currPos =
|
|
4546
|
-
|
|
4497
|
+
peg$currPos = s4;
|
|
4498
|
+
s4 = peg$FAILED;
|
|
4547
4499
|
}
|
|
4548
4500
|
}
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
peg$currPos
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
s4 = peg$FAILED;
|
|
4556
|
-
if (peg$silentFails === 0) {
|
|
4557
|
-
peg$fail(peg$e16);
|
|
4501
|
+
s2 = input.substring(s2, peg$currPos);
|
|
4502
|
+
s3 = peg$parseInlineTag();
|
|
4503
|
+
if (s3 !== peg$FAILED) {
|
|
4504
|
+
if (input.substr(peg$currPos, 7) === peg$c32) {
|
|
4505
|
+
s4 = peg$c32;
|
|
4506
|
+
peg$currPos += 7;
|
|
4558
4507
|
}
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
peg$
|
|
4568
|
-
|
|
4508
|
+
else {
|
|
4509
|
+
s4 = peg$FAILED;
|
|
4510
|
+
if (peg$silentFails === 0) {
|
|
4511
|
+
peg$fail(peg$e38);
|
|
4512
|
+
}
|
|
4513
|
+
}
|
|
4514
|
+
if (s4 !== peg$FAILED) {
|
|
4515
|
+
s5 = peg$parseUrl();
|
|
4516
|
+
if (s5 !== peg$FAILED) {
|
|
4517
|
+
if (input.charCodeAt(peg$currPos) === 124) {
|
|
4518
|
+
s6 = peg$c0;
|
|
4519
|
+
peg$currPos++;
|
|
4520
|
+
}
|
|
4521
|
+
else {
|
|
4522
|
+
s6 = peg$FAILED;
|
|
4523
|
+
if (peg$silentFails === 0) {
|
|
4524
|
+
peg$fail(peg$e2);
|
|
4525
|
+
}
|
|
4526
|
+
}
|
|
4527
|
+
if (s6 !== peg$FAILED) {
|
|
4528
|
+
s7 = peg$parseInlineMediaChain();
|
|
4529
|
+
peg$savedPos = s0;
|
|
4530
|
+
s0 = peg$f57(s2, s5, s7);
|
|
4531
|
+
}
|
|
4532
|
+
else {
|
|
4533
|
+
peg$currPos = s0;
|
|
4534
|
+
s0 = peg$FAILED;
|
|
4535
|
+
}
|
|
4536
|
+
}
|
|
4537
|
+
else {
|
|
4538
|
+
peg$currPos = s0;
|
|
4539
|
+
s0 = peg$FAILED;
|
|
4540
|
+
}
|
|
4569
4541
|
}
|
|
4570
4542
|
else {
|
|
4571
4543
|
peg$currPos = s0;
|
|
@@ -4583,7 +4555,7 @@ function peg$parse(input, options) {
|
|
|
4583
4555
|
}
|
|
4584
4556
|
if (s0 === peg$FAILED) {
|
|
4585
4557
|
s0 = peg$currPos;
|
|
4586
|
-
s1 = peg$
|
|
4558
|
+
s1 = peg$parseInlineTag();
|
|
4587
4559
|
if (s1 !== peg$FAILED) {
|
|
4588
4560
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4589
4561
|
s2 = peg$c12;
|
|
@@ -4617,7 +4589,7 @@ function peg$parse(input, options) {
|
|
|
4617
4589
|
if (s8 === peg$FAILED) {
|
|
4618
4590
|
s8 = null;
|
|
4619
4591
|
}
|
|
4620
|
-
s9 = peg$
|
|
4592
|
+
s9 = peg$parseInlineTag();
|
|
4621
4593
|
if (s9 !== peg$FAILED) {
|
|
4622
4594
|
s8 = [s8, s9];
|
|
4623
4595
|
s7 = s8;
|
|
@@ -4677,7 +4649,7 @@ function peg$parse(input, options) {
|
|
|
4677
4649
|
if (s8 === peg$FAILED) {
|
|
4678
4650
|
s8 = null;
|
|
4679
4651
|
}
|
|
4680
|
-
s9 = peg$
|
|
4652
|
+
s9 = peg$parseInlineTag();
|
|
4681
4653
|
if (s9 !== peg$FAILED) {
|
|
4682
4654
|
s8 = [s8, s9];
|
|
4683
4655
|
s7 = s8;
|
|
@@ -4733,10 +4705,17 @@ function peg$parse(input, options) {
|
|
|
4733
4705
|
if (s4 === peg$FAILED) {
|
|
4734
4706
|
s4 = null;
|
|
4735
4707
|
}
|
|
4736
|
-
s5 = peg$
|
|
4708
|
+
s5 = peg$parseInlineTag();
|
|
4737
4709
|
if (s5 !== peg$FAILED) {
|
|
4738
|
-
|
|
4739
|
-
|
|
4710
|
+
s6 = peg$parseAttrChain();
|
|
4711
|
+
if (s6 !== peg$FAILED) {
|
|
4712
|
+
peg$savedPos = s0;
|
|
4713
|
+
s0 = peg$f58(s3, s6);
|
|
4714
|
+
}
|
|
4715
|
+
else {
|
|
4716
|
+
peg$currPos = s0;
|
|
4717
|
+
s0 = peg$FAILED;
|
|
4718
|
+
}
|
|
4740
4719
|
}
|
|
4741
4720
|
else {
|
|
4742
4721
|
peg$currPos = s0;
|
|
@@ -4749,7 +4728,7 @@ function peg$parse(input, options) {
|
|
|
4749
4728
|
}
|
|
4750
4729
|
if (s0 === peg$FAILED) {
|
|
4751
4730
|
s0 = peg$currPos;
|
|
4752
|
-
s1 = peg$
|
|
4731
|
+
s1 = peg$parseBoldTag();
|
|
4753
4732
|
if (s1 !== peg$FAILED) {
|
|
4754
4733
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4755
4734
|
s2 = peg$c12;
|
|
@@ -4783,7 +4762,7 @@ function peg$parse(input, options) {
|
|
|
4783
4762
|
if (s8 === peg$FAILED) {
|
|
4784
4763
|
s8 = null;
|
|
4785
4764
|
}
|
|
4786
|
-
s9 = peg$
|
|
4765
|
+
s9 = peg$parseBoldTag();
|
|
4787
4766
|
if (s9 !== peg$FAILED) {
|
|
4788
4767
|
s8 = [s8, s9];
|
|
4789
4768
|
s7 = s8;
|
|
@@ -4843,7 +4822,7 @@ function peg$parse(input, options) {
|
|
|
4843
4822
|
if (s8 === peg$FAILED) {
|
|
4844
4823
|
s8 = null;
|
|
4845
4824
|
}
|
|
4846
|
-
s9 = peg$
|
|
4825
|
+
s9 = peg$parseBoldTag();
|
|
4847
4826
|
if (s9 !== peg$FAILED) {
|
|
4848
4827
|
s8 = [s8, s9];
|
|
4849
4828
|
s7 = s8;
|
|
@@ -4899,7 +4878,7 @@ function peg$parse(input, options) {
|
|
|
4899
4878
|
if (s4 === peg$FAILED) {
|
|
4900
4879
|
s4 = null;
|
|
4901
4880
|
}
|
|
4902
|
-
s5 = peg$
|
|
4881
|
+
s5 = peg$parseBoldTag();
|
|
4903
4882
|
if (s5 !== peg$FAILED) {
|
|
4904
4883
|
peg$savedPos = s0;
|
|
4905
4884
|
s0 = peg$f59(s3);
|
|
@@ -4915,7 +4894,7 @@ function peg$parse(input, options) {
|
|
|
4915
4894
|
}
|
|
4916
4895
|
if (s0 === peg$FAILED) {
|
|
4917
4896
|
s0 = peg$currPos;
|
|
4918
|
-
s1 = peg$
|
|
4897
|
+
s1 = peg$parseItalicTag();
|
|
4919
4898
|
if (s1 !== peg$FAILED) {
|
|
4920
4899
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4921
4900
|
s2 = peg$c12;
|
|
@@ -4949,7 +4928,7 @@ function peg$parse(input, options) {
|
|
|
4949
4928
|
if (s8 === peg$FAILED) {
|
|
4950
4929
|
s8 = null;
|
|
4951
4930
|
}
|
|
4952
|
-
s9 = peg$
|
|
4931
|
+
s9 = peg$parseItalicTag();
|
|
4953
4932
|
if (s9 !== peg$FAILED) {
|
|
4954
4933
|
s8 = [s8, s9];
|
|
4955
4934
|
s7 = s8;
|
|
@@ -5009,7 +4988,7 @@ function peg$parse(input, options) {
|
|
|
5009
4988
|
if (s8 === peg$FAILED) {
|
|
5010
4989
|
s8 = null;
|
|
5011
4990
|
}
|
|
5012
|
-
s9 = peg$
|
|
4991
|
+
s9 = peg$parseItalicTag();
|
|
5013
4992
|
if (s9 !== peg$FAILED) {
|
|
5014
4993
|
s8 = [s8, s9];
|
|
5015
4994
|
s7 = s8;
|
|
@@ -5065,7 +5044,7 @@ function peg$parse(input, options) {
|
|
|
5065
5044
|
if (s4 === peg$FAILED) {
|
|
5066
5045
|
s4 = null;
|
|
5067
5046
|
}
|
|
5068
|
-
s5 = peg$
|
|
5047
|
+
s5 = peg$parseItalicTag();
|
|
5069
5048
|
if (s5 !== peg$FAILED) {
|
|
5070
5049
|
peg$savedPos = s0;
|
|
5071
5050
|
s0 = peg$f60(s3);
|
|
@@ -5081,7 +5060,7 @@ function peg$parse(input, options) {
|
|
|
5081
5060
|
}
|
|
5082
5061
|
if (s0 === peg$FAILED) {
|
|
5083
5062
|
s0 = peg$currPos;
|
|
5084
|
-
s1 = peg$
|
|
5063
|
+
s1 = peg$parseLightTag();
|
|
5085
5064
|
if (s1 !== peg$FAILED) {
|
|
5086
5065
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5087
5066
|
s2 = peg$c12;
|
|
@@ -5115,7 +5094,7 @@ function peg$parse(input, options) {
|
|
|
5115
5094
|
if (s8 === peg$FAILED) {
|
|
5116
5095
|
s8 = null;
|
|
5117
5096
|
}
|
|
5118
|
-
s9 = peg$
|
|
5097
|
+
s9 = peg$parseLightTag();
|
|
5119
5098
|
if (s9 !== peg$FAILED) {
|
|
5120
5099
|
s8 = [s8, s9];
|
|
5121
5100
|
s7 = s8;
|
|
@@ -5175,7 +5154,7 @@ function peg$parse(input, options) {
|
|
|
5175
5154
|
if (s8 === peg$FAILED) {
|
|
5176
5155
|
s8 = null;
|
|
5177
5156
|
}
|
|
5178
|
-
s9 = peg$
|
|
5157
|
+
s9 = peg$parseLightTag();
|
|
5179
5158
|
if (s9 !== peg$FAILED) {
|
|
5180
5159
|
s8 = [s8, s9];
|
|
5181
5160
|
s7 = s8;
|
|
@@ -5231,7 +5210,7 @@ function peg$parse(input, options) {
|
|
|
5231
5210
|
if (s4 === peg$FAILED) {
|
|
5232
5211
|
s4 = null;
|
|
5233
5212
|
}
|
|
5234
|
-
s5 = peg$
|
|
5213
|
+
s5 = peg$parseLightTag();
|
|
5235
5214
|
if (s5 !== peg$FAILED) {
|
|
5236
5215
|
peg$savedPos = s0;
|
|
5237
5216
|
s0 = peg$f61(s3);
|
|
@@ -5247,182 +5226,751 @@ function peg$parse(input, options) {
|
|
|
5247
5226
|
}
|
|
5248
5227
|
if (s0 === peg$FAILED) {
|
|
5249
5228
|
s0 = peg$currPos;
|
|
5250
|
-
s1 = peg$
|
|
5229
|
+
s1 = peg$parseHighlightTag();
|
|
5251
5230
|
if (s1 !== peg$FAILED) {
|
|
5252
|
-
peg$
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5231
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5232
|
+
s2 = peg$c12;
|
|
5233
|
+
peg$currPos++;
|
|
5234
|
+
}
|
|
5235
|
+
else {
|
|
5236
|
+
s2 = peg$FAILED;
|
|
5237
|
+
if (peg$silentFails === 0) {
|
|
5238
|
+
peg$fail(peg$e16);
|
|
5239
|
+
}
|
|
5240
|
+
}
|
|
5241
|
+
if (s2 === peg$FAILED) {
|
|
5242
|
+
s2 = null;
|
|
5243
|
+
}
|
|
5244
|
+
s3 = peg$currPos;
|
|
5245
|
+
s4 = [];
|
|
5246
|
+
s5 = peg$currPos;
|
|
5247
|
+
s6 = peg$currPos;
|
|
5248
|
+
peg$silentFails++;
|
|
5249
|
+
s7 = peg$currPos;
|
|
5250
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5251
|
+
s8 = peg$c12;
|
|
5252
|
+
peg$currPos++;
|
|
5253
|
+
}
|
|
5254
|
+
else {
|
|
5255
|
+
s8 = peg$FAILED;
|
|
5256
|
+
if (peg$silentFails === 0) {
|
|
5257
|
+
peg$fail(peg$e16);
|
|
5258
|
+
}
|
|
5259
|
+
}
|
|
5260
|
+
if (s8 === peg$FAILED) {
|
|
5261
|
+
s8 = null;
|
|
5262
|
+
}
|
|
5263
|
+
s9 = peg$parseHighlightTag();
|
|
5264
|
+
if (s9 !== peg$FAILED) {
|
|
5265
|
+
s8 = [s8, s9];
|
|
5266
|
+
s7 = s8;
|
|
5267
|
+
}
|
|
5268
|
+
else {
|
|
5269
|
+
peg$currPos = s7;
|
|
5270
|
+
s7 = peg$FAILED;
|
|
5271
|
+
}
|
|
5272
|
+
peg$silentFails--;
|
|
5273
|
+
if (s7 === peg$FAILED) {
|
|
5274
|
+
s6 = undefined;
|
|
5275
|
+
}
|
|
5276
|
+
else {
|
|
5277
|
+
peg$currPos = s6;
|
|
5278
|
+
s6 = peg$FAILED;
|
|
5279
|
+
}
|
|
5280
|
+
if (s6 !== peg$FAILED) {
|
|
5281
|
+
if (input.length > peg$currPos) {
|
|
5282
|
+
s7 = input.charAt(peg$currPos);
|
|
5283
|
+
peg$currPos++;
|
|
5284
|
+
}
|
|
5285
|
+
else {
|
|
5286
|
+
s7 = peg$FAILED;
|
|
5287
|
+
if (peg$silentFails === 0) {
|
|
5288
|
+
peg$fail(peg$e0);
|
|
5289
|
+
}
|
|
5290
|
+
}
|
|
5291
|
+
if (s7 !== peg$FAILED) {
|
|
5292
|
+
s6 = [s6, s7];
|
|
5293
|
+
s5 = s6;
|
|
5294
|
+
}
|
|
5295
|
+
else {
|
|
5296
|
+
peg$currPos = s5;
|
|
5297
|
+
s5 = peg$FAILED;
|
|
5298
|
+
}
|
|
5299
|
+
}
|
|
5300
|
+
else {
|
|
5301
|
+
peg$currPos = s5;
|
|
5302
|
+
s5 = peg$FAILED;
|
|
5303
|
+
}
|
|
5304
|
+
while (s5 !== peg$FAILED) {
|
|
5305
|
+
s4.push(s5);
|
|
5306
|
+
s5 = peg$currPos;
|
|
5307
|
+
s6 = peg$currPos;
|
|
5308
|
+
peg$silentFails++;
|
|
5309
|
+
s7 = peg$currPos;
|
|
5310
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5311
|
+
s8 = peg$c12;
|
|
5312
|
+
peg$currPos++;
|
|
5313
|
+
}
|
|
5314
|
+
else {
|
|
5315
|
+
s8 = peg$FAILED;
|
|
5316
|
+
if (peg$silentFails === 0) {
|
|
5317
|
+
peg$fail(peg$e16);
|
|
5318
|
+
}
|
|
5319
|
+
}
|
|
5320
|
+
if (s8 === peg$FAILED) {
|
|
5321
|
+
s8 = null;
|
|
5322
|
+
}
|
|
5323
|
+
s9 = peg$parseHighlightTag();
|
|
5324
|
+
if (s9 !== peg$FAILED) {
|
|
5325
|
+
s8 = [s8, s9];
|
|
5326
|
+
s7 = s8;
|
|
5327
|
+
}
|
|
5328
|
+
else {
|
|
5329
|
+
peg$currPos = s7;
|
|
5330
|
+
s7 = peg$FAILED;
|
|
5331
|
+
}
|
|
5332
|
+
peg$silentFails--;
|
|
5333
|
+
if (s7 === peg$FAILED) {
|
|
5334
|
+
s6 = undefined;
|
|
5335
|
+
}
|
|
5336
|
+
else {
|
|
5337
|
+
peg$currPos = s6;
|
|
5338
|
+
s6 = peg$FAILED;
|
|
5339
|
+
}
|
|
5340
|
+
if (s6 !== peg$FAILED) {
|
|
5341
|
+
if (input.length > peg$currPos) {
|
|
5342
|
+
s7 = input.charAt(peg$currPos);
|
|
5343
|
+
peg$currPos++;
|
|
5344
|
+
}
|
|
5345
|
+
else {
|
|
5346
|
+
s7 = peg$FAILED;
|
|
5347
|
+
if (peg$silentFails === 0) {
|
|
5348
|
+
peg$fail(peg$e0);
|
|
5349
|
+
}
|
|
5350
|
+
}
|
|
5351
|
+
if (s7 !== peg$FAILED) {
|
|
5352
|
+
s6 = [s6, s7];
|
|
5353
|
+
s5 = s6;
|
|
5354
|
+
}
|
|
5355
|
+
else {
|
|
5356
|
+
peg$currPos = s5;
|
|
5357
|
+
s5 = peg$FAILED;
|
|
5358
|
+
}
|
|
5359
|
+
}
|
|
5360
|
+
else {
|
|
5361
|
+
peg$currPos = s5;
|
|
5362
|
+
s5 = peg$FAILED;
|
|
5363
|
+
}
|
|
5364
|
+
}
|
|
5365
|
+
s3 = input.substring(s3, peg$currPos);
|
|
5366
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5367
|
+
s4 = peg$c12;
|
|
5368
|
+
peg$currPos++;
|
|
5369
|
+
}
|
|
5370
|
+
else {
|
|
5371
|
+
s4 = peg$FAILED;
|
|
5372
|
+
if (peg$silentFails === 0) {
|
|
5373
|
+
peg$fail(peg$e16);
|
|
5374
|
+
}
|
|
5375
|
+
}
|
|
5376
|
+
if (s4 === peg$FAILED) {
|
|
5377
|
+
s4 = null;
|
|
5378
|
+
}
|
|
5379
|
+
s5 = peg$parseHighlightTag();
|
|
5380
|
+
if (s5 !== peg$FAILED) {
|
|
5381
|
+
peg$savedPos = s0;
|
|
5382
|
+
s0 = peg$f62(s3);
|
|
5383
|
+
}
|
|
5384
|
+
else {
|
|
5385
|
+
peg$currPos = s0;
|
|
5386
|
+
s0 = peg$FAILED;
|
|
5387
|
+
}
|
|
5388
|
+
}
|
|
5389
|
+
else {
|
|
5390
|
+
peg$currPos = s0;
|
|
5391
|
+
s0 = peg$FAILED;
|
|
5392
|
+
}
|
|
5393
|
+
if (s0 === peg$FAILED) {
|
|
5394
|
+
s0 = peg$currPos;
|
|
5395
|
+
s1 = peg$parseUrl();
|
|
5396
|
+
if (s1 !== peg$FAILED) {
|
|
5397
|
+
peg$savedPos = s0;
|
|
5398
|
+
s1 = peg$f63(s1);
|
|
5399
|
+
}
|
|
5400
|
+
s0 = s1;
|
|
5401
|
+
}
|
|
5402
|
+
}
|
|
5403
|
+
}
|
|
5404
|
+
}
|
|
5405
|
+
}
|
|
5406
|
+
}
|
|
5407
|
+
}
|
|
5408
|
+
}
|
|
5409
|
+
return s0;
|
|
5410
|
+
}
|
|
5411
|
+
function peg$parseInlineTagTags() {
|
|
5412
|
+
var s0, s1, s2, s3, s4;
|
|
5413
|
+
s0 = peg$currPos;
|
|
5414
|
+
s1 = peg$currPos;
|
|
5415
|
+
s2 = peg$parseInlineTag();
|
|
5416
|
+
if (s2 !== peg$FAILED) {
|
|
5417
|
+
s3 = [];
|
|
5418
|
+
s4 = peg$parseInlineHalfTag();
|
|
5419
|
+
if (s4 !== peg$FAILED) {
|
|
5420
|
+
while (s4 !== peg$FAILED) {
|
|
5421
|
+
s3.push(s4);
|
|
5422
|
+
s4 = peg$parseInlineHalfTag();
|
|
5423
|
+
}
|
|
5424
|
+
}
|
|
5425
|
+
else {
|
|
5426
|
+
s3 = peg$FAILED;
|
|
5427
|
+
}
|
|
5428
|
+
if (s3 !== peg$FAILED) {
|
|
5429
|
+
s2 = [s2, s3];
|
|
5430
|
+
s1 = s2;
|
|
5431
|
+
}
|
|
5432
|
+
else {
|
|
5433
|
+
peg$currPos = s1;
|
|
5434
|
+
s1 = peg$FAILED;
|
|
5435
|
+
}
|
|
5436
|
+
}
|
|
5437
|
+
else {
|
|
5438
|
+
peg$currPos = s1;
|
|
5439
|
+
s1 = peg$FAILED;
|
|
5440
|
+
}
|
|
5441
|
+
if (s1 !== peg$FAILED) {
|
|
5442
|
+
s0 = input.substring(s0, peg$currPos);
|
|
5443
|
+
}
|
|
5444
|
+
else {
|
|
5445
|
+
s0 = s1;
|
|
5446
|
+
}
|
|
5447
|
+
if (s0 === peg$FAILED) {
|
|
5448
|
+
s0 = peg$currPos;
|
|
5449
|
+
s1 = peg$currPos;
|
|
5450
|
+
s2 = peg$parseLightTag();
|
|
5451
|
+
if (s2 !== peg$FAILED) {
|
|
5452
|
+
s3 = [];
|
|
5453
|
+
s4 = peg$parseLightHalfTag();
|
|
5454
|
+
if (s4 !== peg$FAILED) {
|
|
5455
|
+
while (s4 !== peg$FAILED) {
|
|
5456
|
+
s3.push(s4);
|
|
5457
|
+
s4 = peg$parseLightHalfTag();
|
|
5458
|
+
}
|
|
5459
|
+
}
|
|
5460
|
+
else {
|
|
5461
|
+
s3 = peg$FAILED;
|
|
5462
|
+
}
|
|
5463
|
+
if (s3 !== peg$FAILED) {
|
|
5464
|
+
s2 = [s2, s3];
|
|
5465
|
+
s1 = s2;
|
|
5466
|
+
}
|
|
5467
|
+
else {
|
|
5468
|
+
peg$currPos = s1;
|
|
5469
|
+
s1 = peg$FAILED;
|
|
5470
|
+
}
|
|
5471
|
+
}
|
|
5472
|
+
else {
|
|
5473
|
+
peg$currPos = s1;
|
|
5474
|
+
s1 = peg$FAILED;
|
|
5475
|
+
}
|
|
5476
|
+
if (s1 !== peg$FAILED) {
|
|
5477
|
+
s0 = input.substring(s0, peg$currPos);
|
|
5478
|
+
}
|
|
5479
|
+
else {
|
|
5480
|
+
s0 = s1;
|
|
5481
|
+
}
|
|
5482
|
+
if (s0 === peg$FAILED) {
|
|
5483
|
+
s0 = peg$currPos;
|
|
5484
|
+
s1 = peg$currPos;
|
|
5485
|
+
s2 = peg$parseHighlightTag();
|
|
5486
|
+
if (s2 !== peg$FAILED) {
|
|
5487
|
+
s3 = [];
|
|
5488
|
+
s4 = peg$parseHighlightHalfTag();
|
|
5489
|
+
if (s4 !== peg$FAILED) {
|
|
5490
|
+
while (s4 !== peg$FAILED) {
|
|
5491
|
+
s3.push(s4);
|
|
5492
|
+
s4 = peg$parseHighlightHalfTag();
|
|
5493
|
+
}
|
|
5494
|
+
}
|
|
5495
|
+
else {
|
|
5496
|
+
s3 = peg$FAILED;
|
|
5497
|
+
}
|
|
5498
|
+
if (s3 !== peg$FAILED) {
|
|
5499
|
+
s2 = [s2, s3];
|
|
5500
|
+
s1 = s2;
|
|
5501
|
+
}
|
|
5502
|
+
else {
|
|
5503
|
+
peg$currPos = s1;
|
|
5504
|
+
s1 = peg$FAILED;
|
|
5505
|
+
}
|
|
5506
|
+
}
|
|
5507
|
+
else {
|
|
5322
5508
|
peg$currPos = s1;
|
|
5323
5509
|
s1 = peg$FAILED;
|
|
5324
5510
|
}
|
|
5511
|
+
if (s1 !== peg$FAILED) {
|
|
5512
|
+
s0 = input.substring(s0, peg$currPos);
|
|
5513
|
+
}
|
|
5514
|
+
else {
|
|
5515
|
+
s0 = s1;
|
|
5516
|
+
}
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5519
|
+
return s0;
|
|
5520
|
+
}
|
|
5521
|
+
function peg$parseAttrChain() {
|
|
5522
|
+
var s0, s1, s2, s3;
|
|
5523
|
+
s0 = peg$currPos;
|
|
5524
|
+
if (input.charCodeAt(peg$currPos) === 124) {
|
|
5525
|
+
s1 = peg$c0;
|
|
5526
|
+
peg$currPos++;
|
|
5527
|
+
}
|
|
5528
|
+
else {
|
|
5529
|
+
s1 = peg$FAILED;
|
|
5530
|
+
if (peg$silentFails === 0) {
|
|
5531
|
+
peg$fail(peg$e2);
|
|
5532
|
+
}
|
|
5533
|
+
}
|
|
5534
|
+
if (s1 !== peg$FAILED) {
|
|
5535
|
+
s2 = [];
|
|
5536
|
+
s3 = peg$parseAttrChainItem();
|
|
5537
|
+
if (s3 !== peg$FAILED) {
|
|
5538
|
+
while (s3 !== peg$FAILED) {
|
|
5539
|
+
s2.push(s3);
|
|
5540
|
+
s3 = peg$parseAttrChainItem();
|
|
5541
|
+
}
|
|
5542
|
+
}
|
|
5543
|
+
else {
|
|
5544
|
+
s2 = peg$FAILED;
|
|
5545
|
+
}
|
|
5546
|
+
if (s2 !== peg$FAILED) {
|
|
5547
|
+
peg$savedPos = s0;
|
|
5548
|
+
s0 = peg$f64(s2);
|
|
5549
|
+
}
|
|
5550
|
+
else {
|
|
5551
|
+
peg$currPos = s0;
|
|
5552
|
+
s0 = peg$FAILED;
|
|
5553
|
+
}
|
|
5554
|
+
}
|
|
5555
|
+
else {
|
|
5556
|
+
peg$currPos = s0;
|
|
5557
|
+
s0 = peg$FAILED;
|
|
5558
|
+
}
|
|
5559
|
+
return s0;
|
|
5560
|
+
}
|
|
5561
|
+
function peg$parseInlineMediaChain() {
|
|
5562
|
+
var s0, s1, s2;
|
|
5563
|
+
s0 = peg$currPos;
|
|
5564
|
+
s1 = [];
|
|
5565
|
+
s2 = peg$parseInlineMediaChainItem();
|
|
5566
|
+
while (s2 !== peg$FAILED) {
|
|
5567
|
+
s1.push(s2);
|
|
5568
|
+
s2 = peg$parseInlineMediaChainItem();
|
|
5569
|
+
}
|
|
5570
|
+
peg$savedPos = s0;
|
|
5571
|
+
s1 = peg$f65(s1);
|
|
5572
|
+
s0 = s1;
|
|
5573
|
+
return s0;
|
|
5574
|
+
}
|
|
5575
|
+
function peg$parseInlineMediaChainItem() {
|
|
5576
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
5577
|
+
s0 = peg$currPos;
|
|
5578
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
5579
|
+
s1 = peg$c21;
|
|
5580
|
+
peg$currPos++;
|
|
5581
|
+
}
|
|
5582
|
+
else {
|
|
5583
|
+
s1 = peg$FAILED;
|
|
5584
|
+
if (peg$silentFails === 0) {
|
|
5585
|
+
peg$fail(peg$e25);
|
|
5586
|
+
}
|
|
5587
|
+
}
|
|
5588
|
+
if (s1 !== peg$FAILED) {
|
|
5589
|
+
s2 = peg$currPos;
|
|
5590
|
+
s3 = [];
|
|
5591
|
+
s4 = peg$currPos;
|
|
5592
|
+
s5 = peg$currPos;
|
|
5593
|
+
peg$silentFails++;
|
|
5594
|
+
s6 = peg$parseBlockTag();
|
|
5595
|
+
peg$silentFails--;
|
|
5596
|
+
if (s6 === peg$FAILED) {
|
|
5597
|
+
s5 = undefined;
|
|
5598
|
+
}
|
|
5599
|
+
else {
|
|
5600
|
+
peg$currPos = s5;
|
|
5601
|
+
s5 = peg$FAILED;
|
|
5602
|
+
}
|
|
5603
|
+
if (s5 !== peg$FAILED) {
|
|
5604
|
+
s6 = peg$parsechar();
|
|
5605
|
+
if (s6 !== peg$FAILED) {
|
|
5606
|
+
s5 = [s5, s6];
|
|
5607
|
+
s4 = s5;
|
|
5608
|
+
}
|
|
5609
|
+
else {
|
|
5610
|
+
peg$currPos = s4;
|
|
5611
|
+
s4 = peg$FAILED;
|
|
5612
|
+
}
|
|
5613
|
+
}
|
|
5614
|
+
else {
|
|
5615
|
+
peg$currPos = s4;
|
|
5616
|
+
s4 = peg$FAILED;
|
|
5617
|
+
}
|
|
5618
|
+
while (s4 !== peg$FAILED) {
|
|
5619
|
+
s3.push(s4);
|
|
5620
|
+
s4 = peg$currPos;
|
|
5621
|
+
s5 = peg$currPos;
|
|
5622
|
+
peg$silentFails++;
|
|
5623
|
+
s6 = peg$parseBlockTag();
|
|
5624
|
+
peg$silentFails--;
|
|
5625
|
+
if (s6 === peg$FAILED) {
|
|
5626
|
+
s5 = undefined;
|
|
5627
|
+
}
|
|
5628
|
+
else {
|
|
5629
|
+
peg$currPos = s5;
|
|
5630
|
+
s5 = peg$FAILED;
|
|
5631
|
+
}
|
|
5632
|
+
if (s5 !== peg$FAILED) {
|
|
5633
|
+
s6 = peg$parsechar();
|
|
5634
|
+
if (s6 !== peg$FAILED) {
|
|
5635
|
+
s5 = [s5, s6];
|
|
5636
|
+
s4 = s5;
|
|
5637
|
+
}
|
|
5638
|
+
else {
|
|
5639
|
+
peg$currPos = s4;
|
|
5640
|
+
s4 = peg$FAILED;
|
|
5641
|
+
}
|
|
5642
|
+
}
|
|
5643
|
+
else {
|
|
5644
|
+
peg$currPos = s4;
|
|
5645
|
+
s4 = peg$FAILED;
|
|
5646
|
+
}
|
|
5647
|
+
}
|
|
5648
|
+
s2 = input.substring(s2, peg$currPos);
|
|
5649
|
+
s3 = peg$parseBlockTag();
|
|
5650
|
+
if (s3 !== peg$FAILED) {
|
|
5651
|
+
peg$savedPos = s0;
|
|
5652
|
+
s0 = peg$f66(s2);
|
|
5653
|
+
}
|
|
5654
|
+
else {
|
|
5655
|
+
peg$currPos = s0;
|
|
5656
|
+
s0 = peg$FAILED;
|
|
5657
|
+
}
|
|
5658
|
+
}
|
|
5659
|
+
else {
|
|
5660
|
+
peg$currPos = s0;
|
|
5661
|
+
s0 = peg$FAILED;
|
|
5662
|
+
}
|
|
5663
|
+
if (s0 === peg$FAILED) {
|
|
5664
|
+
s0 = peg$currPos;
|
|
5665
|
+
if (input.charCodeAt(peg$currPos) === 64) {
|
|
5666
|
+
s1 = peg$c22;
|
|
5667
|
+
peg$currPos++;
|
|
5668
|
+
}
|
|
5669
|
+
else {
|
|
5670
|
+
s1 = peg$FAILED;
|
|
5671
|
+
if (peg$silentFails === 0) {
|
|
5672
|
+
peg$fail(peg$e26);
|
|
5673
|
+
}
|
|
5674
|
+
}
|
|
5675
|
+
if (s1 === peg$FAILED) {
|
|
5676
|
+
s1 = null;
|
|
5677
|
+
}
|
|
5678
|
+
s2 = peg$parseMediaSizeTags();
|
|
5679
|
+
if (s2 !== peg$FAILED) {
|
|
5680
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
5681
|
+
s3 = peg$c1;
|
|
5682
|
+
peg$currPos++;
|
|
5683
|
+
}
|
|
5684
|
+
else {
|
|
5685
|
+
s3 = peg$FAILED;
|
|
5686
|
+
if (peg$silentFails === 0) {
|
|
5687
|
+
peg$fail(peg$e3);
|
|
5688
|
+
}
|
|
5689
|
+
}
|
|
5690
|
+
if (s3 !== peg$FAILED) {
|
|
5691
|
+
s4 = [];
|
|
5692
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5693
|
+
s5 = peg$c12;
|
|
5694
|
+
peg$currPos++;
|
|
5695
|
+
}
|
|
5696
|
+
else {
|
|
5697
|
+
s5 = peg$FAILED;
|
|
5698
|
+
if (peg$silentFails === 0) {
|
|
5699
|
+
peg$fail(peg$e16);
|
|
5700
|
+
}
|
|
5701
|
+
}
|
|
5702
|
+
while (s5 !== peg$FAILED) {
|
|
5703
|
+
s4.push(s5);
|
|
5704
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5705
|
+
s5 = peg$c12;
|
|
5706
|
+
peg$currPos++;
|
|
5707
|
+
}
|
|
5708
|
+
else {
|
|
5709
|
+
s5 = peg$FAILED;
|
|
5710
|
+
if (peg$silentFails === 0) {
|
|
5711
|
+
peg$fail(peg$e16);
|
|
5712
|
+
}
|
|
5713
|
+
}
|
|
5714
|
+
}
|
|
5715
|
+
s5 = peg$currPos;
|
|
5716
|
+
s6 = [];
|
|
5717
|
+
s7 = peg$currPos;
|
|
5718
|
+
s8 = peg$currPos;
|
|
5719
|
+
peg$silentFails++;
|
|
5720
|
+
s9 = peg$parseBlockTag();
|
|
5721
|
+
peg$silentFails--;
|
|
5722
|
+
if (s9 === peg$FAILED) {
|
|
5723
|
+
s8 = undefined;
|
|
5724
|
+
}
|
|
5725
|
+
else {
|
|
5726
|
+
peg$currPos = s8;
|
|
5727
|
+
s8 = peg$FAILED;
|
|
5728
|
+
}
|
|
5729
|
+
if (s8 !== peg$FAILED) {
|
|
5730
|
+
s9 = input.charAt(peg$currPos);
|
|
5731
|
+
if (peg$r1.test(s9)) {
|
|
5732
|
+
peg$currPos++;
|
|
5733
|
+
}
|
|
5734
|
+
else {
|
|
5735
|
+
s9 = peg$FAILED;
|
|
5736
|
+
if (peg$silentFails === 0) {
|
|
5737
|
+
peg$fail(peg$e15);
|
|
5738
|
+
}
|
|
5739
|
+
}
|
|
5740
|
+
if (s9 !== peg$FAILED) {
|
|
5741
|
+
s8 = [s8, s9];
|
|
5742
|
+
s7 = s8;
|
|
5743
|
+
}
|
|
5744
|
+
else {
|
|
5745
|
+
peg$currPos = s7;
|
|
5746
|
+
s7 = peg$FAILED;
|
|
5747
|
+
}
|
|
5748
|
+
}
|
|
5749
|
+
else {
|
|
5750
|
+
peg$currPos = s7;
|
|
5751
|
+
s7 = peg$FAILED;
|
|
5752
|
+
}
|
|
5753
|
+
if (s7 !== peg$FAILED) {
|
|
5754
|
+
while (s7 !== peg$FAILED) {
|
|
5755
|
+
s6.push(s7);
|
|
5756
|
+
s7 = peg$currPos;
|
|
5757
|
+
s8 = peg$currPos;
|
|
5758
|
+
peg$silentFails++;
|
|
5759
|
+
s9 = peg$parseBlockTag();
|
|
5760
|
+
peg$silentFails--;
|
|
5761
|
+
if (s9 === peg$FAILED) {
|
|
5762
|
+
s8 = undefined;
|
|
5763
|
+
}
|
|
5764
|
+
else {
|
|
5765
|
+
peg$currPos = s8;
|
|
5766
|
+
s8 = peg$FAILED;
|
|
5767
|
+
}
|
|
5768
|
+
if (s8 !== peg$FAILED) {
|
|
5769
|
+
s9 = input.charAt(peg$currPos);
|
|
5770
|
+
if (peg$r1.test(s9)) {
|
|
5771
|
+
peg$currPos++;
|
|
5772
|
+
}
|
|
5773
|
+
else {
|
|
5774
|
+
s9 = peg$FAILED;
|
|
5775
|
+
if (peg$silentFails === 0) {
|
|
5776
|
+
peg$fail(peg$e15);
|
|
5777
|
+
}
|
|
5778
|
+
}
|
|
5779
|
+
if (s9 !== peg$FAILED) {
|
|
5780
|
+
s8 = [s8, s9];
|
|
5781
|
+
s7 = s8;
|
|
5782
|
+
}
|
|
5783
|
+
else {
|
|
5784
|
+
peg$currPos = s7;
|
|
5785
|
+
s7 = peg$FAILED;
|
|
5786
|
+
}
|
|
5787
|
+
}
|
|
5788
|
+
else {
|
|
5789
|
+
peg$currPos = s7;
|
|
5790
|
+
s7 = peg$FAILED;
|
|
5791
|
+
}
|
|
5792
|
+
}
|
|
5793
|
+
}
|
|
5794
|
+
else {
|
|
5795
|
+
s6 = peg$FAILED;
|
|
5796
|
+
}
|
|
5797
|
+
if (s6 !== peg$FAILED) {
|
|
5798
|
+
s5 = input.substring(s5, peg$currPos);
|
|
5799
|
+
}
|
|
5800
|
+
else {
|
|
5801
|
+
s5 = s6;
|
|
5802
|
+
}
|
|
5803
|
+
if (s5 !== peg$FAILED) {
|
|
5804
|
+
s6 = peg$parseBlockTag();
|
|
5805
|
+
if (s6 !== peg$FAILED) {
|
|
5806
|
+
peg$savedPos = s0;
|
|
5807
|
+
s0 = peg$f67(s2, s5);
|
|
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
|
+
}
|
|
5819
|
+
else {
|
|
5820
|
+
peg$currPos = s0;
|
|
5821
|
+
s0 = peg$FAILED;
|
|
5822
|
+
}
|
|
5325
5823
|
}
|
|
5326
5824
|
else {
|
|
5327
|
-
peg$currPos =
|
|
5328
|
-
|
|
5329
|
-
}
|
|
5330
|
-
if (s1 !== peg$FAILED) {
|
|
5331
|
-
s0 = input.substring(s0, peg$currPos);
|
|
5332
|
-
}
|
|
5333
|
-
else {
|
|
5334
|
-
s0 = s1;
|
|
5825
|
+
peg$currPos = s0;
|
|
5826
|
+
s0 = peg$FAILED;
|
|
5335
5827
|
}
|
|
5336
5828
|
if (s0 === peg$FAILED) {
|
|
5337
5829
|
s0 = peg$currPos;
|
|
5338
|
-
|
|
5339
|
-
|
|
5830
|
+
if (input.charCodeAt(peg$currPos) === 64) {
|
|
5831
|
+
s1 = peg$c22;
|
|
5832
|
+
peg$currPos++;
|
|
5833
|
+
}
|
|
5834
|
+
else {
|
|
5835
|
+
s1 = peg$FAILED;
|
|
5836
|
+
if (peg$silentFails === 0) {
|
|
5837
|
+
peg$fail(peg$e26);
|
|
5838
|
+
}
|
|
5839
|
+
}
|
|
5840
|
+
if (s1 === peg$FAILED) {
|
|
5841
|
+
s1 = null;
|
|
5842
|
+
}
|
|
5843
|
+
s2 = peg$parseMediaSizeTags();
|
|
5340
5844
|
if (s2 !== peg$FAILED) {
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
while (s4 !== peg$FAILED) {
|
|
5345
|
-
s3.push(s4);
|
|
5346
|
-
s4 = peg$parseHighlightHalfTag();
|
|
5347
|
-
}
|
|
5845
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
5846
|
+
s3 = peg$c1;
|
|
5847
|
+
peg$currPos++;
|
|
5348
5848
|
}
|
|
5349
5849
|
else {
|
|
5350
5850
|
s3 = peg$FAILED;
|
|
5851
|
+
if (peg$silentFails === 0) {
|
|
5852
|
+
peg$fail(peg$e3);
|
|
5853
|
+
}
|
|
5351
5854
|
}
|
|
5352
5855
|
if (s3 !== peg$FAILED) {
|
|
5353
|
-
|
|
5354
|
-
|
|
5856
|
+
s4 = [];
|
|
5857
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5858
|
+
s5 = peg$c12;
|
|
5859
|
+
peg$currPos++;
|
|
5860
|
+
}
|
|
5861
|
+
else {
|
|
5862
|
+
s5 = peg$FAILED;
|
|
5863
|
+
if (peg$silentFails === 0) {
|
|
5864
|
+
peg$fail(peg$e16);
|
|
5865
|
+
}
|
|
5866
|
+
}
|
|
5867
|
+
while (s5 !== peg$FAILED) {
|
|
5868
|
+
s4.push(s5);
|
|
5869
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5870
|
+
s5 = peg$c12;
|
|
5871
|
+
peg$currPos++;
|
|
5872
|
+
}
|
|
5873
|
+
else {
|
|
5874
|
+
s5 = peg$FAILED;
|
|
5875
|
+
if (peg$silentFails === 0) {
|
|
5876
|
+
peg$fail(peg$e16);
|
|
5877
|
+
}
|
|
5878
|
+
}
|
|
5879
|
+
}
|
|
5880
|
+
s5 = peg$currPos;
|
|
5881
|
+
s6 = [];
|
|
5882
|
+
s7 = peg$currPos;
|
|
5883
|
+
s8 = peg$currPos;
|
|
5884
|
+
peg$silentFails++;
|
|
5885
|
+
s9 = peg$parseBlockTag();
|
|
5886
|
+
peg$silentFails--;
|
|
5887
|
+
if (s9 === peg$FAILED) {
|
|
5888
|
+
s8 = undefined;
|
|
5889
|
+
}
|
|
5890
|
+
else {
|
|
5891
|
+
peg$currPos = s8;
|
|
5892
|
+
s8 = peg$FAILED;
|
|
5893
|
+
}
|
|
5894
|
+
if (s8 !== peg$FAILED) {
|
|
5895
|
+
s9 = peg$parsechar();
|
|
5896
|
+
if (s9 !== peg$FAILED) {
|
|
5897
|
+
s8 = [s8, s9];
|
|
5898
|
+
s7 = s8;
|
|
5899
|
+
}
|
|
5900
|
+
else {
|
|
5901
|
+
peg$currPos = s7;
|
|
5902
|
+
s7 = peg$FAILED;
|
|
5903
|
+
}
|
|
5904
|
+
}
|
|
5905
|
+
else {
|
|
5906
|
+
peg$currPos = s7;
|
|
5907
|
+
s7 = peg$FAILED;
|
|
5908
|
+
}
|
|
5909
|
+
while (s7 !== peg$FAILED) {
|
|
5910
|
+
s6.push(s7);
|
|
5911
|
+
s7 = peg$currPos;
|
|
5912
|
+
s8 = peg$currPos;
|
|
5913
|
+
peg$silentFails++;
|
|
5914
|
+
s9 = peg$parseBlockTag();
|
|
5915
|
+
peg$silentFails--;
|
|
5916
|
+
if (s9 === peg$FAILED) {
|
|
5917
|
+
s8 = undefined;
|
|
5918
|
+
}
|
|
5919
|
+
else {
|
|
5920
|
+
peg$currPos = s8;
|
|
5921
|
+
s8 = peg$FAILED;
|
|
5922
|
+
}
|
|
5923
|
+
if (s8 !== peg$FAILED) {
|
|
5924
|
+
s9 = peg$parsechar();
|
|
5925
|
+
if (s9 !== peg$FAILED) {
|
|
5926
|
+
s8 = [s8, s9];
|
|
5927
|
+
s7 = s8;
|
|
5928
|
+
}
|
|
5929
|
+
else {
|
|
5930
|
+
peg$currPos = s7;
|
|
5931
|
+
s7 = peg$FAILED;
|
|
5932
|
+
}
|
|
5933
|
+
}
|
|
5934
|
+
else {
|
|
5935
|
+
peg$currPos = s7;
|
|
5936
|
+
s7 = peg$FAILED;
|
|
5937
|
+
}
|
|
5938
|
+
}
|
|
5939
|
+
s5 = input.substring(s5, peg$currPos);
|
|
5940
|
+
s6 = peg$parseBlockTag();
|
|
5941
|
+
if (s6 !== peg$FAILED) {
|
|
5942
|
+
peg$savedPos = s0;
|
|
5943
|
+
s0 = peg$f68(s2, s5);
|
|
5944
|
+
}
|
|
5945
|
+
else {
|
|
5946
|
+
peg$currPos = s0;
|
|
5947
|
+
s0 = peg$FAILED;
|
|
5948
|
+
}
|
|
5355
5949
|
}
|
|
5356
5950
|
else {
|
|
5357
|
-
peg$currPos =
|
|
5358
|
-
|
|
5951
|
+
peg$currPos = s0;
|
|
5952
|
+
s0 = peg$FAILED;
|
|
5359
5953
|
}
|
|
5360
5954
|
}
|
|
5361
5955
|
else {
|
|
5362
|
-
peg$currPos =
|
|
5363
|
-
|
|
5364
|
-
}
|
|
5365
|
-
if (s1 !== peg$FAILED) {
|
|
5366
|
-
s0 = input.substring(s0, peg$currPos);
|
|
5367
|
-
}
|
|
5368
|
-
else {
|
|
5369
|
-
s0 = s1;
|
|
5370
|
-
}
|
|
5371
|
-
}
|
|
5372
|
-
}
|
|
5373
|
-
return s0;
|
|
5374
|
-
}
|
|
5375
|
-
function peg$parseAttrChain() {
|
|
5376
|
-
var s0, s1, s2, s3;
|
|
5377
|
-
s0 = peg$currPos;
|
|
5378
|
-
if (input.charCodeAt(peg$currPos) === 124) {
|
|
5379
|
-
s1 = peg$c0;
|
|
5380
|
-
peg$currPos++;
|
|
5381
|
-
}
|
|
5382
|
-
else {
|
|
5383
|
-
s1 = peg$FAILED;
|
|
5384
|
-
if (peg$silentFails === 0) {
|
|
5385
|
-
peg$fail(peg$e2);
|
|
5386
|
-
}
|
|
5387
|
-
}
|
|
5388
|
-
if (s1 !== peg$FAILED) {
|
|
5389
|
-
s2 = [];
|
|
5390
|
-
s3 = peg$parseAttrChainItem();
|
|
5391
|
-
if (s3 !== peg$FAILED) {
|
|
5392
|
-
while (s3 !== peg$FAILED) {
|
|
5393
|
-
s2.push(s3);
|
|
5394
|
-
s3 = peg$parseAttrChainItem();
|
|
5956
|
+
peg$currPos = s0;
|
|
5957
|
+
s0 = peg$FAILED;
|
|
5395
5958
|
}
|
|
5396
5959
|
}
|
|
5397
|
-
else {
|
|
5398
|
-
s2 = peg$FAILED;
|
|
5399
|
-
}
|
|
5400
|
-
if (s2 !== peg$FAILED) {
|
|
5401
|
-
peg$savedPos = s0;
|
|
5402
|
-
s0 = peg$f63(s2);
|
|
5403
|
-
}
|
|
5404
|
-
else {
|
|
5405
|
-
peg$currPos = s0;
|
|
5406
|
-
s0 = peg$FAILED;
|
|
5407
|
-
}
|
|
5408
|
-
}
|
|
5409
|
-
else {
|
|
5410
|
-
peg$currPos = s0;
|
|
5411
|
-
s0 = peg$FAILED;
|
|
5412
5960
|
}
|
|
5413
5961
|
return s0;
|
|
5414
5962
|
}
|
|
5415
5963
|
function peg$parseAttrChainItem() {
|
|
5416
5964
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
5417
5965
|
s0 = peg$currPos;
|
|
5418
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5419
|
-
s1 = peg$
|
|
5966
|
+
if (input.substr(peg$currPos, 5) === peg$c33) {
|
|
5967
|
+
s1 = peg$c33;
|
|
5420
5968
|
peg$currPos += 5;
|
|
5421
5969
|
}
|
|
5422
5970
|
else {
|
|
5423
5971
|
s1 = peg$FAILED;
|
|
5424
5972
|
if (peg$silentFails === 0) {
|
|
5425
|
-
peg$fail(peg$
|
|
5973
|
+
peg$fail(peg$e39);
|
|
5426
5974
|
}
|
|
5427
5975
|
}
|
|
5428
5976
|
if (s1 !== peg$FAILED) {
|
|
@@ -5489,7 +6037,7 @@ function peg$parse(input, options) {
|
|
|
5489
6037
|
s3 = peg$parseBlockTag();
|
|
5490
6038
|
if (s3 !== peg$FAILED) {
|
|
5491
6039
|
peg$savedPos = s0;
|
|
5492
|
-
s0 = peg$
|
|
6040
|
+
s0 = peg$f69(s2);
|
|
5493
6041
|
}
|
|
5494
6042
|
else {
|
|
5495
6043
|
peg$currPos = s0;
|
|
@@ -5502,14 +6050,14 @@ function peg$parse(input, options) {
|
|
|
5502
6050
|
}
|
|
5503
6051
|
if (s0 === peg$FAILED) {
|
|
5504
6052
|
s0 = peg$currPos;
|
|
5505
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
5506
|
-
s1 = peg$
|
|
6053
|
+
if (input.substr(peg$currPos, 7) === peg$c34) {
|
|
6054
|
+
s1 = peg$c34;
|
|
5507
6055
|
peg$currPos += 7;
|
|
5508
6056
|
}
|
|
5509
6057
|
else {
|
|
5510
6058
|
s1 = peg$FAILED;
|
|
5511
6059
|
if (peg$silentFails === 0) {
|
|
5512
|
-
peg$fail(peg$
|
|
6060
|
+
peg$fail(peg$e40);
|
|
5513
6061
|
}
|
|
5514
6062
|
}
|
|
5515
6063
|
if (s1 !== peg$FAILED) {
|
|
@@ -5576,14 +6124,14 @@ function peg$parse(input, options) {
|
|
|
5576
6124
|
s3 = peg$parseRefsChain();
|
|
5577
6125
|
s4 = peg$parseBlockTag();
|
|
5578
6126
|
if (s4 !== peg$FAILED) {
|
|
5579
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
5580
|
-
s5 = peg$
|
|
6127
|
+
if (input.substr(peg$currPos, 9) === peg$c35) {
|
|
6128
|
+
s5 = peg$c35;
|
|
5581
6129
|
peg$currPos += 9;
|
|
5582
6130
|
}
|
|
5583
6131
|
else {
|
|
5584
6132
|
s5 = peg$FAILED;
|
|
5585
6133
|
if (peg$silentFails === 0) {
|
|
5586
|
-
peg$fail(peg$
|
|
6134
|
+
peg$fail(peg$e41);
|
|
5587
6135
|
}
|
|
5588
6136
|
}
|
|
5589
6137
|
if (s5 !== peg$FAILED) {
|
|
@@ -5650,7 +6198,7 @@ function peg$parse(input, options) {
|
|
|
5650
6198
|
s7 = peg$parseBlockTag();
|
|
5651
6199
|
if (s7 !== peg$FAILED) {
|
|
5652
6200
|
peg$savedPos = s0;
|
|
5653
|
-
s0 = peg$
|
|
6201
|
+
s0 = peg$f70(s2, s3, s6);
|
|
5654
6202
|
}
|
|
5655
6203
|
else {
|
|
5656
6204
|
peg$currPos = s0;
|
|
@@ -5673,14 +6221,14 @@ function peg$parse(input, options) {
|
|
|
5673
6221
|
}
|
|
5674
6222
|
if (s0 === peg$FAILED) {
|
|
5675
6223
|
s0 = peg$currPos;
|
|
5676
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5677
|
-
s1 = peg$
|
|
6224
|
+
if (input.substr(peg$currPos, 5) === peg$c36) {
|
|
6225
|
+
s1 = peg$c36;
|
|
5678
6226
|
peg$currPos += 5;
|
|
5679
6227
|
}
|
|
5680
6228
|
else {
|
|
5681
6229
|
s1 = peg$FAILED;
|
|
5682
6230
|
if (peg$silentFails === 0) {
|
|
5683
|
-
peg$fail(peg$
|
|
6231
|
+
peg$fail(peg$e42);
|
|
5684
6232
|
}
|
|
5685
6233
|
}
|
|
5686
6234
|
if (s1 !== peg$FAILED) {
|
|
@@ -5747,13 +6295,13 @@ function peg$parse(input, options) {
|
|
|
5747
6295
|
s3 = peg$parseBlockTag();
|
|
5748
6296
|
if (s3 !== peg$FAILED) {
|
|
5749
6297
|
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5750
|
-
s4 = peg$
|
|
6298
|
+
s4 = peg$c37;
|
|
5751
6299
|
peg$currPos++;
|
|
5752
6300
|
}
|
|
5753
6301
|
else {
|
|
5754
6302
|
s4 = peg$FAILED;
|
|
5755
6303
|
if (peg$silentFails === 0) {
|
|
5756
|
-
peg$fail(peg$
|
|
6304
|
+
peg$fail(peg$e43);
|
|
5757
6305
|
}
|
|
5758
6306
|
}
|
|
5759
6307
|
if (s4 !== peg$FAILED) {
|
|
@@ -5820,7 +6368,7 @@ function peg$parse(input, options) {
|
|
|
5820
6368
|
s6 = peg$parseBlockTag();
|
|
5821
6369
|
if (s6 !== peg$FAILED) {
|
|
5822
6370
|
peg$savedPos = s0;
|
|
5823
|
-
s0 = peg$
|
|
6371
|
+
s0 = peg$f71(s2, s5);
|
|
5824
6372
|
}
|
|
5825
6373
|
else {
|
|
5826
6374
|
peg$currPos = s0;
|
|
@@ -5843,14 +6391,14 @@ function peg$parse(input, options) {
|
|
|
5843
6391
|
}
|
|
5844
6392
|
if (s0 === peg$FAILED) {
|
|
5845
6393
|
s0 = peg$currPos;
|
|
5846
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5847
|
-
s1 = peg$
|
|
6394
|
+
if (input.substr(peg$currPos, 5) === peg$c36) {
|
|
6395
|
+
s1 = peg$c36;
|
|
5848
6396
|
peg$currPos += 5;
|
|
5849
6397
|
}
|
|
5850
6398
|
else {
|
|
5851
6399
|
s1 = peg$FAILED;
|
|
5852
6400
|
if (peg$silentFails === 0) {
|
|
5853
|
-
peg$fail(peg$
|
|
6401
|
+
peg$fail(peg$e42);
|
|
5854
6402
|
}
|
|
5855
6403
|
}
|
|
5856
6404
|
if (s1 !== peg$FAILED) {
|
|
@@ -5917,7 +6465,7 @@ function peg$parse(input, options) {
|
|
|
5917
6465
|
s3 = peg$parseBlockTag();
|
|
5918
6466
|
if (s3 !== peg$FAILED) {
|
|
5919
6467
|
peg$savedPos = s0;
|
|
5920
|
-
s0 = peg$
|
|
6468
|
+
s0 = peg$f72(s2);
|
|
5921
6469
|
}
|
|
5922
6470
|
else {
|
|
5923
6471
|
peg$currPos = s0;
|
|
@@ -5931,13 +6479,13 @@ function peg$parse(input, options) {
|
|
|
5931
6479
|
if (s0 === peg$FAILED) {
|
|
5932
6480
|
s0 = peg$currPos;
|
|
5933
6481
|
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5934
|
-
s1 = peg$
|
|
6482
|
+
s1 = peg$c37;
|
|
5935
6483
|
peg$currPos++;
|
|
5936
6484
|
}
|
|
5937
6485
|
else {
|
|
5938
6486
|
s1 = peg$FAILED;
|
|
5939
6487
|
if (peg$silentFails === 0) {
|
|
5940
|
-
peg$fail(peg$
|
|
6488
|
+
peg$fail(peg$e43);
|
|
5941
6489
|
}
|
|
5942
6490
|
}
|
|
5943
6491
|
if (s1 !== peg$FAILED) {
|
|
@@ -6004,7 +6552,7 @@ function peg$parse(input, options) {
|
|
|
6004
6552
|
s3 = peg$parseBlockTag();
|
|
6005
6553
|
if (s3 !== peg$FAILED) {
|
|
6006
6554
|
peg$savedPos = s0;
|
|
6007
|
-
s0 = peg$
|
|
6555
|
+
s0 = peg$f73(s2);
|
|
6008
6556
|
}
|
|
6009
6557
|
else {
|
|
6010
6558
|
peg$currPos = s0;
|
|
@@ -6017,14 +6565,14 @@ function peg$parse(input, options) {
|
|
|
6017
6565
|
}
|
|
6018
6566
|
if (s0 === peg$FAILED) {
|
|
6019
6567
|
s0 = peg$currPos;
|
|
6020
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
6021
|
-
s1 = peg$
|
|
6568
|
+
if (input.substr(peg$currPos, 7) === peg$c38) {
|
|
6569
|
+
s1 = peg$c38;
|
|
6022
6570
|
peg$currPos += 7;
|
|
6023
6571
|
}
|
|
6024
6572
|
else {
|
|
6025
6573
|
s1 = peg$FAILED;
|
|
6026
6574
|
if (peg$silentFails === 0) {
|
|
6027
|
-
peg$fail(peg$
|
|
6575
|
+
peg$fail(peg$e44);
|
|
6028
6576
|
}
|
|
6029
6577
|
}
|
|
6030
6578
|
if (s1 !== peg$FAILED) {
|
|
@@ -6092,7 +6640,7 @@ function peg$parse(input, options) {
|
|
|
6092
6640
|
if (s3 !== peg$FAILED) {
|
|
6093
6641
|
s4 = peg$parseMediaChain();
|
|
6094
6642
|
peg$savedPos = s0;
|
|
6095
|
-
s0 = peg$
|
|
6643
|
+
s0 = peg$f74(s2, s4);
|
|
6096
6644
|
}
|
|
6097
6645
|
else {
|
|
6098
6646
|
peg$currPos = s0;
|
|
@@ -6105,14 +6653,14 @@ function peg$parse(input, options) {
|
|
|
6105
6653
|
}
|
|
6106
6654
|
if (s0 === peg$FAILED) {
|
|
6107
6655
|
s0 = peg$currPos;
|
|
6108
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6109
|
-
s1 = peg$
|
|
6656
|
+
if (input.substr(peg$currPos, 9) === peg$c39) {
|
|
6657
|
+
s1 = peg$c39;
|
|
6110
6658
|
peg$currPos += 9;
|
|
6111
6659
|
}
|
|
6112
6660
|
else {
|
|
6113
6661
|
s1 = peg$FAILED;
|
|
6114
6662
|
if (peg$silentFails === 0) {
|
|
6115
|
-
peg$fail(peg$
|
|
6663
|
+
peg$fail(peg$e45);
|
|
6116
6664
|
}
|
|
6117
6665
|
}
|
|
6118
6666
|
if (s1 !== peg$FAILED) {
|
|
@@ -6179,7 +6727,7 @@ function peg$parse(input, options) {
|
|
|
6179
6727
|
s3 = peg$parseBlockTag();
|
|
6180
6728
|
if (s3 !== peg$FAILED) {
|
|
6181
6729
|
peg$savedPos = s0;
|
|
6182
|
-
s0 = peg$
|
|
6730
|
+
s0 = peg$f75(s2);
|
|
6183
6731
|
}
|
|
6184
6732
|
else {
|
|
6185
6733
|
peg$currPos = s0;
|
|
@@ -6192,14 +6740,14 @@ function peg$parse(input, options) {
|
|
|
6192
6740
|
}
|
|
6193
6741
|
if (s0 === peg$FAILED) {
|
|
6194
6742
|
s0 = peg$currPos;
|
|
6195
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
6196
|
-
s1 = peg$
|
|
6743
|
+
if (input.substr(peg$currPos, 10) === peg$c40) {
|
|
6744
|
+
s1 = peg$c40;
|
|
6197
6745
|
peg$currPos += 10;
|
|
6198
6746
|
}
|
|
6199
6747
|
else {
|
|
6200
6748
|
s1 = peg$FAILED;
|
|
6201
6749
|
if (peg$silentFails === 0) {
|
|
6202
|
-
peg$fail(peg$
|
|
6750
|
+
peg$fail(peg$e46);
|
|
6203
6751
|
}
|
|
6204
6752
|
}
|
|
6205
6753
|
if (s1 !== peg$FAILED) {
|
|
@@ -6266,7 +6814,7 @@ function peg$parse(input, options) {
|
|
|
6266
6814
|
s3 = peg$parseBlockTag();
|
|
6267
6815
|
if (s3 !== peg$FAILED) {
|
|
6268
6816
|
peg$savedPos = s0;
|
|
6269
|
-
s0 = peg$
|
|
6817
|
+
s0 = peg$f76(s2);
|
|
6270
6818
|
}
|
|
6271
6819
|
else {
|
|
6272
6820
|
peg$currPos = s0;
|
|
@@ -6279,14 +6827,14 @@ function peg$parse(input, options) {
|
|
|
6279
6827
|
}
|
|
6280
6828
|
if (s0 === peg$FAILED) {
|
|
6281
6829
|
s0 = peg$currPos;
|
|
6282
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6283
|
-
s1 = peg$
|
|
6830
|
+
if (input.substr(peg$currPos, 4) === peg$c41) {
|
|
6831
|
+
s1 = peg$c41;
|
|
6284
6832
|
peg$currPos += 4;
|
|
6285
6833
|
}
|
|
6286
6834
|
else {
|
|
6287
6835
|
s1 = peg$FAILED;
|
|
6288
6836
|
if (peg$silentFails === 0) {
|
|
6289
|
-
peg$fail(peg$
|
|
6837
|
+
peg$fail(peg$e47);
|
|
6290
6838
|
}
|
|
6291
6839
|
}
|
|
6292
6840
|
if (s1 !== peg$FAILED) {
|
|
@@ -6353,7 +6901,7 @@ function peg$parse(input, options) {
|
|
|
6353
6901
|
s3 = peg$parseBlockTag();
|
|
6354
6902
|
if (s3 !== peg$FAILED) {
|
|
6355
6903
|
peg$savedPos = s0;
|
|
6356
|
-
s0 = peg$
|
|
6904
|
+
s0 = peg$f77(s2);
|
|
6357
6905
|
}
|
|
6358
6906
|
else {
|
|
6359
6907
|
peg$currPos = s0;
|
|
@@ -6380,7 +6928,7 @@ function peg$parse(input, options) {
|
|
|
6380
6928
|
s2 = peg$parseBlockTag();
|
|
6381
6929
|
if (s2 !== peg$FAILED) {
|
|
6382
6930
|
peg$savedPos = s0;
|
|
6383
|
-
s0 = peg$
|
|
6931
|
+
s0 = peg$f78();
|
|
6384
6932
|
}
|
|
6385
6933
|
else {
|
|
6386
6934
|
peg$currPos = s0;
|
|
@@ -6393,14 +6941,14 @@ function peg$parse(input, options) {
|
|
|
6393
6941
|
}
|
|
6394
6942
|
if (s0 === peg$FAILED) {
|
|
6395
6943
|
s0 = peg$currPos;
|
|
6396
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6397
|
-
s1 = peg$
|
|
6944
|
+
if (input.substr(peg$currPos, 5) === peg$c42) {
|
|
6945
|
+
s1 = peg$c42;
|
|
6398
6946
|
peg$currPos += 5;
|
|
6399
6947
|
}
|
|
6400
6948
|
else {
|
|
6401
6949
|
s1 = peg$FAILED;
|
|
6402
6950
|
if (peg$silentFails === 0) {
|
|
6403
|
-
peg$fail(peg$
|
|
6951
|
+
peg$fail(peg$e48);
|
|
6404
6952
|
}
|
|
6405
6953
|
}
|
|
6406
6954
|
if (s1 !== peg$FAILED) {
|
|
@@ -6467,7 +7015,7 @@ function peg$parse(input, options) {
|
|
|
6467
7015
|
s3 = peg$parseBlockTag();
|
|
6468
7016
|
if (s3 !== peg$FAILED) {
|
|
6469
7017
|
peg$savedPos = s0;
|
|
6470
|
-
s0 = peg$
|
|
7018
|
+
s0 = peg$f79(s2);
|
|
6471
7019
|
}
|
|
6472
7020
|
else {
|
|
6473
7021
|
peg$currPos = s0;
|
|
@@ -6480,21 +7028,21 @@ function peg$parse(input, options) {
|
|
|
6480
7028
|
}
|
|
6481
7029
|
if (s0 === peg$FAILED) {
|
|
6482
7030
|
s0 = peg$currPos;
|
|
6483
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6484
|
-
s1 = peg$
|
|
7031
|
+
if (input.substr(peg$currPos, 5) === peg$c43) {
|
|
7032
|
+
s1 = peg$c43;
|
|
6485
7033
|
peg$currPos += 5;
|
|
6486
7034
|
}
|
|
6487
7035
|
else {
|
|
6488
7036
|
s1 = peg$FAILED;
|
|
6489
7037
|
if (peg$silentFails === 0) {
|
|
6490
|
-
peg$fail(peg$
|
|
7038
|
+
peg$fail(peg$e49);
|
|
6491
7039
|
}
|
|
6492
7040
|
}
|
|
6493
7041
|
if (s1 !== peg$FAILED) {
|
|
6494
7042
|
s2 = peg$parseBlockTag();
|
|
6495
7043
|
if (s2 !== peg$FAILED) {
|
|
6496
7044
|
peg$savedPos = s0;
|
|
6497
|
-
s0 = peg$
|
|
7045
|
+
s0 = peg$f80();
|
|
6498
7046
|
}
|
|
6499
7047
|
else {
|
|
6500
7048
|
peg$currPos = s0;
|
|
@@ -6507,14 +7055,14 @@ function peg$parse(input, options) {
|
|
|
6507
7055
|
}
|
|
6508
7056
|
if (s0 === peg$FAILED) {
|
|
6509
7057
|
s0 = peg$currPos;
|
|
6510
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6511
|
-
s1 = peg$
|
|
7058
|
+
if (input.substr(peg$currPos, 6) === peg$c44) {
|
|
7059
|
+
s1 = peg$c44;
|
|
6512
7060
|
peg$currPos += 6;
|
|
6513
7061
|
}
|
|
6514
7062
|
else {
|
|
6515
7063
|
s1 = peg$FAILED;
|
|
6516
7064
|
if (peg$silentFails === 0) {
|
|
6517
|
-
peg$fail(peg$
|
|
7065
|
+
peg$fail(peg$e50);
|
|
6518
7066
|
}
|
|
6519
7067
|
}
|
|
6520
7068
|
if (s1 !== peg$FAILED) {
|
|
@@ -6581,7 +7129,7 @@ function peg$parse(input, options) {
|
|
|
6581
7129
|
s3 = peg$parseBlockTag();
|
|
6582
7130
|
if (s3 !== peg$FAILED) {
|
|
6583
7131
|
peg$savedPos = s0;
|
|
6584
|
-
s0 = peg$
|
|
7132
|
+
s0 = peg$f81(s2);
|
|
6585
7133
|
}
|
|
6586
7134
|
else {
|
|
6587
7135
|
peg$currPos = s0;
|
|
@@ -6594,27 +7142,27 @@ function peg$parse(input, options) {
|
|
|
6594
7142
|
}
|
|
6595
7143
|
if (s0 === peg$FAILED) {
|
|
6596
7144
|
s0 = peg$currPos;
|
|
6597
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6598
|
-
s1 = peg$
|
|
7145
|
+
if (input.substr(peg$currPos, 9) === peg$c45) {
|
|
7146
|
+
s1 = peg$c45;
|
|
6599
7147
|
peg$currPos += 9;
|
|
6600
7148
|
}
|
|
6601
7149
|
else {
|
|
6602
7150
|
s1 = peg$FAILED;
|
|
6603
7151
|
if (peg$silentFails === 0) {
|
|
6604
|
-
peg$fail(peg$
|
|
7152
|
+
peg$fail(peg$e51);
|
|
6605
7153
|
}
|
|
6606
7154
|
}
|
|
6607
7155
|
if (s1 !== peg$FAILED) {
|
|
6608
7156
|
s2 = peg$currPos;
|
|
6609
7157
|
s3 = peg$currPos;
|
|
6610
7158
|
if (input.charCodeAt(peg$currPos) === 80) {
|
|
6611
|
-
s4 = peg$
|
|
7159
|
+
s4 = peg$c46;
|
|
6612
7160
|
peg$currPos++;
|
|
6613
7161
|
}
|
|
6614
7162
|
else {
|
|
6615
7163
|
s4 = peg$FAILED;
|
|
6616
7164
|
if (peg$silentFails === 0) {
|
|
6617
|
-
peg$fail(peg$
|
|
7165
|
+
peg$fail(peg$e52);
|
|
6618
7166
|
}
|
|
6619
7167
|
}
|
|
6620
7168
|
if (s4 !== peg$FAILED) {
|
|
@@ -6695,7 +7243,7 @@ function peg$parse(input, options) {
|
|
|
6695
7243
|
s3 = peg$parseBlockTag();
|
|
6696
7244
|
if (s3 !== peg$FAILED) {
|
|
6697
7245
|
peg$savedPos = s0;
|
|
6698
|
-
s0 = peg$
|
|
7246
|
+
s0 = peg$f82(s2);
|
|
6699
7247
|
}
|
|
6700
7248
|
else {
|
|
6701
7249
|
peg$currPos = s0;
|
|
@@ -6713,14 +7261,14 @@ function peg$parse(input, options) {
|
|
|
6713
7261
|
}
|
|
6714
7262
|
if (s0 === peg$FAILED) {
|
|
6715
7263
|
s0 = peg$currPos;
|
|
6716
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6717
|
-
s1 = peg$
|
|
7264
|
+
if (input.substr(peg$currPos, 6) === peg$c47) {
|
|
7265
|
+
s1 = peg$c47;
|
|
6718
7266
|
peg$currPos += 6;
|
|
6719
7267
|
}
|
|
6720
7268
|
else {
|
|
6721
7269
|
s1 = peg$FAILED;
|
|
6722
7270
|
if (peg$silentFails === 0) {
|
|
6723
|
-
peg$fail(peg$
|
|
7271
|
+
peg$fail(peg$e53);
|
|
6724
7272
|
}
|
|
6725
7273
|
}
|
|
6726
7274
|
if (s1 !== peg$FAILED) {
|
|
@@ -6729,7 +7277,7 @@ function peg$parse(input, options) {
|
|
|
6729
7277
|
s3 = peg$parseBlockTag();
|
|
6730
7278
|
if (s3 !== peg$FAILED) {
|
|
6731
7279
|
peg$savedPos = s0;
|
|
6732
|
-
s0 = peg$
|
|
7280
|
+
s0 = peg$f83(s2);
|
|
6733
7281
|
}
|
|
6734
7282
|
else {
|
|
6735
7283
|
peg$currPos = s0;
|
|
@@ -6752,7 +7300,7 @@ function peg$parse(input, options) {
|
|
|
6752
7300
|
s2 = peg$parseBlockTag();
|
|
6753
7301
|
if (s2 !== peg$FAILED) {
|
|
6754
7302
|
peg$savedPos = s0;
|
|
6755
|
-
s0 = peg$
|
|
7303
|
+
s0 = peg$f84(s1);
|
|
6756
7304
|
}
|
|
6757
7305
|
else {
|
|
6758
7306
|
peg$currPos = s0;
|
|
@@ -6839,7 +7387,7 @@ function peg$parse(input, options) {
|
|
|
6839
7387
|
s3 = peg$parseBlockTag();
|
|
6840
7388
|
if (s3 !== peg$FAILED) {
|
|
6841
7389
|
peg$savedPos = s0;
|
|
6842
|
-
s0 = peg$
|
|
7390
|
+
s0 = peg$f85(s2);
|
|
6843
7391
|
}
|
|
6844
7392
|
else {
|
|
6845
7393
|
peg$currPos = s0;
|
|
@@ -6881,14 +7429,14 @@ function peg$parse(input, options) {
|
|
|
6881
7429
|
function peg$parseRef() {
|
|
6882
7430
|
var s0, s1, s2, s3, s4, s5, s6;
|
|
6883
7431
|
s0 = peg$currPos;
|
|
6884
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6885
|
-
s1 = peg$
|
|
7432
|
+
if (input.substr(peg$currPos, 2) === peg$c48) {
|
|
7433
|
+
s1 = peg$c48;
|
|
6886
7434
|
peg$currPos += 2;
|
|
6887
7435
|
}
|
|
6888
7436
|
else {
|
|
6889
7437
|
s1 = peg$FAILED;
|
|
6890
7438
|
if (peg$silentFails === 0) {
|
|
6891
|
-
peg$fail(peg$
|
|
7439
|
+
peg$fail(peg$e54);
|
|
6892
7440
|
}
|
|
6893
7441
|
}
|
|
6894
7442
|
if (s1 !== peg$FAILED) {
|
|
@@ -6953,7 +7501,7 @@ function peg$parse(input, options) {
|
|
|
6953
7501
|
}
|
|
6954
7502
|
s2 = input.substring(s2, peg$currPos);
|
|
6955
7503
|
peg$savedPos = s0;
|
|
6956
|
-
s0 = peg$
|
|
7504
|
+
s0 = peg$f86(s2);
|
|
6957
7505
|
}
|
|
6958
7506
|
else {
|
|
6959
7507
|
peg$currPos = s0;
|
|
@@ -6963,212 +7511,212 @@ function peg$parse(input, options) {
|
|
|
6963
7511
|
}
|
|
6964
7512
|
function peg$parseAlternativeStyleTags() {
|
|
6965
7513
|
var s0;
|
|
6966
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6967
|
-
s0 = peg$
|
|
7514
|
+
if (input.substr(peg$currPos, 4) === peg$c49) {
|
|
7515
|
+
s0 = peg$c49;
|
|
6968
7516
|
peg$currPos += 4;
|
|
6969
7517
|
}
|
|
6970
7518
|
else {
|
|
6971
7519
|
s0 = peg$FAILED;
|
|
6972
7520
|
if (peg$silentFails === 0) {
|
|
6973
|
-
peg$fail(peg$
|
|
7521
|
+
peg$fail(peg$e55);
|
|
6974
7522
|
}
|
|
6975
7523
|
}
|
|
6976
7524
|
if (s0 === peg$FAILED) {
|
|
6977
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6978
|
-
s0 = peg$
|
|
7525
|
+
if (input.substr(peg$currPos, 6) === peg$c50) {
|
|
7526
|
+
s0 = peg$c50;
|
|
6979
7527
|
peg$currPos += 6;
|
|
6980
7528
|
}
|
|
6981
7529
|
else {
|
|
6982
7530
|
s0 = peg$FAILED;
|
|
6983
7531
|
if (peg$silentFails === 0) {
|
|
6984
|
-
peg$fail(peg$
|
|
7532
|
+
peg$fail(peg$e56);
|
|
6985
7533
|
}
|
|
6986
7534
|
}
|
|
6987
7535
|
if (s0 === peg$FAILED) {
|
|
6988
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6989
|
-
s0 = peg$
|
|
7536
|
+
if (input.substr(peg$currPos, 5) === peg$c51) {
|
|
7537
|
+
s0 = peg$c51;
|
|
6990
7538
|
peg$currPos += 5;
|
|
6991
7539
|
}
|
|
6992
7540
|
else {
|
|
6993
7541
|
s0 = peg$FAILED;
|
|
6994
7542
|
if (peg$silentFails === 0) {
|
|
6995
|
-
peg$fail(peg$
|
|
7543
|
+
peg$fail(peg$e57);
|
|
6996
7544
|
}
|
|
6997
7545
|
}
|
|
6998
7546
|
if (s0 === peg$FAILED) {
|
|
6999
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
7000
|
-
s0 = peg$
|
|
7547
|
+
if (input.substr(peg$currPos, 9) === peg$c52) {
|
|
7548
|
+
s0 = peg$c52;
|
|
7001
7549
|
peg$currPos += 9;
|
|
7002
7550
|
}
|
|
7003
7551
|
else {
|
|
7004
7552
|
s0 = peg$FAILED;
|
|
7005
7553
|
if (peg$silentFails === 0) {
|
|
7006
|
-
peg$fail(peg$
|
|
7554
|
+
peg$fail(peg$e58);
|
|
7007
7555
|
}
|
|
7008
7556
|
}
|
|
7009
7557
|
if (s0 === peg$FAILED) {
|
|
7010
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7011
|
-
s0 = peg$
|
|
7558
|
+
if (input.substr(peg$currPos, 6) === peg$c53) {
|
|
7559
|
+
s0 = peg$c53;
|
|
7012
7560
|
peg$currPos += 6;
|
|
7013
7561
|
}
|
|
7014
7562
|
else {
|
|
7015
7563
|
s0 = peg$FAILED;
|
|
7016
7564
|
if (peg$silentFails === 0) {
|
|
7017
|
-
peg$fail(peg$
|
|
7565
|
+
peg$fail(peg$e59);
|
|
7018
7566
|
}
|
|
7019
7567
|
}
|
|
7020
7568
|
if (s0 === peg$FAILED) {
|
|
7021
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
7022
|
-
s0 = peg$
|
|
7569
|
+
if (input.substr(peg$currPos, 9) === peg$c54) {
|
|
7570
|
+
s0 = peg$c54;
|
|
7023
7571
|
peg$currPos += 9;
|
|
7024
7572
|
}
|
|
7025
7573
|
else {
|
|
7026
7574
|
s0 = peg$FAILED;
|
|
7027
7575
|
if (peg$silentFails === 0) {
|
|
7028
|
-
peg$fail(peg$
|
|
7576
|
+
peg$fail(peg$e60);
|
|
7029
7577
|
}
|
|
7030
7578
|
}
|
|
7031
7579
|
if (s0 === peg$FAILED) {
|
|
7032
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
7033
|
-
s0 = peg$
|
|
7580
|
+
if (input.substr(peg$currPos, 11) === peg$c55) {
|
|
7581
|
+
s0 = peg$c55;
|
|
7034
7582
|
peg$currPos += 11;
|
|
7035
7583
|
}
|
|
7036
7584
|
else {
|
|
7037
7585
|
s0 = peg$FAILED;
|
|
7038
7586
|
if (peg$silentFails === 0) {
|
|
7039
|
-
peg$fail(peg$
|
|
7587
|
+
peg$fail(peg$e61);
|
|
7040
7588
|
}
|
|
7041
7589
|
}
|
|
7042
7590
|
if (s0 === peg$FAILED) {
|
|
7043
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7044
|
-
s0 = peg$
|
|
7591
|
+
if (input.substr(peg$currPos, 3) === peg$c56) {
|
|
7592
|
+
s0 = peg$c56;
|
|
7045
7593
|
peg$currPos += 3;
|
|
7046
7594
|
}
|
|
7047
7595
|
else {
|
|
7048
7596
|
s0 = peg$FAILED;
|
|
7049
7597
|
if (peg$silentFails === 0) {
|
|
7050
|
-
peg$fail(peg$
|
|
7598
|
+
peg$fail(peg$e62);
|
|
7051
7599
|
}
|
|
7052
7600
|
}
|
|
7053
7601
|
if (s0 === peg$FAILED) {
|
|
7054
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7055
|
-
s0 = peg$
|
|
7602
|
+
if (input.substr(peg$currPos, 3) === peg$c57) {
|
|
7603
|
+
s0 = peg$c57;
|
|
7056
7604
|
peg$currPos += 3;
|
|
7057
7605
|
}
|
|
7058
7606
|
else {
|
|
7059
7607
|
s0 = peg$FAILED;
|
|
7060
7608
|
if (peg$silentFails === 0) {
|
|
7061
|
-
peg$fail(peg$
|
|
7609
|
+
peg$fail(peg$e63);
|
|
7062
7610
|
}
|
|
7063
7611
|
}
|
|
7064
7612
|
if (s0 === peg$FAILED) {
|
|
7065
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
7066
|
-
s0 = peg$
|
|
7613
|
+
if (input.substr(peg$currPos, 9) === peg$c58) {
|
|
7614
|
+
s0 = peg$c58;
|
|
7067
7615
|
peg$currPos += 9;
|
|
7068
7616
|
}
|
|
7069
7617
|
else {
|
|
7070
7618
|
s0 = peg$FAILED;
|
|
7071
7619
|
if (peg$silentFails === 0) {
|
|
7072
|
-
peg$fail(peg$
|
|
7620
|
+
peg$fail(peg$e64);
|
|
7073
7621
|
}
|
|
7074
7622
|
}
|
|
7075
7623
|
if (s0 === peg$FAILED) {
|
|
7076
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
7077
|
-
s0 = peg$
|
|
7624
|
+
if (input.substr(peg$currPos, 15) === peg$c59) {
|
|
7625
|
+
s0 = peg$c59;
|
|
7078
7626
|
peg$currPos += 15;
|
|
7079
7627
|
}
|
|
7080
7628
|
else {
|
|
7081
7629
|
s0 = peg$FAILED;
|
|
7082
7630
|
if (peg$silentFails === 0) {
|
|
7083
|
-
peg$fail(peg$
|
|
7631
|
+
peg$fail(peg$e65);
|
|
7084
7632
|
}
|
|
7085
7633
|
}
|
|
7086
7634
|
if (s0 === peg$FAILED) {
|
|
7087
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7088
|
-
s0 = peg$
|
|
7635
|
+
if (input.substr(peg$currPos, 6) === peg$c60) {
|
|
7636
|
+
s0 = peg$c60;
|
|
7089
7637
|
peg$currPos += 6;
|
|
7090
7638
|
}
|
|
7091
7639
|
else {
|
|
7092
7640
|
s0 = peg$FAILED;
|
|
7093
7641
|
if (peg$silentFails === 0) {
|
|
7094
|
-
peg$fail(peg$
|
|
7642
|
+
peg$fail(peg$e66);
|
|
7095
7643
|
}
|
|
7096
7644
|
}
|
|
7097
7645
|
if (s0 === peg$FAILED) {
|
|
7098
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
7099
|
-
s0 = peg$
|
|
7646
|
+
if (input.substr(peg$currPos, 10) === peg$c61) {
|
|
7647
|
+
s0 = peg$c61;
|
|
7100
7648
|
peg$currPos += 10;
|
|
7101
7649
|
}
|
|
7102
7650
|
else {
|
|
7103
7651
|
s0 = peg$FAILED;
|
|
7104
7652
|
if (peg$silentFails === 0) {
|
|
7105
|
-
peg$fail(peg$
|
|
7653
|
+
peg$fail(peg$e67);
|
|
7106
7654
|
}
|
|
7107
7655
|
}
|
|
7108
7656
|
if (s0 === peg$FAILED) {
|
|
7109
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
7110
|
-
s0 = peg$
|
|
7657
|
+
if (input.substr(peg$currPos, 13) === peg$c62) {
|
|
7658
|
+
s0 = peg$c62;
|
|
7111
7659
|
peg$currPos += 13;
|
|
7112
7660
|
}
|
|
7113
7661
|
else {
|
|
7114
7662
|
s0 = peg$FAILED;
|
|
7115
7663
|
if (peg$silentFails === 0) {
|
|
7116
|
-
peg$fail(peg$
|
|
7664
|
+
peg$fail(peg$e68);
|
|
7117
7665
|
}
|
|
7118
7666
|
}
|
|
7119
7667
|
if (s0 === peg$FAILED) {
|
|
7120
|
-
if (input.substr(peg$currPos, 19) === peg$
|
|
7121
|
-
s0 = peg$
|
|
7668
|
+
if (input.substr(peg$currPos, 19) === peg$c63) {
|
|
7669
|
+
s0 = peg$c63;
|
|
7122
7670
|
peg$currPos += 19;
|
|
7123
7671
|
}
|
|
7124
7672
|
else {
|
|
7125
7673
|
s0 = peg$FAILED;
|
|
7126
7674
|
if (peg$silentFails === 0) {
|
|
7127
|
-
peg$fail(peg$
|
|
7675
|
+
peg$fail(peg$e69);
|
|
7128
7676
|
}
|
|
7129
7677
|
}
|
|
7130
7678
|
if (s0 === peg$FAILED) {
|
|
7131
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
7132
|
-
s0 = peg$
|
|
7679
|
+
if (input.substr(peg$currPos, 10) === peg$c64) {
|
|
7680
|
+
s0 = peg$c64;
|
|
7133
7681
|
peg$currPos += 10;
|
|
7134
7682
|
}
|
|
7135
7683
|
else {
|
|
7136
7684
|
s0 = peg$FAILED;
|
|
7137
7685
|
if (peg$silentFails === 0) {
|
|
7138
|
-
peg$fail(peg$
|
|
7686
|
+
peg$fail(peg$e70);
|
|
7139
7687
|
}
|
|
7140
7688
|
}
|
|
7141
7689
|
if (s0 === peg$FAILED) {
|
|
7142
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
7143
|
-
s0 = peg$
|
|
7690
|
+
if (input.substr(peg$currPos, 10) === peg$c65) {
|
|
7691
|
+
s0 = peg$c65;
|
|
7144
7692
|
peg$currPos += 10;
|
|
7145
7693
|
}
|
|
7146
7694
|
else {
|
|
7147
7695
|
s0 = peg$FAILED;
|
|
7148
7696
|
if (peg$silentFails === 0) {
|
|
7149
|
-
peg$fail(peg$
|
|
7697
|
+
peg$fail(peg$e71);
|
|
7150
7698
|
}
|
|
7151
7699
|
}
|
|
7152
7700
|
if (s0 === peg$FAILED) {
|
|
7153
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
7154
|
-
s0 = peg$
|
|
7701
|
+
if (input.substr(peg$currPos, 13) === peg$c66) {
|
|
7702
|
+
s0 = peg$c66;
|
|
7155
7703
|
peg$currPos += 13;
|
|
7156
7704
|
}
|
|
7157
7705
|
else {
|
|
7158
7706
|
s0 = peg$FAILED;
|
|
7159
7707
|
if (peg$silentFails === 0) {
|
|
7160
|
-
peg$fail(peg$
|
|
7708
|
+
peg$fail(peg$e72);
|
|
7161
7709
|
}
|
|
7162
7710
|
}
|
|
7163
7711
|
if (s0 === peg$FAILED) {
|
|
7164
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
7165
|
-
s0 = peg$
|
|
7712
|
+
if (input.substr(peg$currPos, 11) === peg$c67) {
|
|
7713
|
+
s0 = peg$c67;
|
|
7166
7714
|
peg$currPos += 11;
|
|
7167
7715
|
}
|
|
7168
7716
|
else {
|
|
7169
7717
|
s0 = peg$FAILED;
|
|
7170
7718
|
if (peg$silentFails === 0) {
|
|
7171
|
-
peg$fail(peg$
|
|
7719
|
+
peg$fail(peg$e73);
|
|
7172
7720
|
}
|
|
7173
7721
|
}
|
|
7174
7722
|
}
|
|
@@ -7193,245 +7741,245 @@ function peg$parse(input, options) {
|
|
|
7193
7741
|
}
|
|
7194
7742
|
function peg$parseColor() {
|
|
7195
7743
|
var s0;
|
|
7196
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7197
|
-
s0 = peg$
|
|
7744
|
+
if (input.substr(peg$currPos, 4) === peg$c68) {
|
|
7745
|
+
s0 = peg$c68;
|
|
7198
7746
|
peg$currPos += 4;
|
|
7199
7747
|
}
|
|
7200
7748
|
else {
|
|
7201
7749
|
s0 = peg$FAILED;
|
|
7202
7750
|
if (peg$silentFails === 0) {
|
|
7203
|
-
peg$fail(peg$
|
|
7751
|
+
peg$fail(peg$e74);
|
|
7204
7752
|
}
|
|
7205
7753
|
}
|
|
7206
7754
|
if (s0 === peg$FAILED) {
|
|
7207
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
7208
|
-
s0 = peg$
|
|
7755
|
+
if (input.substr(peg$currPos, 5) === peg$c69) {
|
|
7756
|
+
s0 = peg$c69;
|
|
7209
7757
|
peg$currPos += 5;
|
|
7210
7758
|
}
|
|
7211
7759
|
else {
|
|
7212
7760
|
s0 = peg$FAILED;
|
|
7213
7761
|
if (peg$silentFails === 0) {
|
|
7214
|
-
peg$fail(peg$
|
|
7762
|
+
peg$fail(peg$e75);
|
|
7215
7763
|
}
|
|
7216
7764
|
}
|
|
7217
7765
|
if (s0 === peg$FAILED) {
|
|
7218
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7219
|
-
s0 = peg$
|
|
7766
|
+
if (input.substr(peg$currPos, 4) === peg$c70) {
|
|
7767
|
+
s0 = peg$c70;
|
|
7220
7768
|
peg$currPos += 4;
|
|
7221
7769
|
}
|
|
7222
7770
|
else {
|
|
7223
7771
|
s0 = peg$FAILED;
|
|
7224
7772
|
if (peg$silentFails === 0) {
|
|
7225
|
-
peg$fail(peg$
|
|
7773
|
+
peg$fail(peg$e76);
|
|
7226
7774
|
}
|
|
7227
7775
|
}
|
|
7228
7776
|
if (s0 === peg$FAILED) {
|
|
7229
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7230
|
-
s0 = peg$
|
|
7777
|
+
if (input.substr(peg$currPos, 4) === peg$c71) {
|
|
7778
|
+
s0 = peg$c71;
|
|
7231
7779
|
peg$currPos += 4;
|
|
7232
7780
|
}
|
|
7233
7781
|
else {
|
|
7234
7782
|
s0 = peg$FAILED;
|
|
7235
7783
|
if (peg$silentFails === 0) {
|
|
7236
|
-
peg$fail(peg$
|
|
7784
|
+
peg$fail(peg$e77);
|
|
7237
7785
|
}
|
|
7238
7786
|
}
|
|
7239
7787
|
if (s0 === peg$FAILED) {
|
|
7240
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
7241
|
-
s0 = peg$
|
|
7788
|
+
if (input.substr(peg$currPos, 7) === peg$c72) {
|
|
7789
|
+
s0 = peg$c72;
|
|
7242
7790
|
peg$currPos += 7;
|
|
7243
7791
|
}
|
|
7244
7792
|
else {
|
|
7245
7793
|
s0 = peg$FAILED;
|
|
7246
7794
|
if (peg$silentFails === 0) {
|
|
7247
|
-
peg$fail(peg$
|
|
7795
|
+
peg$fail(peg$e78);
|
|
7248
7796
|
}
|
|
7249
7797
|
}
|
|
7250
7798
|
if (s0 === peg$FAILED) {
|
|
7251
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
7252
|
-
s0 = peg$
|
|
7799
|
+
if (input.substr(peg$currPos, 9) === peg$c73) {
|
|
7800
|
+
s0 = peg$c73;
|
|
7253
7801
|
peg$currPos += 9;
|
|
7254
7802
|
}
|
|
7255
7803
|
else {
|
|
7256
7804
|
s0 = peg$FAILED;
|
|
7257
7805
|
if (peg$silentFails === 0) {
|
|
7258
|
-
peg$fail(peg$
|
|
7806
|
+
peg$fail(peg$e79);
|
|
7259
7807
|
}
|
|
7260
7808
|
}
|
|
7261
7809
|
if (s0 === peg$FAILED) {
|
|
7262
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7263
|
-
s0 = peg$
|
|
7810
|
+
if (input.substr(peg$currPos, 4) === peg$c74) {
|
|
7811
|
+
s0 = peg$c74;
|
|
7264
7812
|
peg$currPos += 4;
|
|
7265
7813
|
}
|
|
7266
7814
|
else {
|
|
7267
7815
|
s0 = peg$FAILED;
|
|
7268
7816
|
if (peg$silentFails === 0) {
|
|
7269
|
-
peg$fail(peg$
|
|
7817
|
+
peg$fail(peg$e80);
|
|
7270
7818
|
}
|
|
7271
7819
|
}
|
|
7272
7820
|
if (s0 === peg$FAILED) {
|
|
7273
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
7274
|
-
s0 = peg$
|
|
7821
|
+
if (input.substr(peg$currPos, 8) === peg$c75) {
|
|
7822
|
+
s0 = peg$c75;
|
|
7275
7823
|
peg$currPos += 8;
|
|
7276
7824
|
}
|
|
7277
7825
|
else {
|
|
7278
7826
|
s0 = peg$FAILED;
|
|
7279
7827
|
if (peg$silentFails === 0) {
|
|
7280
|
-
peg$fail(peg$
|
|
7828
|
+
peg$fail(peg$e81);
|
|
7281
7829
|
}
|
|
7282
7830
|
}
|
|
7283
7831
|
if (s0 === peg$FAILED) {
|
|
7284
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
7285
|
-
s0 = peg$
|
|
7832
|
+
if (input.substr(peg$currPos, 5) === peg$c76) {
|
|
7833
|
+
s0 = peg$c76;
|
|
7286
7834
|
peg$currPos += 5;
|
|
7287
7835
|
}
|
|
7288
7836
|
else {
|
|
7289
7837
|
s0 = peg$FAILED;
|
|
7290
7838
|
if (peg$silentFails === 0) {
|
|
7291
|
-
peg$fail(peg$
|
|
7839
|
+
peg$fail(peg$e82);
|
|
7292
7840
|
}
|
|
7293
7841
|
}
|
|
7294
7842
|
if (s0 === peg$FAILED) {
|
|
7295
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7296
|
-
s0 = peg$
|
|
7843
|
+
if (input.substr(peg$currPos, 4) === peg$c77) {
|
|
7844
|
+
s0 = peg$c77;
|
|
7297
7845
|
peg$currPos += 4;
|
|
7298
7846
|
}
|
|
7299
7847
|
else {
|
|
7300
7848
|
s0 = peg$FAILED;
|
|
7301
7849
|
if (peg$silentFails === 0) {
|
|
7302
|
-
peg$fail(peg$
|
|
7850
|
+
peg$fail(peg$e83);
|
|
7303
7851
|
}
|
|
7304
7852
|
}
|
|
7305
7853
|
if (s0 === peg$FAILED) {
|
|
7306
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
7307
|
-
s0 = peg$
|
|
7854
|
+
if (input.substr(peg$currPos, 7) === peg$c78) {
|
|
7855
|
+
s0 = peg$c78;
|
|
7308
7856
|
peg$currPos += 7;
|
|
7309
7857
|
}
|
|
7310
7858
|
else {
|
|
7311
7859
|
s0 = peg$FAILED;
|
|
7312
7860
|
if (peg$silentFails === 0) {
|
|
7313
|
-
peg$fail(peg$
|
|
7861
|
+
peg$fail(peg$e84);
|
|
7314
7862
|
}
|
|
7315
7863
|
}
|
|
7316
7864
|
if (s0 === peg$FAILED) {
|
|
7317
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7318
|
-
s0 = peg$
|
|
7865
|
+
if (input.substr(peg$currPos, 6) === peg$c79) {
|
|
7866
|
+
s0 = peg$c79;
|
|
7319
7867
|
peg$currPos += 6;
|
|
7320
7868
|
}
|
|
7321
7869
|
else {
|
|
7322
7870
|
s0 = peg$FAILED;
|
|
7323
7871
|
if (peg$silentFails === 0) {
|
|
7324
|
-
peg$fail(peg$
|
|
7872
|
+
peg$fail(peg$e85);
|
|
7325
7873
|
}
|
|
7326
7874
|
}
|
|
7327
7875
|
if (s0 === peg$FAILED) {
|
|
7328
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7329
|
-
s0 = peg$
|
|
7876
|
+
if (input.substr(peg$currPos, 4) === peg$c80) {
|
|
7877
|
+
s0 = peg$c80;
|
|
7330
7878
|
peg$currPos += 4;
|
|
7331
7879
|
}
|
|
7332
7880
|
else {
|
|
7333
7881
|
s0 = peg$FAILED;
|
|
7334
7882
|
if (peg$silentFails === 0) {
|
|
7335
|
-
peg$fail(peg$
|
|
7883
|
+
peg$fail(peg$e86);
|
|
7336
7884
|
}
|
|
7337
7885
|
}
|
|
7338
7886
|
if (s0 === peg$FAILED) {
|
|
7339
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
7340
|
-
s0 = peg$
|
|
7887
|
+
if (input.substr(peg$currPos, 5) === peg$c81) {
|
|
7888
|
+
s0 = peg$c81;
|
|
7341
7889
|
peg$currPos += 5;
|
|
7342
7890
|
}
|
|
7343
7891
|
else {
|
|
7344
7892
|
s0 = peg$FAILED;
|
|
7345
7893
|
if (peg$silentFails === 0) {
|
|
7346
|
-
peg$fail(peg$
|
|
7894
|
+
peg$fail(peg$e87);
|
|
7347
7895
|
}
|
|
7348
7896
|
}
|
|
7349
7897
|
if (s0 === peg$FAILED) {
|
|
7350
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7351
|
-
s0 = peg$
|
|
7898
|
+
if (input.substr(peg$currPos, 6) === peg$c82) {
|
|
7899
|
+
s0 = peg$c82;
|
|
7352
7900
|
peg$currPos += 6;
|
|
7353
7901
|
}
|
|
7354
7902
|
else {
|
|
7355
7903
|
s0 = peg$FAILED;
|
|
7356
7904
|
if (peg$silentFails === 0) {
|
|
7357
|
-
peg$fail(peg$
|
|
7905
|
+
peg$fail(peg$e88);
|
|
7358
7906
|
}
|
|
7359
7907
|
}
|
|
7360
7908
|
if (s0 === peg$FAILED) {
|
|
7361
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7362
|
-
s0 = peg$
|
|
7909
|
+
if (input.substr(peg$currPos, 6) === peg$c83) {
|
|
7910
|
+
s0 = peg$c83;
|
|
7363
7911
|
peg$currPos += 6;
|
|
7364
7912
|
}
|
|
7365
7913
|
else {
|
|
7366
7914
|
s0 = peg$FAILED;
|
|
7367
7915
|
if (peg$silentFails === 0) {
|
|
7368
|
-
peg$fail(peg$
|
|
7916
|
+
peg$fail(peg$e89);
|
|
7369
7917
|
}
|
|
7370
7918
|
}
|
|
7371
7919
|
if (s0 === peg$FAILED) {
|
|
7372
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7373
|
-
s0 = peg$
|
|
7920
|
+
if (input.substr(peg$currPos, 3) === peg$c84) {
|
|
7921
|
+
s0 = peg$c84;
|
|
7374
7922
|
peg$currPos += 3;
|
|
7375
7923
|
}
|
|
7376
7924
|
else {
|
|
7377
7925
|
s0 = peg$FAILED;
|
|
7378
7926
|
if (peg$silentFails === 0) {
|
|
7379
|
-
peg$fail(peg$
|
|
7927
|
+
peg$fail(peg$e90);
|
|
7380
7928
|
}
|
|
7381
7929
|
}
|
|
7382
7930
|
if (s0 === peg$FAILED) {
|
|
7383
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7384
|
-
s0 = peg$
|
|
7931
|
+
if (input.substr(peg$currPos, 6) === peg$c85) {
|
|
7932
|
+
s0 = peg$c85;
|
|
7385
7933
|
peg$currPos += 6;
|
|
7386
7934
|
}
|
|
7387
7935
|
else {
|
|
7388
7936
|
s0 = peg$FAILED;
|
|
7389
7937
|
if (peg$silentFails === 0) {
|
|
7390
|
-
peg$fail(peg$
|
|
7938
|
+
peg$fail(peg$e91);
|
|
7391
7939
|
}
|
|
7392
7940
|
}
|
|
7393
7941
|
if (s0 === peg$FAILED) {
|
|
7394
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7395
|
-
s0 = peg$
|
|
7942
|
+
if (input.substr(peg$currPos, 4) === peg$c86) {
|
|
7943
|
+
s0 = peg$c86;
|
|
7396
7944
|
peg$currPos += 4;
|
|
7397
7945
|
}
|
|
7398
7946
|
else {
|
|
7399
7947
|
s0 = peg$FAILED;
|
|
7400
7948
|
if (peg$silentFails === 0) {
|
|
7401
|
-
peg$fail(peg$
|
|
7949
|
+
peg$fail(peg$e92);
|
|
7402
7950
|
}
|
|
7403
7951
|
}
|
|
7404
7952
|
if (s0 === peg$FAILED) {
|
|
7405
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7406
|
-
s0 = peg$
|
|
7953
|
+
if (input.substr(peg$currPos, 6) === peg$c87) {
|
|
7954
|
+
s0 = peg$c87;
|
|
7407
7955
|
peg$currPos += 6;
|
|
7408
7956
|
}
|
|
7409
7957
|
else {
|
|
7410
7958
|
s0 = peg$FAILED;
|
|
7411
7959
|
if (peg$silentFails === 0) {
|
|
7412
|
-
peg$fail(peg$
|
|
7960
|
+
peg$fail(peg$e93);
|
|
7413
7961
|
}
|
|
7414
7962
|
}
|
|
7415
7963
|
if (s0 === peg$FAILED) {
|
|
7416
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
7417
|
-
s0 = peg$
|
|
7964
|
+
if (input.substr(peg$currPos, 5) === peg$c88) {
|
|
7965
|
+
s0 = peg$c88;
|
|
7418
7966
|
peg$currPos += 5;
|
|
7419
7967
|
}
|
|
7420
7968
|
else {
|
|
7421
7969
|
s0 = peg$FAILED;
|
|
7422
7970
|
if (peg$silentFails === 0) {
|
|
7423
|
-
peg$fail(peg$
|
|
7971
|
+
peg$fail(peg$e94);
|
|
7424
7972
|
}
|
|
7425
7973
|
}
|
|
7426
7974
|
if (s0 === peg$FAILED) {
|
|
7427
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7428
|
-
s0 = peg$
|
|
7975
|
+
if (input.substr(peg$currPos, 6) === peg$c89) {
|
|
7976
|
+
s0 = peg$c89;
|
|
7429
7977
|
peg$currPos += 6;
|
|
7430
7978
|
}
|
|
7431
7979
|
else {
|
|
7432
7980
|
s0 = peg$FAILED;
|
|
7433
7981
|
if (peg$silentFails === 0) {
|
|
7434
|
-
peg$fail(peg$
|
|
7982
|
+
peg$fail(peg$e95);
|
|
7435
7983
|
}
|
|
7436
7984
|
}
|
|
7437
7985
|
}
|
|
@@ -7463,12 +8011,12 @@ function peg$parse(input, options) {
|
|
|
7463
8011
|
s0 = peg$currPos;
|
|
7464
8012
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
7465
8013
|
peg$savedPos = s0;
|
|
7466
|
-
s1 = peg$
|
|
8014
|
+
s1 = peg$f87(s1);
|
|
7467
8015
|
s0 = s1;
|
|
7468
8016
|
peg$silentFails--;
|
|
7469
8017
|
s1 = peg$FAILED;
|
|
7470
8018
|
if (peg$silentFails === 0) {
|
|
7471
|
-
peg$fail(peg$
|
|
8019
|
+
peg$fail(peg$e96);
|
|
7472
8020
|
}
|
|
7473
8021
|
return s0;
|
|
7474
8022
|
}
|
|
@@ -7493,11 +8041,11 @@ function peg$parse(input, options) {
|
|
|
7493
8041
|
}
|
|
7494
8042
|
}
|
|
7495
8043
|
peg$savedPos = s0;
|
|
7496
|
-
s0 = peg$
|
|
8044
|
+
s0 = peg$f88(s1, s2);
|
|
7497
8045
|
peg$silentFails--;
|
|
7498
8046
|
s1 = peg$FAILED;
|
|
7499
8047
|
if (peg$silentFails === 0) {
|
|
7500
|
-
peg$fail(peg$
|
|
8048
|
+
peg$fail(peg$e97);
|
|
7501
8049
|
}
|
|
7502
8050
|
return s0;
|
|
7503
8051
|
}
|
|
@@ -7507,7 +8055,7 @@ function peg$parse(input, options) {
|
|
|
7507
8055
|
s1 = peg$parseNL();
|
|
7508
8056
|
if (s1 !== peg$FAILED) {
|
|
7509
8057
|
peg$savedPos = s0;
|
|
7510
|
-
s1 = peg$
|
|
8058
|
+
s1 = peg$f89();
|
|
7511
8059
|
}
|
|
7512
8060
|
s0 = s1;
|
|
7513
8061
|
if (s0 === peg$FAILED) {
|
|
@@ -7650,7 +8198,7 @@ function peg$parse(input, options) {
|
|
|
7650
8198
|
}
|
|
7651
8199
|
if (s1 !== peg$FAILED) {
|
|
7652
8200
|
peg$savedPos = s0;
|
|
7653
|
-
s1 = peg$
|
|
8201
|
+
s1 = peg$f90(s1);
|
|
7654
8202
|
}
|
|
7655
8203
|
s0 = s1;
|
|
7656
8204
|
}
|
|
@@ -7659,13 +8207,13 @@ function peg$parse(input, options) {
|
|
|
7659
8207
|
function peg$parseBoldHalfTag() {
|
|
7660
8208
|
var s0;
|
|
7661
8209
|
if (input.charCodeAt(peg$currPos) === 42) {
|
|
7662
|
-
s0 = peg$
|
|
8210
|
+
s0 = peg$c90;
|
|
7663
8211
|
peg$currPos++;
|
|
7664
8212
|
}
|
|
7665
8213
|
else {
|
|
7666
8214
|
s0 = peg$FAILED;
|
|
7667
8215
|
if (peg$silentFails === 0) {
|
|
7668
|
-
peg$fail(peg$
|
|
8216
|
+
peg$fail(peg$e98);
|
|
7669
8217
|
}
|
|
7670
8218
|
}
|
|
7671
8219
|
return s0;
|
|
@@ -7673,13 +8221,13 @@ function peg$parse(input, options) {
|
|
|
7673
8221
|
function peg$parseItalicHalfTag() {
|
|
7674
8222
|
var s0;
|
|
7675
8223
|
if (input.charCodeAt(peg$currPos) === 95) {
|
|
7676
|
-
s0 = peg$
|
|
8224
|
+
s0 = peg$c91;
|
|
7677
8225
|
peg$currPos++;
|
|
7678
8226
|
}
|
|
7679
8227
|
else {
|
|
7680
8228
|
s0 = peg$FAILED;
|
|
7681
8229
|
if (peg$silentFails === 0) {
|
|
7682
|
-
peg$fail(peg$
|
|
8230
|
+
peg$fail(peg$e99);
|
|
7683
8231
|
}
|
|
7684
8232
|
}
|
|
7685
8233
|
return s0;
|
|
@@ -7687,13 +8235,13 @@ function peg$parse(input, options) {
|
|
|
7687
8235
|
function peg$parseLightHalfTag() {
|
|
7688
8236
|
var s0;
|
|
7689
8237
|
if (input.charCodeAt(peg$currPos) === 96) {
|
|
7690
|
-
s0 = peg$
|
|
8238
|
+
s0 = peg$c92;
|
|
7691
8239
|
peg$currPos++;
|
|
7692
8240
|
}
|
|
7693
8241
|
else {
|
|
7694
8242
|
s0 = peg$FAILED;
|
|
7695
8243
|
if (peg$silentFails === 0) {
|
|
7696
|
-
peg$fail(peg$
|
|
8244
|
+
peg$fail(peg$e100);
|
|
7697
8245
|
}
|
|
7698
8246
|
}
|
|
7699
8247
|
return s0;
|
|
@@ -7701,13 +8249,13 @@ function peg$parse(input, options) {
|
|
|
7701
8249
|
function peg$parseHighlightHalfTag() {
|
|
7702
8250
|
var s0;
|
|
7703
8251
|
if (input.charCodeAt(peg$currPos) === 33) {
|
|
7704
|
-
s0 = peg$
|
|
8252
|
+
s0 = peg$c93;
|
|
7705
8253
|
peg$currPos++;
|
|
7706
8254
|
}
|
|
7707
8255
|
else {
|
|
7708
8256
|
s0 = peg$FAILED;
|
|
7709
8257
|
if (peg$silentFails === 0) {
|
|
7710
|
-
peg$fail(peg$
|
|
8258
|
+
peg$fail(peg$e101);
|
|
7711
8259
|
}
|
|
7712
8260
|
}
|
|
7713
8261
|
return s0;
|
|
@@ -7798,14 +8346,14 @@ function peg$parse(input, options) {
|
|
|
7798
8346
|
}
|
|
7799
8347
|
function peg$parseBodyBitOpenTag() {
|
|
7800
8348
|
var s0;
|
|
7801
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
7802
|
-
s0 = peg$
|
|
8349
|
+
if (input.substr(peg$currPos, 2) === peg$c94) {
|
|
8350
|
+
s0 = peg$c94;
|
|
7803
8351
|
peg$currPos += 2;
|
|
7804
8352
|
}
|
|
7805
8353
|
else {
|
|
7806
8354
|
s0 = peg$FAILED;
|
|
7807
8355
|
if (peg$silentFails === 0) {
|
|
7808
|
-
peg$fail(peg$
|
|
8356
|
+
peg$fail(peg$e102);
|
|
7809
8357
|
}
|
|
7810
8358
|
}
|
|
7811
8359
|
return s0;
|
|
@@ -7813,13 +8361,13 @@ function peg$parse(input, options) {
|
|
|
7813
8361
|
function peg$parseBodyBitCloseTag() {
|
|
7814
8362
|
var s0;
|
|
7815
8363
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
7816
|
-
s0 = peg$
|
|
8364
|
+
s0 = peg$c95;
|
|
7817
8365
|
peg$currPos++;
|
|
7818
8366
|
}
|
|
7819
8367
|
else {
|
|
7820
8368
|
s0 = peg$FAILED;
|
|
7821
8369
|
if (peg$silentFails === 0) {
|
|
7822
|
-
peg$fail(peg$
|
|
8370
|
+
peg$fail(peg$e103);
|
|
7823
8371
|
}
|
|
7824
8372
|
}
|
|
7825
8373
|
return s0;
|
|
@@ -7869,7 +8417,7 @@ function peg$parse(input, options) {
|
|
|
7869
8417
|
s3 = peg$parseBodyBitCloseTag();
|
|
7870
8418
|
if (s3 !== peg$FAILED) {
|
|
7871
8419
|
peg$savedPos = s0;
|
|
7872
|
-
s0 = peg$
|
|
8420
|
+
s0 = peg$f91(s2);
|
|
7873
8421
|
}
|
|
7874
8422
|
else {
|
|
7875
8423
|
peg$currPos = s0;
|
|
@@ -8040,7 +8588,7 @@ function peg$parse(input, options) {
|
|
|
8040
8588
|
s5 = peg$parseBoldTag();
|
|
8041
8589
|
if (s5 !== peg$FAILED) {
|
|
8042
8590
|
peg$savedPos = s0;
|
|
8043
|
-
s0 = peg$
|
|
8591
|
+
s0 = peg$f92(s3);
|
|
8044
8592
|
}
|
|
8045
8593
|
else {
|
|
8046
8594
|
peg$currPos = s0;
|
|
@@ -8206,7 +8754,7 @@ function peg$parse(input, options) {
|
|
|
8206
8754
|
s5 = peg$parseItalicTag();
|
|
8207
8755
|
if (s5 !== peg$FAILED) {
|
|
8208
8756
|
peg$savedPos = s0;
|
|
8209
|
-
s0 = peg$
|
|
8757
|
+
s0 = peg$f93(s3);
|
|
8210
8758
|
}
|
|
8211
8759
|
else {
|
|
8212
8760
|
peg$currPos = s0;
|
|
@@ -8372,7 +8920,7 @@ function peg$parse(input, options) {
|
|
|
8372
8920
|
s5 = peg$parseLightTag();
|
|
8373
8921
|
if (s5 !== peg$FAILED) {
|
|
8374
8922
|
peg$savedPos = s0;
|
|
8375
|
-
s0 = peg$
|
|
8923
|
+
s0 = peg$f94(s3);
|
|
8376
8924
|
}
|
|
8377
8925
|
else {
|
|
8378
8926
|
peg$currPos = s0;
|
|
@@ -8538,7 +9086,7 @@ function peg$parse(input, options) {
|
|
|
8538
9086
|
s5 = peg$parseHighlightTag();
|
|
8539
9087
|
if (s5 !== peg$FAILED) {
|
|
8540
9088
|
peg$savedPos = s0;
|
|
8541
|
-
s0 = peg$
|
|
9089
|
+
s0 = peg$f95(s3);
|
|
8542
9090
|
}
|
|
8543
9091
|
else {
|
|
8544
9092
|
peg$currPos = s0;
|
|
@@ -8633,24 +9181,24 @@ function peg$parse(input, options) {
|
|
|
8633
9181
|
var s0, s1;
|
|
8634
9182
|
peg$silentFails++;
|
|
8635
9183
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
8636
|
-
s0 = peg$
|
|
9184
|
+
s0 = peg$c96;
|
|
8637
9185
|
peg$currPos++;
|
|
8638
9186
|
}
|
|
8639
9187
|
else {
|
|
8640
9188
|
s0 = peg$FAILED;
|
|
8641
9189
|
if (peg$silentFails === 0) {
|
|
8642
|
-
peg$fail(peg$
|
|
9190
|
+
peg$fail(peg$e105);
|
|
8643
9191
|
}
|
|
8644
9192
|
}
|
|
8645
9193
|
if (s0 === peg$FAILED) {
|
|
8646
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
8647
|
-
s0 = peg$
|
|
9194
|
+
if (input.substr(peg$currPos, 2) === peg$c97) {
|
|
9195
|
+
s0 = peg$c97;
|
|
8648
9196
|
peg$currPos += 2;
|
|
8649
9197
|
}
|
|
8650
9198
|
else {
|
|
8651
9199
|
s0 = peg$FAILED;
|
|
8652
9200
|
if (peg$silentFails === 0) {
|
|
8653
|
-
peg$fail(peg$
|
|
9201
|
+
peg$fail(peg$e106);
|
|
8654
9202
|
}
|
|
8655
9203
|
}
|
|
8656
9204
|
if (s0 === peg$FAILED) {
|
|
@@ -8661,7 +9209,7 @@ function peg$parse(input, options) {
|
|
|
8661
9209
|
else {
|
|
8662
9210
|
s0 = peg$FAILED;
|
|
8663
9211
|
if (peg$silentFails === 0) {
|
|
8664
|
-
peg$fail(peg$
|
|
9212
|
+
peg$fail(peg$e107);
|
|
8665
9213
|
}
|
|
8666
9214
|
}
|
|
8667
9215
|
}
|
|
@@ -8670,7 +9218,7 @@ function peg$parse(input, options) {
|
|
|
8670
9218
|
if (s0 === peg$FAILED) {
|
|
8671
9219
|
s1 = peg$FAILED;
|
|
8672
9220
|
if (peg$silentFails === 0) {
|
|
8673
|
-
peg$fail(peg$
|
|
9221
|
+
peg$fail(peg$e104);
|
|
8674
9222
|
}
|
|
8675
9223
|
}
|
|
8676
9224
|
return s0;
|
|
@@ -8705,7 +9253,7 @@ function peg$parse(input, options) {
|
|
|
8705
9253
|
peg$silentFails--;
|
|
8706
9254
|
s1 = peg$FAILED;
|
|
8707
9255
|
if (peg$silentFails === 0) {
|
|
8708
|
-
peg$fail(peg$
|
|
9256
|
+
peg$fail(peg$e108);
|
|
8709
9257
|
}
|
|
8710
9258
|
return s0;
|
|
8711
9259
|
}
|
|
@@ -8729,7 +9277,7 @@ function peg$parse(input, options) {
|
|
|
8729
9277
|
peg$silentFails--;
|
|
8730
9278
|
s1 = peg$FAILED;
|
|
8731
9279
|
if (peg$silentFails === 0) {
|
|
8732
|
-
peg$fail(peg$
|
|
9280
|
+
peg$fail(peg$e109);
|
|
8733
9281
|
}
|
|
8734
9282
|
return s0;
|
|
8735
9283
|
}
|
|
@@ -8753,7 +9301,7 @@ function peg$parse(input, options) {
|
|
|
8753
9301
|
if (s0 === peg$FAILED) {
|
|
8754
9302
|
s1 = peg$FAILED;
|
|
8755
9303
|
if (peg$silentFails === 0) {
|
|
8756
|
-
peg$fail(peg$
|
|
9304
|
+
peg$fail(peg$e110);
|
|
8757
9305
|
}
|
|
8758
9306
|
}
|
|
8759
9307
|
return s0;
|
|
@@ -8768,14 +9316,14 @@ function peg$parse(input, options) {
|
|
|
8768
9316
|
else {
|
|
8769
9317
|
s0 = peg$FAILED;
|
|
8770
9318
|
if (peg$silentFails === 0) {
|
|
8771
|
-
peg$fail(peg$
|
|
9319
|
+
peg$fail(peg$e112);
|
|
8772
9320
|
}
|
|
8773
9321
|
}
|
|
8774
9322
|
peg$silentFails--;
|
|
8775
9323
|
if (s0 === peg$FAILED) {
|
|
8776
9324
|
s1 = peg$FAILED;
|
|
8777
9325
|
if (peg$silentFails === 0) {
|
|
8778
|
-
peg$fail(peg$
|
|
9326
|
+
peg$fail(peg$e111);
|
|
8779
9327
|
}
|
|
8780
9328
|
}
|
|
8781
9329
|
return s0;
|
|
@@ -8789,7 +9337,7 @@ function peg$parse(input, options) {
|
|
|
8789
9337
|
else {
|
|
8790
9338
|
s0 = peg$FAILED;
|
|
8791
9339
|
if (peg$silentFails === 0) {
|
|
8792
|
-
peg$fail(peg$
|
|
9340
|
+
peg$fail(peg$e113);
|
|
8793
9341
|
}
|
|
8794
9342
|
}
|
|
8795
9343
|
return s0;
|
|
@@ -8803,7 +9351,7 @@ function peg$parse(input, options) {
|
|
|
8803
9351
|
else {
|
|
8804
9352
|
s0 = peg$FAILED;
|
|
8805
9353
|
if (peg$silentFails === 0) {
|
|
8806
|
-
peg$fail(peg$
|
|
9354
|
+
peg$fail(peg$e114);
|
|
8807
9355
|
}
|
|
8808
9356
|
}
|
|
8809
9357
|
return s0;
|
|
@@ -8817,7 +9365,7 @@ function peg$parse(input, options) {
|
|
|
8817
9365
|
else {
|
|
8818
9366
|
s0 = peg$FAILED;
|
|
8819
9367
|
if (peg$silentFails === 0) {
|
|
8820
|
-
peg$fail(peg$
|
|
9368
|
+
peg$fail(peg$e115);
|
|
8821
9369
|
}
|
|
8822
9370
|
}
|
|
8823
9371
|
return s0;
|
|
@@ -8853,38 +9401,38 @@ function peg$parse(input, options) {
|
|
|
8853
9401
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8;
|
|
8854
9402
|
s0 = peg$currPos;
|
|
8855
9403
|
s1 = peg$currPos;
|
|
8856
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
8857
|
-
s2 = peg$
|
|
9404
|
+
if (input.substr(peg$currPos, 4) === peg$c98) {
|
|
9405
|
+
s2 = peg$c98;
|
|
8858
9406
|
peg$currPos += 4;
|
|
8859
9407
|
}
|
|
8860
9408
|
else {
|
|
8861
9409
|
s2 = peg$FAILED;
|
|
8862
9410
|
if (peg$silentFails === 0) {
|
|
8863
|
-
peg$fail(peg$
|
|
9411
|
+
peg$fail(peg$e116);
|
|
8864
9412
|
}
|
|
8865
9413
|
}
|
|
8866
9414
|
if (s2 !== peg$FAILED) {
|
|
8867
9415
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
8868
|
-
s3 = peg$
|
|
9416
|
+
s3 = peg$c99;
|
|
8869
9417
|
peg$currPos++;
|
|
8870
9418
|
}
|
|
8871
9419
|
else {
|
|
8872
9420
|
s3 = peg$FAILED;
|
|
8873
9421
|
if (peg$silentFails === 0) {
|
|
8874
|
-
peg$fail(peg$
|
|
9422
|
+
peg$fail(peg$e117);
|
|
8875
9423
|
}
|
|
8876
9424
|
}
|
|
8877
9425
|
if (s3 === peg$FAILED) {
|
|
8878
9426
|
s3 = null;
|
|
8879
9427
|
}
|
|
8880
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
8881
|
-
s4 = peg$
|
|
9428
|
+
if (input.substr(peg$currPos, 3) === peg$c100) {
|
|
9429
|
+
s4 = peg$c100;
|
|
8882
9430
|
peg$currPos += 3;
|
|
8883
9431
|
}
|
|
8884
9432
|
else {
|
|
8885
9433
|
s4 = peg$FAILED;
|
|
8886
9434
|
if (peg$silentFails === 0) {
|
|
8887
|
-
peg$fail(peg$
|
|
9435
|
+
peg$fail(peg$e118);
|
|
8888
9436
|
}
|
|
8889
9437
|
}
|
|
8890
9438
|
if (s4 !== peg$FAILED) {
|
|
@@ -8971,38 +9519,38 @@ function peg$parse(input, options) {
|
|
|
8971
9519
|
s0 = peg$currPos;
|
|
8972
9520
|
s1 = peg$currPos;
|
|
8973
9521
|
s2 = peg$currPos;
|
|
8974
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
8975
|
-
s3 = peg$
|
|
9522
|
+
if (input.substr(peg$currPos, 4) === peg$c98) {
|
|
9523
|
+
s3 = peg$c98;
|
|
8976
9524
|
peg$currPos += 4;
|
|
8977
9525
|
}
|
|
8978
9526
|
else {
|
|
8979
9527
|
s3 = peg$FAILED;
|
|
8980
9528
|
if (peg$silentFails === 0) {
|
|
8981
|
-
peg$fail(peg$
|
|
9529
|
+
peg$fail(peg$e116);
|
|
8982
9530
|
}
|
|
8983
9531
|
}
|
|
8984
9532
|
if (s3 !== peg$FAILED) {
|
|
8985
9533
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
8986
|
-
s4 = peg$
|
|
9534
|
+
s4 = peg$c99;
|
|
8987
9535
|
peg$currPos++;
|
|
8988
9536
|
}
|
|
8989
9537
|
else {
|
|
8990
9538
|
s4 = peg$FAILED;
|
|
8991
9539
|
if (peg$silentFails === 0) {
|
|
8992
|
-
peg$fail(peg$
|
|
9540
|
+
peg$fail(peg$e117);
|
|
8993
9541
|
}
|
|
8994
9542
|
}
|
|
8995
9543
|
if (s4 === peg$FAILED) {
|
|
8996
9544
|
s4 = null;
|
|
8997
9545
|
}
|
|
8998
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
8999
|
-
s5 = peg$
|
|
9546
|
+
if (input.substr(peg$currPos, 3) === peg$c100) {
|
|
9547
|
+
s5 = peg$c100;
|
|
9000
9548
|
peg$currPos += 3;
|
|
9001
9549
|
}
|
|
9002
9550
|
else {
|
|
9003
9551
|
s5 = peg$FAILED;
|
|
9004
9552
|
if (peg$silentFails === 0) {
|
|
9005
|
-
peg$fail(peg$
|
|
9553
|
+
peg$fail(peg$e118);
|
|
9006
9554
|
}
|
|
9007
9555
|
}
|
|
9008
9556
|
if (s5 !== peg$FAILED) {
|
|
@@ -9019,14 +9567,14 @@ function peg$parse(input, options) {
|
|
|
9019
9567
|
s2 = peg$FAILED;
|
|
9020
9568
|
}
|
|
9021
9569
|
if (s2 === peg$FAILED) {
|
|
9022
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
9023
|
-
s2 = peg$
|
|
9570
|
+
if (input.substr(peg$currPos, 7) === peg$c101) {
|
|
9571
|
+
s2 = peg$c101;
|
|
9024
9572
|
peg$currPos += 7;
|
|
9025
9573
|
}
|
|
9026
9574
|
else {
|
|
9027
9575
|
s2 = peg$FAILED;
|
|
9028
9576
|
if (peg$silentFails === 0) {
|
|
9029
|
-
peg$fail(peg$
|
|
9577
|
+
peg$fail(peg$e119);
|
|
9030
9578
|
}
|
|
9031
9579
|
}
|
|
9032
9580
|
}
|
|
@@ -9098,7 +9646,7 @@ function peg$parse(input, options) {
|
|
|
9098
9646
|
}
|
|
9099
9647
|
s2 = input.substring(s2, peg$currPos);
|
|
9100
9648
|
peg$savedPos = s0;
|
|
9101
|
-
s0 = peg$
|
|
9649
|
+
s0 = peg$f96(s1, s2);
|
|
9102
9650
|
}
|
|
9103
9651
|
else {
|
|
9104
9652
|
peg$currPos = s0;
|
|
@@ -9115,7 +9663,7 @@ function peg$parse(input, options) {
|
|
|
9115
9663
|
else {
|
|
9116
9664
|
s0 = peg$FAILED;
|
|
9117
9665
|
if (peg$silentFails === 0) {
|
|
9118
|
-
peg$fail(peg$
|
|
9666
|
+
peg$fail(peg$e120);
|
|
9119
9667
|
}
|
|
9120
9668
|
}
|
|
9121
9669
|
return s0;
|