@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,8 +1,8 @@
|
|
|
1
|
-
// @generated by Peggy 4.
|
|
1
|
+
// @generated by Peggy 4.2.0.
|
|
2
2
|
//
|
|
3
3
|
// https://peggyjs.org/
|
|
4
4
|
import { Breakscape } from "../../../breakscaping/Breakscape";
|
|
5
|
-
const VERSION = "8.
|
|
5
|
+
const VERSION = "8.23.1";
|
|
6
6
|
//Parser peggy.js
|
|
7
7
|
// parser options (parameter when running parser):
|
|
8
8
|
// allowedStartRules: ["bitmarkPlusPlus", "bitmarkPlus", "bitmarkMinusMinus", "bitmarkPlusString", "bitmarkMinusMinusString"]
|
|
@@ -56,6 +56,8 @@ Alex
|
|
|
56
56
|
|
|
57
57
|
|image:https://apple.com|width:300|height: 400|
|
|
58
58
|
|
|
59
|
+
text ==alt text of the inline image==|image:https://img.io/img.svg|width:400|height:200|#comment| more text
|
|
60
|
+
|
|
59
61
|
|code: javascript
|
|
60
62
|
|
|
61
63
|
let a = 3
|
|
@@ -313,75 +315,76 @@ function peg$parse(input, options) {
|
|
|
313
315
|
var peg$c29 = "right";
|
|
314
316
|
var peg$c30 = "=";
|
|
315
317
|
var peg$c31 = "|latex|";
|
|
316
|
-
var peg$c32 = "
|
|
317
|
-
var peg$c33 = "
|
|
318
|
-
var peg$c34 = "
|
|
319
|
-
var peg$c35 = "
|
|
320
|
-
var peg$c36 = "
|
|
321
|
-
var peg$c37 = "
|
|
322
|
-
var peg$c38 = "
|
|
323
|
-
var peg$c39 = "footnote
|
|
324
|
-
var peg$c40 = "
|
|
325
|
-
var peg$c41 = "
|
|
326
|
-
var peg$c42 = "
|
|
327
|
-
var peg$c43 = "timer
|
|
328
|
-
var peg$c44 = "
|
|
329
|
-
var peg$c45 = "
|
|
330
|
-
var peg$c46 = "
|
|
331
|
-
var peg$c47 = "
|
|
332
|
-
var peg$c48 = "
|
|
333
|
-
var peg$c49 = "
|
|
334
|
-
var peg$c50 = "
|
|
335
|
-
var peg$c51 = "
|
|
336
|
-
var peg$c52 = "
|
|
337
|
-
var peg$c53 = "
|
|
338
|
-
var peg$c54 = "
|
|
339
|
-
var peg$c55 = "
|
|
340
|
-
var peg$c56 = "
|
|
341
|
-
var peg$c57 = "
|
|
342
|
-
var peg$c58 = "
|
|
343
|
-
var peg$c59 = "
|
|
344
|
-
var peg$c60 = "
|
|
345
|
-
var peg$c61 = "
|
|
346
|
-
var peg$c62 = "
|
|
347
|
-
var peg$c63 = "
|
|
348
|
-
var peg$c64 = "
|
|
349
|
-
var peg$c65 = "
|
|
350
|
-
var peg$c66 = "
|
|
351
|
-
var peg$c67 = "
|
|
352
|
-
var peg$c68 = "
|
|
353
|
-
var peg$c69 = "
|
|
354
|
-
var peg$c70 = "
|
|
355
|
-
var peg$c71 = "
|
|
356
|
-
var peg$c72 = "
|
|
357
|
-
var peg$c73 = "
|
|
358
|
-
var peg$c74 = "
|
|
359
|
-
var peg$c75 = "
|
|
360
|
-
var peg$c76 = "
|
|
361
|
-
var peg$c77 = "
|
|
362
|
-
var peg$c78 = "
|
|
363
|
-
var peg$c79 = "
|
|
364
|
-
var peg$c80 = "
|
|
365
|
-
var peg$c81 = "
|
|
366
|
-
var peg$c82 = "
|
|
367
|
-
var peg$c83 = "
|
|
368
|
-
var peg$c84 = "
|
|
369
|
-
var peg$c85 = "
|
|
370
|
-
var peg$c86 = "
|
|
371
|
-
var peg$c87 = "
|
|
372
|
-
var peg$c88 = "
|
|
373
|
-
var peg$c89 = "
|
|
374
|
-
var peg$c90 = "
|
|
375
|
-
var peg$c91 = "
|
|
376
|
-
var peg$c92 = "
|
|
377
|
-
var peg$c93 = "
|
|
378
|
-
var peg$c94 = "
|
|
379
|
-
var peg$c95 = "
|
|
380
|
-
var peg$c96 = "\
|
|
381
|
-
var peg$c97 = "
|
|
382
|
-
var peg$c98 = "
|
|
383
|
-
var peg$c99 = "
|
|
384
|
-
var peg$c100 = "
|
|
318
|
+
var peg$c32 = "|image:";
|
|
319
|
+
var peg$c33 = "link:";
|
|
320
|
+
var peg$c34 = "extref:";
|
|
321
|
+
var peg$c35 = "provider:";
|
|
322
|
+
var peg$c36 = "xref:";
|
|
323
|
+
var peg$c37 = "\u25BA";
|
|
324
|
+
var peg$c38 = "symbol:";
|
|
325
|
+
var peg$c39 = "footnote:";
|
|
326
|
+
var peg$c40 = "footnote*:";
|
|
327
|
+
var peg$c41 = "var:";
|
|
328
|
+
var peg$c42 = "code:";
|
|
329
|
+
var peg$c43 = "timer";
|
|
330
|
+
var peg$c44 = "timer:";
|
|
331
|
+
var peg$c45 = "duration:";
|
|
332
|
+
var peg$c46 = "P";
|
|
333
|
+
var peg$c47 = "color:";
|
|
334
|
+
var peg$c48 = "|\u25BA";
|
|
335
|
+
var peg$c49 = "bold";
|
|
336
|
+
var peg$c50 = "italic";
|
|
337
|
+
var peg$c51 = "light";
|
|
338
|
+
var peg$c52 = "highlight";
|
|
339
|
+
var peg$c53 = "strike";
|
|
340
|
+
var peg$c54 = "subscript";
|
|
341
|
+
var peg$c55 = "superscript";
|
|
342
|
+
var peg$c56 = "ins";
|
|
343
|
+
var peg$c57 = "del";
|
|
344
|
+
var peg$c58 = "underline";
|
|
345
|
+
var peg$c59 = "doubleUnderline";
|
|
346
|
+
var peg$c60 = "circle";
|
|
347
|
+
var peg$c61 = "languageEm";
|
|
348
|
+
var peg$c62 = "userUnderline";
|
|
349
|
+
var peg$c63 = "userDoubleUnderline";
|
|
350
|
+
var peg$c64 = "userStrike";
|
|
351
|
+
var peg$c65 = "userCircle";
|
|
352
|
+
var peg$c66 = "userHighlight";
|
|
353
|
+
var peg$c67 = "notranslate";
|
|
354
|
+
var peg$c68 = "aqua";
|
|
355
|
+
var peg$c69 = "black";
|
|
356
|
+
var peg$c70 = "blue";
|
|
357
|
+
var peg$c71 = "pink";
|
|
358
|
+
var peg$c72 = "fuchsia";
|
|
359
|
+
var peg$c73 = "lightgrey";
|
|
360
|
+
var peg$c74 = "gray";
|
|
361
|
+
var peg$c75 = "darkgray";
|
|
362
|
+
var peg$c76 = "green";
|
|
363
|
+
var peg$c77 = "lime";
|
|
364
|
+
var peg$c78 = "magenta";
|
|
365
|
+
var peg$c79 = "maroon";
|
|
366
|
+
var peg$c80 = "navy";
|
|
367
|
+
var peg$c81 = "olive";
|
|
368
|
+
var peg$c82 = "orange";
|
|
369
|
+
var peg$c83 = "purple";
|
|
370
|
+
var peg$c84 = "red";
|
|
371
|
+
var peg$c85 = "silver";
|
|
372
|
+
var peg$c86 = "teal";
|
|
373
|
+
var peg$c87 = "violet";
|
|
374
|
+
var peg$c88 = "white";
|
|
375
|
+
var peg$c89 = "yellow";
|
|
376
|
+
var peg$c90 = "*";
|
|
377
|
+
var peg$c91 = "_";
|
|
378
|
+
var peg$c92 = "`";
|
|
379
|
+
var peg$c93 = "!";
|
|
380
|
+
var peg$c94 = "[!";
|
|
381
|
+
var peg$c95 = "]";
|
|
382
|
+
var peg$c96 = "\n";
|
|
383
|
+
var peg$c97 = "\r\n";
|
|
384
|
+
var peg$c98 = "http";
|
|
385
|
+
var peg$c99 = "s";
|
|
386
|
+
var peg$c100 = "://";
|
|
387
|
+
var peg$c101 = "mailto:";
|
|
385
388
|
var peg$r0 = /^[ \t]/;
|
|
386
389
|
var peg$r1 = /^[0-9]/;
|
|
387
390
|
var peg$r2 = /^[:|]/;
|
|
@@ -429,88 +432,89 @@ function peg$parse(input, options) {
|
|
|
429
432
|
var peg$e35 = peg$otherExpectation("StyledString");
|
|
430
433
|
var peg$e36 = peg$literalExpectation("=", false);
|
|
431
434
|
var peg$e37 = peg$literalExpectation("|latex|", false);
|
|
432
|
-
var peg$e38 = peg$literalExpectation("
|
|
433
|
-
var peg$e39 = peg$literalExpectation("
|
|
434
|
-
var peg$e40 = peg$literalExpectation("
|
|
435
|
-
var peg$e41 = peg$literalExpectation("
|
|
436
|
-
var peg$e42 = peg$literalExpectation("
|
|
437
|
-
var peg$e43 = peg$literalExpectation("
|
|
438
|
-
var peg$e44 = peg$literalExpectation("
|
|
439
|
-
var peg$e45 = peg$literalExpectation("footnote
|
|
440
|
-
var peg$e46 = peg$literalExpectation("
|
|
441
|
-
var peg$e47 = peg$literalExpectation("
|
|
442
|
-
var peg$e48 = peg$literalExpectation("
|
|
443
|
-
var peg$e49 = peg$literalExpectation("timer
|
|
444
|
-
var peg$e50 = peg$literalExpectation("
|
|
445
|
-
var peg$e51 = peg$literalExpectation("
|
|
446
|
-
var peg$e52 = peg$literalExpectation("
|
|
447
|
-
var peg$e53 = peg$literalExpectation("
|
|
448
|
-
var peg$e54 = peg$literalExpectation("
|
|
449
|
-
var peg$e55 = peg$literalExpectation("
|
|
450
|
-
var peg$e56 = peg$literalExpectation("
|
|
451
|
-
var peg$e57 = peg$literalExpectation("
|
|
452
|
-
var peg$e58 = peg$literalExpectation("
|
|
453
|
-
var peg$e59 = peg$literalExpectation("
|
|
454
|
-
var peg$e60 = peg$literalExpectation("
|
|
455
|
-
var peg$e61 = peg$literalExpectation("
|
|
456
|
-
var peg$e62 = peg$literalExpectation("
|
|
457
|
-
var peg$e63 = peg$literalExpectation("
|
|
458
|
-
var peg$e64 = peg$literalExpectation("
|
|
459
|
-
var peg$e65 = peg$literalExpectation("
|
|
460
|
-
var peg$e66 = peg$literalExpectation("
|
|
461
|
-
var peg$e67 = peg$literalExpectation("
|
|
462
|
-
var peg$e68 = peg$literalExpectation("
|
|
463
|
-
var peg$e69 = peg$literalExpectation("
|
|
464
|
-
var peg$e70 = peg$literalExpectation("
|
|
465
|
-
var peg$e71 = peg$literalExpectation("
|
|
466
|
-
var peg$e72 = peg$literalExpectation("
|
|
467
|
-
var peg$e73 = peg$literalExpectation("
|
|
468
|
-
var peg$e74 = peg$literalExpectation("
|
|
469
|
-
var peg$e75 = peg$literalExpectation("
|
|
470
|
-
var peg$e76 = peg$literalExpectation("
|
|
471
|
-
var peg$e77 = peg$literalExpectation("
|
|
472
|
-
var peg$e78 = peg$literalExpectation("
|
|
473
|
-
var peg$e79 = peg$literalExpectation("
|
|
474
|
-
var peg$e80 = peg$literalExpectation("
|
|
475
|
-
var peg$e81 = peg$literalExpectation("
|
|
476
|
-
var peg$e82 = peg$literalExpectation("
|
|
477
|
-
var peg$e83 = peg$literalExpectation("
|
|
478
|
-
var peg$e84 = peg$literalExpectation("
|
|
479
|
-
var peg$e85 = peg$literalExpectation("
|
|
480
|
-
var peg$e86 = peg$literalExpectation("
|
|
481
|
-
var peg$e87 = peg$literalExpectation("
|
|
482
|
-
var peg$e88 = peg$literalExpectation("
|
|
483
|
-
var peg$e89 = peg$literalExpectation("
|
|
484
|
-
var peg$e90 = peg$literalExpectation("
|
|
485
|
-
var peg$e91 = peg$literalExpectation("
|
|
486
|
-
var peg$e92 = peg$literalExpectation("
|
|
487
|
-
var peg$e93 = peg$literalExpectation("
|
|
488
|
-
var peg$e94 = peg$literalExpectation("
|
|
489
|
-
var peg$e95 = peg$
|
|
490
|
-
var peg$e96 = peg$otherExpectation("
|
|
491
|
-
var peg$e97 = peg$
|
|
492
|
-
var peg$e98 = peg$literalExpectation("
|
|
493
|
-
var peg$e99 = peg$literalExpectation("
|
|
494
|
-
var peg$e100 = peg$literalExpectation("
|
|
495
|
-
var peg$e101 = peg$literalExpectation("
|
|
496
|
-
var peg$e102 = peg$literalExpectation("
|
|
497
|
-
var peg$e103 = peg$
|
|
498
|
-
var peg$e104 = peg$
|
|
499
|
-
var peg$e105 = peg$literalExpectation("\
|
|
500
|
-
var peg$e106 = peg$
|
|
501
|
-
var peg$e107 = peg$
|
|
502
|
-
var peg$e108 = peg$otherExpectation("
|
|
503
|
-
var peg$e109 = peg$otherExpectation("
|
|
504
|
-
var peg$e110 = peg$otherExpectation("
|
|
505
|
-
var peg$e111 = peg$
|
|
506
|
-
var peg$e112 = peg$classExpectation(["\
|
|
507
|
-
var peg$e113 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"],
|
|
508
|
-
var peg$e114 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"
|
|
509
|
-
var peg$e115 = peg$
|
|
510
|
-
var peg$e116 = peg$literalExpectation("
|
|
511
|
-
var peg$e117 = peg$literalExpectation("
|
|
512
|
-
var peg$e118 = peg$literalExpectation("
|
|
513
|
-
var peg$e119 = peg$
|
|
435
|
+
var peg$e38 = peg$literalExpectation("|image:", false);
|
|
436
|
+
var peg$e39 = peg$literalExpectation("link:", false);
|
|
437
|
+
var peg$e40 = peg$literalExpectation("extref:", false);
|
|
438
|
+
var peg$e41 = peg$literalExpectation("provider:", false);
|
|
439
|
+
var peg$e42 = peg$literalExpectation("xref:", false);
|
|
440
|
+
var peg$e43 = peg$literalExpectation("\u25BA", false);
|
|
441
|
+
var peg$e44 = peg$literalExpectation("symbol:", false);
|
|
442
|
+
var peg$e45 = peg$literalExpectation("footnote:", false);
|
|
443
|
+
var peg$e46 = peg$literalExpectation("footnote*:", false);
|
|
444
|
+
var peg$e47 = peg$literalExpectation("var:", false);
|
|
445
|
+
var peg$e48 = peg$literalExpectation("code:", false);
|
|
446
|
+
var peg$e49 = peg$literalExpectation("timer", false);
|
|
447
|
+
var peg$e50 = peg$literalExpectation("timer:", false);
|
|
448
|
+
var peg$e51 = peg$literalExpectation("duration:", false);
|
|
449
|
+
var peg$e52 = peg$literalExpectation("P", false);
|
|
450
|
+
var peg$e53 = peg$literalExpectation("color:", false);
|
|
451
|
+
var peg$e54 = peg$literalExpectation("|\u25BA", false);
|
|
452
|
+
var peg$e55 = peg$literalExpectation("bold", false);
|
|
453
|
+
var peg$e56 = peg$literalExpectation("italic", false);
|
|
454
|
+
var peg$e57 = peg$literalExpectation("light", false);
|
|
455
|
+
var peg$e58 = peg$literalExpectation("highlight", false);
|
|
456
|
+
var peg$e59 = peg$literalExpectation("strike", false);
|
|
457
|
+
var peg$e60 = peg$literalExpectation("subscript", false);
|
|
458
|
+
var peg$e61 = peg$literalExpectation("superscript", false);
|
|
459
|
+
var peg$e62 = peg$literalExpectation("ins", false);
|
|
460
|
+
var peg$e63 = peg$literalExpectation("del", false);
|
|
461
|
+
var peg$e64 = peg$literalExpectation("underline", false);
|
|
462
|
+
var peg$e65 = peg$literalExpectation("doubleUnderline", false);
|
|
463
|
+
var peg$e66 = peg$literalExpectation("circle", false);
|
|
464
|
+
var peg$e67 = peg$literalExpectation("languageEm", false);
|
|
465
|
+
var peg$e68 = peg$literalExpectation("userUnderline", false);
|
|
466
|
+
var peg$e69 = peg$literalExpectation("userDoubleUnderline", false);
|
|
467
|
+
var peg$e70 = peg$literalExpectation("userStrike", false);
|
|
468
|
+
var peg$e71 = peg$literalExpectation("userCircle", false);
|
|
469
|
+
var peg$e72 = peg$literalExpectation("userHighlight", false);
|
|
470
|
+
var peg$e73 = peg$literalExpectation("notranslate", false);
|
|
471
|
+
var peg$e74 = peg$literalExpectation("aqua", false);
|
|
472
|
+
var peg$e75 = peg$literalExpectation("black", false);
|
|
473
|
+
var peg$e76 = peg$literalExpectation("blue", false);
|
|
474
|
+
var peg$e77 = peg$literalExpectation("pink", false);
|
|
475
|
+
var peg$e78 = peg$literalExpectation("fuchsia", false);
|
|
476
|
+
var peg$e79 = peg$literalExpectation("lightgrey", false);
|
|
477
|
+
var peg$e80 = peg$literalExpectation("gray", false);
|
|
478
|
+
var peg$e81 = peg$literalExpectation("darkgray", false);
|
|
479
|
+
var peg$e82 = peg$literalExpectation("green", false);
|
|
480
|
+
var peg$e83 = peg$literalExpectation("lime", false);
|
|
481
|
+
var peg$e84 = peg$literalExpectation("magenta", false);
|
|
482
|
+
var peg$e85 = peg$literalExpectation("maroon", false);
|
|
483
|
+
var peg$e86 = peg$literalExpectation("navy", false);
|
|
484
|
+
var peg$e87 = peg$literalExpectation("olive", false);
|
|
485
|
+
var peg$e88 = peg$literalExpectation("orange", false);
|
|
486
|
+
var peg$e89 = peg$literalExpectation("purple", false);
|
|
487
|
+
var peg$e90 = peg$literalExpectation("red", false);
|
|
488
|
+
var peg$e91 = peg$literalExpectation("silver", false);
|
|
489
|
+
var peg$e92 = peg$literalExpectation("teal", false);
|
|
490
|
+
var peg$e93 = peg$literalExpectation("violet", false);
|
|
491
|
+
var peg$e94 = peg$literalExpectation("white", false);
|
|
492
|
+
var peg$e95 = peg$literalExpectation("yellow", false);
|
|
493
|
+
var peg$e96 = peg$otherExpectation("MinimalStyledText");
|
|
494
|
+
var peg$e97 = peg$otherExpectation("MinimalStyledString");
|
|
495
|
+
var peg$e98 = peg$literalExpectation("*", false);
|
|
496
|
+
var peg$e99 = peg$literalExpectation("_", false);
|
|
497
|
+
var peg$e100 = peg$literalExpectation("`", false);
|
|
498
|
+
var peg$e101 = peg$literalExpectation("!", false);
|
|
499
|
+
var peg$e102 = peg$literalExpectation("[!", false);
|
|
500
|
+
var peg$e103 = peg$literalExpectation("]", false);
|
|
501
|
+
var peg$e104 = peg$otherExpectation("Line Terminator");
|
|
502
|
+
var peg$e105 = peg$literalExpectation("\n", false);
|
|
503
|
+
var peg$e106 = peg$literalExpectation("\r\n", false);
|
|
504
|
+
var peg$e107 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false);
|
|
505
|
+
var peg$e108 = peg$otherExpectation("whitespace in line");
|
|
506
|
+
var peg$e109 = peg$otherExpectation("space");
|
|
507
|
+
var peg$e110 = peg$otherExpectation("language tag separator");
|
|
508
|
+
var peg$e111 = peg$otherExpectation("white space, separator");
|
|
509
|
+
var peg$e112 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
|
|
510
|
+
var peg$e113 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
|
|
511
|
+
var peg$e114 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
|
|
512
|
+
var peg$e115 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
|
|
513
|
+
var peg$e116 = peg$literalExpectation("http", false);
|
|
514
|
+
var peg$e117 = peg$literalExpectation("s", false);
|
|
515
|
+
var peg$e118 = peg$literalExpectation("://", false);
|
|
516
|
+
var peg$e119 = peg$literalExpectation("mailto:", false);
|
|
517
|
+
var peg$e120 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false);
|
|
514
518
|
var peg$f0 = function () { return VERSION; };
|
|
515
519
|
var peg$f1 = function (b) { return Object.assign({}, b); };
|
|
516
520
|
var peg$f2 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); return lb_; };
|
|
@@ -657,42 +661,47 @@ function peg$parse(input, options) {
|
|
|
657
661
|
var peg$f54 = function (t) { return { text: unbreakscape(t), type: "text" }; };
|
|
658
662
|
var peg$f55 = function (t) { return { index: +t, type: "bit" }; };
|
|
659
663
|
var peg$f56 = function (t) { return { attrs: { formula: t }, type: "latex" }; };
|
|
660
|
-
var peg$f57 = function (
|
|
664
|
+
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" }; };
|
|
665
|
+
var peg$f58 = function (t, marks) { if (!marks)
|
|
661
666
|
marks = []; return { marks, text: unbreakscape(t), type: "text" }; };
|
|
662
|
-
var peg$
|
|
663
|
-
var peg$
|
|
664
|
-
var peg$
|
|
665
|
-
var peg$
|
|
666
|
-
var peg$
|
|
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$
|
|
667
|
+
var peg$f59 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
|
|
668
|
+
var peg$f60 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
|
|
669
|
+
var peg$f61 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
|
|
670
|
+
var peg$f62 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
|
|
671
|
+
var peg$f63 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
|
|
672
|
+
var peg$f64 = function (ch) { return ch; };
|
|
673
|
+
var peg$f65 = function (ch) { return ch; };
|
|
674
|
+
var peg$f66 = function (str) { return { comment: str }; };
|
|
675
|
+
var peg$f67 = function (p, v) { return { [p]: parseInt(v) }; };
|
|
676
|
+
var peg$f68 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
|
|
677
|
+
var peg$f69 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
|
|
678
|
+
var peg$f70 = function (str, rc, p) { return { type: 'extref', attrs: { extref: str.trim(), references: rc, provider: p.trim() } }; };
|
|
679
|
+
var peg$f71 = function (str, str2) { return { type: 'xref', attrs: { xref: str.trim(), reference: str2.trim() } }; };
|
|
680
|
+
var peg$f72 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference: '' } }; };
|
|
681
|
+
var peg$f73 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
|
|
682
|
+
var peg$f74 = function (str, ch) { const chain = Object.assign({}, ...ch); return { type: 'symbol', attrs: Object.assign({ src: str.trim() }, chain) }; };
|
|
683
|
+
var peg$f75 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
684
|
+
var peg$f76 = function (str) { return { type: 'footnote*', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
685
|
+
var peg$f77 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
|
|
686
|
+
var peg$f78 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
|
|
687
|
+
var peg$f79 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
|
|
688
|
+
var peg$f80 = function () { return { type: 'timer', attrs: { name: "" } }; };
|
|
689
|
+
var peg$f81 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
|
|
690
|
+
var peg$f82 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
|
|
691
|
+
var peg$f83 = function (color) { return { type: 'color', attrs: { color } }; };
|
|
692
|
+
var peg$f84 = function (style) { return { type: style }; };
|
|
693
|
+
var peg$f85 = function (str) { return { type: "comment", comment: str }; };
|
|
694
|
+
var peg$f86 = function (r) { return r.trim(); };
|
|
695
|
+
var peg$f87 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
|
|
696
|
+
var peg$f88 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
|
|
697
|
+
var peg$f89 = function () { return { "type": "hardBreak" }; };
|
|
698
|
+
var peg$f90 = function (t) { return { text: unbreakscape(t), type: "text" }; };
|
|
699
|
+
var peg$f91 = function (t) { return { index: +t, type: "bit" }; };
|
|
700
|
+
var peg$f92 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
|
|
701
|
+
var peg$f93 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
|
|
702
|
+
var peg$f94 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
|
|
703
|
+
var peg$f95 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
|
|
704
|
+
var peg$f96 = function (pr, t) { return { pr, t }; };
|
|
696
705
|
var peg$currPos = options.peg$currPos | 0;
|
|
697
706
|
var peg$savedPos = peg$currPos;
|
|
698
707
|
var peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -4407,160 +4416,123 @@ function peg$parse(input, options) {
|
|
|
4407
4416
|
s0 = peg$currPos;
|
|
4408
4417
|
s1 = peg$parseInlineTag();
|
|
4409
4418
|
if (s1 !== peg$FAILED) {
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
}
|
|
4414
|
-
else {
|
|
4415
|
-
s2 = peg$FAILED;
|
|
4416
|
-
if (peg$silentFails === 0) {
|
|
4417
|
-
peg$fail(peg$e16);
|
|
4418
|
-
}
|
|
4419
|
-
}
|
|
4420
|
-
if (s2 === peg$FAILED) {
|
|
4421
|
-
s2 = null;
|
|
4422
|
-
}
|
|
4423
|
-
s3 = peg$currPos;
|
|
4424
|
-
s4 = [];
|
|
4419
|
+
s2 = peg$currPos;
|
|
4420
|
+
s3 = [];
|
|
4421
|
+
s4 = peg$currPos;
|
|
4425
4422
|
s5 = peg$currPos;
|
|
4426
|
-
s6 = peg$currPos;
|
|
4427
4423
|
peg$silentFails++;
|
|
4428
|
-
|
|
4429
|
-
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4430
|
-
s8 = peg$c12;
|
|
4431
|
-
peg$currPos++;
|
|
4432
|
-
}
|
|
4433
|
-
else {
|
|
4434
|
-
s8 = peg$FAILED;
|
|
4435
|
-
if (peg$silentFails === 0) {
|
|
4436
|
-
peg$fail(peg$e16);
|
|
4437
|
-
}
|
|
4438
|
-
}
|
|
4439
|
-
if (s8 === peg$FAILED) {
|
|
4440
|
-
s8 = null;
|
|
4441
|
-
}
|
|
4442
|
-
s9 = peg$parseInlineTag();
|
|
4443
|
-
if (s9 !== peg$FAILED) {
|
|
4444
|
-
s8 = [s8, s9];
|
|
4445
|
-
s7 = s8;
|
|
4446
|
-
}
|
|
4447
|
-
else {
|
|
4448
|
-
peg$currPos = s7;
|
|
4449
|
-
s7 = peg$FAILED;
|
|
4450
|
-
}
|
|
4424
|
+
s6 = peg$parseInlineTag();
|
|
4451
4425
|
peg$silentFails--;
|
|
4452
|
-
if (
|
|
4453
|
-
|
|
4426
|
+
if (s6 === peg$FAILED) {
|
|
4427
|
+
s5 = undefined;
|
|
4454
4428
|
}
|
|
4455
4429
|
else {
|
|
4456
|
-
peg$currPos =
|
|
4457
|
-
|
|
4430
|
+
peg$currPos = s5;
|
|
4431
|
+
s5 = peg$FAILED;
|
|
4458
4432
|
}
|
|
4459
|
-
if (
|
|
4433
|
+
if (s5 !== peg$FAILED) {
|
|
4460
4434
|
if (input.length > peg$currPos) {
|
|
4461
|
-
|
|
4435
|
+
s6 = input.charAt(peg$currPos);
|
|
4462
4436
|
peg$currPos++;
|
|
4463
4437
|
}
|
|
4464
4438
|
else {
|
|
4465
|
-
|
|
4439
|
+
s6 = peg$FAILED;
|
|
4466
4440
|
if (peg$silentFails === 0) {
|
|
4467
4441
|
peg$fail(peg$e0);
|
|
4468
4442
|
}
|
|
4469
4443
|
}
|
|
4470
|
-
if (
|
|
4471
|
-
|
|
4472
|
-
|
|
4444
|
+
if (s6 !== peg$FAILED) {
|
|
4445
|
+
s5 = [s5, s6];
|
|
4446
|
+
s4 = s5;
|
|
4473
4447
|
}
|
|
4474
4448
|
else {
|
|
4475
|
-
peg$currPos =
|
|
4476
|
-
|
|
4449
|
+
peg$currPos = s4;
|
|
4450
|
+
s4 = peg$FAILED;
|
|
4477
4451
|
}
|
|
4478
4452
|
}
|
|
4479
4453
|
else {
|
|
4480
|
-
peg$currPos =
|
|
4481
|
-
|
|
4454
|
+
peg$currPos = s4;
|
|
4455
|
+
s4 = peg$FAILED;
|
|
4482
4456
|
}
|
|
4483
|
-
while (
|
|
4484
|
-
|
|
4457
|
+
while (s4 !== peg$FAILED) {
|
|
4458
|
+
s3.push(s4);
|
|
4459
|
+
s4 = peg$currPos;
|
|
4485
4460
|
s5 = peg$currPos;
|
|
4486
|
-
s6 = peg$currPos;
|
|
4487
4461
|
peg$silentFails++;
|
|
4488
|
-
|
|
4489
|
-
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4490
|
-
s8 = peg$c12;
|
|
4491
|
-
peg$currPos++;
|
|
4492
|
-
}
|
|
4493
|
-
else {
|
|
4494
|
-
s8 = peg$FAILED;
|
|
4495
|
-
if (peg$silentFails === 0) {
|
|
4496
|
-
peg$fail(peg$e16);
|
|
4497
|
-
}
|
|
4498
|
-
}
|
|
4499
|
-
if (s8 === peg$FAILED) {
|
|
4500
|
-
s8 = null;
|
|
4501
|
-
}
|
|
4502
|
-
s9 = peg$parseInlineTag();
|
|
4503
|
-
if (s9 !== peg$FAILED) {
|
|
4504
|
-
s8 = [s8, s9];
|
|
4505
|
-
s7 = s8;
|
|
4506
|
-
}
|
|
4507
|
-
else {
|
|
4508
|
-
peg$currPos = s7;
|
|
4509
|
-
s7 = peg$FAILED;
|
|
4510
|
-
}
|
|
4462
|
+
s6 = peg$parseInlineTag();
|
|
4511
4463
|
peg$silentFails--;
|
|
4512
|
-
if (
|
|
4513
|
-
|
|
4464
|
+
if (s6 === peg$FAILED) {
|
|
4465
|
+
s5 = undefined;
|
|
4514
4466
|
}
|
|
4515
4467
|
else {
|
|
4516
|
-
peg$currPos =
|
|
4517
|
-
|
|
4468
|
+
peg$currPos = s5;
|
|
4469
|
+
s5 = peg$FAILED;
|
|
4518
4470
|
}
|
|
4519
|
-
if (
|
|
4471
|
+
if (s5 !== peg$FAILED) {
|
|
4520
4472
|
if (input.length > peg$currPos) {
|
|
4521
|
-
|
|
4473
|
+
s6 = input.charAt(peg$currPos);
|
|
4522
4474
|
peg$currPos++;
|
|
4523
4475
|
}
|
|
4524
4476
|
else {
|
|
4525
|
-
|
|
4477
|
+
s6 = peg$FAILED;
|
|
4526
4478
|
if (peg$silentFails === 0) {
|
|
4527
4479
|
peg$fail(peg$e0);
|
|
4528
4480
|
}
|
|
4529
4481
|
}
|
|
4530
|
-
if (
|
|
4531
|
-
|
|
4532
|
-
|
|
4482
|
+
if (s6 !== peg$FAILED) {
|
|
4483
|
+
s5 = [s5, s6];
|
|
4484
|
+
s4 = s5;
|
|
4533
4485
|
}
|
|
4534
4486
|
else {
|
|
4535
|
-
peg$currPos =
|
|
4536
|
-
|
|
4487
|
+
peg$currPos = s4;
|
|
4488
|
+
s4 = peg$FAILED;
|
|
4537
4489
|
}
|
|
4538
4490
|
}
|
|
4539
4491
|
else {
|
|
4540
|
-
peg$currPos =
|
|
4541
|
-
|
|
4492
|
+
peg$currPos = s4;
|
|
4493
|
+
s4 = peg$FAILED;
|
|
4542
4494
|
}
|
|
4543
4495
|
}
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
peg$currPos
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
s4 = peg$FAILED;
|
|
4551
|
-
if (peg$silentFails === 0) {
|
|
4552
|
-
peg$fail(peg$e16);
|
|
4496
|
+
s2 = input.substring(s2, peg$currPos);
|
|
4497
|
+
s3 = peg$parseInlineTag();
|
|
4498
|
+
if (s3 !== peg$FAILED) {
|
|
4499
|
+
if (input.substr(peg$currPos, 7) === peg$c32) {
|
|
4500
|
+
s4 = peg$c32;
|
|
4501
|
+
peg$currPos += 7;
|
|
4553
4502
|
}
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
peg$
|
|
4563
|
-
|
|
4503
|
+
else {
|
|
4504
|
+
s4 = peg$FAILED;
|
|
4505
|
+
if (peg$silentFails === 0) {
|
|
4506
|
+
peg$fail(peg$e38);
|
|
4507
|
+
}
|
|
4508
|
+
}
|
|
4509
|
+
if (s4 !== peg$FAILED) {
|
|
4510
|
+
s5 = peg$parseUrl();
|
|
4511
|
+
if (s5 !== peg$FAILED) {
|
|
4512
|
+
if (input.charCodeAt(peg$currPos) === 124) {
|
|
4513
|
+
s6 = peg$c0;
|
|
4514
|
+
peg$currPos++;
|
|
4515
|
+
}
|
|
4516
|
+
else {
|
|
4517
|
+
s6 = peg$FAILED;
|
|
4518
|
+
if (peg$silentFails === 0) {
|
|
4519
|
+
peg$fail(peg$e2);
|
|
4520
|
+
}
|
|
4521
|
+
}
|
|
4522
|
+
if (s6 !== peg$FAILED) {
|
|
4523
|
+
s7 = peg$parseInlineMediaChain();
|
|
4524
|
+
peg$savedPos = s0;
|
|
4525
|
+
s0 = peg$f57(s2, s5, s7);
|
|
4526
|
+
}
|
|
4527
|
+
else {
|
|
4528
|
+
peg$currPos = s0;
|
|
4529
|
+
s0 = peg$FAILED;
|
|
4530
|
+
}
|
|
4531
|
+
}
|
|
4532
|
+
else {
|
|
4533
|
+
peg$currPos = s0;
|
|
4534
|
+
s0 = peg$FAILED;
|
|
4535
|
+
}
|
|
4564
4536
|
}
|
|
4565
4537
|
else {
|
|
4566
4538
|
peg$currPos = s0;
|
|
@@ -4578,7 +4550,7 @@ function peg$parse(input, options) {
|
|
|
4578
4550
|
}
|
|
4579
4551
|
if (s0 === peg$FAILED) {
|
|
4580
4552
|
s0 = peg$currPos;
|
|
4581
|
-
s1 = peg$
|
|
4553
|
+
s1 = peg$parseInlineTag();
|
|
4582
4554
|
if (s1 !== peg$FAILED) {
|
|
4583
4555
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4584
4556
|
s2 = peg$c12;
|
|
@@ -4612,7 +4584,7 @@ function peg$parse(input, options) {
|
|
|
4612
4584
|
if (s8 === peg$FAILED) {
|
|
4613
4585
|
s8 = null;
|
|
4614
4586
|
}
|
|
4615
|
-
s9 = peg$
|
|
4587
|
+
s9 = peg$parseInlineTag();
|
|
4616
4588
|
if (s9 !== peg$FAILED) {
|
|
4617
4589
|
s8 = [s8, s9];
|
|
4618
4590
|
s7 = s8;
|
|
@@ -4672,7 +4644,7 @@ function peg$parse(input, options) {
|
|
|
4672
4644
|
if (s8 === peg$FAILED) {
|
|
4673
4645
|
s8 = null;
|
|
4674
4646
|
}
|
|
4675
|
-
s9 = peg$
|
|
4647
|
+
s9 = peg$parseInlineTag();
|
|
4676
4648
|
if (s9 !== peg$FAILED) {
|
|
4677
4649
|
s8 = [s8, s9];
|
|
4678
4650
|
s7 = s8;
|
|
@@ -4728,10 +4700,17 @@ function peg$parse(input, options) {
|
|
|
4728
4700
|
if (s4 === peg$FAILED) {
|
|
4729
4701
|
s4 = null;
|
|
4730
4702
|
}
|
|
4731
|
-
s5 = peg$
|
|
4703
|
+
s5 = peg$parseInlineTag();
|
|
4732
4704
|
if (s5 !== peg$FAILED) {
|
|
4733
|
-
|
|
4734
|
-
|
|
4705
|
+
s6 = peg$parseAttrChain();
|
|
4706
|
+
if (s6 !== peg$FAILED) {
|
|
4707
|
+
peg$savedPos = s0;
|
|
4708
|
+
s0 = peg$f58(s3, s6);
|
|
4709
|
+
}
|
|
4710
|
+
else {
|
|
4711
|
+
peg$currPos = s0;
|
|
4712
|
+
s0 = peg$FAILED;
|
|
4713
|
+
}
|
|
4735
4714
|
}
|
|
4736
4715
|
else {
|
|
4737
4716
|
peg$currPos = s0;
|
|
@@ -4744,7 +4723,7 @@ function peg$parse(input, options) {
|
|
|
4744
4723
|
}
|
|
4745
4724
|
if (s0 === peg$FAILED) {
|
|
4746
4725
|
s0 = peg$currPos;
|
|
4747
|
-
s1 = peg$
|
|
4726
|
+
s1 = peg$parseBoldTag();
|
|
4748
4727
|
if (s1 !== peg$FAILED) {
|
|
4749
4728
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4750
4729
|
s2 = peg$c12;
|
|
@@ -4778,7 +4757,7 @@ function peg$parse(input, options) {
|
|
|
4778
4757
|
if (s8 === peg$FAILED) {
|
|
4779
4758
|
s8 = null;
|
|
4780
4759
|
}
|
|
4781
|
-
s9 = peg$
|
|
4760
|
+
s9 = peg$parseBoldTag();
|
|
4782
4761
|
if (s9 !== peg$FAILED) {
|
|
4783
4762
|
s8 = [s8, s9];
|
|
4784
4763
|
s7 = s8;
|
|
@@ -4838,7 +4817,7 @@ function peg$parse(input, options) {
|
|
|
4838
4817
|
if (s8 === peg$FAILED) {
|
|
4839
4818
|
s8 = null;
|
|
4840
4819
|
}
|
|
4841
|
-
s9 = peg$
|
|
4820
|
+
s9 = peg$parseBoldTag();
|
|
4842
4821
|
if (s9 !== peg$FAILED) {
|
|
4843
4822
|
s8 = [s8, s9];
|
|
4844
4823
|
s7 = s8;
|
|
@@ -4894,7 +4873,7 @@ function peg$parse(input, options) {
|
|
|
4894
4873
|
if (s4 === peg$FAILED) {
|
|
4895
4874
|
s4 = null;
|
|
4896
4875
|
}
|
|
4897
|
-
s5 = peg$
|
|
4876
|
+
s5 = peg$parseBoldTag();
|
|
4898
4877
|
if (s5 !== peg$FAILED) {
|
|
4899
4878
|
peg$savedPos = s0;
|
|
4900
4879
|
s0 = peg$f59(s3);
|
|
@@ -4910,7 +4889,7 @@ function peg$parse(input, options) {
|
|
|
4910
4889
|
}
|
|
4911
4890
|
if (s0 === peg$FAILED) {
|
|
4912
4891
|
s0 = peg$currPos;
|
|
4913
|
-
s1 = peg$
|
|
4892
|
+
s1 = peg$parseItalicTag();
|
|
4914
4893
|
if (s1 !== peg$FAILED) {
|
|
4915
4894
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
4916
4895
|
s2 = peg$c12;
|
|
@@ -4944,7 +4923,7 @@ function peg$parse(input, options) {
|
|
|
4944
4923
|
if (s8 === peg$FAILED) {
|
|
4945
4924
|
s8 = null;
|
|
4946
4925
|
}
|
|
4947
|
-
s9 = peg$
|
|
4926
|
+
s9 = peg$parseItalicTag();
|
|
4948
4927
|
if (s9 !== peg$FAILED) {
|
|
4949
4928
|
s8 = [s8, s9];
|
|
4950
4929
|
s7 = s8;
|
|
@@ -5004,7 +4983,7 @@ function peg$parse(input, options) {
|
|
|
5004
4983
|
if (s8 === peg$FAILED) {
|
|
5005
4984
|
s8 = null;
|
|
5006
4985
|
}
|
|
5007
|
-
s9 = peg$
|
|
4986
|
+
s9 = peg$parseItalicTag();
|
|
5008
4987
|
if (s9 !== peg$FAILED) {
|
|
5009
4988
|
s8 = [s8, s9];
|
|
5010
4989
|
s7 = s8;
|
|
@@ -5060,7 +5039,7 @@ function peg$parse(input, options) {
|
|
|
5060
5039
|
if (s4 === peg$FAILED) {
|
|
5061
5040
|
s4 = null;
|
|
5062
5041
|
}
|
|
5063
|
-
s5 = peg$
|
|
5042
|
+
s5 = peg$parseItalicTag();
|
|
5064
5043
|
if (s5 !== peg$FAILED) {
|
|
5065
5044
|
peg$savedPos = s0;
|
|
5066
5045
|
s0 = peg$f60(s3);
|
|
@@ -5076,7 +5055,7 @@ function peg$parse(input, options) {
|
|
|
5076
5055
|
}
|
|
5077
5056
|
if (s0 === peg$FAILED) {
|
|
5078
5057
|
s0 = peg$currPos;
|
|
5079
|
-
s1 = peg$
|
|
5058
|
+
s1 = peg$parseLightTag();
|
|
5080
5059
|
if (s1 !== peg$FAILED) {
|
|
5081
5060
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5082
5061
|
s2 = peg$c12;
|
|
@@ -5110,7 +5089,7 @@ function peg$parse(input, options) {
|
|
|
5110
5089
|
if (s8 === peg$FAILED) {
|
|
5111
5090
|
s8 = null;
|
|
5112
5091
|
}
|
|
5113
|
-
s9 = peg$
|
|
5092
|
+
s9 = peg$parseLightTag();
|
|
5114
5093
|
if (s9 !== peg$FAILED) {
|
|
5115
5094
|
s8 = [s8, s9];
|
|
5116
5095
|
s7 = s8;
|
|
@@ -5170,7 +5149,7 @@ function peg$parse(input, options) {
|
|
|
5170
5149
|
if (s8 === peg$FAILED) {
|
|
5171
5150
|
s8 = null;
|
|
5172
5151
|
}
|
|
5173
|
-
s9 = peg$
|
|
5152
|
+
s9 = peg$parseLightTag();
|
|
5174
5153
|
if (s9 !== peg$FAILED) {
|
|
5175
5154
|
s8 = [s8, s9];
|
|
5176
5155
|
s7 = s8;
|
|
@@ -5226,7 +5205,7 @@ function peg$parse(input, options) {
|
|
|
5226
5205
|
if (s4 === peg$FAILED) {
|
|
5227
5206
|
s4 = null;
|
|
5228
5207
|
}
|
|
5229
|
-
s5 = peg$
|
|
5208
|
+
s5 = peg$parseLightTag();
|
|
5230
5209
|
if (s5 !== peg$FAILED) {
|
|
5231
5210
|
peg$savedPos = s0;
|
|
5232
5211
|
s0 = peg$f61(s3);
|
|
@@ -5242,182 +5221,751 @@ function peg$parse(input, options) {
|
|
|
5242
5221
|
}
|
|
5243
5222
|
if (s0 === peg$FAILED) {
|
|
5244
5223
|
s0 = peg$currPos;
|
|
5245
|
-
s1 = peg$
|
|
5224
|
+
s1 = peg$parseHighlightTag();
|
|
5246
5225
|
if (s1 !== peg$FAILED) {
|
|
5247
|
-
peg$
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
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
|
-
|
|
5226
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5227
|
+
s2 = peg$c12;
|
|
5228
|
+
peg$currPos++;
|
|
5229
|
+
}
|
|
5230
|
+
else {
|
|
5231
|
+
s2 = peg$FAILED;
|
|
5232
|
+
if (peg$silentFails === 0) {
|
|
5233
|
+
peg$fail(peg$e16);
|
|
5234
|
+
}
|
|
5235
|
+
}
|
|
5236
|
+
if (s2 === peg$FAILED) {
|
|
5237
|
+
s2 = null;
|
|
5238
|
+
}
|
|
5239
|
+
s3 = peg$currPos;
|
|
5240
|
+
s4 = [];
|
|
5241
|
+
s5 = peg$currPos;
|
|
5242
|
+
s6 = peg$currPos;
|
|
5243
|
+
peg$silentFails++;
|
|
5244
|
+
s7 = peg$currPos;
|
|
5245
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5246
|
+
s8 = peg$c12;
|
|
5247
|
+
peg$currPos++;
|
|
5248
|
+
}
|
|
5249
|
+
else {
|
|
5250
|
+
s8 = peg$FAILED;
|
|
5251
|
+
if (peg$silentFails === 0) {
|
|
5252
|
+
peg$fail(peg$e16);
|
|
5253
|
+
}
|
|
5254
|
+
}
|
|
5255
|
+
if (s8 === peg$FAILED) {
|
|
5256
|
+
s8 = null;
|
|
5257
|
+
}
|
|
5258
|
+
s9 = peg$parseHighlightTag();
|
|
5259
|
+
if (s9 !== peg$FAILED) {
|
|
5260
|
+
s8 = [s8, s9];
|
|
5261
|
+
s7 = s8;
|
|
5262
|
+
}
|
|
5263
|
+
else {
|
|
5264
|
+
peg$currPos = s7;
|
|
5265
|
+
s7 = peg$FAILED;
|
|
5266
|
+
}
|
|
5267
|
+
peg$silentFails--;
|
|
5268
|
+
if (s7 === peg$FAILED) {
|
|
5269
|
+
s6 = undefined;
|
|
5270
|
+
}
|
|
5271
|
+
else {
|
|
5272
|
+
peg$currPos = s6;
|
|
5273
|
+
s6 = peg$FAILED;
|
|
5274
|
+
}
|
|
5275
|
+
if (s6 !== peg$FAILED) {
|
|
5276
|
+
if (input.length > peg$currPos) {
|
|
5277
|
+
s7 = input.charAt(peg$currPos);
|
|
5278
|
+
peg$currPos++;
|
|
5279
|
+
}
|
|
5280
|
+
else {
|
|
5281
|
+
s7 = peg$FAILED;
|
|
5282
|
+
if (peg$silentFails === 0) {
|
|
5283
|
+
peg$fail(peg$e0);
|
|
5284
|
+
}
|
|
5285
|
+
}
|
|
5286
|
+
if (s7 !== peg$FAILED) {
|
|
5287
|
+
s6 = [s6, s7];
|
|
5288
|
+
s5 = s6;
|
|
5289
|
+
}
|
|
5290
|
+
else {
|
|
5291
|
+
peg$currPos = s5;
|
|
5292
|
+
s5 = peg$FAILED;
|
|
5293
|
+
}
|
|
5294
|
+
}
|
|
5295
|
+
else {
|
|
5296
|
+
peg$currPos = s5;
|
|
5297
|
+
s5 = peg$FAILED;
|
|
5298
|
+
}
|
|
5299
|
+
while (s5 !== peg$FAILED) {
|
|
5300
|
+
s4.push(s5);
|
|
5301
|
+
s5 = peg$currPos;
|
|
5302
|
+
s6 = peg$currPos;
|
|
5303
|
+
peg$silentFails++;
|
|
5304
|
+
s7 = peg$currPos;
|
|
5305
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5306
|
+
s8 = peg$c12;
|
|
5307
|
+
peg$currPos++;
|
|
5308
|
+
}
|
|
5309
|
+
else {
|
|
5310
|
+
s8 = peg$FAILED;
|
|
5311
|
+
if (peg$silentFails === 0) {
|
|
5312
|
+
peg$fail(peg$e16);
|
|
5313
|
+
}
|
|
5314
|
+
}
|
|
5315
|
+
if (s8 === peg$FAILED) {
|
|
5316
|
+
s8 = null;
|
|
5317
|
+
}
|
|
5318
|
+
s9 = peg$parseHighlightTag();
|
|
5319
|
+
if (s9 !== peg$FAILED) {
|
|
5320
|
+
s8 = [s8, s9];
|
|
5321
|
+
s7 = s8;
|
|
5322
|
+
}
|
|
5323
|
+
else {
|
|
5324
|
+
peg$currPos = s7;
|
|
5325
|
+
s7 = peg$FAILED;
|
|
5326
|
+
}
|
|
5327
|
+
peg$silentFails--;
|
|
5328
|
+
if (s7 === peg$FAILED) {
|
|
5329
|
+
s6 = undefined;
|
|
5330
|
+
}
|
|
5331
|
+
else {
|
|
5332
|
+
peg$currPos = s6;
|
|
5333
|
+
s6 = peg$FAILED;
|
|
5334
|
+
}
|
|
5335
|
+
if (s6 !== peg$FAILED) {
|
|
5336
|
+
if (input.length > peg$currPos) {
|
|
5337
|
+
s7 = input.charAt(peg$currPos);
|
|
5338
|
+
peg$currPos++;
|
|
5339
|
+
}
|
|
5340
|
+
else {
|
|
5341
|
+
s7 = peg$FAILED;
|
|
5342
|
+
if (peg$silentFails === 0) {
|
|
5343
|
+
peg$fail(peg$e0);
|
|
5344
|
+
}
|
|
5345
|
+
}
|
|
5346
|
+
if (s7 !== peg$FAILED) {
|
|
5347
|
+
s6 = [s6, s7];
|
|
5348
|
+
s5 = s6;
|
|
5349
|
+
}
|
|
5350
|
+
else {
|
|
5351
|
+
peg$currPos = s5;
|
|
5352
|
+
s5 = peg$FAILED;
|
|
5353
|
+
}
|
|
5354
|
+
}
|
|
5355
|
+
else {
|
|
5356
|
+
peg$currPos = s5;
|
|
5357
|
+
s5 = peg$FAILED;
|
|
5358
|
+
}
|
|
5359
|
+
}
|
|
5360
|
+
s3 = input.substring(s3, peg$currPos);
|
|
5361
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5362
|
+
s4 = peg$c12;
|
|
5363
|
+
peg$currPos++;
|
|
5364
|
+
}
|
|
5365
|
+
else {
|
|
5366
|
+
s4 = peg$FAILED;
|
|
5367
|
+
if (peg$silentFails === 0) {
|
|
5368
|
+
peg$fail(peg$e16);
|
|
5369
|
+
}
|
|
5370
|
+
}
|
|
5371
|
+
if (s4 === peg$FAILED) {
|
|
5372
|
+
s4 = null;
|
|
5373
|
+
}
|
|
5374
|
+
s5 = peg$parseHighlightTag();
|
|
5375
|
+
if (s5 !== peg$FAILED) {
|
|
5376
|
+
peg$savedPos = s0;
|
|
5377
|
+
s0 = peg$f62(s3);
|
|
5378
|
+
}
|
|
5379
|
+
else {
|
|
5380
|
+
peg$currPos = s0;
|
|
5381
|
+
s0 = peg$FAILED;
|
|
5382
|
+
}
|
|
5383
|
+
}
|
|
5384
|
+
else {
|
|
5385
|
+
peg$currPos = s0;
|
|
5386
|
+
s0 = peg$FAILED;
|
|
5387
|
+
}
|
|
5388
|
+
if (s0 === peg$FAILED) {
|
|
5389
|
+
s0 = peg$currPos;
|
|
5390
|
+
s1 = peg$parseUrl();
|
|
5391
|
+
if (s1 !== peg$FAILED) {
|
|
5392
|
+
peg$savedPos = s0;
|
|
5393
|
+
s1 = peg$f63(s1);
|
|
5394
|
+
}
|
|
5395
|
+
s0 = s1;
|
|
5396
|
+
}
|
|
5397
|
+
}
|
|
5398
|
+
}
|
|
5399
|
+
}
|
|
5400
|
+
}
|
|
5401
|
+
}
|
|
5402
|
+
}
|
|
5403
|
+
}
|
|
5404
|
+
return s0;
|
|
5405
|
+
}
|
|
5406
|
+
function peg$parseInlineTagTags() {
|
|
5407
|
+
var s0, s1, s2, s3, s4;
|
|
5408
|
+
s0 = peg$currPos;
|
|
5409
|
+
s1 = peg$currPos;
|
|
5410
|
+
s2 = peg$parseInlineTag();
|
|
5411
|
+
if (s2 !== peg$FAILED) {
|
|
5412
|
+
s3 = [];
|
|
5413
|
+
s4 = peg$parseInlineHalfTag();
|
|
5414
|
+
if (s4 !== peg$FAILED) {
|
|
5415
|
+
while (s4 !== peg$FAILED) {
|
|
5416
|
+
s3.push(s4);
|
|
5417
|
+
s4 = peg$parseInlineHalfTag();
|
|
5418
|
+
}
|
|
5419
|
+
}
|
|
5420
|
+
else {
|
|
5421
|
+
s3 = peg$FAILED;
|
|
5422
|
+
}
|
|
5423
|
+
if (s3 !== peg$FAILED) {
|
|
5424
|
+
s2 = [s2, s3];
|
|
5425
|
+
s1 = s2;
|
|
5426
|
+
}
|
|
5427
|
+
else {
|
|
5428
|
+
peg$currPos = s1;
|
|
5429
|
+
s1 = peg$FAILED;
|
|
5430
|
+
}
|
|
5431
|
+
}
|
|
5432
|
+
else {
|
|
5433
|
+
peg$currPos = s1;
|
|
5434
|
+
s1 = peg$FAILED;
|
|
5435
|
+
}
|
|
5436
|
+
if (s1 !== peg$FAILED) {
|
|
5437
|
+
s0 = input.substring(s0, peg$currPos);
|
|
5438
|
+
}
|
|
5439
|
+
else {
|
|
5440
|
+
s0 = s1;
|
|
5441
|
+
}
|
|
5442
|
+
if (s0 === peg$FAILED) {
|
|
5443
|
+
s0 = peg$currPos;
|
|
5444
|
+
s1 = peg$currPos;
|
|
5445
|
+
s2 = peg$parseLightTag();
|
|
5446
|
+
if (s2 !== peg$FAILED) {
|
|
5447
|
+
s3 = [];
|
|
5448
|
+
s4 = peg$parseLightHalfTag();
|
|
5449
|
+
if (s4 !== peg$FAILED) {
|
|
5450
|
+
while (s4 !== peg$FAILED) {
|
|
5451
|
+
s3.push(s4);
|
|
5452
|
+
s4 = peg$parseLightHalfTag();
|
|
5453
|
+
}
|
|
5454
|
+
}
|
|
5455
|
+
else {
|
|
5456
|
+
s3 = peg$FAILED;
|
|
5457
|
+
}
|
|
5458
|
+
if (s3 !== peg$FAILED) {
|
|
5459
|
+
s2 = [s2, s3];
|
|
5460
|
+
s1 = s2;
|
|
5461
|
+
}
|
|
5462
|
+
else {
|
|
5463
|
+
peg$currPos = s1;
|
|
5464
|
+
s1 = peg$FAILED;
|
|
5465
|
+
}
|
|
5466
|
+
}
|
|
5467
|
+
else {
|
|
5468
|
+
peg$currPos = s1;
|
|
5469
|
+
s1 = peg$FAILED;
|
|
5470
|
+
}
|
|
5471
|
+
if (s1 !== peg$FAILED) {
|
|
5472
|
+
s0 = input.substring(s0, peg$currPos);
|
|
5473
|
+
}
|
|
5474
|
+
else {
|
|
5475
|
+
s0 = s1;
|
|
5476
|
+
}
|
|
5477
|
+
if (s0 === peg$FAILED) {
|
|
5478
|
+
s0 = peg$currPos;
|
|
5479
|
+
s1 = peg$currPos;
|
|
5480
|
+
s2 = peg$parseHighlightTag();
|
|
5481
|
+
if (s2 !== peg$FAILED) {
|
|
5482
|
+
s3 = [];
|
|
5483
|
+
s4 = peg$parseHighlightHalfTag();
|
|
5484
|
+
if (s4 !== peg$FAILED) {
|
|
5485
|
+
while (s4 !== peg$FAILED) {
|
|
5486
|
+
s3.push(s4);
|
|
5487
|
+
s4 = peg$parseHighlightHalfTag();
|
|
5488
|
+
}
|
|
5489
|
+
}
|
|
5490
|
+
else {
|
|
5491
|
+
s3 = peg$FAILED;
|
|
5492
|
+
}
|
|
5493
|
+
if (s3 !== peg$FAILED) {
|
|
5494
|
+
s2 = [s2, s3];
|
|
5495
|
+
s1 = s2;
|
|
5496
|
+
}
|
|
5497
|
+
else {
|
|
5498
|
+
peg$currPos = s1;
|
|
5499
|
+
s1 = peg$FAILED;
|
|
5500
|
+
}
|
|
5501
|
+
}
|
|
5502
|
+
else {
|
|
5317
5503
|
peg$currPos = s1;
|
|
5318
5504
|
s1 = peg$FAILED;
|
|
5319
5505
|
}
|
|
5506
|
+
if (s1 !== peg$FAILED) {
|
|
5507
|
+
s0 = input.substring(s0, peg$currPos);
|
|
5508
|
+
}
|
|
5509
|
+
else {
|
|
5510
|
+
s0 = s1;
|
|
5511
|
+
}
|
|
5512
|
+
}
|
|
5513
|
+
}
|
|
5514
|
+
return s0;
|
|
5515
|
+
}
|
|
5516
|
+
function peg$parseAttrChain() {
|
|
5517
|
+
var s0, s1, s2, s3;
|
|
5518
|
+
s0 = peg$currPos;
|
|
5519
|
+
if (input.charCodeAt(peg$currPos) === 124) {
|
|
5520
|
+
s1 = peg$c0;
|
|
5521
|
+
peg$currPos++;
|
|
5522
|
+
}
|
|
5523
|
+
else {
|
|
5524
|
+
s1 = peg$FAILED;
|
|
5525
|
+
if (peg$silentFails === 0) {
|
|
5526
|
+
peg$fail(peg$e2);
|
|
5527
|
+
}
|
|
5528
|
+
}
|
|
5529
|
+
if (s1 !== peg$FAILED) {
|
|
5530
|
+
s2 = [];
|
|
5531
|
+
s3 = peg$parseAttrChainItem();
|
|
5532
|
+
if (s3 !== peg$FAILED) {
|
|
5533
|
+
while (s3 !== peg$FAILED) {
|
|
5534
|
+
s2.push(s3);
|
|
5535
|
+
s3 = peg$parseAttrChainItem();
|
|
5536
|
+
}
|
|
5537
|
+
}
|
|
5538
|
+
else {
|
|
5539
|
+
s2 = peg$FAILED;
|
|
5540
|
+
}
|
|
5541
|
+
if (s2 !== peg$FAILED) {
|
|
5542
|
+
peg$savedPos = s0;
|
|
5543
|
+
s0 = peg$f64(s2);
|
|
5544
|
+
}
|
|
5545
|
+
else {
|
|
5546
|
+
peg$currPos = s0;
|
|
5547
|
+
s0 = peg$FAILED;
|
|
5548
|
+
}
|
|
5549
|
+
}
|
|
5550
|
+
else {
|
|
5551
|
+
peg$currPos = s0;
|
|
5552
|
+
s0 = peg$FAILED;
|
|
5553
|
+
}
|
|
5554
|
+
return s0;
|
|
5555
|
+
}
|
|
5556
|
+
function peg$parseInlineMediaChain() {
|
|
5557
|
+
var s0, s1, s2;
|
|
5558
|
+
s0 = peg$currPos;
|
|
5559
|
+
s1 = [];
|
|
5560
|
+
s2 = peg$parseInlineMediaChainItem();
|
|
5561
|
+
while (s2 !== peg$FAILED) {
|
|
5562
|
+
s1.push(s2);
|
|
5563
|
+
s2 = peg$parseInlineMediaChainItem();
|
|
5564
|
+
}
|
|
5565
|
+
peg$savedPos = s0;
|
|
5566
|
+
s1 = peg$f65(s1);
|
|
5567
|
+
s0 = s1;
|
|
5568
|
+
return s0;
|
|
5569
|
+
}
|
|
5570
|
+
function peg$parseInlineMediaChainItem() {
|
|
5571
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
5572
|
+
s0 = peg$currPos;
|
|
5573
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
5574
|
+
s1 = peg$c21;
|
|
5575
|
+
peg$currPos++;
|
|
5576
|
+
}
|
|
5577
|
+
else {
|
|
5578
|
+
s1 = peg$FAILED;
|
|
5579
|
+
if (peg$silentFails === 0) {
|
|
5580
|
+
peg$fail(peg$e25);
|
|
5581
|
+
}
|
|
5582
|
+
}
|
|
5583
|
+
if (s1 !== peg$FAILED) {
|
|
5584
|
+
s2 = peg$currPos;
|
|
5585
|
+
s3 = [];
|
|
5586
|
+
s4 = peg$currPos;
|
|
5587
|
+
s5 = peg$currPos;
|
|
5588
|
+
peg$silentFails++;
|
|
5589
|
+
s6 = peg$parseBlockTag();
|
|
5590
|
+
peg$silentFails--;
|
|
5591
|
+
if (s6 === peg$FAILED) {
|
|
5592
|
+
s5 = undefined;
|
|
5593
|
+
}
|
|
5594
|
+
else {
|
|
5595
|
+
peg$currPos = s5;
|
|
5596
|
+
s5 = peg$FAILED;
|
|
5597
|
+
}
|
|
5598
|
+
if (s5 !== peg$FAILED) {
|
|
5599
|
+
s6 = peg$parsechar();
|
|
5600
|
+
if (s6 !== peg$FAILED) {
|
|
5601
|
+
s5 = [s5, s6];
|
|
5602
|
+
s4 = s5;
|
|
5603
|
+
}
|
|
5604
|
+
else {
|
|
5605
|
+
peg$currPos = s4;
|
|
5606
|
+
s4 = peg$FAILED;
|
|
5607
|
+
}
|
|
5608
|
+
}
|
|
5609
|
+
else {
|
|
5610
|
+
peg$currPos = s4;
|
|
5611
|
+
s4 = peg$FAILED;
|
|
5612
|
+
}
|
|
5613
|
+
while (s4 !== peg$FAILED) {
|
|
5614
|
+
s3.push(s4);
|
|
5615
|
+
s4 = peg$currPos;
|
|
5616
|
+
s5 = peg$currPos;
|
|
5617
|
+
peg$silentFails++;
|
|
5618
|
+
s6 = peg$parseBlockTag();
|
|
5619
|
+
peg$silentFails--;
|
|
5620
|
+
if (s6 === peg$FAILED) {
|
|
5621
|
+
s5 = undefined;
|
|
5622
|
+
}
|
|
5623
|
+
else {
|
|
5624
|
+
peg$currPos = s5;
|
|
5625
|
+
s5 = peg$FAILED;
|
|
5626
|
+
}
|
|
5627
|
+
if (s5 !== peg$FAILED) {
|
|
5628
|
+
s6 = peg$parsechar();
|
|
5629
|
+
if (s6 !== peg$FAILED) {
|
|
5630
|
+
s5 = [s5, s6];
|
|
5631
|
+
s4 = s5;
|
|
5632
|
+
}
|
|
5633
|
+
else {
|
|
5634
|
+
peg$currPos = s4;
|
|
5635
|
+
s4 = peg$FAILED;
|
|
5636
|
+
}
|
|
5637
|
+
}
|
|
5638
|
+
else {
|
|
5639
|
+
peg$currPos = s4;
|
|
5640
|
+
s4 = peg$FAILED;
|
|
5641
|
+
}
|
|
5642
|
+
}
|
|
5643
|
+
s2 = input.substring(s2, peg$currPos);
|
|
5644
|
+
s3 = peg$parseBlockTag();
|
|
5645
|
+
if (s3 !== peg$FAILED) {
|
|
5646
|
+
peg$savedPos = s0;
|
|
5647
|
+
s0 = peg$f66(s2);
|
|
5648
|
+
}
|
|
5649
|
+
else {
|
|
5650
|
+
peg$currPos = s0;
|
|
5651
|
+
s0 = peg$FAILED;
|
|
5652
|
+
}
|
|
5653
|
+
}
|
|
5654
|
+
else {
|
|
5655
|
+
peg$currPos = s0;
|
|
5656
|
+
s0 = peg$FAILED;
|
|
5657
|
+
}
|
|
5658
|
+
if (s0 === peg$FAILED) {
|
|
5659
|
+
s0 = peg$currPos;
|
|
5660
|
+
if (input.charCodeAt(peg$currPos) === 64) {
|
|
5661
|
+
s1 = peg$c22;
|
|
5662
|
+
peg$currPos++;
|
|
5663
|
+
}
|
|
5664
|
+
else {
|
|
5665
|
+
s1 = peg$FAILED;
|
|
5666
|
+
if (peg$silentFails === 0) {
|
|
5667
|
+
peg$fail(peg$e26);
|
|
5668
|
+
}
|
|
5669
|
+
}
|
|
5670
|
+
if (s1 === peg$FAILED) {
|
|
5671
|
+
s1 = null;
|
|
5672
|
+
}
|
|
5673
|
+
s2 = peg$parseMediaSizeTags();
|
|
5674
|
+
if (s2 !== peg$FAILED) {
|
|
5675
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
5676
|
+
s3 = peg$c1;
|
|
5677
|
+
peg$currPos++;
|
|
5678
|
+
}
|
|
5679
|
+
else {
|
|
5680
|
+
s3 = peg$FAILED;
|
|
5681
|
+
if (peg$silentFails === 0) {
|
|
5682
|
+
peg$fail(peg$e3);
|
|
5683
|
+
}
|
|
5684
|
+
}
|
|
5685
|
+
if (s3 !== peg$FAILED) {
|
|
5686
|
+
s4 = [];
|
|
5687
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5688
|
+
s5 = peg$c12;
|
|
5689
|
+
peg$currPos++;
|
|
5690
|
+
}
|
|
5691
|
+
else {
|
|
5692
|
+
s5 = peg$FAILED;
|
|
5693
|
+
if (peg$silentFails === 0) {
|
|
5694
|
+
peg$fail(peg$e16);
|
|
5695
|
+
}
|
|
5696
|
+
}
|
|
5697
|
+
while (s5 !== peg$FAILED) {
|
|
5698
|
+
s4.push(s5);
|
|
5699
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5700
|
+
s5 = peg$c12;
|
|
5701
|
+
peg$currPos++;
|
|
5702
|
+
}
|
|
5703
|
+
else {
|
|
5704
|
+
s5 = peg$FAILED;
|
|
5705
|
+
if (peg$silentFails === 0) {
|
|
5706
|
+
peg$fail(peg$e16);
|
|
5707
|
+
}
|
|
5708
|
+
}
|
|
5709
|
+
}
|
|
5710
|
+
s5 = peg$currPos;
|
|
5711
|
+
s6 = [];
|
|
5712
|
+
s7 = peg$currPos;
|
|
5713
|
+
s8 = peg$currPos;
|
|
5714
|
+
peg$silentFails++;
|
|
5715
|
+
s9 = peg$parseBlockTag();
|
|
5716
|
+
peg$silentFails--;
|
|
5717
|
+
if (s9 === peg$FAILED) {
|
|
5718
|
+
s8 = undefined;
|
|
5719
|
+
}
|
|
5720
|
+
else {
|
|
5721
|
+
peg$currPos = s8;
|
|
5722
|
+
s8 = peg$FAILED;
|
|
5723
|
+
}
|
|
5724
|
+
if (s8 !== peg$FAILED) {
|
|
5725
|
+
s9 = input.charAt(peg$currPos);
|
|
5726
|
+
if (peg$r1.test(s9)) {
|
|
5727
|
+
peg$currPos++;
|
|
5728
|
+
}
|
|
5729
|
+
else {
|
|
5730
|
+
s9 = peg$FAILED;
|
|
5731
|
+
if (peg$silentFails === 0) {
|
|
5732
|
+
peg$fail(peg$e15);
|
|
5733
|
+
}
|
|
5734
|
+
}
|
|
5735
|
+
if (s9 !== peg$FAILED) {
|
|
5736
|
+
s8 = [s8, s9];
|
|
5737
|
+
s7 = s8;
|
|
5738
|
+
}
|
|
5739
|
+
else {
|
|
5740
|
+
peg$currPos = s7;
|
|
5741
|
+
s7 = peg$FAILED;
|
|
5742
|
+
}
|
|
5743
|
+
}
|
|
5744
|
+
else {
|
|
5745
|
+
peg$currPos = s7;
|
|
5746
|
+
s7 = peg$FAILED;
|
|
5747
|
+
}
|
|
5748
|
+
if (s7 !== peg$FAILED) {
|
|
5749
|
+
while (s7 !== peg$FAILED) {
|
|
5750
|
+
s6.push(s7);
|
|
5751
|
+
s7 = peg$currPos;
|
|
5752
|
+
s8 = peg$currPos;
|
|
5753
|
+
peg$silentFails++;
|
|
5754
|
+
s9 = peg$parseBlockTag();
|
|
5755
|
+
peg$silentFails--;
|
|
5756
|
+
if (s9 === peg$FAILED) {
|
|
5757
|
+
s8 = undefined;
|
|
5758
|
+
}
|
|
5759
|
+
else {
|
|
5760
|
+
peg$currPos = s8;
|
|
5761
|
+
s8 = peg$FAILED;
|
|
5762
|
+
}
|
|
5763
|
+
if (s8 !== peg$FAILED) {
|
|
5764
|
+
s9 = input.charAt(peg$currPos);
|
|
5765
|
+
if (peg$r1.test(s9)) {
|
|
5766
|
+
peg$currPos++;
|
|
5767
|
+
}
|
|
5768
|
+
else {
|
|
5769
|
+
s9 = peg$FAILED;
|
|
5770
|
+
if (peg$silentFails === 0) {
|
|
5771
|
+
peg$fail(peg$e15);
|
|
5772
|
+
}
|
|
5773
|
+
}
|
|
5774
|
+
if (s9 !== peg$FAILED) {
|
|
5775
|
+
s8 = [s8, s9];
|
|
5776
|
+
s7 = s8;
|
|
5777
|
+
}
|
|
5778
|
+
else {
|
|
5779
|
+
peg$currPos = s7;
|
|
5780
|
+
s7 = peg$FAILED;
|
|
5781
|
+
}
|
|
5782
|
+
}
|
|
5783
|
+
else {
|
|
5784
|
+
peg$currPos = s7;
|
|
5785
|
+
s7 = peg$FAILED;
|
|
5786
|
+
}
|
|
5787
|
+
}
|
|
5788
|
+
}
|
|
5789
|
+
else {
|
|
5790
|
+
s6 = peg$FAILED;
|
|
5791
|
+
}
|
|
5792
|
+
if (s6 !== peg$FAILED) {
|
|
5793
|
+
s5 = input.substring(s5, peg$currPos);
|
|
5794
|
+
}
|
|
5795
|
+
else {
|
|
5796
|
+
s5 = s6;
|
|
5797
|
+
}
|
|
5798
|
+
if (s5 !== peg$FAILED) {
|
|
5799
|
+
s6 = peg$parseBlockTag();
|
|
5800
|
+
if (s6 !== peg$FAILED) {
|
|
5801
|
+
peg$savedPos = s0;
|
|
5802
|
+
s0 = peg$f67(s2, s5);
|
|
5803
|
+
}
|
|
5804
|
+
else {
|
|
5805
|
+
peg$currPos = s0;
|
|
5806
|
+
s0 = peg$FAILED;
|
|
5807
|
+
}
|
|
5808
|
+
}
|
|
5809
|
+
else {
|
|
5810
|
+
peg$currPos = s0;
|
|
5811
|
+
s0 = peg$FAILED;
|
|
5812
|
+
}
|
|
5813
|
+
}
|
|
5814
|
+
else {
|
|
5815
|
+
peg$currPos = s0;
|
|
5816
|
+
s0 = peg$FAILED;
|
|
5817
|
+
}
|
|
5320
5818
|
}
|
|
5321
5819
|
else {
|
|
5322
|
-
peg$currPos =
|
|
5323
|
-
|
|
5324
|
-
}
|
|
5325
|
-
if (s1 !== peg$FAILED) {
|
|
5326
|
-
s0 = input.substring(s0, peg$currPos);
|
|
5327
|
-
}
|
|
5328
|
-
else {
|
|
5329
|
-
s0 = s1;
|
|
5820
|
+
peg$currPos = s0;
|
|
5821
|
+
s0 = peg$FAILED;
|
|
5330
5822
|
}
|
|
5331
5823
|
if (s0 === peg$FAILED) {
|
|
5332
5824
|
s0 = peg$currPos;
|
|
5333
|
-
|
|
5334
|
-
|
|
5825
|
+
if (input.charCodeAt(peg$currPos) === 64) {
|
|
5826
|
+
s1 = peg$c22;
|
|
5827
|
+
peg$currPos++;
|
|
5828
|
+
}
|
|
5829
|
+
else {
|
|
5830
|
+
s1 = peg$FAILED;
|
|
5831
|
+
if (peg$silentFails === 0) {
|
|
5832
|
+
peg$fail(peg$e26);
|
|
5833
|
+
}
|
|
5834
|
+
}
|
|
5835
|
+
if (s1 === peg$FAILED) {
|
|
5836
|
+
s1 = null;
|
|
5837
|
+
}
|
|
5838
|
+
s2 = peg$parseMediaSizeTags();
|
|
5335
5839
|
if (s2 !== peg$FAILED) {
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
while (s4 !== peg$FAILED) {
|
|
5340
|
-
s3.push(s4);
|
|
5341
|
-
s4 = peg$parseHighlightHalfTag();
|
|
5342
|
-
}
|
|
5840
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
5841
|
+
s3 = peg$c1;
|
|
5842
|
+
peg$currPos++;
|
|
5343
5843
|
}
|
|
5344
5844
|
else {
|
|
5345
5845
|
s3 = peg$FAILED;
|
|
5846
|
+
if (peg$silentFails === 0) {
|
|
5847
|
+
peg$fail(peg$e3);
|
|
5848
|
+
}
|
|
5346
5849
|
}
|
|
5347
5850
|
if (s3 !== peg$FAILED) {
|
|
5348
|
-
|
|
5349
|
-
|
|
5851
|
+
s4 = [];
|
|
5852
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5853
|
+
s5 = peg$c12;
|
|
5854
|
+
peg$currPos++;
|
|
5855
|
+
}
|
|
5856
|
+
else {
|
|
5857
|
+
s5 = peg$FAILED;
|
|
5858
|
+
if (peg$silentFails === 0) {
|
|
5859
|
+
peg$fail(peg$e16);
|
|
5860
|
+
}
|
|
5861
|
+
}
|
|
5862
|
+
while (s5 !== peg$FAILED) {
|
|
5863
|
+
s4.push(s5);
|
|
5864
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5865
|
+
s5 = peg$c12;
|
|
5866
|
+
peg$currPos++;
|
|
5867
|
+
}
|
|
5868
|
+
else {
|
|
5869
|
+
s5 = peg$FAILED;
|
|
5870
|
+
if (peg$silentFails === 0) {
|
|
5871
|
+
peg$fail(peg$e16);
|
|
5872
|
+
}
|
|
5873
|
+
}
|
|
5874
|
+
}
|
|
5875
|
+
s5 = peg$currPos;
|
|
5876
|
+
s6 = [];
|
|
5877
|
+
s7 = peg$currPos;
|
|
5878
|
+
s8 = peg$currPos;
|
|
5879
|
+
peg$silentFails++;
|
|
5880
|
+
s9 = peg$parseBlockTag();
|
|
5881
|
+
peg$silentFails--;
|
|
5882
|
+
if (s9 === peg$FAILED) {
|
|
5883
|
+
s8 = undefined;
|
|
5884
|
+
}
|
|
5885
|
+
else {
|
|
5886
|
+
peg$currPos = s8;
|
|
5887
|
+
s8 = peg$FAILED;
|
|
5888
|
+
}
|
|
5889
|
+
if (s8 !== peg$FAILED) {
|
|
5890
|
+
s9 = peg$parsechar();
|
|
5891
|
+
if (s9 !== peg$FAILED) {
|
|
5892
|
+
s8 = [s8, s9];
|
|
5893
|
+
s7 = s8;
|
|
5894
|
+
}
|
|
5895
|
+
else {
|
|
5896
|
+
peg$currPos = s7;
|
|
5897
|
+
s7 = peg$FAILED;
|
|
5898
|
+
}
|
|
5899
|
+
}
|
|
5900
|
+
else {
|
|
5901
|
+
peg$currPos = s7;
|
|
5902
|
+
s7 = peg$FAILED;
|
|
5903
|
+
}
|
|
5904
|
+
while (s7 !== peg$FAILED) {
|
|
5905
|
+
s6.push(s7);
|
|
5906
|
+
s7 = peg$currPos;
|
|
5907
|
+
s8 = peg$currPos;
|
|
5908
|
+
peg$silentFails++;
|
|
5909
|
+
s9 = peg$parseBlockTag();
|
|
5910
|
+
peg$silentFails--;
|
|
5911
|
+
if (s9 === peg$FAILED) {
|
|
5912
|
+
s8 = undefined;
|
|
5913
|
+
}
|
|
5914
|
+
else {
|
|
5915
|
+
peg$currPos = s8;
|
|
5916
|
+
s8 = peg$FAILED;
|
|
5917
|
+
}
|
|
5918
|
+
if (s8 !== peg$FAILED) {
|
|
5919
|
+
s9 = peg$parsechar();
|
|
5920
|
+
if (s9 !== peg$FAILED) {
|
|
5921
|
+
s8 = [s8, s9];
|
|
5922
|
+
s7 = s8;
|
|
5923
|
+
}
|
|
5924
|
+
else {
|
|
5925
|
+
peg$currPos = s7;
|
|
5926
|
+
s7 = peg$FAILED;
|
|
5927
|
+
}
|
|
5928
|
+
}
|
|
5929
|
+
else {
|
|
5930
|
+
peg$currPos = s7;
|
|
5931
|
+
s7 = peg$FAILED;
|
|
5932
|
+
}
|
|
5933
|
+
}
|
|
5934
|
+
s5 = input.substring(s5, peg$currPos);
|
|
5935
|
+
s6 = peg$parseBlockTag();
|
|
5936
|
+
if (s6 !== peg$FAILED) {
|
|
5937
|
+
peg$savedPos = s0;
|
|
5938
|
+
s0 = peg$f68(s2, s5);
|
|
5939
|
+
}
|
|
5940
|
+
else {
|
|
5941
|
+
peg$currPos = s0;
|
|
5942
|
+
s0 = peg$FAILED;
|
|
5943
|
+
}
|
|
5350
5944
|
}
|
|
5351
5945
|
else {
|
|
5352
|
-
peg$currPos =
|
|
5353
|
-
|
|
5946
|
+
peg$currPos = s0;
|
|
5947
|
+
s0 = peg$FAILED;
|
|
5354
5948
|
}
|
|
5355
5949
|
}
|
|
5356
5950
|
else {
|
|
5357
|
-
peg$currPos =
|
|
5358
|
-
|
|
5359
|
-
}
|
|
5360
|
-
if (s1 !== peg$FAILED) {
|
|
5361
|
-
s0 = input.substring(s0, peg$currPos);
|
|
5362
|
-
}
|
|
5363
|
-
else {
|
|
5364
|
-
s0 = s1;
|
|
5365
|
-
}
|
|
5366
|
-
}
|
|
5367
|
-
}
|
|
5368
|
-
return s0;
|
|
5369
|
-
}
|
|
5370
|
-
function peg$parseAttrChain() {
|
|
5371
|
-
var s0, s1, s2, s3;
|
|
5372
|
-
s0 = peg$currPos;
|
|
5373
|
-
if (input.charCodeAt(peg$currPos) === 124) {
|
|
5374
|
-
s1 = peg$c0;
|
|
5375
|
-
peg$currPos++;
|
|
5376
|
-
}
|
|
5377
|
-
else {
|
|
5378
|
-
s1 = peg$FAILED;
|
|
5379
|
-
if (peg$silentFails === 0) {
|
|
5380
|
-
peg$fail(peg$e2);
|
|
5381
|
-
}
|
|
5382
|
-
}
|
|
5383
|
-
if (s1 !== peg$FAILED) {
|
|
5384
|
-
s2 = [];
|
|
5385
|
-
s3 = peg$parseAttrChainItem();
|
|
5386
|
-
if (s3 !== peg$FAILED) {
|
|
5387
|
-
while (s3 !== peg$FAILED) {
|
|
5388
|
-
s2.push(s3);
|
|
5389
|
-
s3 = peg$parseAttrChainItem();
|
|
5951
|
+
peg$currPos = s0;
|
|
5952
|
+
s0 = peg$FAILED;
|
|
5390
5953
|
}
|
|
5391
5954
|
}
|
|
5392
|
-
else {
|
|
5393
|
-
s2 = peg$FAILED;
|
|
5394
|
-
}
|
|
5395
|
-
if (s2 !== peg$FAILED) {
|
|
5396
|
-
peg$savedPos = s0;
|
|
5397
|
-
s0 = peg$f63(s2);
|
|
5398
|
-
}
|
|
5399
|
-
else {
|
|
5400
|
-
peg$currPos = s0;
|
|
5401
|
-
s0 = peg$FAILED;
|
|
5402
|
-
}
|
|
5403
|
-
}
|
|
5404
|
-
else {
|
|
5405
|
-
peg$currPos = s0;
|
|
5406
|
-
s0 = peg$FAILED;
|
|
5407
5955
|
}
|
|
5408
5956
|
return s0;
|
|
5409
5957
|
}
|
|
5410
5958
|
function peg$parseAttrChainItem() {
|
|
5411
5959
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
5412
5960
|
s0 = peg$currPos;
|
|
5413
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5414
|
-
s1 = peg$
|
|
5961
|
+
if (input.substr(peg$currPos, 5) === peg$c33) {
|
|
5962
|
+
s1 = peg$c33;
|
|
5415
5963
|
peg$currPos += 5;
|
|
5416
5964
|
}
|
|
5417
5965
|
else {
|
|
5418
5966
|
s1 = peg$FAILED;
|
|
5419
5967
|
if (peg$silentFails === 0) {
|
|
5420
|
-
peg$fail(peg$
|
|
5968
|
+
peg$fail(peg$e39);
|
|
5421
5969
|
}
|
|
5422
5970
|
}
|
|
5423
5971
|
if (s1 !== peg$FAILED) {
|
|
@@ -5484,7 +6032,7 @@ function peg$parse(input, options) {
|
|
|
5484
6032
|
s3 = peg$parseBlockTag();
|
|
5485
6033
|
if (s3 !== peg$FAILED) {
|
|
5486
6034
|
peg$savedPos = s0;
|
|
5487
|
-
s0 = peg$
|
|
6035
|
+
s0 = peg$f69(s2);
|
|
5488
6036
|
}
|
|
5489
6037
|
else {
|
|
5490
6038
|
peg$currPos = s0;
|
|
@@ -5497,14 +6045,14 @@ function peg$parse(input, options) {
|
|
|
5497
6045
|
}
|
|
5498
6046
|
if (s0 === peg$FAILED) {
|
|
5499
6047
|
s0 = peg$currPos;
|
|
5500
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
5501
|
-
s1 = peg$
|
|
6048
|
+
if (input.substr(peg$currPos, 7) === peg$c34) {
|
|
6049
|
+
s1 = peg$c34;
|
|
5502
6050
|
peg$currPos += 7;
|
|
5503
6051
|
}
|
|
5504
6052
|
else {
|
|
5505
6053
|
s1 = peg$FAILED;
|
|
5506
6054
|
if (peg$silentFails === 0) {
|
|
5507
|
-
peg$fail(peg$
|
|
6055
|
+
peg$fail(peg$e40);
|
|
5508
6056
|
}
|
|
5509
6057
|
}
|
|
5510
6058
|
if (s1 !== peg$FAILED) {
|
|
@@ -5571,14 +6119,14 @@ function peg$parse(input, options) {
|
|
|
5571
6119
|
s3 = peg$parseRefsChain();
|
|
5572
6120
|
s4 = peg$parseBlockTag();
|
|
5573
6121
|
if (s4 !== peg$FAILED) {
|
|
5574
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
5575
|
-
s5 = peg$
|
|
6122
|
+
if (input.substr(peg$currPos, 9) === peg$c35) {
|
|
6123
|
+
s5 = peg$c35;
|
|
5576
6124
|
peg$currPos += 9;
|
|
5577
6125
|
}
|
|
5578
6126
|
else {
|
|
5579
6127
|
s5 = peg$FAILED;
|
|
5580
6128
|
if (peg$silentFails === 0) {
|
|
5581
|
-
peg$fail(peg$
|
|
6129
|
+
peg$fail(peg$e41);
|
|
5582
6130
|
}
|
|
5583
6131
|
}
|
|
5584
6132
|
if (s5 !== peg$FAILED) {
|
|
@@ -5645,7 +6193,7 @@ function peg$parse(input, options) {
|
|
|
5645
6193
|
s7 = peg$parseBlockTag();
|
|
5646
6194
|
if (s7 !== peg$FAILED) {
|
|
5647
6195
|
peg$savedPos = s0;
|
|
5648
|
-
s0 = peg$
|
|
6196
|
+
s0 = peg$f70(s2, s3, s6);
|
|
5649
6197
|
}
|
|
5650
6198
|
else {
|
|
5651
6199
|
peg$currPos = s0;
|
|
@@ -5668,14 +6216,14 @@ function peg$parse(input, options) {
|
|
|
5668
6216
|
}
|
|
5669
6217
|
if (s0 === peg$FAILED) {
|
|
5670
6218
|
s0 = peg$currPos;
|
|
5671
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5672
|
-
s1 = peg$
|
|
6219
|
+
if (input.substr(peg$currPos, 5) === peg$c36) {
|
|
6220
|
+
s1 = peg$c36;
|
|
5673
6221
|
peg$currPos += 5;
|
|
5674
6222
|
}
|
|
5675
6223
|
else {
|
|
5676
6224
|
s1 = peg$FAILED;
|
|
5677
6225
|
if (peg$silentFails === 0) {
|
|
5678
|
-
peg$fail(peg$
|
|
6226
|
+
peg$fail(peg$e42);
|
|
5679
6227
|
}
|
|
5680
6228
|
}
|
|
5681
6229
|
if (s1 !== peg$FAILED) {
|
|
@@ -5742,13 +6290,13 @@ function peg$parse(input, options) {
|
|
|
5742
6290
|
s3 = peg$parseBlockTag();
|
|
5743
6291
|
if (s3 !== peg$FAILED) {
|
|
5744
6292
|
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5745
|
-
s4 = peg$
|
|
6293
|
+
s4 = peg$c37;
|
|
5746
6294
|
peg$currPos++;
|
|
5747
6295
|
}
|
|
5748
6296
|
else {
|
|
5749
6297
|
s4 = peg$FAILED;
|
|
5750
6298
|
if (peg$silentFails === 0) {
|
|
5751
|
-
peg$fail(peg$
|
|
6299
|
+
peg$fail(peg$e43);
|
|
5752
6300
|
}
|
|
5753
6301
|
}
|
|
5754
6302
|
if (s4 !== peg$FAILED) {
|
|
@@ -5815,7 +6363,7 @@ function peg$parse(input, options) {
|
|
|
5815
6363
|
s6 = peg$parseBlockTag();
|
|
5816
6364
|
if (s6 !== peg$FAILED) {
|
|
5817
6365
|
peg$savedPos = s0;
|
|
5818
|
-
s0 = peg$
|
|
6366
|
+
s0 = peg$f71(s2, s5);
|
|
5819
6367
|
}
|
|
5820
6368
|
else {
|
|
5821
6369
|
peg$currPos = s0;
|
|
@@ -5838,14 +6386,14 @@ function peg$parse(input, options) {
|
|
|
5838
6386
|
}
|
|
5839
6387
|
if (s0 === peg$FAILED) {
|
|
5840
6388
|
s0 = peg$currPos;
|
|
5841
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5842
|
-
s1 = peg$
|
|
6389
|
+
if (input.substr(peg$currPos, 5) === peg$c36) {
|
|
6390
|
+
s1 = peg$c36;
|
|
5843
6391
|
peg$currPos += 5;
|
|
5844
6392
|
}
|
|
5845
6393
|
else {
|
|
5846
6394
|
s1 = peg$FAILED;
|
|
5847
6395
|
if (peg$silentFails === 0) {
|
|
5848
|
-
peg$fail(peg$
|
|
6396
|
+
peg$fail(peg$e42);
|
|
5849
6397
|
}
|
|
5850
6398
|
}
|
|
5851
6399
|
if (s1 !== peg$FAILED) {
|
|
@@ -5912,7 +6460,7 @@ function peg$parse(input, options) {
|
|
|
5912
6460
|
s3 = peg$parseBlockTag();
|
|
5913
6461
|
if (s3 !== peg$FAILED) {
|
|
5914
6462
|
peg$savedPos = s0;
|
|
5915
|
-
s0 = peg$
|
|
6463
|
+
s0 = peg$f72(s2);
|
|
5916
6464
|
}
|
|
5917
6465
|
else {
|
|
5918
6466
|
peg$currPos = s0;
|
|
@@ -5926,13 +6474,13 @@ function peg$parse(input, options) {
|
|
|
5926
6474
|
if (s0 === peg$FAILED) {
|
|
5927
6475
|
s0 = peg$currPos;
|
|
5928
6476
|
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5929
|
-
s1 = peg$
|
|
6477
|
+
s1 = peg$c37;
|
|
5930
6478
|
peg$currPos++;
|
|
5931
6479
|
}
|
|
5932
6480
|
else {
|
|
5933
6481
|
s1 = peg$FAILED;
|
|
5934
6482
|
if (peg$silentFails === 0) {
|
|
5935
|
-
peg$fail(peg$
|
|
6483
|
+
peg$fail(peg$e43);
|
|
5936
6484
|
}
|
|
5937
6485
|
}
|
|
5938
6486
|
if (s1 !== peg$FAILED) {
|
|
@@ -5999,7 +6547,7 @@ function peg$parse(input, options) {
|
|
|
5999
6547
|
s3 = peg$parseBlockTag();
|
|
6000
6548
|
if (s3 !== peg$FAILED) {
|
|
6001
6549
|
peg$savedPos = s0;
|
|
6002
|
-
s0 = peg$
|
|
6550
|
+
s0 = peg$f73(s2);
|
|
6003
6551
|
}
|
|
6004
6552
|
else {
|
|
6005
6553
|
peg$currPos = s0;
|
|
@@ -6012,14 +6560,14 @@ function peg$parse(input, options) {
|
|
|
6012
6560
|
}
|
|
6013
6561
|
if (s0 === peg$FAILED) {
|
|
6014
6562
|
s0 = peg$currPos;
|
|
6015
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
6016
|
-
s1 = peg$
|
|
6563
|
+
if (input.substr(peg$currPos, 7) === peg$c38) {
|
|
6564
|
+
s1 = peg$c38;
|
|
6017
6565
|
peg$currPos += 7;
|
|
6018
6566
|
}
|
|
6019
6567
|
else {
|
|
6020
6568
|
s1 = peg$FAILED;
|
|
6021
6569
|
if (peg$silentFails === 0) {
|
|
6022
|
-
peg$fail(peg$
|
|
6570
|
+
peg$fail(peg$e44);
|
|
6023
6571
|
}
|
|
6024
6572
|
}
|
|
6025
6573
|
if (s1 !== peg$FAILED) {
|
|
@@ -6087,7 +6635,7 @@ function peg$parse(input, options) {
|
|
|
6087
6635
|
if (s3 !== peg$FAILED) {
|
|
6088
6636
|
s4 = peg$parseMediaChain();
|
|
6089
6637
|
peg$savedPos = s0;
|
|
6090
|
-
s0 = peg$
|
|
6638
|
+
s0 = peg$f74(s2, s4);
|
|
6091
6639
|
}
|
|
6092
6640
|
else {
|
|
6093
6641
|
peg$currPos = s0;
|
|
@@ -6100,14 +6648,14 @@ function peg$parse(input, options) {
|
|
|
6100
6648
|
}
|
|
6101
6649
|
if (s0 === peg$FAILED) {
|
|
6102
6650
|
s0 = peg$currPos;
|
|
6103
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6104
|
-
s1 = peg$
|
|
6651
|
+
if (input.substr(peg$currPos, 9) === peg$c39) {
|
|
6652
|
+
s1 = peg$c39;
|
|
6105
6653
|
peg$currPos += 9;
|
|
6106
6654
|
}
|
|
6107
6655
|
else {
|
|
6108
6656
|
s1 = peg$FAILED;
|
|
6109
6657
|
if (peg$silentFails === 0) {
|
|
6110
|
-
peg$fail(peg$
|
|
6658
|
+
peg$fail(peg$e45);
|
|
6111
6659
|
}
|
|
6112
6660
|
}
|
|
6113
6661
|
if (s1 !== peg$FAILED) {
|
|
@@ -6174,7 +6722,7 @@ function peg$parse(input, options) {
|
|
|
6174
6722
|
s3 = peg$parseBlockTag();
|
|
6175
6723
|
if (s3 !== peg$FAILED) {
|
|
6176
6724
|
peg$savedPos = s0;
|
|
6177
|
-
s0 = peg$
|
|
6725
|
+
s0 = peg$f75(s2);
|
|
6178
6726
|
}
|
|
6179
6727
|
else {
|
|
6180
6728
|
peg$currPos = s0;
|
|
@@ -6187,14 +6735,14 @@ function peg$parse(input, options) {
|
|
|
6187
6735
|
}
|
|
6188
6736
|
if (s0 === peg$FAILED) {
|
|
6189
6737
|
s0 = peg$currPos;
|
|
6190
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
6191
|
-
s1 = peg$
|
|
6738
|
+
if (input.substr(peg$currPos, 10) === peg$c40) {
|
|
6739
|
+
s1 = peg$c40;
|
|
6192
6740
|
peg$currPos += 10;
|
|
6193
6741
|
}
|
|
6194
6742
|
else {
|
|
6195
6743
|
s1 = peg$FAILED;
|
|
6196
6744
|
if (peg$silentFails === 0) {
|
|
6197
|
-
peg$fail(peg$
|
|
6745
|
+
peg$fail(peg$e46);
|
|
6198
6746
|
}
|
|
6199
6747
|
}
|
|
6200
6748
|
if (s1 !== peg$FAILED) {
|
|
@@ -6261,7 +6809,7 @@ function peg$parse(input, options) {
|
|
|
6261
6809
|
s3 = peg$parseBlockTag();
|
|
6262
6810
|
if (s3 !== peg$FAILED) {
|
|
6263
6811
|
peg$savedPos = s0;
|
|
6264
|
-
s0 = peg$
|
|
6812
|
+
s0 = peg$f76(s2);
|
|
6265
6813
|
}
|
|
6266
6814
|
else {
|
|
6267
6815
|
peg$currPos = s0;
|
|
@@ -6274,14 +6822,14 @@ function peg$parse(input, options) {
|
|
|
6274
6822
|
}
|
|
6275
6823
|
if (s0 === peg$FAILED) {
|
|
6276
6824
|
s0 = peg$currPos;
|
|
6277
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6278
|
-
s1 = peg$
|
|
6825
|
+
if (input.substr(peg$currPos, 4) === peg$c41) {
|
|
6826
|
+
s1 = peg$c41;
|
|
6279
6827
|
peg$currPos += 4;
|
|
6280
6828
|
}
|
|
6281
6829
|
else {
|
|
6282
6830
|
s1 = peg$FAILED;
|
|
6283
6831
|
if (peg$silentFails === 0) {
|
|
6284
|
-
peg$fail(peg$
|
|
6832
|
+
peg$fail(peg$e47);
|
|
6285
6833
|
}
|
|
6286
6834
|
}
|
|
6287
6835
|
if (s1 !== peg$FAILED) {
|
|
@@ -6348,7 +6896,7 @@ function peg$parse(input, options) {
|
|
|
6348
6896
|
s3 = peg$parseBlockTag();
|
|
6349
6897
|
if (s3 !== peg$FAILED) {
|
|
6350
6898
|
peg$savedPos = s0;
|
|
6351
|
-
s0 = peg$
|
|
6899
|
+
s0 = peg$f77(s2);
|
|
6352
6900
|
}
|
|
6353
6901
|
else {
|
|
6354
6902
|
peg$currPos = s0;
|
|
@@ -6375,7 +6923,7 @@ function peg$parse(input, options) {
|
|
|
6375
6923
|
s2 = peg$parseBlockTag();
|
|
6376
6924
|
if (s2 !== peg$FAILED) {
|
|
6377
6925
|
peg$savedPos = s0;
|
|
6378
|
-
s0 = peg$
|
|
6926
|
+
s0 = peg$f78();
|
|
6379
6927
|
}
|
|
6380
6928
|
else {
|
|
6381
6929
|
peg$currPos = s0;
|
|
@@ -6388,14 +6936,14 @@ function peg$parse(input, options) {
|
|
|
6388
6936
|
}
|
|
6389
6937
|
if (s0 === peg$FAILED) {
|
|
6390
6938
|
s0 = peg$currPos;
|
|
6391
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6392
|
-
s1 = peg$
|
|
6939
|
+
if (input.substr(peg$currPos, 5) === peg$c42) {
|
|
6940
|
+
s1 = peg$c42;
|
|
6393
6941
|
peg$currPos += 5;
|
|
6394
6942
|
}
|
|
6395
6943
|
else {
|
|
6396
6944
|
s1 = peg$FAILED;
|
|
6397
6945
|
if (peg$silentFails === 0) {
|
|
6398
|
-
peg$fail(peg$
|
|
6946
|
+
peg$fail(peg$e48);
|
|
6399
6947
|
}
|
|
6400
6948
|
}
|
|
6401
6949
|
if (s1 !== peg$FAILED) {
|
|
@@ -6462,7 +7010,7 @@ function peg$parse(input, options) {
|
|
|
6462
7010
|
s3 = peg$parseBlockTag();
|
|
6463
7011
|
if (s3 !== peg$FAILED) {
|
|
6464
7012
|
peg$savedPos = s0;
|
|
6465
|
-
s0 = peg$
|
|
7013
|
+
s0 = peg$f79(s2);
|
|
6466
7014
|
}
|
|
6467
7015
|
else {
|
|
6468
7016
|
peg$currPos = s0;
|
|
@@ -6475,21 +7023,21 @@ function peg$parse(input, options) {
|
|
|
6475
7023
|
}
|
|
6476
7024
|
if (s0 === peg$FAILED) {
|
|
6477
7025
|
s0 = peg$currPos;
|
|
6478
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6479
|
-
s1 = peg$
|
|
7026
|
+
if (input.substr(peg$currPos, 5) === peg$c43) {
|
|
7027
|
+
s1 = peg$c43;
|
|
6480
7028
|
peg$currPos += 5;
|
|
6481
7029
|
}
|
|
6482
7030
|
else {
|
|
6483
7031
|
s1 = peg$FAILED;
|
|
6484
7032
|
if (peg$silentFails === 0) {
|
|
6485
|
-
peg$fail(peg$
|
|
7033
|
+
peg$fail(peg$e49);
|
|
6486
7034
|
}
|
|
6487
7035
|
}
|
|
6488
7036
|
if (s1 !== peg$FAILED) {
|
|
6489
7037
|
s2 = peg$parseBlockTag();
|
|
6490
7038
|
if (s2 !== peg$FAILED) {
|
|
6491
7039
|
peg$savedPos = s0;
|
|
6492
|
-
s0 = peg$
|
|
7040
|
+
s0 = peg$f80();
|
|
6493
7041
|
}
|
|
6494
7042
|
else {
|
|
6495
7043
|
peg$currPos = s0;
|
|
@@ -6502,14 +7050,14 @@ function peg$parse(input, options) {
|
|
|
6502
7050
|
}
|
|
6503
7051
|
if (s0 === peg$FAILED) {
|
|
6504
7052
|
s0 = peg$currPos;
|
|
6505
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6506
|
-
s1 = peg$
|
|
7053
|
+
if (input.substr(peg$currPos, 6) === peg$c44) {
|
|
7054
|
+
s1 = peg$c44;
|
|
6507
7055
|
peg$currPos += 6;
|
|
6508
7056
|
}
|
|
6509
7057
|
else {
|
|
6510
7058
|
s1 = peg$FAILED;
|
|
6511
7059
|
if (peg$silentFails === 0) {
|
|
6512
|
-
peg$fail(peg$
|
|
7060
|
+
peg$fail(peg$e50);
|
|
6513
7061
|
}
|
|
6514
7062
|
}
|
|
6515
7063
|
if (s1 !== peg$FAILED) {
|
|
@@ -6576,7 +7124,7 @@ function peg$parse(input, options) {
|
|
|
6576
7124
|
s3 = peg$parseBlockTag();
|
|
6577
7125
|
if (s3 !== peg$FAILED) {
|
|
6578
7126
|
peg$savedPos = s0;
|
|
6579
|
-
s0 = peg$
|
|
7127
|
+
s0 = peg$f81(s2);
|
|
6580
7128
|
}
|
|
6581
7129
|
else {
|
|
6582
7130
|
peg$currPos = s0;
|
|
@@ -6589,27 +7137,27 @@ function peg$parse(input, options) {
|
|
|
6589
7137
|
}
|
|
6590
7138
|
if (s0 === peg$FAILED) {
|
|
6591
7139
|
s0 = peg$currPos;
|
|
6592
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6593
|
-
s1 = peg$
|
|
7140
|
+
if (input.substr(peg$currPos, 9) === peg$c45) {
|
|
7141
|
+
s1 = peg$c45;
|
|
6594
7142
|
peg$currPos += 9;
|
|
6595
7143
|
}
|
|
6596
7144
|
else {
|
|
6597
7145
|
s1 = peg$FAILED;
|
|
6598
7146
|
if (peg$silentFails === 0) {
|
|
6599
|
-
peg$fail(peg$
|
|
7147
|
+
peg$fail(peg$e51);
|
|
6600
7148
|
}
|
|
6601
7149
|
}
|
|
6602
7150
|
if (s1 !== peg$FAILED) {
|
|
6603
7151
|
s2 = peg$currPos;
|
|
6604
7152
|
s3 = peg$currPos;
|
|
6605
7153
|
if (input.charCodeAt(peg$currPos) === 80) {
|
|
6606
|
-
s4 = peg$
|
|
7154
|
+
s4 = peg$c46;
|
|
6607
7155
|
peg$currPos++;
|
|
6608
7156
|
}
|
|
6609
7157
|
else {
|
|
6610
7158
|
s4 = peg$FAILED;
|
|
6611
7159
|
if (peg$silentFails === 0) {
|
|
6612
|
-
peg$fail(peg$
|
|
7160
|
+
peg$fail(peg$e52);
|
|
6613
7161
|
}
|
|
6614
7162
|
}
|
|
6615
7163
|
if (s4 !== peg$FAILED) {
|
|
@@ -6690,7 +7238,7 @@ function peg$parse(input, options) {
|
|
|
6690
7238
|
s3 = peg$parseBlockTag();
|
|
6691
7239
|
if (s3 !== peg$FAILED) {
|
|
6692
7240
|
peg$savedPos = s0;
|
|
6693
|
-
s0 = peg$
|
|
7241
|
+
s0 = peg$f82(s2);
|
|
6694
7242
|
}
|
|
6695
7243
|
else {
|
|
6696
7244
|
peg$currPos = s0;
|
|
@@ -6708,14 +7256,14 @@ function peg$parse(input, options) {
|
|
|
6708
7256
|
}
|
|
6709
7257
|
if (s0 === peg$FAILED) {
|
|
6710
7258
|
s0 = peg$currPos;
|
|
6711
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6712
|
-
s1 = peg$
|
|
7259
|
+
if (input.substr(peg$currPos, 6) === peg$c47) {
|
|
7260
|
+
s1 = peg$c47;
|
|
6713
7261
|
peg$currPos += 6;
|
|
6714
7262
|
}
|
|
6715
7263
|
else {
|
|
6716
7264
|
s1 = peg$FAILED;
|
|
6717
7265
|
if (peg$silentFails === 0) {
|
|
6718
|
-
peg$fail(peg$
|
|
7266
|
+
peg$fail(peg$e53);
|
|
6719
7267
|
}
|
|
6720
7268
|
}
|
|
6721
7269
|
if (s1 !== peg$FAILED) {
|
|
@@ -6724,7 +7272,7 @@ function peg$parse(input, options) {
|
|
|
6724
7272
|
s3 = peg$parseBlockTag();
|
|
6725
7273
|
if (s3 !== peg$FAILED) {
|
|
6726
7274
|
peg$savedPos = s0;
|
|
6727
|
-
s0 = peg$
|
|
7275
|
+
s0 = peg$f83(s2);
|
|
6728
7276
|
}
|
|
6729
7277
|
else {
|
|
6730
7278
|
peg$currPos = s0;
|
|
@@ -6747,7 +7295,7 @@ function peg$parse(input, options) {
|
|
|
6747
7295
|
s2 = peg$parseBlockTag();
|
|
6748
7296
|
if (s2 !== peg$FAILED) {
|
|
6749
7297
|
peg$savedPos = s0;
|
|
6750
|
-
s0 = peg$
|
|
7298
|
+
s0 = peg$f84(s1);
|
|
6751
7299
|
}
|
|
6752
7300
|
else {
|
|
6753
7301
|
peg$currPos = s0;
|
|
@@ -6834,7 +7382,7 @@ function peg$parse(input, options) {
|
|
|
6834
7382
|
s3 = peg$parseBlockTag();
|
|
6835
7383
|
if (s3 !== peg$FAILED) {
|
|
6836
7384
|
peg$savedPos = s0;
|
|
6837
|
-
s0 = peg$
|
|
7385
|
+
s0 = peg$f85(s2);
|
|
6838
7386
|
}
|
|
6839
7387
|
else {
|
|
6840
7388
|
peg$currPos = s0;
|
|
@@ -6876,14 +7424,14 @@ function peg$parse(input, options) {
|
|
|
6876
7424
|
function peg$parseRef() {
|
|
6877
7425
|
var s0, s1, s2, s3, s4, s5, s6;
|
|
6878
7426
|
s0 = peg$currPos;
|
|
6879
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6880
|
-
s1 = peg$
|
|
7427
|
+
if (input.substr(peg$currPos, 2) === peg$c48) {
|
|
7428
|
+
s1 = peg$c48;
|
|
6881
7429
|
peg$currPos += 2;
|
|
6882
7430
|
}
|
|
6883
7431
|
else {
|
|
6884
7432
|
s1 = peg$FAILED;
|
|
6885
7433
|
if (peg$silentFails === 0) {
|
|
6886
|
-
peg$fail(peg$
|
|
7434
|
+
peg$fail(peg$e54);
|
|
6887
7435
|
}
|
|
6888
7436
|
}
|
|
6889
7437
|
if (s1 !== peg$FAILED) {
|
|
@@ -6948,7 +7496,7 @@ function peg$parse(input, options) {
|
|
|
6948
7496
|
}
|
|
6949
7497
|
s2 = input.substring(s2, peg$currPos);
|
|
6950
7498
|
peg$savedPos = s0;
|
|
6951
|
-
s0 = peg$
|
|
7499
|
+
s0 = peg$f86(s2);
|
|
6952
7500
|
}
|
|
6953
7501
|
else {
|
|
6954
7502
|
peg$currPos = s0;
|
|
@@ -6958,212 +7506,212 @@ function peg$parse(input, options) {
|
|
|
6958
7506
|
}
|
|
6959
7507
|
function peg$parseAlternativeStyleTags() {
|
|
6960
7508
|
var s0;
|
|
6961
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6962
|
-
s0 = peg$
|
|
7509
|
+
if (input.substr(peg$currPos, 4) === peg$c49) {
|
|
7510
|
+
s0 = peg$c49;
|
|
6963
7511
|
peg$currPos += 4;
|
|
6964
7512
|
}
|
|
6965
7513
|
else {
|
|
6966
7514
|
s0 = peg$FAILED;
|
|
6967
7515
|
if (peg$silentFails === 0) {
|
|
6968
|
-
peg$fail(peg$
|
|
7516
|
+
peg$fail(peg$e55);
|
|
6969
7517
|
}
|
|
6970
7518
|
}
|
|
6971
7519
|
if (s0 === peg$FAILED) {
|
|
6972
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6973
|
-
s0 = peg$
|
|
7520
|
+
if (input.substr(peg$currPos, 6) === peg$c50) {
|
|
7521
|
+
s0 = peg$c50;
|
|
6974
7522
|
peg$currPos += 6;
|
|
6975
7523
|
}
|
|
6976
7524
|
else {
|
|
6977
7525
|
s0 = peg$FAILED;
|
|
6978
7526
|
if (peg$silentFails === 0) {
|
|
6979
|
-
peg$fail(peg$
|
|
7527
|
+
peg$fail(peg$e56);
|
|
6980
7528
|
}
|
|
6981
7529
|
}
|
|
6982
7530
|
if (s0 === peg$FAILED) {
|
|
6983
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6984
|
-
s0 = peg$
|
|
7531
|
+
if (input.substr(peg$currPos, 5) === peg$c51) {
|
|
7532
|
+
s0 = peg$c51;
|
|
6985
7533
|
peg$currPos += 5;
|
|
6986
7534
|
}
|
|
6987
7535
|
else {
|
|
6988
7536
|
s0 = peg$FAILED;
|
|
6989
7537
|
if (peg$silentFails === 0) {
|
|
6990
|
-
peg$fail(peg$
|
|
7538
|
+
peg$fail(peg$e57);
|
|
6991
7539
|
}
|
|
6992
7540
|
}
|
|
6993
7541
|
if (s0 === peg$FAILED) {
|
|
6994
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6995
|
-
s0 = peg$
|
|
7542
|
+
if (input.substr(peg$currPos, 9) === peg$c52) {
|
|
7543
|
+
s0 = peg$c52;
|
|
6996
7544
|
peg$currPos += 9;
|
|
6997
7545
|
}
|
|
6998
7546
|
else {
|
|
6999
7547
|
s0 = peg$FAILED;
|
|
7000
7548
|
if (peg$silentFails === 0) {
|
|
7001
|
-
peg$fail(peg$
|
|
7549
|
+
peg$fail(peg$e58);
|
|
7002
7550
|
}
|
|
7003
7551
|
}
|
|
7004
7552
|
if (s0 === peg$FAILED) {
|
|
7005
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7006
|
-
s0 = peg$
|
|
7553
|
+
if (input.substr(peg$currPos, 6) === peg$c53) {
|
|
7554
|
+
s0 = peg$c53;
|
|
7007
7555
|
peg$currPos += 6;
|
|
7008
7556
|
}
|
|
7009
7557
|
else {
|
|
7010
7558
|
s0 = peg$FAILED;
|
|
7011
7559
|
if (peg$silentFails === 0) {
|
|
7012
|
-
peg$fail(peg$
|
|
7560
|
+
peg$fail(peg$e59);
|
|
7013
7561
|
}
|
|
7014
7562
|
}
|
|
7015
7563
|
if (s0 === peg$FAILED) {
|
|
7016
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
7017
|
-
s0 = peg$
|
|
7564
|
+
if (input.substr(peg$currPos, 9) === peg$c54) {
|
|
7565
|
+
s0 = peg$c54;
|
|
7018
7566
|
peg$currPos += 9;
|
|
7019
7567
|
}
|
|
7020
7568
|
else {
|
|
7021
7569
|
s0 = peg$FAILED;
|
|
7022
7570
|
if (peg$silentFails === 0) {
|
|
7023
|
-
peg$fail(peg$
|
|
7571
|
+
peg$fail(peg$e60);
|
|
7024
7572
|
}
|
|
7025
7573
|
}
|
|
7026
7574
|
if (s0 === peg$FAILED) {
|
|
7027
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
7028
|
-
s0 = peg$
|
|
7575
|
+
if (input.substr(peg$currPos, 11) === peg$c55) {
|
|
7576
|
+
s0 = peg$c55;
|
|
7029
7577
|
peg$currPos += 11;
|
|
7030
7578
|
}
|
|
7031
7579
|
else {
|
|
7032
7580
|
s0 = peg$FAILED;
|
|
7033
7581
|
if (peg$silentFails === 0) {
|
|
7034
|
-
peg$fail(peg$
|
|
7582
|
+
peg$fail(peg$e61);
|
|
7035
7583
|
}
|
|
7036
7584
|
}
|
|
7037
7585
|
if (s0 === peg$FAILED) {
|
|
7038
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7039
|
-
s0 = peg$
|
|
7586
|
+
if (input.substr(peg$currPos, 3) === peg$c56) {
|
|
7587
|
+
s0 = peg$c56;
|
|
7040
7588
|
peg$currPos += 3;
|
|
7041
7589
|
}
|
|
7042
7590
|
else {
|
|
7043
7591
|
s0 = peg$FAILED;
|
|
7044
7592
|
if (peg$silentFails === 0) {
|
|
7045
|
-
peg$fail(peg$
|
|
7593
|
+
peg$fail(peg$e62);
|
|
7046
7594
|
}
|
|
7047
7595
|
}
|
|
7048
7596
|
if (s0 === peg$FAILED) {
|
|
7049
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7050
|
-
s0 = peg$
|
|
7597
|
+
if (input.substr(peg$currPos, 3) === peg$c57) {
|
|
7598
|
+
s0 = peg$c57;
|
|
7051
7599
|
peg$currPos += 3;
|
|
7052
7600
|
}
|
|
7053
7601
|
else {
|
|
7054
7602
|
s0 = peg$FAILED;
|
|
7055
7603
|
if (peg$silentFails === 0) {
|
|
7056
|
-
peg$fail(peg$
|
|
7604
|
+
peg$fail(peg$e63);
|
|
7057
7605
|
}
|
|
7058
7606
|
}
|
|
7059
7607
|
if (s0 === peg$FAILED) {
|
|
7060
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
7061
|
-
s0 = peg$
|
|
7608
|
+
if (input.substr(peg$currPos, 9) === peg$c58) {
|
|
7609
|
+
s0 = peg$c58;
|
|
7062
7610
|
peg$currPos += 9;
|
|
7063
7611
|
}
|
|
7064
7612
|
else {
|
|
7065
7613
|
s0 = peg$FAILED;
|
|
7066
7614
|
if (peg$silentFails === 0) {
|
|
7067
|
-
peg$fail(peg$
|
|
7615
|
+
peg$fail(peg$e64);
|
|
7068
7616
|
}
|
|
7069
7617
|
}
|
|
7070
7618
|
if (s0 === peg$FAILED) {
|
|
7071
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
7072
|
-
s0 = peg$
|
|
7619
|
+
if (input.substr(peg$currPos, 15) === peg$c59) {
|
|
7620
|
+
s0 = peg$c59;
|
|
7073
7621
|
peg$currPos += 15;
|
|
7074
7622
|
}
|
|
7075
7623
|
else {
|
|
7076
7624
|
s0 = peg$FAILED;
|
|
7077
7625
|
if (peg$silentFails === 0) {
|
|
7078
|
-
peg$fail(peg$
|
|
7626
|
+
peg$fail(peg$e65);
|
|
7079
7627
|
}
|
|
7080
7628
|
}
|
|
7081
7629
|
if (s0 === peg$FAILED) {
|
|
7082
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7083
|
-
s0 = peg$
|
|
7630
|
+
if (input.substr(peg$currPos, 6) === peg$c60) {
|
|
7631
|
+
s0 = peg$c60;
|
|
7084
7632
|
peg$currPos += 6;
|
|
7085
7633
|
}
|
|
7086
7634
|
else {
|
|
7087
7635
|
s0 = peg$FAILED;
|
|
7088
7636
|
if (peg$silentFails === 0) {
|
|
7089
|
-
peg$fail(peg$
|
|
7637
|
+
peg$fail(peg$e66);
|
|
7090
7638
|
}
|
|
7091
7639
|
}
|
|
7092
7640
|
if (s0 === peg$FAILED) {
|
|
7093
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
7094
|
-
s0 = peg$
|
|
7641
|
+
if (input.substr(peg$currPos, 10) === peg$c61) {
|
|
7642
|
+
s0 = peg$c61;
|
|
7095
7643
|
peg$currPos += 10;
|
|
7096
7644
|
}
|
|
7097
7645
|
else {
|
|
7098
7646
|
s0 = peg$FAILED;
|
|
7099
7647
|
if (peg$silentFails === 0) {
|
|
7100
|
-
peg$fail(peg$
|
|
7648
|
+
peg$fail(peg$e67);
|
|
7101
7649
|
}
|
|
7102
7650
|
}
|
|
7103
7651
|
if (s0 === peg$FAILED) {
|
|
7104
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
7105
|
-
s0 = peg$
|
|
7652
|
+
if (input.substr(peg$currPos, 13) === peg$c62) {
|
|
7653
|
+
s0 = peg$c62;
|
|
7106
7654
|
peg$currPos += 13;
|
|
7107
7655
|
}
|
|
7108
7656
|
else {
|
|
7109
7657
|
s0 = peg$FAILED;
|
|
7110
7658
|
if (peg$silentFails === 0) {
|
|
7111
|
-
peg$fail(peg$
|
|
7659
|
+
peg$fail(peg$e68);
|
|
7112
7660
|
}
|
|
7113
7661
|
}
|
|
7114
7662
|
if (s0 === peg$FAILED) {
|
|
7115
|
-
if (input.substr(peg$currPos, 19) === peg$
|
|
7116
|
-
s0 = peg$
|
|
7663
|
+
if (input.substr(peg$currPos, 19) === peg$c63) {
|
|
7664
|
+
s0 = peg$c63;
|
|
7117
7665
|
peg$currPos += 19;
|
|
7118
7666
|
}
|
|
7119
7667
|
else {
|
|
7120
7668
|
s0 = peg$FAILED;
|
|
7121
7669
|
if (peg$silentFails === 0) {
|
|
7122
|
-
peg$fail(peg$
|
|
7670
|
+
peg$fail(peg$e69);
|
|
7123
7671
|
}
|
|
7124
7672
|
}
|
|
7125
7673
|
if (s0 === peg$FAILED) {
|
|
7126
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
7127
|
-
s0 = peg$
|
|
7674
|
+
if (input.substr(peg$currPos, 10) === peg$c64) {
|
|
7675
|
+
s0 = peg$c64;
|
|
7128
7676
|
peg$currPos += 10;
|
|
7129
7677
|
}
|
|
7130
7678
|
else {
|
|
7131
7679
|
s0 = peg$FAILED;
|
|
7132
7680
|
if (peg$silentFails === 0) {
|
|
7133
|
-
peg$fail(peg$
|
|
7681
|
+
peg$fail(peg$e70);
|
|
7134
7682
|
}
|
|
7135
7683
|
}
|
|
7136
7684
|
if (s0 === peg$FAILED) {
|
|
7137
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
7138
|
-
s0 = peg$
|
|
7685
|
+
if (input.substr(peg$currPos, 10) === peg$c65) {
|
|
7686
|
+
s0 = peg$c65;
|
|
7139
7687
|
peg$currPos += 10;
|
|
7140
7688
|
}
|
|
7141
7689
|
else {
|
|
7142
7690
|
s0 = peg$FAILED;
|
|
7143
7691
|
if (peg$silentFails === 0) {
|
|
7144
|
-
peg$fail(peg$
|
|
7692
|
+
peg$fail(peg$e71);
|
|
7145
7693
|
}
|
|
7146
7694
|
}
|
|
7147
7695
|
if (s0 === peg$FAILED) {
|
|
7148
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
7149
|
-
s0 = peg$
|
|
7696
|
+
if (input.substr(peg$currPos, 13) === peg$c66) {
|
|
7697
|
+
s0 = peg$c66;
|
|
7150
7698
|
peg$currPos += 13;
|
|
7151
7699
|
}
|
|
7152
7700
|
else {
|
|
7153
7701
|
s0 = peg$FAILED;
|
|
7154
7702
|
if (peg$silentFails === 0) {
|
|
7155
|
-
peg$fail(peg$
|
|
7703
|
+
peg$fail(peg$e72);
|
|
7156
7704
|
}
|
|
7157
7705
|
}
|
|
7158
7706
|
if (s0 === peg$FAILED) {
|
|
7159
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
7160
|
-
s0 = peg$
|
|
7707
|
+
if (input.substr(peg$currPos, 11) === peg$c67) {
|
|
7708
|
+
s0 = peg$c67;
|
|
7161
7709
|
peg$currPos += 11;
|
|
7162
7710
|
}
|
|
7163
7711
|
else {
|
|
7164
7712
|
s0 = peg$FAILED;
|
|
7165
7713
|
if (peg$silentFails === 0) {
|
|
7166
|
-
peg$fail(peg$
|
|
7714
|
+
peg$fail(peg$e73);
|
|
7167
7715
|
}
|
|
7168
7716
|
}
|
|
7169
7717
|
}
|
|
@@ -7188,245 +7736,245 @@ function peg$parse(input, options) {
|
|
|
7188
7736
|
}
|
|
7189
7737
|
function peg$parseColor() {
|
|
7190
7738
|
var s0;
|
|
7191
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7192
|
-
s0 = peg$
|
|
7739
|
+
if (input.substr(peg$currPos, 4) === peg$c68) {
|
|
7740
|
+
s0 = peg$c68;
|
|
7193
7741
|
peg$currPos += 4;
|
|
7194
7742
|
}
|
|
7195
7743
|
else {
|
|
7196
7744
|
s0 = peg$FAILED;
|
|
7197
7745
|
if (peg$silentFails === 0) {
|
|
7198
|
-
peg$fail(peg$
|
|
7746
|
+
peg$fail(peg$e74);
|
|
7199
7747
|
}
|
|
7200
7748
|
}
|
|
7201
7749
|
if (s0 === peg$FAILED) {
|
|
7202
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
7203
|
-
s0 = peg$
|
|
7750
|
+
if (input.substr(peg$currPos, 5) === peg$c69) {
|
|
7751
|
+
s0 = peg$c69;
|
|
7204
7752
|
peg$currPos += 5;
|
|
7205
7753
|
}
|
|
7206
7754
|
else {
|
|
7207
7755
|
s0 = peg$FAILED;
|
|
7208
7756
|
if (peg$silentFails === 0) {
|
|
7209
|
-
peg$fail(peg$
|
|
7757
|
+
peg$fail(peg$e75);
|
|
7210
7758
|
}
|
|
7211
7759
|
}
|
|
7212
7760
|
if (s0 === peg$FAILED) {
|
|
7213
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7214
|
-
s0 = peg$
|
|
7761
|
+
if (input.substr(peg$currPos, 4) === peg$c70) {
|
|
7762
|
+
s0 = peg$c70;
|
|
7215
7763
|
peg$currPos += 4;
|
|
7216
7764
|
}
|
|
7217
7765
|
else {
|
|
7218
7766
|
s0 = peg$FAILED;
|
|
7219
7767
|
if (peg$silentFails === 0) {
|
|
7220
|
-
peg$fail(peg$
|
|
7768
|
+
peg$fail(peg$e76);
|
|
7221
7769
|
}
|
|
7222
7770
|
}
|
|
7223
7771
|
if (s0 === peg$FAILED) {
|
|
7224
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7225
|
-
s0 = peg$
|
|
7772
|
+
if (input.substr(peg$currPos, 4) === peg$c71) {
|
|
7773
|
+
s0 = peg$c71;
|
|
7226
7774
|
peg$currPos += 4;
|
|
7227
7775
|
}
|
|
7228
7776
|
else {
|
|
7229
7777
|
s0 = peg$FAILED;
|
|
7230
7778
|
if (peg$silentFails === 0) {
|
|
7231
|
-
peg$fail(peg$
|
|
7779
|
+
peg$fail(peg$e77);
|
|
7232
7780
|
}
|
|
7233
7781
|
}
|
|
7234
7782
|
if (s0 === peg$FAILED) {
|
|
7235
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
7236
|
-
s0 = peg$
|
|
7783
|
+
if (input.substr(peg$currPos, 7) === peg$c72) {
|
|
7784
|
+
s0 = peg$c72;
|
|
7237
7785
|
peg$currPos += 7;
|
|
7238
7786
|
}
|
|
7239
7787
|
else {
|
|
7240
7788
|
s0 = peg$FAILED;
|
|
7241
7789
|
if (peg$silentFails === 0) {
|
|
7242
|
-
peg$fail(peg$
|
|
7790
|
+
peg$fail(peg$e78);
|
|
7243
7791
|
}
|
|
7244
7792
|
}
|
|
7245
7793
|
if (s0 === peg$FAILED) {
|
|
7246
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
7247
|
-
s0 = peg$
|
|
7794
|
+
if (input.substr(peg$currPos, 9) === peg$c73) {
|
|
7795
|
+
s0 = peg$c73;
|
|
7248
7796
|
peg$currPos += 9;
|
|
7249
7797
|
}
|
|
7250
7798
|
else {
|
|
7251
7799
|
s0 = peg$FAILED;
|
|
7252
7800
|
if (peg$silentFails === 0) {
|
|
7253
|
-
peg$fail(peg$
|
|
7801
|
+
peg$fail(peg$e79);
|
|
7254
7802
|
}
|
|
7255
7803
|
}
|
|
7256
7804
|
if (s0 === peg$FAILED) {
|
|
7257
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7258
|
-
s0 = peg$
|
|
7805
|
+
if (input.substr(peg$currPos, 4) === peg$c74) {
|
|
7806
|
+
s0 = peg$c74;
|
|
7259
7807
|
peg$currPos += 4;
|
|
7260
7808
|
}
|
|
7261
7809
|
else {
|
|
7262
7810
|
s0 = peg$FAILED;
|
|
7263
7811
|
if (peg$silentFails === 0) {
|
|
7264
|
-
peg$fail(peg$
|
|
7812
|
+
peg$fail(peg$e80);
|
|
7265
7813
|
}
|
|
7266
7814
|
}
|
|
7267
7815
|
if (s0 === peg$FAILED) {
|
|
7268
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
7269
|
-
s0 = peg$
|
|
7816
|
+
if (input.substr(peg$currPos, 8) === peg$c75) {
|
|
7817
|
+
s0 = peg$c75;
|
|
7270
7818
|
peg$currPos += 8;
|
|
7271
7819
|
}
|
|
7272
7820
|
else {
|
|
7273
7821
|
s0 = peg$FAILED;
|
|
7274
7822
|
if (peg$silentFails === 0) {
|
|
7275
|
-
peg$fail(peg$
|
|
7823
|
+
peg$fail(peg$e81);
|
|
7276
7824
|
}
|
|
7277
7825
|
}
|
|
7278
7826
|
if (s0 === peg$FAILED) {
|
|
7279
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
7280
|
-
s0 = peg$
|
|
7827
|
+
if (input.substr(peg$currPos, 5) === peg$c76) {
|
|
7828
|
+
s0 = peg$c76;
|
|
7281
7829
|
peg$currPos += 5;
|
|
7282
7830
|
}
|
|
7283
7831
|
else {
|
|
7284
7832
|
s0 = peg$FAILED;
|
|
7285
7833
|
if (peg$silentFails === 0) {
|
|
7286
|
-
peg$fail(peg$
|
|
7834
|
+
peg$fail(peg$e82);
|
|
7287
7835
|
}
|
|
7288
7836
|
}
|
|
7289
7837
|
if (s0 === peg$FAILED) {
|
|
7290
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7291
|
-
s0 = peg$
|
|
7838
|
+
if (input.substr(peg$currPos, 4) === peg$c77) {
|
|
7839
|
+
s0 = peg$c77;
|
|
7292
7840
|
peg$currPos += 4;
|
|
7293
7841
|
}
|
|
7294
7842
|
else {
|
|
7295
7843
|
s0 = peg$FAILED;
|
|
7296
7844
|
if (peg$silentFails === 0) {
|
|
7297
|
-
peg$fail(peg$
|
|
7845
|
+
peg$fail(peg$e83);
|
|
7298
7846
|
}
|
|
7299
7847
|
}
|
|
7300
7848
|
if (s0 === peg$FAILED) {
|
|
7301
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
7302
|
-
s0 = peg$
|
|
7849
|
+
if (input.substr(peg$currPos, 7) === peg$c78) {
|
|
7850
|
+
s0 = peg$c78;
|
|
7303
7851
|
peg$currPos += 7;
|
|
7304
7852
|
}
|
|
7305
7853
|
else {
|
|
7306
7854
|
s0 = peg$FAILED;
|
|
7307
7855
|
if (peg$silentFails === 0) {
|
|
7308
|
-
peg$fail(peg$
|
|
7856
|
+
peg$fail(peg$e84);
|
|
7309
7857
|
}
|
|
7310
7858
|
}
|
|
7311
7859
|
if (s0 === peg$FAILED) {
|
|
7312
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7313
|
-
s0 = peg$
|
|
7860
|
+
if (input.substr(peg$currPos, 6) === peg$c79) {
|
|
7861
|
+
s0 = peg$c79;
|
|
7314
7862
|
peg$currPos += 6;
|
|
7315
7863
|
}
|
|
7316
7864
|
else {
|
|
7317
7865
|
s0 = peg$FAILED;
|
|
7318
7866
|
if (peg$silentFails === 0) {
|
|
7319
|
-
peg$fail(peg$
|
|
7867
|
+
peg$fail(peg$e85);
|
|
7320
7868
|
}
|
|
7321
7869
|
}
|
|
7322
7870
|
if (s0 === peg$FAILED) {
|
|
7323
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7324
|
-
s0 = peg$
|
|
7871
|
+
if (input.substr(peg$currPos, 4) === peg$c80) {
|
|
7872
|
+
s0 = peg$c80;
|
|
7325
7873
|
peg$currPos += 4;
|
|
7326
7874
|
}
|
|
7327
7875
|
else {
|
|
7328
7876
|
s0 = peg$FAILED;
|
|
7329
7877
|
if (peg$silentFails === 0) {
|
|
7330
|
-
peg$fail(peg$
|
|
7878
|
+
peg$fail(peg$e86);
|
|
7331
7879
|
}
|
|
7332
7880
|
}
|
|
7333
7881
|
if (s0 === peg$FAILED) {
|
|
7334
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
7335
|
-
s0 = peg$
|
|
7882
|
+
if (input.substr(peg$currPos, 5) === peg$c81) {
|
|
7883
|
+
s0 = peg$c81;
|
|
7336
7884
|
peg$currPos += 5;
|
|
7337
7885
|
}
|
|
7338
7886
|
else {
|
|
7339
7887
|
s0 = peg$FAILED;
|
|
7340
7888
|
if (peg$silentFails === 0) {
|
|
7341
|
-
peg$fail(peg$
|
|
7889
|
+
peg$fail(peg$e87);
|
|
7342
7890
|
}
|
|
7343
7891
|
}
|
|
7344
7892
|
if (s0 === peg$FAILED) {
|
|
7345
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7346
|
-
s0 = peg$
|
|
7893
|
+
if (input.substr(peg$currPos, 6) === peg$c82) {
|
|
7894
|
+
s0 = peg$c82;
|
|
7347
7895
|
peg$currPos += 6;
|
|
7348
7896
|
}
|
|
7349
7897
|
else {
|
|
7350
7898
|
s0 = peg$FAILED;
|
|
7351
7899
|
if (peg$silentFails === 0) {
|
|
7352
|
-
peg$fail(peg$
|
|
7900
|
+
peg$fail(peg$e88);
|
|
7353
7901
|
}
|
|
7354
7902
|
}
|
|
7355
7903
|
if (s0 === peg$FAILED) {
|
|
7356
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7357
|
-
s0 = peg$
|
|
7904
|
+
if (input.substr(peg$currPos, 6) === peg$c83) {
|
|
7905
|
+
s0 = peg$c83;
|
|
7358
7906
|
peg$currPos += 6;
|
|
7359
7907
|
}
|
|
7360
7908
|
else {
|
|
7361
7909
|
s0 = peg$FAILED;
|
|
7362
7910
|
if (peg$silentFails === 0) {
|
|
7363
|
-
peg$fail(peg$
|
|
7911
|
+
peg$fail(peg$e89);
|
|
7364
7912
|
}
|
|
7365
7913
|
}
|
|
7366
7914
|
if (s0 === peg$FAILED) {
|
|
7367
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7368
|
-
s0 = peg$
|
|
7915
|
+
if (input.substr(peg$currPos, 3) === peg$c84) {
|
|
7916
|
+
s0 = peg$c84;
|
|
7369
7917
|
peg$currPos += 3;
|
|
7370
7918
|
}
|
|
7371
7919
|
else {
|
|
7372
7920
|
s0 = peg$FAILED;
|
|
7373
7921
|
if (peg$silentFails === 0) {
|
|
7374
|
-
peg$fail(peg$
|
|
7922
|
+
peg$fail(peg$e90);
|
|
7375
7923
|
}
|
|
7376
7924
|
}
|
|
7377
7925
|
if (s0 === peg$FAILED) {
|
|
7378
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7379
|
-
s0 = peg$
|
|
7926
|
+
if (input.substr(peg$currPos, 6) === peg$c85) {
|
|
7927
|
+
s0 = peg$c85;
|
|
7380
7928
|
peg$currPos += 6;
|
|
7381
7929
|
}
|
|
7382
7930
|
else {
|
|
7383
7931
|
s0 = peg$FAILED;
|
|
7384
7932
|
if (peg$silentFails === 0) {
|
|
7385
|
-
peg$fail(peg$
|
|
7933
|
+
peg$fail(peg$e91);
|
|
7386
7934
|
}
|
|
7387
7935
|
}
|
|
7388
7936
|
if (s0 === peg$FAILED) {
|
|
7389
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7390
|
-
s0 = peg$
|
|
7937
|
+
if (input.substr(peg$currPos, 4) === peg$c86) {
|
|
7938
|
+
s0 = peg$c86;
|
|
7391
7939
|
peg$currPos += 4;
|
|
7392
7940
|
}
|
|
7393
7941
|
else {
|
|
7394
7942
|
s0 = peg$FAILED;
|
|
7395
7943
|
if (peg$silentFails === 0) {
|
|
7396
|
-
peg$fail(peg$
|
|
7944
|
+
peg$fail(peg$e92);
|
|
7397
7945
|
}
|
|
7398
7946
|
}
|
|
7399
7947
|
if (s0 === peg$FAILED) {
|
|
7400
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7401
|
-
s0 = peg$
|
|
7948
|
+
if (input.substr(peg$currPos, 6) === peg$c87) {
|
|
7949
|
+
s0 = peg$c87;
|
|
7402
7950
|
peg$currPos += 6;
|
|
7403
7951
|
}
|
|
7404
7952
|
else {
|
|
7405
7953
|
s0 = peg$FAILED;
|
|
7406
7954
|
if (peg$silentFails === 0) {
|
|
7407
|
-
peg$fail(peg$
|
|
7955
|
+
peg$fail(peg$e93);
|
|
7408
7956
|
}
|
|
7409
7957
|
}
|
|
7410
7958
|
if (s0 === peg$FAILED) {
|
|
7411
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
7412
|
-
s0 = peg$
|
|
7959
|
+
if (input.substr(peg$currPos, 5) === peg$c88) {
|
|
7960
|
+
s0 = peg$c88;
|
|
7413
7961
|
peg$currPos += 5;
|
|
7414
7962
|
}
|
|
7415
7963
|
else {
|
|
7416
7964
|
s0 = peg$FAILED;
|
|
7417
7965
|
if (peg$silentFails === 0) {
|
|
7418
|
-
peg$fail(peg$
|
|
7966
|
+
peg$fail(peg$e94);
|
|
7419
7967
|
}
|
|
7420
7968
|
}
|
|
7421
7969
|
if (s0 === peg$FAILED) {
|
|
7422
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7423
|
-
s0 = peg$
|
|
7970
|
+
if (input.substr(peg$currPos, 6) === peg$c89) {
|
|
7971
|
+
s0 = peg$c89;
|
|
7424
7972
|
peg$currPos += 6;
|
|
7425
7973
|
}
|
|
7426
7974
|
else {
|
|
7427
7975
|
s0 = peg$FAILED;
|
|
7428
7976
|
if (peg$silentFails === 0) {
|
|
7429
|
-
peg$fail(peg$
|
|
7977
|
+
peg$fail(peg$e95);
|
|
7430
7978
|
}
|
|
7431
7979
|
}
|
|
7432
7980
|
}
|
|
@@ -7458,12 +8006,12 @@ function peg$parse(input, options) {
|
|
|
7458
8006
|
s0 = peg$currPos;
|
|
7459
8007
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
7460
8008
|
peg$savedPos = s0;
|
|
7461
|
-
s1 = peg$
|
|
8009
|
+
s1 = peg$f87(s1);
|
|
7462
8010
|
s0 = s1;
|
|
7463
8011
|
peg$silentFails--;
|
|
7464
8012
|
s1 = peg$FAILED;
|
|
7465
8013
|
if (peg$silentFails === 0) {
|
|
7466
|
-
peg$fail(peg$
|
|
8014
|
+
peg$fail(peg$e96);
|
|
7467
8015
|
}
|
|
7468
8016
|
return s0;
|
|
7469
8017
|
}
|
|
@@ -7488,11 +8036,11 @@ function peg$parse(input, options) {
|
|
|
7488
8036
|
}
|
|
7489
8037
|
}
|
|
7490
8038
|
peg$savedPos = s0;
|
|
7491
|
-
s0 = peg$
|
|
8039
|
+
s0 = peg$f88(s1, s2);
|
|
7492
8040
|
peg$silentFails--;
|
|
7493
8041
|
s1 = peg$FAILED;
|
|
7494
8042
|
if (peg$silentFails === 0) {
|
|
7495
|
-
peg$fail(peg$
|
|
8043
|
+
peg$fail(peg$e97);
|
|
7496
8044
|
}
|
|
7497
8045
|
return s0;
|
|
7498
8046
|
}
|
|
@@ -7502,7 +8050,7 @@ function peg$parse(input, options) {
|
|
|
7502
8050
|
s1 = peg$parseNL();
|
|
7503
8051
|
if (s1 !== peg$FAILED) {
|
|
7504
8052
|
peg$savedPos = s0;
|
|
7505
|
-
s1 = peg$
|
|
8053
|
+
s1 = peg$f89();
|
|
7506
8054
|
}
|
|
7507
8055
|
s0 = s1;
|
|
7508
8056
|
if (s0 === peg$FAILED) {
|
|
@@ -7645,7 +8193,7 @@ function peg$parse(input, options) {
|
|
|
7645
8193
|
}
|
|
7646
8194
|
if (s1 !== peg$FAILED) {
|
|
7647
8195
|
peg$savedPos = s0;
|
|
7648
|
-
s1 = peg$
|
|
8196
|
+
s1 = peg$f90(s1);
|
|
7649
8197
|
}
|
|
7650
8198
|
s0 = s1;
|
|
7651
8199
|
}
|
|
@@ -7654,13 +8202,13 @@ function peg$parse(input, options) {
|
|
|
7654
8202
|
function peg$parseBoldHalfTag() {
|
|
7655
8203
|
var s0;
|
|
7656
8204
|
if (input.charCodeAt(peg$currPos) === 42) {
|
|
7657
|
-
s0 = peg$
|
|
8205
|
+
s0 = peg$c90;
|
|
7658
8206
|
peg$currPos++;
|
|
7659
8207
|
}
|
|
7660
8208
|
else {
|
|
7661
8209
|
s0 = peg$FAILED;
|
|
7662
8210
|
if (peg$silentFails === 0) {
|
|
7663
|
-
peg$fail(peg$
|
|
8211
|
+
peg$fail(peg$e98);
|
|
7664
8212
|
}
|
|
7665
8213
|
}
|
|
7666
8214
|
return s0;
|
|
@@ -7668,13 +8216,13 @@ function peg$parse(input, options) {
|
|
|
7668
8216
|
function peg$parseItalicHalfTag() {
|
|
7669
8217
|
var s0;
|
|
7670
8218
|
if (input.charCodeAt(peg$currPos) === 95) {
|
|
7671
|
-
s0 = peg$
|
|
8219
|
+
s0 = peg$c91;
|
|
7672
8220
|
peg$currPos++;
|
|
7673
8221
|
}
|
|
7674
8222
|
else {
|
|
7675
8223
|
s0 = peg$FAILED;
|
|
7676
8224
|
if (peg$silentFails === 0) {
|
|
7677
|
-
peg$fail(peg$
|
|
8225
|
+
peg$fail(peg$e99);
|
|
7678
8226
|
}
|
|
7679
8227
|
}
|
|
7680
8228
|
return s0;
|
|
@@ -7682,13 +8230,13 @@ function peg$parse(input, options) {
|
|
|
7682
8230
|
function peg$parseLightHalfTag() {
|
|
7683
8231
|
var s0;
|
|
7684
8232
|
if (input.charCodeAt(peg$currPos) === 96) {
|
|
7685
|
-
s0 = peg$
|
|
8233
|
+
s0 = peg$c92;
|
|
7686
8234
|
peg$currPos++;
|
|
7687
8235
|
}
|
|
7688
8236
|
else {
|
|
7689
8237
|
s0 = peg$FAILED;
|
|
7690
8238
|
if (peg$silentFails === 0) {
|
|
7691
|
-
peg$fail(peg$
|
|
8239
|
+
peg$fail(peg$e100);
|
|
7692
8240
|
}
|
|
7693
8241
|
}
|
|
7694
8242
|
return s0;
|
|
@@ -7696,13 +8244,13 @@ function peg$parse(input, options) {
|
|
|
7696
8244
|
function peg$parseHighlightHalfTag() {
|
|
7697
8245
|
var s0;
|
|
7698
8246
|
if (input.charCodeAt(peg$currPos) === 33) {
|
|
7699
|
-
s0 = peg$
|
|
8247
|
+
s0 = peg$c93;
|
|
7700
8248
|
peg$currPos++;
|
|
7701
8249
|
}
|
|
7702
8250
|
else {
|
|
7703
8251
|
s0 = peg$FAILED;
|
|
7704
8252
|
if (peg$silentFails === 0) {
|
|
7705
|
-
peg$fail(peg$
|
|
8253
|
+
peg$fail(peg$e101);
|
|
7706
8254
|
}
|
|
7707
8255
|
}
|
|
7708
8256
|
return s0;
|
|
@@ -7793,14 +8341,14 @@ function peg$parse(input, options) {
|
|
|
7793
8341
|
}
|
|
7794
8342
|
function peg$parseBodyBitOpenTag() {
|
|
7795
8343
|
var s0;
|
|
7796
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
7797
|
-
s0 = peg$
|
|
8344
|
+
if (input.substr(peg$currPos, 2) === peg$c94) {
|
|
8345
|
+
s0 = peg$c94;
|
|
7798
8346
|
peg$currPos += 2;
|
|
7799
8347
|
}
|
|
7800
8348
|
else {
|
|
7801
8349
|
s0 = peg$FAILED;
|
|
7802
8350
|
if (peg$silentFails === 0) {
|
|
7803
|
-
peg$fail(peg$
|
|
8351
|
+
peg$fail(peg$e102);
|
|
7804
8352
|
}
|
|
7805
8353
|
}
|
|
7806
8354
|
return s0;
|
|
@@ -7808,13 +8356,13 @@ function peg$parse(input, options) {
|
|
|
7808
8356
|
function peg$parseBodyBitCloseTag() {
|
|
7809
8357
|
var s0;
|
|
7810
8358
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
7811
|
-
s0 = peg$
|
|
8359
|
+
s0 = peg$c95;
|
|
7812
8360
|
peg$currPos++;
|
|
7813
8361
|
}
|
|
7814
8362
|
else {
|
|
7815
8363
|
s0 = peg$FAILED;
|
|
7816
8364
|
if (peg$silentFails === 0) {
|
|
7817
|
-
peg$fail(peg$
|
|
8365
|
+
peg$fail(peg$e103);
|
|
7818
8366
|
}
|
|
7819
8367
|
}
|
|
7820
8368
|
return s0;
|
|
@@ -7864,7 +8412,7 @@ function peg$parse(input, options) {
|
|
|
7864
8412
|
s3 = peg$parseBodyBitCloseTag();
|
|
7865
8413
|
if (s3 !== peg$FAILED) {
|
|
7866
8414
|
peg$savedPos = s0;
|
|
7867
|
-
s0 = peg$
|
|
8415
|
+
s0 = peg$f91(s2);
|
|
7868
8416
|
}
|
|
7869
8417
|
else {
|
|
7870
8418
|
peg$currPos = s0;
|
|
@@ -8035,7 +8583,7 @@ function peg$parse(input, options) {
|
|
|
8035
8583
|
s5 = peg$parseBoldTag();
|
|
8036
8584
|
if (s5 !== peg$FAILED) {
|
|
8037
8585
|
peg$savedPos = s0;
|
|
8038
|
-
s0 = peg$
|
|
8586
|
+
s0 = peg$f92(s3);
|
|
8039
8587
|
}
|
|
8040
8588
|
else {
|
|
8041
8589
|
peg$currPos = s0;
|
|
@@ -8201,7 +8749,7 @@ function peg$parse(input, options) {
|
|
|
8201
8749
|
s5 = peg$parseItalicTag();
|
|
8202
8750
|
if (s5 !== peg$FAILED) {
|
|
8203
8751
|
peg$savedPos = s0;
|
|
8204
|
-
s0 = peg$
|
|
8752
|
+
s0 = peg$f93(s3);
|
|
8205
8753
|
}
|
|
8206
8754
|
else {
|
|
8207
8755
|
peg$currPos = s0;
|
|
@@ -8367,7 +8915,7 @@ function peg$parse(input, options) {
|
|
|
8367
8915
|
s5 = peg$parseLightTag();
|
|
8368
8916
|
if (s5 !== peg$FAILED) {
|
|
8369
8917
|
peg$savedPos = s0;
|
|
8370
|
-
s0 = peg$
|
|
8918
|
+
s0 = peg$f94(s3);
|
|
8371
8919
|
}
|
|
8372
8920
|
else {
|
|
8373
8921
|
peg$currPos = s0;
|
|
@@ -8533,7 +9081,7 @@ function peg$parse(input, options) {
|
|
|
8533
9081
|
s5 = peg$parseHighlightTag();
|
|
8534
9082
|
if (s5 !== peg$FAILED) {
|
|
8535
9083
|
peg$savedPos = s0;
|
|
8536
|
-
s0 = peg$
|
|
9084
|
+
s0 = peg$f95(s3);
|
|
8537
9085
|
}
|
|
8538
9086
|
else {
|
|
8539
9087
|
peg$currPos = s0;
|
|
@@ -8628,24 +9176,24 @@ function peg$parse(input, options) {
|
|
|
8628
9176
|
var s0, s1;
|
|
8629
9177
|
peg$silentFails++;
|
|
8630
9178
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
8631
|
-
s0 = peg$
|
|
9179
|
+
s0 = peg$c96;
|
|
8632
9180
|
peg$currPos++;
|
|
8633
9181
|
}
|
|
8634
9182
|
else {
|
|
8635
9183
|
s0 = peg$FAILED;
|
|
8636
9184
|
if (peg$silentFails === 0) {
|
|
8637
|
-
peg$fail(peg$
|
|
9185
|
+
peg$fail(peg$e105);
|
|
8638
9186
|
}
|
|
8639
9187
|
}
|
|
8640
9188
|
if (s0 === peg$FAILED) {
|
|
8641
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
8642
|
-
s0 = peg$
|
|
9189
|
+
if (input.substr(peg$currPos, 2) === peg$c97) {
|
|
9190
|
+
s0 = peg$c97;
|
|
8643
9191
|
peg$currPos += 2;
|
|
8644
9192
|
}
|
|
8645
9193
|
else {
|
|
8646
9194
|
s0 = peg$FAILED;
|
|
8647
9195
|
if (peg$silentFails === 0) {
|
|
8648
|
-
peg$fail(peg$
|
|
9196
|
+
peg$fail(peg$e106);
|
|
8649
9197
|
}
|
|
8650
9198
|
}
|
|
8651
9199
|
if (s0 === peg$FAILED) {
|
|
@@ -8656,7 +9204,7 @@ function peg$parse(input, options) {
|
|
|
8656
9204
|
else {
|
|
8657
9205
|
s0 = peg$FAILED;
|
|
8658
9206
|
if (peg$silentFails === 0) {
|
|
8659
|
-
peg$fail(peg$
|
|
9207
|
+
peg$fail(peg$e107);
|
|
8660
9208
|
}
|
|
8661
9209
|
}
|
|
8662
9210
|
}
|
|
@@ -8665,7 +9213,7 @@ function peg$parse(input, options) {
|
|
|
8665
9213
|
if (s0 === peg$FAILED) {
|
|
8666
9214
|
s1 = peg$FAILED;
|
|
8667
9215
|
if (peg$silentFails === 0) {
|
|
8668
|
-
peg$fail(peg$
|
|
9216
|
+
peg$fail(peg$e104);
|
|
8669
9217
|
}
|
|
8670
9218
|
}
|
|
8671
9219
|
return s0;
|
|
@@ -8700,7 +9248,7 @@ function peg$parse(input, options) {
|
|
|
8700
9248
|
peg$silentFails--;
|
|
8701
9249
|
s1 = peg$FAILED;
|
|
8702
9250
|
if (peg$silentFails === 0) {
|
|
8703
|
-
peg$fail(peg$
|
|
9251
|
+
peg$fail(peg$e108);
|
|
8704
9252
|
}
|
|
8705
9253
|
return s0;
|
|
8706
9254
|
}
|
|
@@ -8724,7 +9272,7 @@ function peg$parse(input, options) {
|
|
|
8724
9272
|
peg$silentFails--;
|
|
8725
9273
|
s1 = peg$FAILED;
|
|
8726
9274
|
if (peg$silentFails === 0) {
|
|
8727
|
-
peg$fail(peg$
|
|
9275
|
+
peg$fail(peg$e109);
|
|
8728
9276
|
}
|
|
8729
9277
|
return s0;
|
|
8730
9278
|
}
|
|
@@ -8748,7 +9296,7 @@ function peg$parse(input, options) {
|
|
|
8748
9296
|
if (s0 === peg$FAILED) {
|
|
8749
9297
|
s1 = peg$FAILED;
|
|
8750
9298
|
if (peg$silentFails === 0) {
|
|
8751
|
-
peg$fail(peg$
|
|
9299
|
+
peg$fail(peg$e110);
|
|
8752
9300
|
}
|
|
8753
9301
|
}
|
|
8754
9302
|
return s0;
|
|
@@ -8763,14 +9311,14 @@ function peg$parse(input, options) {
|
|
|
8763
9311
|
else {
|
|
8764
9312
|
s0 = peg$FAILED;
|
|
8765
9313
|
if (peg$silentFails === 0) {
|
|
8766
|
-
peg$fail(peg$
|
|
9314
|
+
peg$fail(peg$e112);
|
|
8767
9315
|
}
|
|
8768
9316
|
}
|
|
8769
9317
|
peg$silentFails--;
|
|
8770
9318
|
if (s0 === peg$FAILED) {
|
|
8771
9319
|
s1 = peg$FAILED;
|
|
8772
9320
|
if (peg$silentFails === 0) {
|
|
8773
|
-
peg$fail(peg$
|
|
9321
|
+
peg$fail(peg$e111);
|
|
8774
9322
|
}
|
|
8775
9323
|
}
|
|
8776
9324
|
return s0;
|
|
@@ -8784,7 +9332,7 @@ function peg$parse(input, options) {
|
|
|
8784
9332
|
else {
|
|
8785
9333
|
s0 = peg$FAILED;
|
|
8786
9334
|
if (peg$silentFails === 0) {
|
|
8787
|
-
peg$fail(peg$
|
|
9335
|
+
peg$fail(peg$e113);
|
|
8788
9336
|
}
|
|
8789
9337
|
}
|
|
8790
9338
|
return s0;
|
|
@@ -8798,7 +9346,7 @@ function peg$parse(input, options) {
|
|
|
8798
9346
|
else {
|
|
8799
9347
|
s0 = peg$FAILED;
|
|
8800
9348
|
if (peg$silentFails === 0) {
|
|
8801
|
-
peg$fail(peg$
|
|
9349
|
+
peg$fail(peg$e114);
|
|
8802
9350
|
}
|
|
8803
9351
|
}
|
|
8804
9352
|
return s0;
|
|
@@ -8812,7 +9360,7 @@ function peg$parse(input, options) {
|
|
|
8812
9360
|
else {
|
|
8813
9361
|
s0 = peg$FAILED;
|
|
8814
9362
|
if (peg$silentFails === 0) {
|
|
8815
|
-
peg$fail(peg$
|
|
9363
|
+
peg$fail(peg$e115);
|
|
8816
9364
|
}
|
|
8817
9365
|
}
|
|
8818
9366
|
return s0;
|
|
@@ -8848,38 +9396,38 @@ function peg$parse(input, options) {
|
|
|
8848
9396
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8;
|
|
8849
9397
|
s0 = peg$currPos;
|
|
8850
9398
|
s1 = peg$currPos;
|
|
8851
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
8852
|
-
s2 = peg$
|
|
9399
|
+
if (input.substr(peg$currPos, 4) === peg$c98) {
|
|
9400
|
+
s2 = peg$c98;
|
|
8853
9401
|
peg$currPos += 4;
|
|
8854
9402
|
}
|
|
8855
9403
|
else {
|
|
8856
9404
|
s2 = peg$FAILED;
|
|
8857
9405
|
if (peg$silentFails === 0) {
|
|
8858
|
-
peg$fail(peg$
|
|
9406
|
+
peg$fail(peg$e116);
|
|
8859
9407
|
}
|
|
8860
9408
|
}
|
|
8861
9409
|
if (s2 !== peg$FAILED) {
|
|
8862
9410
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
8863
|
-
s3 = peg$
|
|
9411
|
+
s3 = peg$c99;
|
|
8864
9412
|
peg$currPos++;
|
|
8865
9413
|
}
|
|
8866
9414
|
else {
|
|
8867
9415
|
s3 = peg$FAILED;
|
|
8868
9416
|
if (peg$silentFails === 0) {
|
|
8869
|
-
peg$fail(peg$
|
|
9417
|
+
peg$fail(peg$e117);
|
|
8870
9418
|
}
|
|
8871
9419
|
}
|
|
8872
9420
|
if (s3 === peg$FAILED) {
|
|
8873
9421
|
s3 = null;
|
|
8874
9422
|
}
|
|
8875
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
8876
|
-
s4 = peg$
|
|
9423
|
+
if (input.substr(peg$currPos, 3) === peg$c100) {
|
|
9424
|
+
s4 = peg$c100;
|
|
8877
9425
|
peg$currPos += 3;
|
|
8878
9426
|
}
|
|
8879
9427
|
else {
|
|
8880
9428
|
s4 = peg$FAILED;
|
|
8881
9429
|
if (peg$silentFails === 0) {
|
|
8882
|
-
peg$fail(peg$
|
|
9430
|
+
peg$fail(peg$e118);
|
|
8883
9431
|
}
|
|
8884
9432
|
}
|
|
8885
9433
|
if (s4 !== peg$FAILED) {
|
|
@@ -8966,38 +9514,38 @@ function peg$parse(input, options) {
|
|
|
8966
9514
|
s0 = peg$currPos;
|
|
8967
9515
|
s1 = peg$currPos;
|
|
8968
9516
|
s2 = peg$currPos;
|
|
8969
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
8970
|
-
s3 = peg$
|
|
9517
|
+
if (input.substr(peg$currPos, 4) === peg$c98) {
|
|
9518
|
+
s3 = peg$c98;
|
|
8971
9519
|
peg$currPos += 4;
|
|
8972
9520
|
}
|
|
8973
9521
|
else {
|
|
8974
9522
|
s3 = peg$FAILED;
|
|
8975
9523
|
if (peg$silentFails === 0) {
|
|
8976
|
-
peg$fail(peg$
|
|
9524
|
+
peg$fail(peg$e116);
|
|
8977
9525
|
}
|
|
8978
9526
|
}
|
|
8979
9527
|
if (s3 !== peg$FAILED) {
|
|
8980
9528
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
8981
|
-
s4 = peg$
|
|
9529
|
+
s4 = peg$c99;
|
|
8982
9530
|
peg$currPos++;
|
|
8983
9531
|
}
|
|
8984
9532
|
else {
|
|
8985
9533
|
s4 = peg$FAILED;
|
|
8986
9534
|
if (peg$silentFails === 0) {
|
|
8987
|
-
peg$fail(peg$
|
|
9535
|
+
peg$fail(peg$e117);
|
|
8988
9536
|
}
|
|
8989
9537
|
}
|
|
8990
9538
|
if (s4 === peg$FAILED) {
|
|
8991
9539
|
s4 = null;
|
|
8992
9540
|
}
|
|
8993
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
8994
|
-
s5 = peg$
|
|
9541
|
+
if (input.substr(peg$currPos, 3) === peg$c100) {
|
|
9542
|
+
s5 = peg$c100;
|
|
8995
9543
|
peg$currPos += 3;
|
|
8996
9544
|
}
|
|
8997
9545
|
else {
|
|
8998
9546
|
s5 = peg$FAILED;
|
|
8999
9547
|
if (peg$silentFails === 0) {
|
|
9000
|
-
peg$fail(peg$
|
|
9548
|
+
peg$fail(peg$e118);
|
|
9001
9549
|
}
|
|
9002
9550
|
}
|
|
9003
9551
|
if (s5 !== peg$FAILED) {
|
|
@@ -9014,14 +9562,14 @@ function peg$parse(input, options) {
|
|
|
9014
9562
|
s2 = peg$FAILED;
|
|
9015
9563
|
}
|
|
9016
9564
|
if (s2 === peg$FAILED) {
|
|
9017
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
9018
|
-
s2 = peg$
|
|
9565
|
+
if (input.substr(peg$currPos, 7) === peg$c101) {
|
|
9566
|
+
s2 = peg$c101;
|
|
9019
9567
|
peg$currPos += 7;
|
|
9020
9568
|
}
|
|
9021
9569
|
else {
|
|
9022
9570
|
s2 = peg$FAILED;
|
|
9023
9571
|
if (peg$silentFails === 0) {
|
|
9024
|
-
peg$fail(peg$
|
|
9572
|
+
peg$fail(peg$e119);
|
|
9025
9573
|
}
|
|
9026
9574
|
}
|
|
9027
9575
|
}
|
|
@@ -9093,7 +9641,7 @@ function peg$parse(input, options) {
|
|
|
9093
9641
|
}
|
|
9094
9642
|
s2 = input.substring(s2, peg$currPos);
|
|
9095
9643
|
peg$savedPos = s0;
|
|
9096
|
-
s0 = peg$
|
|
9644
|
+
s0 = peg$f96(s1, s2);
|
|
9097
9645
|
}
|
|
9098
9646
|
else {
|
|
9099
9647
|
peg$currPos = s0;
|
|
@@ -9110,7 +9658,7 @@ function peg$parse(input, options) {
|
|
|
9110
9658
|
else {
|
|
9111
9659
|
s0 = peg$FAILED;
|
|
9112
9660
|
if (peg$silentFails === 0) {
|
|
9113
|
-
peg$fail(peg$
|
|
9661
|
+
peg$fail(peg$e120);
|
|
9114
9662
|
}
|
|
9115
9663
|
}
|
|
9116
9664
|
return s0;
|