@gmb/bitmark-parser-generator 3.7.0 → 3.10.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 +1 -0
- package/dist/cjs/BitmarkParserGenerator.js.map +1 -1
- package/dist/cjs/ast/BaseBuilder.js +7 -6
- package/dist/cjs/ast/BaseBuilder.js.map +1 -1
- package/dist/cjs/ast/Builder.js +165 -160
- package/dist/cjs/ast/Builder.js.map +1 -1
- package/dist/cjs/ast/ResourceBuilder.js +68 -67
- package/dist/cjs/ast/ResourceBuilder.js.map +1 -1
- package/dist/cjs/breakscaping/Breakscape.js +1 -1
- package/dist/cjs/config/raw/bits.js +41 -0
- package/dist/cjs/config/raw/bits.js.map +1 -1
- package/dist/cjs/config/raw/groups.js +35 -0
- package/dist/cjs/config/raw/groups.js.map +1 -1
- package/dist/cjs/config/raw/properties.js +48 -0
- package/dist/cjs/config/raw/properties.js.map +1 -1
- package/dist/cjs/generated/build-info.js +1 -1
- package/dist/cjs/generated/build-info.js.map +1 -1
- package/dist/cjs/generated/parser/text/text-peggy-parser.js +960 -595
- package/dist/cjs/generated/parser/text/text-peggy-parser.js.map +1 -1
- package/dist/cjs/generator/json/JsonGenerator.js +7 -3
- package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
- package/dist/cjs/generator/text/TextGenerator.js +84 -38
- package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
- package/dist/cjs/model/ast/NodeType.js +19 -0
- package/dist/cjs/model/ast/NodeType.js.map +1 -1
- package/dist/cjs/model/config/enum/PropertyConfigKey.js +10 -0
- package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -1
- package/dist/cjs/model/enum/BitType.js +7 -0
- package/dist/cjs/model/enum/BitType.js.map +1 -1
- package/dist/cjs/model/enum/TextMarkType.js +2 -0
- package/dist/cjs/model/enum/TextMarkType.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js +28 -20
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js +11 -10
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +5 -6
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +5 -4
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +3 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +5 -4
- package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +20 -12
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js +4 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js +5 -5
- package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js +7 -7
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.js +5 -5
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +6 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js +6 -6
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +2 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js +2 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +19 -13
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js +4 -3
- package/dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +11 -10
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js +2 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js +2 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +6 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +19 -16
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/text/TextParser.js +7 -6
- package/dist/cjs/parser/text/TextParser.js.map +1 -1
- package/dist/cjs/utils/BitUtils.js +2 -2
- package/dist/cjs/utils/BitUtils.js.map +1 -1
- package/dist/esm/BitmarkParserGenerator.js +1 -0
- package/dist/esm/BitmarkParserGenerator.js.map +1 -1
- package/dist/esm/ast/BaseBuilder.js +7 -6
- package/dist/esm/ast/BaseBuilder.js.map +1 -1
- package/dist/esm/ast/Builder.js +165 -160
- package/dist/esm/ast/Builder.js.map +1 -1
- package/dist/esm/ast/ResourceBuilder.js +68 -67
- package/dist/esm/ast/ResourceBuilder.js.map +1 -1
- package/dist/esm/breakscaping/Breakscape.js +1 -1
- package/dist/esm/config/raw/bits.js +41 -0
- package/dist/esm/config/raw/bits.js.map +1 -1
- package/dist/esm/config/raw/groups.js +35 -0
- package/dist/esm/config/raw/groups.js.map +1 -1
- package/dist/esm/config/raw/properties.js +48 -0
- package/dist/esm/config/raw/properties.js.map +1 -1
- package/dist/esm/generated/build-info.js +1 -1
- package/dist/esm/generated/build-info.js.map +1 -1
- package/dist/esm/generated/parser/text/text-peggy-parser.js +960 -595
- package/dist/esm/generated/parser/text/text-peggy-parser.js.map +1 -1
- package/dist/esm/generator/json/JsonGenerator.js +7 -3
- package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
- package/dist/esm/generator/text/TextGenerator.js +84 -38
- package/dist/esm/generator/text/TextGenerator.js.map +1 -1
- package/dist/esm/model/ast/NodeType.js +19 -0
- package/dist/esm/model/ast/NodeType.js.map +1 -1
- package/dist/esm/model/config/enum/PropertyConfigKey.js +10 -0
- package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -1
- package/dist/esm/model/enum/BitType.js +7 -0
- package/dist/esm/model/enum/BitType.js.map +1 -1
- package/dist/esm/model/enum/TextMarkType.js +2 -0
- package/dist/esm/model/enum/TextMarkType.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js +28 -20
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js +11 -10
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +5 -6
- package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +5 -4
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +3 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +5 -4
- package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +20 -12
- package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js +4 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js +5 -5
- package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js +7 -7
- package/dist/esm/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.js +5 -5
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +6 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js +6 -6
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +2 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js +2 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +19 -13
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js +4 -3
- package/dist/esm/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +11 -10
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js +2 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js +2 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +6 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +19 -16
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/text/TextParser.js +7 -6
- package/dist/esm/parser/text/TextParser.js.map +1 -1
- package/dist/esm/utils/BitUtils.js +2 -2
- package/dist/esm/utils/BitUtils.js.map +1 -1
- package/dist/types/BitmarkParserGenerator.d.ts.map +1 -1
- package/dist/types/ast/BaseBuilder.d.ts +8 -1
- package/dist/types/ast/BaseBuilder.d.ts.map +1 -1
- package/dist/types/ast/Builder.d.ts +60 -50
- package/dist/types/ast/Builder.d.ts.map +1 -1
- package/dist/types/ast/ResourceBuilder.d.ts +21 -22
- package/dist/types/ast/ResourceBuilder.d.ts.map +1 -1
- package/dist/types/config/raw/bits.d.ts.map +1 -1
- package/dist/types/config/raw/groups.d.ts.map +1 -1
- package/dist/types/config/raw/properties.d.ts.map +1 -1
- package/dist/types/generated/parser/text/text-peggy-parser.d.ts.map +1 -1
- package/dist/types/generator/json/JsonGenerator.d.ts +3 -1
- package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
- package/dist/types/generator/text/TextGenerator.d.ts +4 -1
- package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
- package/dist/types/model/ast/NodeType.d.ts +38 -0
- package/dist/types/model/ast/NodeType.d.ts.map +1 -1
- package/dist/types/model/ast/Nodes.d.ts +10 -0
- package/dist/types/model/ast/Nodes.d.ts.map +1 -1
- package/dist/types/model/ast/TextNodes.d.ts +26 -9
- package/dist/types/model/ast/TextNodes.d.ts.map +1 -1
- package/dist/types/model/config/enum/ConfigKey.d.ts +20 -0
- package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -1
- package/dist/types/model/config/enum/PropertyConfigKey.d.ts +30 -0
- package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -1
- package/dist/types/model/enum/BitType.d.ts +14 -0
- package/dist/types/model/enum/BitType.d.ts.map +1 -1
- package/dist/types/model/enum/PropertyTag.d.ts +20 -0
- package/dist/types/model/enum/PropertyTag.d.ts.map +1 -1
- package/dist/types/model/enum/TextMarkType.d.ts +4 -0
- package/dist/types/model/enum/TextMarkType.d.ts.map +1 -1
- package/dist/types/model/json/BitJson.d.ts +10 -0
- package/dist/types/model/json/BitJson.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts +0 -2
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts +6 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts +3 -4
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/BodyContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.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/ClozeTagContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/FooterContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/FooterContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.d.ts +1 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.d.ts +1 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts +3 -5
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts +1 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/text/TextParser.d.ts +3 -2
- package/dist/types/parser/text/TextParser.d.ts.map +1 -1
- package/dist/types/utils/BitUtils.d.ts +2 -1
- package/dist/types/utils/BitUtils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
//
|
|
3
3
|
// https://peggyjs.org/
|
|
4
4
|
import { Breakscape } from "../../../breakscaping/Breakscape";
|
|
5
|
-
const VERSION = "8.
|
|
5
|
+
const VERSION = "8.21.2";
|
|
6
6
|
//Parser peggy.js
|
|
7
7
|
// parser options (parameter when running parser):
|
|
8
8
|
// allowedStartRules: ["bitmarkPlusPlus", "bitmarkPlus", "bitmarkMinusMinus", "bitmarkPlusString", "bitmarkMinusMinusString"]
|
|
@@ -314,70 +314,74 @@ function peg$parse(input, options) {
|
|
|
314
314
|
var peg$c30 = "=";
|
|
315
315
|
var peg$c31 = "|latex|";
|
|
316
316
|
var peg$c32 = "link:";
|
|
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 = "
|
|
324
|
-
var peg$c40 = "
|
|
325
|
-
var peg$c41 = "
|
|
326
|
-
var peg$c42 = "
|
|
327
|
-
var peg$c43 = "
|
|
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 = "
|
|
317
|
+
var peg$c33 = "extref:";
|
|
318
|
+
var peg$c34 = "provider:";
|
|
319
|
+
var peg$c35 = "xref:";
|
|
320
|
+
var peg$c36 = "\u25BA";
|
|
321
|
+
var peg$c37 = "symbol:";
|
|
322
|
+
var peg$c38 = "footnote:";
|
|
323
|
+
var peg$c39 = "footnote*:";
|
|
324
|
+
var peg$c40 = "var:";
|
|
325
|
+
var peg$c41 = "code:";
|
|
326
|
+
var peg$c42 = "timer";
|
|
327
|
+
var peg$c43 = "timer:";
|
|
328
|
+
var peg$c44 = "duration:";
|
|
329
|
+
var peg$c45 = "P";
|
|
330
|
+
var peg$c46 = "color:";
|
|
331
|
+
var peg$c47 = "|\u25BA";
|
|
332
|
+
var peg$c48 = "bold";
|
|
333
|
+
var peg$c49 = "italic";
|
|
334
|
+
var peg$c50 = "light";
|
|
335
|
+
var peg$c51 = "highlight";
|
|
336
|
+
var peg$c52 = "strike";
|
|
337
|
+
var peg$c53 = "subscript";
|
|
338
|
+
var peg$c54 = "superscript";
|
|
339
|
+
var peg$c55 = "ins";
|
|
340
|
+
var peg$c56 = "del";
|
|
341
|
+
var peg$c57 = "underline";
|
|
342
|
+
var peg$c58 = "doubleUnderline";
|
|
343
|
+
var peg$c59 = "circle";
|
|
344
|
+
var peg$c60 = "languageEm";
|
|
345
|
+
var peg$c61 = "userUnderline";
|
|
346
|
+
var peg$c62 = "userDoubleUnderline";
|
|
347
|
+
var peg$c63 = "userStrike";
|
|
348
|
+
var peg$c64 = "userCircle";
|
|
349
|
+
var peg$c65 = "userHighlight";
|
|
350
|
+
var peg$c66 = "notranslate";
|
|
351
|
+
var peg$c67 = "aqua";
|
|
352
|
+
var peg$c68 = "black";
|
|
353
|
+
var peg$c69 = "blue";
|
|
354
|
+
var peg$c70 = "pink";
|
|
355
|
+
var peg$c71 = "fuchsia";
|
|
356
|
+
var peg$c72 = "lightgrey";
|
|
357
|
+
var peg$c73 = "gray";
|
|
358
|
+
var peg$c74 = "darkgray";
|
|
359
|
+
var peg$c75 = "green";
|
|
360
|
+
var peg$c76 = "lime";
|
|
361
|
+
var peg$c77 = "magenta";
|
|
362
|
+
var peg$c78 = "maroon";
|
|
363
|
+
var peg$c79 = "navy";
|
|
364
|
+
var peg$c80 = "olive";
|
|
365
|
+
var peg$c81 = "orange";
|
|
366
|
+
var peg$c82 = "purple";
|
|
367
|
+
var peg$c83 = "red";
|
|
368
|
+
var peg$c84 = "silver";
|
|
369
|
+
var peg$c85 = "teal";
|
|
370
|
+
var peg$c86 = "violet";
|
|
371
|
+
var peg$c87 = "white";
|
|
372
|
+
var peg$c88 = "yellow";
|
|
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 = "\n";
|
|
380
|
+
var peg$c96 = "\r\n";
|
|
381
|
+
var peg$c97 = "http";
|
|
382
|
+
var peg$c98 = "s";
|
|
383
|
+
var peg$c99 = "://";
|
|
384
|
+
var peg$c100 = "mailto:";
|
|
381
385
|
var peg$r0 = /^[ \t]/;
|
|
382
386
|
var peg$r1 = /^[0-9]/;
|
|
383
387
|
var peg$r2 = /^[:|]/;
|
|
@@ -426,83 +430,87 @@ function peg$parse(input, options) {
|
|
|
426
430
|
var peg$e36 = peg$literalExpectation("=", false);
|
|
427
431
|
var peg$e37 = peg$literalExpectation("|latex|", false);
|
|
428
432
|
var peg$e38 = peg$literalExpectation("link:", false);
|
|
429
|
-
var peg$e39 = peg$literalExpectation("
|
|
430
|
-
var peg$e40 = peg$literalExpectation("
|
|
431
|
-
var peg$e41 = peg$literalExpectation("
|
|
432
|
-
var peg$e42 = peg$literalExpectation("
|
|
433
|
-
var peg$e43 = peg$literalExpectation("
|
|
434
|
-
var peg$e44 = peg$literalExpectation("
|
|
435
|
-
var peg$e45 = peg$literalExpectation("
|
|
436
|
-
var peg$e46 = peg$literalExpectation("
|
|
437
|
-
var peg$e47 = peg$literalExpectation("
|
|
438
|
-
var peg$e48 = peg$literalExpectation("
|
|
439
|
-
var peg$e49 = peg$literalExpectation("
|
|
440
|
-
var peg$e50 = peg$literalExpectation("
|
|
441
|
-
var peg$e51 = peg$literalExpectation("
|
|
442
|
-
var peg$e52 = peg$literalExpectation("
|
|
443
|
-
var peg$e53 = peg$literalExpectation("
|
|
444
|
-
var peg$e54 = peg$literalExpectation("
|
|
445
|
-
var peg$e55 = peg$literalExpectation("
|
|
446
|
-
var peg$e56 = peg$literalExpectation("
|
|
447
|
-
var peg$e57 = peg$literalExpectation("
|
|
448
|
-
var peg$e58 = peg$literalExpectation("
|
|
449
|
-
var peg$e59 = peg$literalExpectation("
|
|
450
|
-
var peg$e60 = peg$literalExpectation("
|
|
451
|
-
var peg$e61 = peg$literalExpectation("
|
|
452
|
-
var peg$e62 = peg$literalExpectation("
|
|
453
|
-
var peg$e63 = peg$literalExpectation("
|
|
454
|
-
var peg$e64 = peg$literalExpectation("
|
|
455
|
-
var peg$e65 = peg$literalExpectation("
|
|
456
|
-
var peg$e66 = peg$literalExpectation("
|
|
457
|
-
var peg$e67 = peg$literalExpectation("
|
|
458
|
-
var peg$e68 = peg$literalExpectation("
|
|
459
|
-
var peg$e69 = peg$literalExpectation("
|
|
460
|
-
var peg$e70 = peg$literalExpectation("
|
|
461
|
-
var peg$e71 = peg$literalExpectation("
|
|
462
|
-
var peg$e72 = peg$literalExpectation("
|
|
463
|
-
var peg$e73 = peg$literalExpectation("
|
|
464
|
-
var peg$e74 = peg$literalExpectation("
|
|
465
|
-
var peg$e75 = peg$literalExpectation("
|
|
466
|
-
var peg$e76 = peg$literalExpectation("
|
|
467
|
-
var peg$e77 = peg$literalExpectation("
|
|
468
|
-
var peg$e78 = peg$literalExpectation("
|
|
469
|
-
var peg$e79 = peg$literalExpectation("
|
|
470
|
-
var peg$e80 = peg$literalExpectation("
|
|
471
|
-
var peg$e81 = peg$literalExpectation("
|
|
472
|
-
var peg$e82 = peg$literalExpectation("
|
|
473
|
-
var peg$e83 = peg$literalExpectation("
|
|
474
|
-
var peg$e84 = peg$literalExpectation("
|
|
475
|
-
var peg$e85 = peg$literalExpectation("
|
|
476
|
-
var peg$e86 = peg$literalExpectation("
|
|
477
|
-
var peg$e87 = peg$literalExpectation("
|
|
478
|
-
var peg$e88 = peg$literalExpectation("
|
|
479
|
-
var peg$e89 = peg$literalExpectation("
|
|
480
|
-
var peg$e90 = peg$literalExpectation("
|
|
481
|
-
var peg$e91 = peg$
|
|
482
|
-
var peg$e92 = peg$
|
|
483
|
-
var peg$e93 = peg$literalExpectation("
|
|
484
|
-
var peg$e94 = peg$literalExpectation("
|
|
485
|
-
var peg$e95 = peg$
|
|
486
|
-
var peg$e96 = peg$
|
|
487
|
-
var peg$e97 = peg$literalExpectation("
|
|
488
|
-
var peg$e98 = peg$literalExpectation("
|
|
489
|
-
var peg$e99 = peg$
|
|
490
|
-
var peg$e100 = peg$literalExpectation("
|
|
491
|
-
var peg$e101 = peg$literalExpectation("
|
|
492
|
-
var peg$e102 = peg$
|
|
493
|
-
var peg$e103 = peg$otherExpectation("
|
|
494
|
-
var peg$e104 = peg$
|
|
495
|
-
var peg$e105 = peg$
|
|
496
|
-
var peg$e106 = peg$
|
|
497
|
-
var peg$e107 = peg$
|
|
498
|
-
var peg$e108 = peg$
|
|
499
|
-
var peg$e109 = peg$
|
|
500
|
-
var peg$e110 = peg$
|
|
501
|
-
var peg$e111 = peg$
|
|
502
|
-
var peg$e112 = peg$
|
|
503
|
-
var peg$e113 = peg$
|
|
504
|
-
var peg$e114 = peg$
|
|
505
|
-
var peg$e115 = peg$
|
|
433
|
+
var peg$e39 = peg$literalExpectation("extref:", false);
|
|
434
|
+
var peg$e40 = peg$literalExpectation("provider:", false);
|
|
435
|
+
var peg$e41 = peg$literalExpectation("xref:", false);
|
|
436
|
+
var peg$e42 = peg$literalExpectation("\u25BA", false);
|
|
437
|
+
var peg$e43 = peg$literalExpectation("symbol:", false);
|
|
438
|
+
var peg$e44 = peg$literalExpectation("footnote:", false);
|
|
439
|
+
var peg$e45 = peg$literalExpectation("footnote*:", false);
|
|
440
|
+
var peg$e46 = peg$literalExpectation("var:", false);
|
|
441
|
+
var peg$e47 = peg$literalExpectation("code:", false);
|
|
442
|
+
var peg$e48 = peg$literalExpectation("timer", false);
|
|
443
|
+
var peg$e49 = peg$literalExpectation("timer:", false);
|
|
444
|
+
var peg$e50 = peg$literalExpectation("duration:", false);
|
|
445
|
+
var peg$e51 = peg$literalExpectation("P", false);
|
|
446
|
+
var peg$e52 = peg$literalExpectation("color:", false);
|
|
447
|
+
var peg$e53 = peg$literalExpectation("|\u25BA", false);
|
|
448
|
+
var peg$e54 = peg$literalExpectation("bold", false);
|
|
449
|
+
var peg$e55 = peg$literalExpectation("italic", false);
|
|
450
|
+
var peg$e56 = peg$literalExpectation("light", false);
|
|
451
|
+
var peg$e57 = peg$literalExpectation("highlight", false);
|
|
452
|
+
var peg$e58 = peg$literalExpectation("strike", false);
|
|
453
|
+
var peg$e59 = peg$literalExpectation("subscript", false);
|
|
454
|
+
var peg$e60 = peg$literalExpectation("superscript", false);
|
|
455
|
+
var peg$e61 = peg$literalExpectation("ins", false);
|
|
456
|
+
var peg$e62 = peg$literalExpectation("del", false);
|
|
457
|
+
var peg$e63 = peg$literalExpectation("underline", false);
|
|
458
|
+
var peg$e64 = peg$literalExpectation("doubleUnderline", false);
|
|
459
|
+
var peg$e65 = peg$literalExpectation("circle", false);
|
|
460
|
+
var peg$e66 = peg$literalExpectation("languageEm", false);
|
|
461
|
+
var peg$e67 = peg$literalExpectation("userUnderline", false);
|
|
462
|
+
var peg$e68 = peg$literalExpectation("userDoubleUnderline", false);
|
|
463
|
+
var peg$e69 = peg$literalExpectation("userStrike", false);
|
|
464
|
+
var peg$e70 = peg$literalExpectation("userCircle", false);
|
|
465
|
+
var peg$e71 = peg$literalExpectation("userHighlight", false);
|
|
466
|
+
var peg$e72 = peg$literalExpectation("notranslate", false);
|
|
467
|
+
var peg$e73 = peg$literalExpectation("aqua", false);
|
|
468
|
+
var peg$e74 = peg$literalExpectation("black", false);
|
|
469
|
+
var peg$e75 = peg$literalExpectation("blue", false);
|
|
470
|
+
var peg$e76 = peg$literalExpectation("pink", false);
|
|
471
|
+
var peg$e77 = peg$literalExpectation("fuchsia", false);
|
|
472
|
+
var peg$e78 = peg$literalExpectation("lightgrey", false);
|
|
473
|
+
var peg$e79 = peg$literalExpectation("gray", false);
|
|
474
|
+
var peg$e80 = peg$literalExpectation("darkgray", false);
|
|
475
|
+
var peg$e81 = peg$literalExpectation("green", false);
|
|
476
|
+
var peg$e82 = peg$literalExpectation("lime", false);
|
|
477
|
+
var peg$e83 = peg$literalExpectation("magenta", false);
|
|
478
|
+
var peg$e84 = peg$literalExpectation("maroon", false);
|
|
479
|
+
var peg$e85 = peg$literalExpectation("navy", false);
|
|
480
|
+
var peg$e86 = peg$literalExpectation("olive", false);
|
|
481
|
+
var peg$e87 = peg$literalExpectation("orange", false);
|
|
482
|
+
var peg$e88 = peg$literalExpectation("purple", false);
|
|
483
|
+
var peg$e89 = peg$literalExpectation("red", false);
|
|
484
|
+
var peg$e90 = peg$literalExpectation("silver", false);
|
|
485
|
+
var peg$e91 = peg$literalExpectation("teal", false);
|
|
486
|
+
var peg$e92 = peg$literalExpectation("violet", false);
|
|
487
|
+
var peg$e93 = peg$literalExpectation("white", false);
|
|
488
|
+
var peg$e94 = peg$literalExpectation("yellow", false);
|
|
489
|
+
var peg$e95 = peg$otherExpectation("MinimalStyledText");
|
|
490
|
+
var peg$e96 = peg$otherExpectation("MinimalStyledString");
|
|
491
|
+
var peg$e97 = peg$literalExpectation("*", false);
|
|
492
|
+
var peg$e98 = peg$literalExpectation("_", false);
|
|
493
|
+
var peg$e99 = peg$literalExpectation("`", false);
|
|
494
|
+
var peg$e100 = peg$literalExpectation("!", false);
|
|
495
|
+
var peg$e101 = peg$literalExpectation("[!", false);
|
|
496
|
+
var peg$e102 = peg$literalExpectation("]", false);
|
|
497
|
+
var peg$e103 = peg$otherExpectation("Line Terminator");
|
|
498
|
+
var peg$e104 = peg$literalExpectation("\n", false);
|
|
499
|
+
var peg$e105 = peg$literalExpectation("\r\n", false);
|
|
500
|
+
var peg$e106 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false);
|
|
501
|
+
var peg$e107 = peg$otherExpectation("whitespace in line");
|
|
502
|
+
var peg$e108 = peg$otherExpectation("space");
|
|
503
|
+
var peg$e109 = peg$otherExpectation("language tag separator");
|
|
504
|
+
var peg$e110 = peg$otherExpectation("white space, separator");
|
|
505
|
+
var peg$e111 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
|
|
506
|
+
var peg$e112 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
|
|
507
|
+
var peg$e113 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
|
|
508
|
+
var peg$e114 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
|
|
509
|
+
var peg$e115 = peg$literalExpectation("http", false);
|
|
510
|
+
var peg$e116 = peg$literalExpectation("s", false);
|
|
511
|
+
var peg$e117 = peg$literalExpectation("://", false);
|
|
512
|
+
var peg$e118 = peg$literalExpectation("mailto:", false);
|
|
513
|
+
var peg$e119 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false);
|
|
506
514
|
var peg$f0 = function () { return VERSION; };
|
|
507
515
|
var peg$f1 = function (b) { return Object.assign({}, b); };
|
|
508
516
|
var peg$f2 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); return lb_; };
|
|
@@ -658,30 +666,33 @@ function peg$parse(input, options) {
|
|
|
658
666
|
var peg$f62 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
|
|
659
667
|
var peg$f63 = function (ch) { return ch; };
|
|
660
668
|
var peg$f64 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
|
|
661
|
-
var peg$f65 = function (str,
|
|
662
|
-
var peg$f66 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference:
|
|
663
|
-
var peg$f67 = function (str) { return { type: '
|
|
664
|
-
var peg$f68 = function (str) { return { type: '
|
|
665
|
-
var peg$f69 = function (str) { return { type: '
|
|
666
|
-
var peg$f70 = function (str) { return { type: '
|
|
667
|
-
var peg$f71 = function () { return { type: '
|
|
668
|
-
var peg$f72 = function (
|
|
669
|
-
var peg$f73 = function () { return { type: '
|
|
670
|
-
var peg$f74 = function (
|
|
671
|
-
var peg$f75 = function (
|
|
672
|
-
var peg$f76 = function (
|
|
673
|
-
var peg$f77 = function (
|
|
674
|
-
var peg$f78 = function (
|
|
675
|
-
var peg$f79 = function (
|
|
676
|
-
var peg$f80 = function (
|
|
677
|
-
var peg$f81 = function () { return
|
|
678
|
-
var peg$f82 = function (
|
|
679
|
-
var peg$f83 = function (
|
|
680
|
-
var peg$f84 = function (
|
|
681
|
-
var peg$f85 = function (t) { return {
|
|
682
|
-
var peg$f86 = function (t) { return {
|
|
683
|
-
var peg$f87 = function (t) { return { marks: [{ type: "
|
|
684
|
-
var peg$f88 = function (
|
|
669
|
+
var peg$f65 = function (str, rc, p) { return { type: 'extref', attrs: { extref: str.trim(), references: rc, provider: p.trim() } }; };
|
|
670
|
+
var peg$f66 = function (str, str2) { return { type: 'xref', attrs: { xref: str.trim(), reference: str2.trim() } }; };
|
|
671
|
+
var peg$f67 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference: '' } }; };
|
|
672
|
+
var peg$f68 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
|
|
673
|
+
var peg$f69 = function (str, ch) { const chain = Object.assign({}, ...ch); return { type: 'symbol', attrs: Object.assign({ src: str.trim() }, chain) }; };
|
|
674
|
+
var peg$f70 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
675
|
+
var peg$f71 = function (str) { return { type: 'footnote*', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
676
|
+
var peg$f72 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
|
|
677
|
+
var peg$f73 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
|
|
678
|
+
var peg$f74 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
|
|
679
|
+
var peg$f75 = function () { return { type: 'timer', attrs: { name: "" } }; };
|
|
680
|
+
var peg$f76 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
|
|
681
|
+
var peg$f77 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
|
|
682
|
+
var peg$f78 = function (color) { return { type: 'color', attrs: { color } }; };
|
|
683
|
+
var peg$f79 = function (style) { return { type: style }; };
|
|
684
|
+
var peg$f80 = function (str) { return { type: "comment", comment: str }; };
|
|
685
|
+
var peg$f81 = function (r) { return r.trim(); };
|
|
686
|
+
var peg$f82 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
|
|
687
|
+
var peg$f83 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
|
|
688
|
+
var peg$f84 = function () { return { "type": "hardBreak" }; };
|
|
689
|
+
var peg$f85 = function (t) { return { text: unbreakscape(t), type: "text" }; };
|
|
690
|
+
var peg$f86 = function (t) { return { index: +t, type: "bit" }; };
|
|
691
|
+
var peg$f87 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
|
|
692
|
+
var peg$f88 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
|
|
693
|
+
var peg$f89 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
|
|
694
|
+
var peg$f90 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
|
|
695
|
+
var peg$f91 = function (pr, t) { return { pr, t }; };
|
|
685
696
|
var peg$currPos = options.peg$currPos | 0;
|
|
686
697
|
var peg$savedPos = peg$currPos;
|
|
687
698
|
var peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -5397,7 +5408,7 @@ function peg$parse(input, options) {
|
|
|
5397
5408
|
return s0;
|
|
5398
5409
|
}
|
|
5399
5410
|
function peg$parseAttrChainItem() {
|
|
5400
|
-
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
5411
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
5401
5412
|
s0 = peg$currPos;
|
|
5402
5413
|
if (input.substr(peg$currPos, 5) === peg$c32) {
|
|
5403
5414
|
s1 = peg$c32;
|
|
@@ -5486,9 +5497,9 @@ function peg$parse(input, options) {
|
|
|
5486
5497
|
}
|
|
5487
5498
|
if (s0 === peg$FAILED) {
|
|
5488
5499
|
s0 = peg$currPos;
|
|
5489
|
-
if (input.substr(peg$currPos,
|
|
5500
|
+
if (input.substr(peg$currPos, 7) === peg$c33) {
|
|
5490
5501
|
s1 = peg$c33;
|
|
5491
|
-
peg$currPos +=
|
|
5502
|
+
peg$currPos += 7;
|
|
5492
5503
|
}
|
|
5493
5504
|
else {
|
|
5494
5505
|
s1 = peg$FAILED;
|
|
@@ -5557,83 +5568,84 @@ function peg$parse(input, options) {
|
|
|
5557
5568
|
}
|
|
5558
5569
|
}
|
|
5559
5570
|
s2 = input.substring(s2, peg$currPos);
|
|
5560
|
-
s3 = peg$
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
peg$
|
|
5571
|
+
s3 = peg$parseRefsChain();
|
|
5572
|
+
s4 = peg$parseBlockTag();
|
|
5573
|
+
if (s4 !== peg$FAILED) {
|
|
5574
|
+
if (input.substr(peg$currPos, 9) === peg$c34) {
|
|
5575
|
+
s5 = peg$c34;
|
|
5576
|
+
peg$currPos += 9;
|
|
5565
5577
|
}
|
|
5566
5578
|
else {
|
|
5567
|
-
|
|
5579
|
+
s5 = peg$FAILED;
|
|
5568
5580
|
if (peg$silentFails === 0) {
|
|
5569
5581
|
peg$fail(peg$e40);
|
|
5570
5582
|
}
|
|
5571
5583
|
}
|
|
5572
|
-
if (
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
s7 = peg$currPos;
|
|
5584
|
+
if (s5 !== peg$FAILED) {
|
|
5585
|
+
s6 = peg$currPos;
|
|
5586
|
+
s7 = [];
|
|
5576
5587
|
s8 = peg$currPos;
|
|
5588
|
+
s9 = peg$currPos;
|
|
5577
5589
|
peg$silentFails++;
|
|
5578
|
-
|
|
5590
|
+
s10 = peg$parseBlockTag();
|
|
5579
5591
|
peg$silentFails--;
|
|
5580
|
-
if (
|
|
5581
|
-
|
|
5592
|
+
if (s10 === peg$FAILED) {
|
|
5593
|
+
s9 = undefined;
|
|
5582
5594
|
}
|
|
5583
5595
|
else {
|
|
5584
|
-
peg$currPos =
|
|
5585
|
-
|
|
5596
|
+
peg$currPos = s9;
|
|
5597
|
+
s9 = peg$FAILED;
|
|
5586
5598
|
}
|
|
5587
|
-
if (
|
|
5588
|
-
|
|
5589
|
-
if (
|
|
5590
|
-
|
|
5591
|
-
|
|
5599
|
+
if (s9 !== peg$FAILED) {
|
|
5600
|
+
s10 = peg$parsechar();
|
|
5601
|
+
if (s10 !== peg$FAILED) {
|
|
5602
|
+
s9 = [s9, s10];
|
|
5603
|
+
s8 = s9;
|
|
5592
5604
|
}
|
|
5593
5605
|
else {
|
|
5594
|
-
peg$currPos =
|
|
5595
|
-
|
|
5606
|
+
peg$currPos = s8;
|
|
5607
|
+
s8 = peg$FAILED;
|
|
5596
5608
|
}
|
|
5597
5609
|
}
|
|
5598
5610
|
else {
|
|
5599
|
-
peg$currPos =
|
|
5600
|
-
|
|
5611
|
+
peg$currPos = s8;
|
|
5612
|
+
s8 = peg$FAILED;
|
|
5601
5613
|
}
|
|
5602
|
-
while (
|
|
5603
|
-
|
|
5604
|
-
s7 = peg$currPos;
|
|
5614
|
+
while (s8 !== peg$FAILED) {
|
|
5615
|
+
s7.push(s8);
|
|
5605
5616
|
s8 = peg$currPos;
|
|
5617
|
+
s9 = peg$currPos;
|
|
5606
5618
|
peg$silentFails++;
|
|
5607
|
-
|
|
5619
|
+
s10 = peg$parseBlockTag();
|
|
5608
5620
|
peg$silentFails--;
|
|
5609
|
-
if (
|
|
5610
|
-
|
|
5621
|
+
if (s10 === peg$FAILED) {
|
|
5622
|
+
s9 = undefined;
|
|
5611
5623
|
}
|
|
5612
5624
|
else {
|
|
5613
|
-
peg$currPos =
|
|
5614
|
-
|
|
5625
|
+
peg$currPos = s9;
|
|
5626
|
+
s9 = peg$FAILED;
|
|
5615
5627
|
}
|
|
5616
|
-
if (
|
|
5617
|
-
|
|
5618
|
-
if (
|
|
5619
|
-
|
|
5620
|
-
|
|
5628
|
+
if (s9 !== peg$FAILED) {
|
|
5629
|
+
s10 = peg$parsechar();
|
|
5630
|
+
if (s10 !== peg$FAILED) {
|
|
5631
|
+
s9 = [s9, s10];
|
|
5632
|
+
s8 = s9;
|
|
5621
5633
|
}
|
|
5622
5634
|
else {
|
|
5623
|
-
peg$currPos =
|
|
5624
|
-
|
|
5635
|
+
peg$currPos = s8;
|
|
5636
|
+
s8 = peg$FAILED;
|
|
5625
5637
|
}
|
|
5626
5638
|
}
|
|
5627
5639
|
else {
|
|
5628
|
-
peg$currPos =
|
|
5629
|
-
|
|
5640
|
+
peg$currPos = s8;
|
|
5641
|
+
s8 = peg$FAILED;
|
|
5630
5642
|
}
|
|
5631
5643
|
}
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
if (
|
|
5644
|
+
s6 = input.substring(s6, peg$currPos);
|
|
5645
|
+
s7 = peg$parseBlockTag();
|
|
5646
|
+
if (s7 !== peg$FAILED) {
|
|
5635
5647
|
peg$savedPos = s0;
|
|
5636
|
-
s0 = peg$f65(s2,
|
|
5648
|
+
s0 = peg$f65(s2, s3, s6);
|
|
5637
5649
|
}
|
|
5638
5650
|
else {
|
|
5639
5651
|
peg$currPos = s0;
|
|
@@ -5656,14 +5668,14 @@ function peg$parse(input, options) {
|
|
|
5656
5668
|
}
|
|
5657
5669
|
if (s0 === peg$FAILED) {
|
|
5658
5670
|
s0 = peg$currPos;
|
|
5659
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5660
|
-
s1 = peg$
|
|
5671
|
+
if (input.substr(peg$currPos, 5) === peg$c35) {
|
|
5672
|
+
s1 = peg$c35;
|
|
5661
5673
|
peg$currPos += 5;
|
|
5662
5674
|
}
|
|
5663
5675
|
else {
|
|
5664
5676
|
s1 = peg$FAILED;
|
|
5665
5677
|
if (peg$silentFails === 0) {
|
|
5666
|
-
peg$fail(peg$
|
|
5678
|
+
peg$fail(peg$e41);
|
|
5667
5679
|
}
|
|
5668
5680
|
}
|
|
5669
5681
|
if (s1 !== peg$FAILED) {
|
|
@@ -5729,8 +5741,91 @@ function peg$parse(input, options) {
|
|
|
5729
5741
|
s2 = input.substring(s2, peg$currPos);
|
|
5730
5742
|
s3 = peg$parseBlockTag();
|
|
5731
5743
|
if (s3 !== peg$FAILED) {
|
|
5732
|
-
peg$
|
|
5733
|
-
|
|
5744
|
+
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5745
|
+
s4 = peg$c36;
|
|
5746
|
+
peg$currPos++;
|
|
5747
|
+
}
|
|
5748
|
+
else {
|
|
5749
|
+
s4 = peg$FAILED;
|
|
5750
|
+
if (peg$silentFails === 0) {
|
|
5751
|
+
peg$fail(peg$e42);
|
|
5752
|
+
}
|
|
5753
|
+
}
|
|
5754
|
+
if (s4 !== peg$FAILED) {
|
|
5755
|
+
s5 = peg$currPos;
|
|
5756
|
+
s6 = [];
|
|
5757
|
+
s7 = peg$currPos;
|
|
5758
|
+
s8 = peg$currPos;
|
|
5759
|
+
peg$silentFails++;
|
|
5760
|
+
s9 = peg$parseBlockTag();
|
|
5761
|
+
peg$silentFails--;
|
|
5762
|
+
if (s9 === peg$FAILED) {
|
|
5763
|
+
s8 = undefined;
|
|
5764
|
+
}
|
|
5765
|
+
else {
|
|
5766
|
+
peg$currPos = s8;
|
|
5767
|
+
s8 = peg$FAILED;
|
|
5768
|
+
}
|
|
5769
|
+
if (s8 !== peg$FAILED) {
|
|
5770
|
+
s9 = peg$parsechar();
|
|
5771
|
+
if (s9 !== peg$FAILED) {
|
|
5772
|
+
s8 = [s8, s9];
|
|
5773
|
+
s7 = s8;
|
|
5774
|
+
}
|
|
5775
|
+
else {
|
|
5776
|
+
peg$currPos = s7;
|
|
5777
|
+
s7 = peg$FAILED;
|
|
5778
|
+
}
|
|
5779
|
+
}
|
|
5780
|
+
else {
|
|
5781
|
+
peg$currPos = s7;
|
|
5782
|
+
s7 = peg$FAILED;
|
|
5783
|
+
}
|
|
5784
|
+
while (s7 !== peg$FAILED) {
|
|
5785
|
+
s6.push(s7);
|
|
5786
|
+
s7 = peg$currPos;
|
|
5787
|
+
s8 = peg$currPos;
|
|
5788
|
+
peg$silentFails++;
|
|
5789
|
+
s9 = peg$parseBlockTag();
|
|
5790
|
+
peg$silentFails--;
|
|
5791
|
+
if (s9 === peg$FAILED) {
|
|
5792
|
+
s8 = undefined;
|
|
5793
|
+
}
|
|
5794
|
+
else {
|
|
5795
|
+
peg$currPos = s8;
|
|
5796
|
+
s8 = peg$FAILED;
|
|
5797
|
+
}
|
|
5798
|
+
if (s8 !== peg$FAILED) {
|
|
5799
|
+
s9 = peg$parsechar();
|
|
5800
|
+
if (s9 !== peg$FAILED) {
|
|
5801
|
+
s8 = [s8, s9];
|
|
5802
|
+
s7 = s8;
|
|
5803
|
+
}
|
|
5804
|
+
else {
|
|
5805
|
+
peg$currPos = s7;
|
|
5806
|
+
s7 = peg$FAILED;
|
|
5807
|
+
}
|
|
5808
|
+
}
|
|
5809
|
+
else {
|
|
5810
|
+
peg$currPos = s7;
|
|
5811
|
+
s7 = peg$FAILED;
|
|
5812
|
+
}
|
|
5813
|
+
}
|
|
5814
|
+
s5 = input.substring(s5, peg$currPos);
|
|
5815
|
+
s6 = peg$parseBlockTag();
|
|
5816
|
+
if (s6 !== peg$FAILED) {
|
|
5817
|
+
peg$savedPos = s0;
|
|
5818
|
+
s0 = peg$f66(s2, s5);
|
|
5819
|
+
}
|
|
5820
|
+
else {
|
|
5821
|
+
peg$currPos = s0;
|
|
5822
|
+
s0 = peg$FAILED;
|
|
5823
|
+
}
|
|
5824
|
+
}
|
|
5825
|
+
else {
|
|
5826
|
+
peg$currPos = s0;
|
|
5827
|
+
s0 = peg$FAILED;
|
|
5828
|
+
}
|
|
5734
5829
|
}
|
|
5735
5830
|
else {
|
|
5736
5831
|
peg$currPos = s0;
|
|
@@ -5743,14 +5838,14 @@ function peg$parse(input, options) {
|
|
|
5743
5838
|
}
|
|
5744
5839
|
if (s0 === peg$FAILED) {
|
|
5745
5840
|
s0 = peg$currPos;
|
|
5746
|
-
if (input.
|
|
5747
|
-
s1 = peg$
|
|
5748
|
-
peg$currPos
|
|
5841
|
+
if (input.substr(peg$currPos, 5) === peg$c35) {
|
|
5842
|
+
s1 = peg$c35;
|
|
5843
|
+
peg$currPos += 5;
|
|
5749
5844
|
}
|
|
5750
5845
|
else {
|
|
5751
5846
|
s1 = peg$FAILED;
|
|
5752
5847
|
if (peg$silentFails === 0) {
|
|
5753
|
-
peg$fail(peg$
|
|
5848
|
+
peg$fail(peg$e41);
|
|
5754
5849
|
}
|
|
5755
5850
|
}
|
|
5756
5851
|
if (s1 !== peg$FAILED) {
|
|
@@ -5830,14 +5925,14 @@ function peg$parse(input, options) {
|
|
|
5830
5925
|
}
|
|
5831
5926
|
if (s0 === peg$FAILED) {
|
|
5832
5927
|
s0 = peg$currPos;
|
|
5833
|
-
if (input.
|
|
5834
|
-
s1 = peg$
|
|
5835
|
-
peg$currPos
|
|
5928
|
+
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5929
|
+
s1 = peg$c36;
|
|
5930
|
+
peg$currPos++;
|
|
5836
5931
|
}
|
|
5837
5932
|
else {
|
|
5838
5933
|
s1 = peg$FAILED;
|
|
5839
5934
|
if (peg$silentFails === 0) {
|
|
5840
|
-
peg$fail(peg$
|
|
5935
|
+
peg$fail(peg$e42);
|
|
5841
5936
|
}
|
|
5842
5937
|
}
|
|
5843
5938
|
if (s1 !== peg$FAILED) {
|
|
@@ -5917,14 +6012,14 @@ function peg$parse(input, options) {
|
|
|
5917
6012
|
}
|
|
5918
6013
|
if (s0 === peg$FAILED) {
|
|
5919
6014
|
s0 = peg$currPos;
|
|
5920
|
-
if (input.substr(peg$currPos,
|
|
5921
|
-
s1 = peg$
|
|
5922
|
-
peg$currPos +=
|
|
6015
|
+
if (input.substr(peg$currPos, 7) === peg$c37) {
|
|
6016
|
+
s1 = peg$c37;
|
|
6017
|
+
peg$currPos += 7;
|
|
5923
6018
|
}
|
|
5924
6019
|
else {
|
|
5925
6020
|
s1 = peg$FAILED;
|
|
5926
6021
|
if (peg$silentFails === 0) {
|
|
5927
|
-
peg$fail(peg$
|
|
6022
|
+
peg$fail(peg$e43);
|
|
5928
6023
|
}
|
|
5929
6024
|
}
|
|
5930
6025
|
if (s1 !== peg$FAILED) {
|
|
@@ -5990,8 +6085,9 @@ function peg$parse(input, options) {
|
|
|
5990
6085
|
s2 = input.substring(s2, peg$currPos);
|
|
5991
6086
|
s3 = peg$parseBlockTag();
|
|
5992
6087
|
if (s3 !== peg$FAILED) {
|
|
6088
|
+
s4 = peg$parseMediaChain();
|
|
5993
6089
|
peg$savedPos = s0;
|
|
5994
|
-
s0 = peg$f69(s2);
|
|
6090
|
+
s0 = peg$f69(s2, s4);
|
|
5995
6091
|
}
|
|
5996
6092
|
else {
|
|
5997
6093
|
peg$currPos = s0;
|
|
@@ -6004,14 +6100,14 @@ function peg$parse(input, options) {
|
|
|
6004
6100
|
}
|
|
6005
6101
|
if (s0 === peg$FAILED) {
|
|
6006
6102
|
s0 = peg$currPos;
|
|
6007
|
-
if (input.substr(peg$currPos,
|
|
6008
|
-
s1 = peg$
|
|
6009
|
-
peg$currPos +=
|
|
6103
|
+
if (input.substr(peg$currPos, 9) === peg$c38) {
|
|
6104
|
+
s1 = peg$c38;
|
|
6105
|
+
peg$currPos += 9;
|
|
6010
6106
|
}
|
|
6011
6107
|
else {
|
|
6012
6108
|
s1 = peg$FAILED;
|
|
6013
6109
|
if (peg$silentFails === 0) {
|
|
6014
|
-
peg$fail(peg$
|
|
6110
|
+
peg$fail(peg$e44);
|
|
6015
6111
|
}
|
|
6016
6112
|
}
|
|
6017
6113
|
if (s1 !== peg$FAILED) {
|
|
@@ -6091,21 +6187,81 @@ function peg$parse(input, options) {
|
|
|
6091
6187
|
}
|
|
6092
6188
|
if (s0 === peg$FAILED) {
|
|
6093
6189
|
s0 = peg$currPos;
|
|
6094
|
-
if (input.substr(peg$currPos,
|
|
6095
|
-
s1 = peg$
|
|
6096
|
-
peg$currPos +=
|
|
6190
|
+
if (input.substr(peg$currPos, 10) === peg$c39) {
|
|
6191
|
+
s1 = peg$c39;
|
|
6192
|
+
peg$currPos += 10;
|
|
6097
6193
|
}
|
|
6098
6194
|
else {
|
|
6099
6195
|
s1 = peg$FAILED;
|
|
6100
6196
|
if (peg$silentFails === 0) {
|
|
6101
|
-
peg$fail(peg$
|
|
6197
|
+
peg$fail(peg$e45);
|
|
6102
6198
|
}
|
|
6103
6199
|
}
|
|
6104
6200
|
if (s1 !== peg$FAILED) {
|
|
6105
|
-
s2 = peg$
|
|
6106
|
-
|
|
6201
|
+
s2 = peg$currPos;
|
|
6202
|
+
s3 = [];
|
|
6203
|
+
s4 = peg$currPos;
|
|
6204
|
+
s5 = peg$currPos;
|
|
6205
|
+
peg$silentFails++;
|
|
6206
|
+
s6 = peg$parseBlockTag();
|
|
6207
|
+
peg$silentFails--;
|
|
6208
|
+
if (s6 === peg$FAILED) {
|
|
6209
|
+
s5 = undefined;
|
|
6210
|
+
}
|
|
6211
|
+
else {
|
|
6212
|
+
peg$currPos = s5;
|
|
6213
|
+
s5 = peg$FAILED;
|
|
6214
|
+
}
|
|
6215
|
+
if (s5 !== peg$FAILED) {
|
|
6216
|
+
s6 = peg$parsechar();
|
|
6217
|
+
if (s6 !== peg$FAILED) {
|
|
6218
|
+
s5 = [s5, s6];
|
|
6219
|
+
s4 = s5;
|
|
6220
|
+
}
|
|
6221
|
+
else {
|
|
6222
|
+
peg$currPos = s4;
|
|
6223
|
+
s4 = peg$FAILED;
|
|
6224
|
+
}
|
|
6225
|
+
}
|
|
6226
|
+
else {
|
|
6227
|
+
peg$currPos = s4;
|
|
6228
|
+
s4 = peg$FAILED;
|
|
6229
|
+
}
|
|
6230
|
+
while (s4 !== peg$FAILED) {
|
|
6231
|
+
s3.push(s4);
|
|
6232
|
+
s4 = peg$currPos;
|
|
6233
|
+
s5 = peg$currPos;
|
|
6234
|
+
peg$silentFails++;
|
|
6235
|
+
s6 = peg$parseBlockTag();
|
|
6236
|
+
peg$silentFails--;
|
|
6237
|
+
if (s6 === peg$FAILED) {
|
|
6238
|
+
s5 = undefined;
|
|
6239
|
+
}
|
|
6240
|
+
else {
|
|
6241
|
+
peg$currPos = s5;
|
|
6242
|
+
s5 = peg$FAILED;
|
|
6243
|
+
}
|
|
6244
|
+
if (s5 !== peg$FAILED) {
|
|
6245
|
+
s6 = peg$parsechar();
|
|
6246
|
+
if (s6 !== peg$FAILED) {
|
|
6247
|
+
s5 = [s5, s6];
|
|
6248
|
+
s4 = s5;
|
|
6249
|
+
}
|
|
6250
|
+
else {
|
|
6251
|
+
peg$currPos = s4;
|
|
6252
|
+
s4 = peg$FAILED;
|
|
6253
|
+
}
|
|
6254
|
+
}
|
|
6255
|
+
else {
|
|
6256
|
+
peg$currPos = s4;
|
|
6257
|
+
s4 = peg$FAILED;
|
|
6258
|
+
}
|
|
6259
|
+
}
|
|
6260
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6261
|
+
s3 = peg$parseBlockTag();
|
|
6262
|
+
if (s3 !== peg$FAILED) {
|
|
6107
6263
|
peg$savedPos = s0;
|
|
6108
|
-
s0 = peg$f71();
|
|
6264
|
+
s0 = peg$f71(s2);
|
|
6109
6265
|
}
|
|
6110
6266
|
else {
|
|
6111
6267
|
peg$currPos = s0;
|
|
@@ -6118,14 +6274,14 @@ function peg$parse(input, options) {
|
|
|
6118
6274
|
}
|
|
6119
6275
|
if (s0 === peg$FAILED) {
|
|
6120
6276
|
s0 = peg$currPos;
|
|
6121
|
-
if (input.substr(peg$currPos,
|
|
6122
|
-
s1 = peg$
|
|
6123
|
-
peg$currPos +=
|
|
6277
|
+
if (input.substr(peg$currPos, 4) === peg$c40) {
|
|
6278
|
+
s1 = peg$c40;
|
|
6279
|
+
peg$currPos += 4;
|
|
6124
6280
|
}
|
|
6125
6281
|
else {
|
|
6126
6282
|
s1 = peg$FAILED;
|
|
6127
6283
|
if (peg$silentFails === 0) {
|
|
6128
|
-
peg$fail(peg$
|
|
6284
|
+
peg$fail(peg$e46);
|
|
6129
6285
|
}
|
|
6130
6286
|
}
|
|
6131
6287
|
if (s1 !== peg$FAILED) {
|
|
@@ -6205,14 +6361,14 @@ function peg$parse(input, options) {
|
|
|
6205
6361
|
}
|
|
6206
6362
|
if (s0 === peg$FAILED) {
|
|
6207
6363
|
s0 = peg$currPos;
|
|
6208
|
-
if (input.substr(peg$currPos,
|
|
6209
|
-
s1 = peg$
|
|
6210
|
-
peg$currPos +=
|
|
6364
|
+
if (input.substr(peg$currPos, 4) === peg$c5) {
|
|
6365
|
+
s1 = peg$c5;
|
|
6366
|
+
peg$currPos += 4;
|
|
6211
6367
|
}
|
|
6212
6368
|
else {
|
|
6213
6369
|
s1 = peg$FAILED;
|
|
6214
6370
|
if (peg$silentFails === 0) {
|
|
6215
|
-
peg$fail(peg$
|
|
6371
|
+
peg$fail(peg$e7);
|
|
6216
6372
|
}
|
|
6217
6373
|
}
|
|
6218
6374
|
if (s1 !== peg$FAILED) {
|
|
@@ -6232,14 +6388,14 @@ function peg$parse(input, options) {
|
|
|
6232
6388
|
}
|
|
6233
6389
|
if (s0 === peg$FAILED) {
|
|
6234
6390
|
s0 = peg$currPos;
|
|
6235
|
-
if (input.substr(peg$currPos,
|
|
6236
|
-
s1 = peg$
|
|
6237
|
-
peg$currPos +=
|
|
6391
|
+
if (input.substr(peg$currPos, 5) === peg$c41) {
|
|
6392
|
+
s1 = peg$c41;
|
|
6393
|
+
peg$currPos += 5;
|
|
6238
6394
|
}
|
|
6239
6395
|
else {
|
|
6240
6396
|
s1 = peg$FAILED;
|
|
6241
6397
|
if (peg$silentFails === 0) {
|
|
6242
|
-
peg$fail(peg$
|
|
6398
|
+
peg$fail(peg$e47);
|
|
6243
6399
|
}
|
|
6244
6400
|
}
|
|
6245
6401
|
if (s1 !== peg$FAILED) {
|
|
@@ -6319,147 +6475,108 @@ function peg$parse(input, options) {
|
|
|
6319
6475
|
}
|
|
6320
6476
|
if (s0 === peg$FAILED) {
|
|
6321
6477
|
s0 = peg$currPos;
|
|
6322
|
-
if (input.substr(peg$currPos,
|
|
6323
|
-
s1 = peg$
|
|
6324
|
-
peg$currPos +=
|
|
6478
|
+
if (input.substr(peg$currPos, 5) === peg$c42) {
|
|
6479
|
+
s1 = peg$c42;
|
|
6480
|
+
peg$currPos += 5;
|
|
6325
6481
|
}
|
|
6326
6482
|
else {
|
|
6327
6483
|
s1 = peg$FAILED;
|
|
6328
6484
|
if (peg$silentFails === 0) {
|
|
6329
|
-
peg$fail(peg$
|
|
6485
|
+
peg$fail(peg$e48);
|
|
6330
6486
|
}
|
|
6331
6487
|
}
|
|
6332
6488
|
if (s1 !== peg$FAILED) {
|
|
6333
|
-
s2 = peg$
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
peg$currPos++;
|
|
6489
|
+
s2 = peg$parseBlockTag();
|
|
6490
|
+
if (s2 !== peg$FAILED) {
|
|
6491
|
+
peg$savedPos = s0;
|
|
6492
|
+
s0 = peg$f75();
|
|
6338
6493
|
}
|
|
6339
6494
|
else {
|
|
6340
|
-
|
|
6495
|
+
peg$currPos = s0;
|
|
6496
|
+
s0 = peg$FAILED;
|
|
6497
|
+
}
|
|
6498
|
+
}
|
|
6499
|
+
else {
|
|
6500
|
+
peg$currPos = s0;
|
|
6501
|
+
s0 = peg$FAILED;
|
|
6502
|
+
}
|
|
6503
|
+
if (s0 === peg$FAILED) {
|
|
6504
|
+
s0 = peg$currPos;
|
|
6505
|
+
if (input.substr(peg$currPos, 6) === peg$c43) {
|
|
6506
|
+
s1 = peg$c43;
|
|
6507
|
+
peg$currPos += 6;
|
|
6508
|
+
}
|
|
6509
|
+
else {
|
|
6510
|
+
s1 = peg$FAILED;
|
|
6341
6511
|
if (peg$silentFails === 0) {
|
|
6342
|
-
peg$fail(peg$
|
|
6512
|
+
peg$fail(peg$e49);
|
|
6343
6513
|
}
|
|
6344
6514
|
}
|
|
6345
|
-
if (
|
|
6515
|
+
if (s1 !== peg$FAILED) {
|
|
6516
|
+
s2 = peg$currPos;
|
|
6517
|
+
s3 = [];
|
|
6518
|
+
s4 = peg$currPos;
|
|
6346
6519
|
s5 = peg$currPos;
|
|
6347
|
-
s6 = [];
|
|
6348
|
-
s7 = peg$currPos;
|
|
6349
|
-
s8 = peg$currPos;
|
|
6350
6520
|
peg$silentFails++;
|
|
6351
|
-
|
|
6521
|
+
s6 = peg$parseBlockTag();
|
|
6352
6522
|
peg$silentFails--;
|
|
6353
|
-
if (
|
|
6354
|
-
|
|
6523
|
+
if (s6 === peg$FAILED) {
|
|
6524
|
+
s5 = undefined;
|
|
6355
6525
|
}
|
|
6356
6526
|
else {
|
|
6357
|
-
peg$currPos =
|
|
6358
|
-
|
|
6527
|
+
peg$currPos = s5;
|
|
6528
|
+
s5 = peg$FAILED;
|
|
6359
6529
|
}
|
|
6360
|
-
if (
|
|
6361
|
-
|
|
6362
|
-
if (
|
|
6363
|
-
|
|
6364
|
-
|
|
6530
|
+
if (s5 !== peg$FAILED) {
|
|
6531
|
+
s6 = peg$parsechar();
|
|
6532
|
+
if (s6 !== peg$FAILED) {
|
|
6533
|
+
s5 = [s5, s6];
|
|
6534
|
+
s4 = s5;
|
|
6365
6535
|
}
|
|
6366
6536
|
else {
|
|
6367
|
-
peg$currPos =
|
|
6368
|
-
|
|
6537
|
+
peg$currPos = s4;
|
|
6538
|
+
s4 = peg$FAILED;
|
|
6369
6539
|
}
|
|
6370
6540
|
}
|
|
6371
6541
|
else {
|
|
6372
|
-
peg$currPos =
|
|
6373
|
-
|
|
6542
|
+
peg$currPos = s4;
|
|
6543
|
+
s4 = peg$FAILED;
|
|
6374
6544
|
}
|
|
6375
|
-
while (
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6545
|
+
while (s4 !== peg$FAILED) {
|
|
6546
|
+
s3.push(s4);
|
|
6547
|
+
s4 = peg$currPos;
|
|
6548
|
+
s5 = peg$currPos;
|
|
6379
6549
|
peg$silentFails++;
|
|
6380
|
-
|
|
6550
|
+
s6 = peg$parseBlockTag();
|
|
6381
6551
|
peg$silentFails--;
|
|
6382
|
-
if (
|
|
6383
|
-
|
|
6552
|
+
if (s6 === peg$FAILED) {
|
|
6553
|
+
s5 = undefined;
|
|
6384
6554
|
}
|
|
6385
6555
|
else {
|
|
6386
|
-
peg$currPos =
|
|
6387
|
-
|
|
6556
|
+
peg$currPos = s5;
|
|
6557
|
+
s5 = peg$FAILED;
|
|
6388
6558
|
}
|
|
6389
|
-
if (
|
|
6390
|
-
|
|
6391
|
-
if (
|
|
6392
|
-
|
|
6393
|
-
|
|
6559
|
+
if (s5 !== peg$FAILED) {
|
|
6560
|
+
s6 = peg$parsechar();
|
|
6561
|
+
if (s6 !== peg$FAILED) {
|
|
6562
|
+
s5 = [s5, s6];
|
|
6563
|
+
s4 = s5;
|
|
6394
6564
|
}
|
|
6395
6565
|
else {
|
|
6396
|
-
peg$currPos =
|
|
6397
|
-
|
|
6566
|
+
peg$currPos = s4;
|
|
6567
|
+
s4 = peg$FAILED;
|
|
6398
6568
|
}
|
|
6399
6569
|
}
|
|
6400
6570
|
else {
|
|
6401
|
-
peg$currPos =
|
|
6402
|
-
|
|
6571
|
+
peg$currPos = s4;
|
|
6572
|
+
s4 = peg$FAILED;
|
|
6403
6573
|
}
|
|
6404
6574
|
}
|
|
6405
|
-
s5 = input.substring(s5, peg$currPos);
|
|
6406
|
-
s4 = [s4, s5];
|
|
6407
|
-
s3 = s4;
|
|
6408
|
-
}
|
|
6409
|
-
else {
|
|
6410
|
-
peg$currPos = s3;
|
|
6411
|
-
s3 = peg$FAILED;
|
|
6412
|
-
}
|
|
6413
|
-
if (s3 !== peg$FAILED) {
|
|
6414
6575
|
s2 = input.substring(s2, peg$currPos);
|
|
6415
|
-
}
|
|
6416
|
-
else {
|
|
6417
|
-
s2 = s3;
|
|
6418
|
-
}
|
|
6419
|
-
if (s2 !== peg$FAILED) {
|
|
6420
6576
|
s3 = peg$parseBlockTag();
|
|
6421
6577
|
if (s3 !== peg$FAILED) {
|
|
6422
6578
|
peg$savedPos = s0;
|
|
6423
|
-
s0 = peg$
|
|
6424
|
-
}
|
|
6425
|
-
else {
|
|
6426
|
-
peg$currPos = s0;
|
|
6427
|
-
s0 = peg$FAILED;
|
|
6428
|
-
}
|
|
6429
|
-
}
|
|
6430
|
-
else {
|
|
6431
|
-
peg$currPos = s0;
|
|
6432
|
-
s0 = peg$FAILED;
|
|
6433
|
-
}
|
|
6434
|
-
}
|
|
6435
|
-
else {
|
|
6436
|
-
peg$currPos = s0;
|
|
6437
|
-
s0 = peg$FAILED;
|
|
6438
|
-
}
|
|
6439
|
-
if (s0 === peg$FAILED) {
|
|
6440
|
-
s0 = peg$currPos;
|
|
6441
|
-
if (input.substr(peg$currPos, 6) === peg$c43) {
|
|
6442
|
-
s1 = peg$c43;
|
|
6443
|
-
peg$currPos += 6;
|
|
6444
|
-
}
|
|
6445
|
-
else {
|
|
6446
|
-
s1 = peg$FAILED;
|
|
6447
|
-
if (peg$silentFails === 0) {
|
|
6448
|
-
peg$fail(peg$e49);
|
|
6449
|
-
}
|
|
6450
|
-
}
|
|
6451
|
-
if (s1 !== peg$FAILED) {
|
|
6452
|
-
s2 = peg$parseColor();
|
|
6453
|
-
if (s2 !== peg$FAILED) {
|
|
6454
|
-
s3 = peg$parseBlockTag();
|
|
6455
|
-
if (s3 !== peg$FAILED) {
|
|
6456
|
-
peg$savedPos = s0;
|
|
6457
|
-
s0 = peg$f76(s2);
|
|
6458
|
-
}
|
|
6459
|
-
else {
|
|
6460
|
-
peg$currPos = s0;
|
|
6461
|
-
s0 = peg$FAILED;
|
|
6462
|
-
}
|
|
6579
|
+
s0 = peg$f76(s2);
|
|
6463
6580
|
}
|
|
6464
6581
|
else {
|
|
6465
6582
|
peg$currPos = s0;
|
|
@@ -6472,99 +6589,147 @@ function peg$parse(input, options) {
|
|
|
6472
6589
|
}
|
|
6473
6590
|
if (s0 === peg$FAILED) {
|
|
6474
6591
|
s0 = peg$currPos;
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
if (s2 !== peg$FAILED) {
|
|
6479
|
-
peg$savedPos = s0;
|
|
6480
|
-
s0 = peg$f77(s1);
|
|
6481
|
-
}
|
|
6482
|
-
else {
|
|
6483
|
-
peg$currPos = s0;
|
|
6484
|
-
s0 = peg$FAILED;
|
|
6485
|
-
}
|
|
6592
|
+
if (input.substr(peg$currPos, 9) === peg$c44) {
|
|
6593
|
+
s1 = peg$c44;
|
|
6594
|
+
peg$currPos += 9;
|
|
6486
6595
|
}
|
|
6487
6596
|
else {
|
|
6488
|
-
|
|
6489
|
-
|
|
6597
|
+
s1 = peg$FAILED;
|
|
6598
|
+
if (peg$silentFails === 0) {
|
|
6599
|
+
peg$fail(peg$e50);
|
|
6600
|
+
}
|
|
6490
6601
|
}
|
|
6491
|
-
if (
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6602
|
+
if (s1 !== peg$FAILED) {
|
|
6603
|
+
s2 = peg$currPos;
|
|
6604
|
+
s3 = peg$currPos;
|
|
6605
|
+
if (input.charCodeAt(peg$currPos) === 80) {
|
|
6606
|
+
s4 = peg$c45;
|
|
6495
6607
|
peg$currPos++;
|
|
6496
6608
|
}
|
|
6497
6609
|
else {
|
|
6498
|
-
|
|
6610
|
+
s4 = peg$FAILED;
|
|
6499
6611
|
if (peg$silentFails === 0) {
|
|
6500
|
-
peg$fail(peg$
|
|
6612
|
+
peg$fail(peg$e51);
|
|
6501
6613
|
}
|
|
6502
6614
|
}
|
|
6503
|
-
if (
|
|
6504
|
-
s2 = peg$currPos;
|
|
6505
|
-
s3 = [];
|
|
6506
|
-
s4 = peg$currPos;
|
|
6615
|
+
if (s4 !== peg$FAILED) {
|
|
6507
6616
|
s5 = peg$currPos;
|
|
6617
|
+
s6 = [];
|
|
6618
|
+
s7 = peg$currPos;
|
|
6619
|
+
s8 = peg$currPos;
|
|
6508
6620
|
peg$silentFails++;
|
|
6509
|
-
|
|
6621
|
+
s9 = peg$parseBlockTag();
|
|
6510
6622
|
peg$silentFails--;
|
|
6511
|
-
if (
|
|
6512
|
-
|
|
6623
|
+
if (s9 === peg$FAILED) {
|
|
6624
|
+
s8 = undefined;
|
|
6513
6625
|
}
|
|
6514
6626
|
else {
|
|
6515
|
-
peg$currPos =
|
|
6516
|
-
|
|
6627
|
+
peg$currPos = s8;
|
|
6628
|
+
s8 = peg$FAILED;
|
|
6517
6629
|
}
|
|
6518
|
-
if (
|
|
6519
|
-
|
|
6520
|
-
if (
|
|
6521
|
-
|
|
6522
|
-
|
|
6630
|
+
if (s8 !== peg$FAILED) {
|
|
6631
|
+
s9 = peg$parsechar();
|
|
6632
|
+
if (s9 !== peg$FAILED) {
|
|
6633
|
+
s8 = [s8, s9];
|
|
6634
|
+
s7 = s8;
|
|
6523
6635
|
}
|
|
6524
6636
|
else {
|
|
6525
|
-
peg$currPos =
|
|
6526
|
-
|
|
6637
|
+
peg$currPos = s7;
|
|
6638
|
+
s7 = peg$FAILED;
|
|
6527
6639
|
}
|
|
6528
6640
|
}
|
|
6529
6641
|
else {
|
|
6530
|
-
peg$currPos =
|
|
6531
|
-
|
|
6642
|
+
peg$currPos = s7;
|
|
6643
|
+
s7 = peg$FAILED;
|
|
6532
6644
|
}
|
|
6533
|
-
while (
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6645
|
+
while (s7 !== peg$FAILED) {
|
|
6646
|
+
s6.push(s7);
|
|
6647
|
+
s7 = peg$currPos;
|
|
6648
|
+
s8 = peg$currPos;
|
|
6537
6649
|
peg$silentFails++;
|
|
6538
|
-
|
|
6650
|
+
s9 = peg$parseBlockTag();
|
|
6539
6651
|
peg$silentFails--;
|
|
6540
|
-
if (
|
|
6541
|
-
|
|
6652
|
+
if (s9 === peg$FAILED) {
|
|
6653
|
+
s8 = undefined;
|
|
6542
6654
|
}
|
|
6543
6655
|
else {
|
|
6544
|
-
peg$currPos =
|
|
6545
|
-
|
|
6656
|
+
peg$currPos = s8;
|
|
6657
|
+
s8 = peg$FAILED;
|
|
6546
6658
|
}
|
|
6547
|
-
if (
|
|
6548
|
-
|
|
6549
|
-
if (
|
|
6550
|
-
|
|
6551
|
-
|
|
6659
|
+
if (s8 !== peg$FAILED) {
|
|
6660
|
+
s9 = peg$parsechar();
|
|
6661
|
+
if (s9 !== peg$FAILED) {
|
|
6662
|
+
s8 = [s8, s9];
|
|
6663
|
+
s7 = s8;
|
|
6552
6664
|
}
|
|
6553
6665
|
else {
|
|
6554
|
-
peg$currPos =
|
|
6555
|
-
|
|
6666
|
+
peg$currPos = s7;
|
|
6667
|
+
s7 = peg$FAILED;
|
|
6556
6668
|
}
|
|
6557
6669
|
}
|
|
6558
6670
|
else {
|
|
6559
|
-
peg$currPos =
|
|
6560
|
-
|
|
6671
|
+
peg$currPos = s7;
|
|
6672
|
+
s7 = peg$FAILED;
|
|
6561
6673
|
}
|
|
6562
6674
|
}
|
|
6675
|
+
s5 = input.substring(s5, peg$currPos);
|
|
6676
|
+
s4 = [s4, s5];
|
|
6677
|
+
s3 = s4;
|
|
6678
|
+
}
|
|
6679
|
+
else {
|
|
6680
|
+
peg$currPos = s3;
|
|
6681
|
+
s3 = peg$FAILED;
|
|
6682
|
+
}
|
|
6683
|
+
if (s3 !== peg$FAILED) {
|
|
6563
6684
|
s2 = input.substring(s2, peg$currPos);
|
|
6685
|
+
}
|
|
6686
|
+
else {
|
|
6687
|
+
s2 = s3;
|
|
6688
|
+
}
|
|
6689
|
+
if (s2 !== peg$FAILED) {
|
|
6564
6690
|
s3 = peg$parseBlockTag();
|
|
6565
6691
|
if (s3 !== peg$FAILED) {
|
|
6566
6692
|
peg$savedPos = s0;
|
|
6567
|
-
s0 = peg$
|
|
6693
|
+
s0 = peg$f77(s2);
|
|
6694
|
+
}
|
|
6695
|
+
else {
|
|
6696
|
+
peg$currPos = s0;
|
|
6697
|
+
s0 = peg$FAILED;
|
|
6698
|
+
}
|
|
6699
|
+
}
|
|
6700
|
+
else {
|
|
6701
|
+
peg$currPos = s0;
|
|
6702
|
+
s0 = peg$FAILED;
|
|
6703
|
+
}
|
|
6704
|
+
}
|
|
6705
|
+
else {
|
|
6706
|
+
peg$currPos = s0;
|
|
6707
|
+
s0 = peg$FAILED;
|
|
6708
|
+
}
|
|
6709
|
+
if (s0 === peg$FAILED) {
|
|
6710
|
+
s0 = peg$currPos;
|
|
6711
|
+
if (input.substr(peg$currPos, 6) === peg$c46) {
|
|
6712
|
+
s1 = peg$c46;
|
|
6713
|
+
peg$currPos += 6;
|
|
6714
|
+
}
|
|
6715
|
+
else {
|
|
6716
|
+
s1 = peg$FAILED;
|
|
6717
|
+
if (peg$silentFails === 0) {
|
|
6718
|
+
peg$fail(peg$e52);
|
|
6719
|
+
}
|
|
6720
|
+
}
|
|
6721
|
+
if (s1 !== peg$FAILED) {
|
|
6722
|
+
s2 = peg$parseColor();
|
|
6723
|
+
if (s2 !== peg$FAILED) {
|
|
6724
|
+
s3 = peg$parseBlockTag();
|
|
6725
|
+
if (s3 !== peg$FAILED) {
|
|
6726
|
+
peg$savedPos = s0;
|
|
6727
|
+
s0 = peg$f78(s2);
|
|
6728
|
+
}
|
|
6729
|
+
else {
|
|
6730
|
+
peg$currPos = s0;
|
|
6731
|
+
s0 = peg$FAILED;
|
|
6732
|
+
}
|
|
6568
6733
|
}
|
|
6569
6734
|
else {
|
|
6570
6735
|
peg$currPos = s0;
|
|
@@ -6575,6 +6740,113 @@ function peg$parse(input, options) {
|
|
|
6575
6740
|
peg$currPos = s0;
|
|
6576
6741
|
s0 = peg$FAILED;
|
|
6577
6742
|
}
|
|
6743
|
+
if (s0 === peg$FAILED) {
|
|
6744
|
+
s0 = peg$currPos;
|
|
6745
|
+
s1 = peg$parseAlternativeStyleTags();
|
|
6746
|
+
if (s1 !== peg$FAILED) {
|
|
6747
|
+
s2 = peg$parseBlockTag();
|
|
6748
|
+
if (s2 !== peg$FAILED) {
|
|
6749
|
+
peg$savedPos = s0;
|
|
6750
|
+
s0 = peg$f79(s1);
|
|
6751
|
+
}
|
|
6752
|
+
else {
|
|
6753
|
+
peg$currPos = s0;
|
|
6754
|
+
s0 = peg$FAILED;
|
|
6755
|
+
}
|
|
6756
|
+
}
|
|
6757
|
+
else {
|
|
6758
|
+
peg$currPos = s0;
|
|
6759
|
+
s0 = peg$FAILED;
|
|
6760
|
+
}
|
|
6761
|
+
if (s0 === peg$FAILED) {
|
|
6762
|
+
s0 = peg$currPos;
|
|
6763
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
6764
|
+
s1 = peg$c21;
|
|
6765
|
+
peg$currPos++;
|
|
6766
|
+
}
|
|
6767
|
+
else {
|
|
6768
|
+
s1 = peg$FAILED;
|
|
6769
|
+
if (peg$silentFails === 0) {
|
|
6770
|
+
peg$fail(peg$e25);
|
|
6771
|
+
}
|
|
6772
|
+
}
|
|
6773
|
+
if (s1 !== peg$FAILED) {
|
|
6774
|
+
s2 = peg$currPos;
|
|
6775
|
+
s3 = [];
|
|
6776
|
+
s4 = peg$currPos;
|
|
6777
|
+
s5 = peg$currPos;
|
|
6778
|
+
peg$silentFails++;
|
|
6779
|
+
s6 = peg$parseBlockTag();
|
|
6780
|
+
peg$silentFails--;
|
|
6781
|
+
if (s6 === peg$FAILED) {
|
|
6782
|
+
s5 = undefined;
|
|
6783
|
+
}
|
|
6784
|
+
else {
|
|
6785
|
+
peg$currPos = s5;
|
|
6786
|
+
s5 = peg$FAILED;
|
|
6787
|
+
}
|
|
6788
|
+
if (s5 !== peg$FAILED) {
|
|
6789
|
+
s6 = peg$parsechar();
|
|
6790
|
+
if (s6 !== peg$FAILED) {
|
|
6791
|
+
s5 = [s5, s6];
|
|
6792
|
+
s4 = s5;
|
|
6793
|
+
}
|
|
6794
|
+
else {
|
|
6795
|
+
peg$currPos = s4;
|
|
6796
|
+
s4 = peg$FAILED;
|
|
6797
|
+
}
|
|
6798
|
+
}
|
|
6799
|
+
else {
|
|
6800
|
+
peg$currPos = s4;
|
|
6801
|
+
s4 = peg$FAILED;
|
|
6802
|
+
}
|
|
6803
|
+
while (s4 !== peg$FAILED) {
|
|
6804
|
+
s3.push(s4);
|
|
6805
|
+
s4 = peg$currPos;
|
|
6806
|
+
s5 = peg$currPos;
|
|
6807
|
+
peg$silentFails++;
|
|
6808
|
+
s6 = peg$parseBlockTag();
|
|
6809
|
+
peg$silentFails--;
|
|
6810
|
+
if (s6 === peg$FAILED) {
|
|
6811
|
+
s5 = undefined;
|
|
6812
|
+
}
|
|
6813
|
+
else {
|
|
6814
|
+
peg$currPos = s5;
|
|
6815
|
+
s5 = peg$FAILED;
|
|
6816
|
+
}
|
|
6817
|
+
if (s5 !== peg$FAILED) {
|
|
6818
|
+
s6 = peg$parsechar();
|
|
6819
|
+
if (s6 !== peg$FAILED) {
|
|
6820
|
+
s5 = [s5, s6];
|
|
6821
|
+
s4 = s5;
|
|
6822
|
+
}
|
|
6823
|
+
else {
|
|
6824
|
+
peg$currPos = s4;
|
|
6825
|
+
s4 = peg$FAILED;
|
|
6826
|
+
}
|
|
6827
|
+
}
|
|
6828
|
+
else {
|
|
6829
|
+
peg$currPos = s4;
|
|
6830
|
+
s4 = peg$FAILED;
|
|
6831
|
+
}
|
|
6832
|
+
}
|
|
6833
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6834
|
+
s3 = peg$parseBlockTag();
|
|
6835
|
+
if (s3 !== peg$FAILED) {
|
|
6836
|
+
peg$savedPos = s0;
|
|
6837
|
+
s0 = peg$f80(s2);
|
|
6838
|
+
}
|
|
6839
|
+
else {
|
|
6840
|
+
peg$currPos = s0;
|
|
6841
|
+
s0 = peg$FAILED;
|
|
6842
|
+
}
|
|
6843
|
+
}
|
|
6844
|
+
else {
|
|
6845
|
+
peg$currPos = s0;
|
|
6846
|
+
s0 = peg$FAILED;
|
|
6847
|
+
}
|
|
6848
|
+
}
|
|
6849
|
+
}
|
|
6578
6850
|
}
|
|
6579
6851
|
}
|
|
6580
6852
|
}
|
|
@@ -6591,214 +6863,307 @@ function peg$parse(input, options) {
|
|
|
6591
6863
|
}
|
|
6592
6864
|
return s0;
|
|
6593
6865
|
}
|
|
6866
|
+
function peg$parseRefsChain() {
|
|
6867
|
+
var s0, s1;
|
|
6868
|
+
s0 = [];
|
|
6869
|
+
s1 = peg$parseRef();
|
|
6870
|
+
while (s1 !== peg$FAILED) {
|
|
6871
|
+
s0.push(s1);
|
|
6872
|
+
s1 = peg$parseRef();
|
|
6873
|
+
}
|
|
6874
|
+
return s0;
|
|
6875
|
+
}
|
|
6876
|
+
function peg$parseRef() {
|
|
6877
|
+
var s0, s1, s2, s3, s4, s5, s6;
|
|
6878
|
+
s0 = peg$currPos;
|
|
6879
|
+
if (input.substr(peg$currPos, 2) === peg$c47) {
|
|
6880
|
+
s1 = peg$c47;
|
|
6881
|
+
peg$currPos += 2;
|
|
6882
|
+
}
|
|
6883
|
+
else {
|
|
6884
|
+
s1 = peg$FAILED;
|
|
6885
|
+
if (peg$silentFails === 0) {
|
|
6886
|
+
peg$fail(peg$e53);
|
|
6887
|
+
}
|
|
6888
|
+
}
|
|
6889
|
+
if (s1 !== peg$FAILED) {
|
|
6890
|
+
s2 = peg$currPos;
|
|
6891
|
+
s3 = [];
|
|
6892
|
+
s4 = peg$currPos;
|
|
6893
|
+
s5 = peg$currPos;
|
|
6894
|
+
peg$silentFails++;
|
|
6895
|
+
s6 = peg$parseBlockTag();
|
|
6896
|
+
peg$silentFails--;
|
|
6897
|
+
if (s6 === peg$FAILED) {
|
|
6898
|
+
s5 = undefined;
|
|
6899
|
+
}
|
|
6900
|
+
else {
|
|
6901
|
+
peg$currPos = s5;
|
|
6902
|
+
s5 = peg$FAILED;
|
|
6903
|
+
}
|
|
6904
|
+
if (s5 !== peg$FAILED) {
|
|
6905
|
+
s6 = peg$parsechar();
|
|
6906
|
+
if (s6 !== peg$FAILED) {
|
|
6907
|
+
s5 = [s5, s6];
|
|
6908
|
+
s4 = s5;
|
|
6909
|
+
}
|
|
6910
|
+
else {
|
|
6911
|
+
peg$currPos = s4;
|
|
6912
|
+
s4 = peg$FAILED;
|
|
6913
|
+
}
|
|
6914
|
+
}
|
|
6915
|
+
else {
|
|
6916
|
+
peg$currPos = s4;
|
|
6917
|
+
s4 = peg$FAILED;
|
|
6918
|
+
}
|
|
6919
|
+
while (s4 !== peg$FAILED) {
|
|
6920
|
+
s3.push(s4);
|
|
6921
|
+
s4 = peg$currPos;
|
|
6922
|
+
s5 = peg$currPos;
|
|
6923
|
+
peg$silentFails++;
|
|
6924
|
+
s6 = peg$parseBlockTag();
|
|
6925
|
+
peg$silentFails--;
|
|
6926
|
+
if (s6 === peg$FAILED) {
|
|
6927
|
+
s5 = undefined;
|
|
6928
|
+
}
|
|
6929
|
+
else {
|
|
6930
|
+
peg$currPos = s5;
|
|
6931
|
+
s5 = peg$FAILED;
|
|
6932
|
+
}
|
|
6933
|
+
if (s5 !== peg$FAILED) {
|
|
6934
|
+
s6 = peg$parsechar();
|
|
6935
|
+
if (s6 !== peg$FAILED) {
|
|
6936
|
+
s5 = [s5, s6];
|
|
6937
|
+
s4 = s5;
|
|
6938
|
+
}
|
|
6939
|
+
else {
|
|
6940
|
+
peg$currPos = s4;
|
|
6941
|
+
s4 = peg$FAILED;
|
|
6942
|
+
}
|
|
6943
|
+
}
|
|
6944
|
+
else {
|
|
6945
|
+
peg$currPos = s4;
|
|
6946
|
+
s4 = peg$FAILED;
|
|
6947
|
+
}
|
|
6948
|
+
}
|
|
6949
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6950
|
+
peg$savedPos = s0;
|
|
6951
|
+
s0 = peg$f81(s2);
|
|
6952
|
+
}
|
|
6953
|
+
else {
|
|
6954
|
+
peg$currPos = s0;
|
|
6955
|
+
s0 = peg$FAILED;
|
|
6956
|
+
}
|
|
6957
|
+
return s0;
|
|
6958
|
+
}
|
|
6594
6959
|
function peg$parseAlternativeStyleTags() {
|
|
6595
6960
|
var s0;
|
|
6596
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6597
|
-
s0 = peg$
|
|
6961
|
+
if (input.substr(peg$currPos, 4) === peg$c48) {
|
|
6962
|
+
s0 = peg$c48;
|
|
6598
6963
|
peg$currPos += 4;
|
|
6599
6964
|
}
|
|
6600
6965
|
else {
|
|
6601
6966
|
s0 = peg$FAILED;
|
|
6602
6967
|
if (peg$silentFails === 0) {
|
|
6603
|
-
peg$fail(peg$
|
|
6968
|
+
peg$fail(peg$e54);
|
|
6604
6969
|
}
|
|
6605
6970
|
}
|
|
6606
6971
|
if (s0 === peg$FAILED) {
|
|
6607
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6608
|
-
s0 = peg$
|
|
6972
|
+
if (input.substr(peg$currPos, 6) === peg$c49) {
|
|
6973
|
+
s0 = peg$c49;
|
|
6609
6974
|
peg$currPos += 6;
|
|
6610
6975
|
}
|
|
6611
6976
|
else {
|
|
6612
6977
|
s0 = peg$FAILED;
|
|
6613
6978
|
if (peg$silentFails === 0) {
|
|
6614
|
-
peg$fail(peg$
|
|
6979
|
+
peg$fail(peg$e55);
|
|
6615
6980
|
}
|
|
6616
6981
|
}
|
|
6617
6982
|
if (s0 === peg$FAILED) {
|
|
6618
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6619
|
-
s0 = peg$
|
|
6983
|
+
if (input.substr(peg$currPos, 5) === peg$c50) {
|
|
6984
|
+
s0 = peg$c50;
|
|
6620
6985
|
peg$currPos += 5;
|
|
6621
6986
|
}
|
|
6622
6987
|
else {
|
|
6623
6988
|
s0 = peg$FAILED;
|
|
6624
6989
|
if (peg$silentFails === 0) {
|
|
6625
|
-
peg$fail(peg$
|
|
6990
|
+
peg$fail(peg$e56);
|
|
6626
6991
|
}
|
|
6627
6992
|
}
|
|
6628
6993
|
if (s0 === peg$FAILED) {
|
|
6629
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6630
|
-
s0 = peg$
|
|
6994
|
+
if (input.substr(peg$currPos, 9) === peg$c51) {
|
|
6995
|
+
s0 = peg$c51;
|
|
6631
6996
|
peg$currPos += 9;
|
|
6632
6997
|
}
|
|
6633
6998
|
else {
|
|
6634
6999
|
s0 = peg$FAILED;
|
|
6635
7000
|
if (peg$silentFails === 0) {
|
|
6636
|
-
peg$fail(peg$
|
|
7001
|
+
peg$fail(peg$e57);
|
|
6637
7002
|
}
|
|
6638
7003
|
}
|
|
6639
7004
|
if (s0 === peg$FAILED) {
|
|
6640
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6641
|
-
s0 = peg$
|
|
7005
|
+
if (input.substr(peg$currPos, 6) === peg$c52) {
|
|
7006
|
+
s0 = peg$c52;
|
|
6642
7007
|
peg$currPos += 6;
|
|
6643
7008
|
}
|
|
6644
7009
|
else {
|
|
6645
7010
|
s0 = peg$FAILED;
|
|
6646
7011
|
if (peg$silentFails === 0) {
|
|
6647
|
-
peg$fail(peg$
|
|
7012
|
+
peg$fail(peg$e58);
|
|
6648
7013
|
}
|
|
6649
7014
|
}
|
|
6650
7015
|
if (s0 === peg$FAILED) {
|
|
6651
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6652
|
-
s0 = peg$
|
|
7016
|
+
if (input.substr(peg$currPos, 9) === peg$c53) {
|
|
7017
|
+
s0 = peg$c53;
|
|
6653
7018
|
peg$currPos += 9;
|
|
6654
7019
|
}
|
|
6655
7020
|
else {
|
|
6656
7021
|
s0 = peg$FAILED;
|
|
6657
7022
|
if (peg$silentFails === 0) {
|
|
6658
|
-
peg$fail(peg$
|
|
7023
|
+
peg$fail(peg$e59);
|
|
6659
7024
|
}
|
|
6660
7025
|
}
|
|
6661
7026
|
if (s0 === peg$FAILED) {
|
|
6662
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
6663
|
-
s0 = peg$
|
|
7027
|
+
if (input.substr(peg$currPos, 11) === peg$c54) {
|
|
7028
|
+
s0 = peg$c54;
|
|
6664
7029
|
peg$currPos += 11;
|
|
6665
7030
|
}
|
|
6666
7031
|
else {
|
|
6667
7032
|
s0 = peg$FAILED;
|
|
6668
7033
|
if (peg$silentFails === 0) {
|
|
6669
|
-
peg$fail(peg$
|
|
7034
|
+
peg$fail(peg$e60);
|
|
6670
7035
|
}
|
|
6671
7036
|
}
|
|
6672
7037
|
if (s0 === peg$FAILED) {
|
|
6673
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
6674
|
-
s0 = peg$
|
|
7038
|
+
if (input.substr(peg$currPos, 3) === peg$c55) {
|
|
7039
|
+
s0 = peg$c55;
|
|
6675
7040
|
peg$currPos += 3;
|
|
6676
7041
|
}
|
|
6677
7042
|
else {
|
|
6678
7043
|
s0 = peg$FAILED;
|
|
6679
7044
|
if (peg$silentFails === 0) {
|
|
6680
|
-
peg$fail(peg$
|
|
7045
|
+
peg$fail(peg$e61);
|
|
6681
7046
|
}
|
|
6682
7047
|
}
|
|
6683
7048
|
if (s0 === peg$FAILED) {
|
|
6684
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
6685
|
-
s0 = peg$
|
|
7049
|
+
if (input.substr(peg$currPos, 3) === peg$c56) {
|
|
7050
|
+
s0 = peg$c56;
|
|
6686
7051
|
peg$currPos += 3;
|
|
6687
7052
|
}
|
|
6688
7053
|
else {
|
|
6689
7054
|
s0 = peg$FAILED;
|
|
6690
7055
|
if (peg$silentFails === 0) {
|
|
6691
|
-
peg$fail(peg$
|
|
7056
|
+
peg$fail(peg$e62);
|
|
6692
7057
|
}
|
|
6693
7058
|
}
|
|
6694
7059
|
if (s0 === peg$FAILED) {
|
|
6695
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6696
|
-
s0 = peg$
|
|
7060
|
+
if (input.substr(peg$currPos, 9) === peg$c57) {
|
|
7061
|
+
s0 = peg$c57;
|
|
6697
7062
|
peg$currPos += 9;
|
|
6698
7063
|
}
|
|
6699
7064
|
else {
|
|
6700
7065
|
s0 = peg$FAILED;
|
|
6701
7066
|
if (peg$silentFails === 0) {
|
|
6702
|
-
peg$fail(peg$
|
|
7067
|
+
peg$fail(peg$e63);
|
|
6703
7068
|
}
|
|
6704
7069
|
}
|
|
6705
7070
|
if (s0 === peg$FAILED) {
|
|
6706
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
6707
|
-
s0 = peg$
|
|
7071
|
+
if (input.substr(peg$currPos, 15) === peg$c58) {
|
|
7072
|
+
s0 = peg$c58;
|
|
6708
7073
|
peg$currPos += 15;
|
|
6709
7074
|
}
|
|
6710
7075
|
else {
|
|
6711
7076
|
s0 = peg$FAILED;
|
|
6712
7077
|
if (peg$silentFails === 0) {
|
|
6713
|
-
peg$fail(peg$
|
|
7078
|
+
peg$fail(peg$e64);
|
|
6714
7079
|
}
|
|
6715
7080
|
}
|
|
6716
7081
|
if (s0 === peg$FAILED) {
|
|
6717
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6718
|
-
s0 = peg$
|
|
7082
|
+
if (input.substr(peg$currPos, 6) === peg$c59) {
|
|
7083
|
+
s0 = peg$c59;
|
|
6719
7084
|
peg$currPos += 6;
|
|
6720
7085
|
}
|
|
6721
7086
|
else {
|
|
6722
7087
|
s0 = peg$FAILED;
|
|
6723
7088
|
if (peg$silentFails === 0) {
|
|
6724
|
-
peg$fail(peg$
|
|
7089
|
+
peg$fail(peg$e65);
|
|
6725
7090
|
}
|
|
6726
7091
|
}
|
|
6727
7092
|
if (s0 === peg$FAILED) {
|
|
6728
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
6729
|
-
s0 = peg$
|
|
7093
|
+
if (input.substr(peg$currPos, 10) === peg$c60) {
|
|
7094
|
+
s0 = peg$c60;
|
|
6730
7095
|
peg$currPos += 10;
|
|
6731
7096
|
}
|
|
6732
7097
|
else {
|
|
6733
7098
|
s0 = peg$FAILED;
|
|
6734
7099
|
if (peg$silentFails === 0) {
|
|
6735
|
-
peg$fail(peg$
|
|
7100
|
+
peg$fail(peg$e66);
|
|
6736
7101
|
}
|
|
6737
7102
|
}
|
|
6738
7103
|
if (s0 === peg$FAILED) {
|
|
6739
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
6740
|
-
s0 = peg$
|
|
7104
|
+
if (input.substr(peg$currPos, 13) === peg$c61) {
|
|
7105
|
+
s0 = peg$c61;
|
|
6741
7106
|
peg$currPos += 13;
|
|
6742
7107
|
}
|
|
6743
7108
|
else {
|
|
6744
7109
|
s0 = peg$FAILED;
|
|
6745
7110
|
if (peg$silentFails === 0) {
|
|
6746
|
-
peg$fail(peg$
|
|
7111
|
+
peg$fail(peg$e67);
|
|
6747
7112
|
}
|
|
6748
7113
|
}
|
|
6749
7114
|
if (s0 === peg$FAILED) {
|
|
6750
|
-
if (input.substr(peg$currPos, 19) === peg$
|
|
6751
|
-
s0 = peg$
|
|
7115
|
+
if (input.substr(peg$currPos, 19) === peg$c62) {
|
|
7116
|
+
s0 = peg$c62;
|
|
6752
7117
|
peg$currPos += 19;
|
|
6753
7118
|
}
|
|
6754
7119
|
else {
|
|
6755
7120
|
s0 = peg$FAILED;
|
|
6756
7121
|
if (peg$silentFails === 0) {
|
|
6757
|
-
peg$fail(peg$
|
|
7122
|
+
peg$fail(peg$e68);
|
|
6758
7123
|
}
|
|
6759
7124
|
}
|
|
6760
7125
|
if (s0 === peg$FAILED) {
|
|
6761
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
6762
|
-
s0 = peg$
|
|
7126
|
+
if (input.substr(peg$currPos, 10) === peg$c63) {
|
|
7127
|
+
s0 = peg$c63;
|
|
6763
7128
|
peg$currPos += 10;
|
|
6764
7129
|
}
|
|
6765
7130
|
else {
|
|
6766
7131
|
s0 = peg$FAILED;
|
|
6767
7132
|
if (peg$silentFails === 0) {
|
|
6768
|
-
peg$fail(peg$
|
|
7133
|
+
peg$fail(peg$e69);
|
|
6769
7134
|
}
|
|
6770
7135
|
}
|
|
6771
7136
|
if (s0 === peg$FAILED) {
|
|
6772
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
6773
|
-
s0 = peg$
|
|
7137
|
+
if (input.substr(peg$currPos, 10) === peg$c64) {
|
|
7138
|
+
s0 = peg$c64;
|
|
6774
7139
|
peg$currPos += 10;
|
|
6775
7140
|
}
|
|
6776
7141
|
else {
|
|
6777
7142
|
s0 = peg$FAILED;
|
|
6778
7143
|
if (peg$silentFails === 0) {
|
|
6779
|
-
peg$fail(peg$
|
|
7144
|
+
peg$fail(peg$e70);
|
|
6780
7145
|
}
|
|
6781
7146
|
}
|
|
6782
7147
|
if (s0 === peg$FAILED) {
|
|
6783
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
6784
|
-
s0 = peg$
|
|
7148
|
+
if (input.substr(peg$currPos, 13) === peg$c65) {
|
|
7149
|
+
s0 = peg$c65;
|
|
6785
7150
|
peg$currPos += 13;
|
|
6786
7151
|
}
|
|
6787
7152
|
else {
|
|
6788
7153
|
s0 = peg$FAILED;
|
|
6789
7154
|
if (peg$silentFails === 0) {
|
|
6790
|
-
peg$fail(peg$
|
|
7155
|
+
peg$fail(peg$e71);
|
|
6791
7156
|
}
|
|
6792
7157
|
}
|
|
6793
7158
|
if (s0 === peg$FAILED) {
|
|
6794
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
6795
|
-
s0 = peg$
|
|
7159
|
+
if (input.substr(peg$currPos, 11) === peg$c66) {
|
|
7160
|
+
s0 = peg$c66;
|
|
6796
7161
|
peg$currPos += 11;
|
|
6797
7162
|
}
|
|
6798
7163
|
else {
|
|
6799
7164
|
s0 = peg$FAILED;
|
|
6800
7165
|
if (peg$silentFails === 0) {
|
|
6801
|
-
peg$fail(peg$
|
|
7166
|
+
peg$fail(peg$e72);
|
|
6802
7167
|
}
|
|
6803
7168
|
}
|
|
6804
7169
|
}
|
|
@@ -6823,245 +7188,245 @@ function peg$parse(input, options) {
|
|
|
6823
7188
|
}
|
|
6824
7189
|
function peg$parseColor() {
|
|
6825
7190
|
var s0;
|
|
6826
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6827
|
-
s0 = peg$
|
|
7191
|
+
if (input.substr(peg$currPos, 4) === peg$c67) {
|
|
7192
|
+
s0 = peg$c67;
|
|
6828
7193
|
peg$currPos += 4;
|
|
6829
7194
|
}
|
|
6830
7195
|
else {
|
|
6831
7196
|
s0 = peg$FAILED;
|
|
6832
7197
|
if (peg$silentFails === 0) {
|
|
6833
|
-
peg$fail(peg$
|
|
7198
|
+
peg$fail(peg$e73);
|
|
6834
7199
|
}
|
|
6835
7200
|
}
|
|
6836
7201
|
if (s0 === peg$FAILED) {
|
|
6837
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6838
|
-
s0 = peg$
|
|
7202
|
+
if (input.substr(peg$currPos, 5) === peg$c68) {
|
|
7203
|
+
s0 = peg$c68;
|
|
6839
7204
|
peg$currPos += 5;
|
|
6840
7205
|
}
|
|
6841
7206
|
else {
|
|
6842
7207
|
s0 = peg$FAILED;
|
|
6843
7208
|
if (peg$silentFails === 0) {
|
|
6844
|
-
peg$fail(peg$
|
|
7209
|
+
peg$fail(peg$e74);
|
|
6845
7210
|
}
|
|
6846
7211
|
}
|
|
6847
7212
|
if (s0 === peg$FAILED) {
|
|
6848
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6849
|
-
s0 = peg$
|
|
7213
|
+
if (input.substr(peg$currPos, 4) === peg$c69) {
|
|
7214
|
+
s0 = peg$c69;
|
|
6850
7215
|
peg$currPos += 4;
|
|
6851
7216
|
}
|
|
6852
7217
|
else {
|
|
6853
7218
|
s0 = peg$FAILED;
|
|
6854
7219
|
if (peg$silentFails === 0) {
|
|
6855
|
-
peg$fail(peg$
|
|
7220
|
+
peg$fail(peg$e75);
|
|
6856
7221
|
}
|
|
6857
7222
|
}
|
|
6858
7223
|
if (s0 === peg$FAILED) {
|
|
6859
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6860
|
-
s0 = peg$
|
|
7224
|
+
if (input.substr(peg$currPos, 4) === peg$c70) {
|
|
7225
|
+
s0 = peg$c70;
|
|
6861
7226
|
peg$currPos += 4;
|
|
6862
7227
|
}
|
|
6863
7228
|
else {
|
|
6864
7229
|
s0 = peg$FAILED;
|
|
6865
7230
|
if (peg$silentFails === 0) {
|
|
6866
|
-
peg$fail(peg$
|
|
7231
|
+
peg$fail(peg$e76);
|
|
6867
7232
|
}
|
|
6868
7233
|
}
|
|
6869
7234
|
if (s0 === peg$FAILED) {
|
|
6870
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
6871
|
-
s0 = peg$
|
|
7235
|
+
if (input.substr(peg$currPos, 7) === peg$c71) {
|
|
7236
|
+
s0 = peg$c71;
|
|
6872
7237
|
peg$currPos += 7;
|
|
6873
7238
|
}
|
|
6874
7239
|
else {
|
|
6875
7240
|
s0 = peg$FAILED;
|
|
6876
7241
|
if (peg$silentFails === 0) {
|
|
6877
|
-
peg$fail(peg$
|
|
7242
|
+
peg$fail(peg$e77);
|
|
6878
7243
|
}
|
|
6879
7244
|
}
|
|
6880
7245
|
if (s0 === peg$FAILED) {
|
|
6881
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6882
|
-
s0 = peg$
|
|
7246
|
+
if (input.substr(peg$currPos, 9) === peg$c72) {
|
|
7247
|
+
s0 = peg$c72;
|
|
6883
7248
|
peg$currPos += 9;
|
|
6884
7249
|
}
|
|
6885
7250
|
else {
|
|
6886
7251
|
s0 = peg$FAILED;
|
|
6887
7252
|
if (peg$silentFails === 0) {
|
|
6888
|
-
peg$fail(peg$
|
|
7253
|
+
peg$fail(peg$e78);
|
|
6889
7254
|
}
|
|
6890
7255
|
}
|
|
6891
7256
|
if (s0 === peg$FAILED) {
|
|
6892
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6893
|
-
s0 = peg$
|
|
7257
|
+
if (input.substr(peg$currPos, 4) === peg$c73) {
|
|
7258
|
+
s0 = peg$c73;
|
|
6894
7259
|
peg$currPos += 4;
|
|
6895
7260
|
}
|
|
6896
7261
|
else {
|
|
6897
7262
|
s0 = peg$FAILED;
|
|
6898
7263
|
if (peg$silentFails === 0) {
|
|
6899
|
-
peg$fail(peg$
|
|
7264
|
+
peg$fail(peg$e79);
|
|
6900
7265
|
}
|
|
6901
7266
|
}
|
|
6902
7267
|
if (s0 === peg$FAILED) {
|
|
6903
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
6904
|
-
s0 = peg$
|
|
7268
|
+
if (input.substr(peg$currPos, 8) === peg$c74) {
|
|
7269
|
+
s0 = peg$c74;
|
|
6905
7270
|
peg$currPos += 8;
|
|
6906
7271
|
}
|
|
6907
7272
|
else {
|
|
6908
7273
|
s0 = peg$FAILED;
|
|
6909
7274
|
if (peg$silentFails === 0) {
|
|
6910
|
-
peg$fail(peg$
|
|
7275
|
+
peg$fail(peg$e80);
|
|
6911
7276
|
}
|
|
6912
7277
|
}
|
|
6913
7278
|
if (s0 === peg$FAILED) {
|
|
6914
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6915
|
-
s0 = peg$
|
|
7279
|
+
if (input.substr(peg$currPos, 5) === peg$c75) {
|
|
7280
|
+
s0 = peg$c75;
|
|
6916
7281
|
peg$currPos += 5;
|
|
6917
7282
|
}
|
|
6918
7283
|
else {
|
|
6919
7284
|
s0 = peg$FAILED;
|
|
6920
7285
|
if (peg$silentFails === 0) {
|
|
6921
|
-
peg$fail(peg$
|
|
7286
|
+
peg$fail(peg$e81);
|
|
6922
7287
|
}
|
|
6923
7288
|
}
|
|
6924
7289
|
if (s0 === peg$FAILED) {
|
|
6925
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6926
|
-
s0 = peg$
|
|
7290
|
+
if (input.substr(peg$currPos, 4) === peg$c76) {
|
|
7291
|
+
s0 = peg$c76;
|
|
6927
7292
|
peg$currPos += 4;
|
|
6928
7293
|
}
|
|
6929
7294
|
else {
|
|
6930
7295
|
s0 = peg$FAILED;
|
|
6931
7296
|
if (peg$silentFails === 0) {
|
|
6932
|
-
peg$fail(peg$
|
|
7297
|
+
peg$fail(peg$e82);
|
|
6933
7298
|
}
|
|
6934
7299
|
}
|
|
6935
7300
|
if (s0 === peg$FAILED) {
|
|
6936
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
6937
|
-
s0 = peg$
|
|
7301
|
+
if (input.substr(peg$currPos, 7) === peg$c77) {
|
|
7302
|
+
s0 = peg$c77;
|
|
6938
7303
|
peg$currPos += 7;
|
|
6939
7304
|
}
|
|
6940
7305
|
else {
|
|
6941
7306
|
s0 = peg$FAILED;
|
|
6942
7307
|
if (peg$silentFails === 0) {
|
|
6943
|
-
peg$fail(peg$
|
|
7308
|
+
peg$fail(peg$e83);
|
|
6944
7309
|
}
|
|
6945
7310
|
}
|
|
6946
7311
|
if (s0 === peg$FAILED) {
|
|
6947
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6948
|
-
s0 = peg$
|
|
7312
|
+
if (input.substr(peg$currPos, 6) === peg$c78) {
|
|
7313
|
+
s0 = peg$c78;
|
|
6949
7314
|
peg$currPos += 6;
|
|
6950
7315
|
}
|
|
6951
7316
|
else {
|
|
6952
7317
|
s0 = peg$FAILED;
|
|
6953
7318
|
if (peg$silentFails === 0) {
|
|
6954
|
-
peg$fail(peg$
|
|
7319
|
+
peg$fail(peg$e84);
|
|
6955
7320
|
}
|
|
6956
7321
|
}
|
|
6957
7322
|
if (s0 === peg$FAILED) {
|
|
6958
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6959
|
-
s0 = peg$
|
|
7323
|
+
if (input.substr(peg$currPos, 4) === peg$c79) {
|
|
7324
|
+
s0 = peg$c79;
|
|
6960
7325
|
peg$currPos += 4;
|
|
6961
7326
|
}
|
|
6962
7327
|
else {
|
|
6963
7328
|
s0 = peg$FAILED;
|
|
6964
7329
|
if (peg$silentFails === 0) {
|
|
6965
|
-
peg$fail(peg$
|
|
7330
|
+
peg$fail(peg$e85);
|
|
6966
7331
|
}
|
|
6967
7332
|
}
|
|
6968
7333
|
if (s0 === peg$FAILED) {
|
|
6969
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6970
|
-
s0 = peg$
|
|
7334
|
+
if (input.substr(peg$currPos, 5) === peg$c80) {
|
|
7335
|
+
s0 = peg$c80;
|
|
6971
7336
|
peg$currPos += 5;
|
|
6972
7337
|
}
|
|
6973
7338
|
else {
|
|
6974
7339
|
s0 = peg$FAILED;
|
|
6975
7340
|
if (peg$silentFails === 0) {
|
|
6976
|
-
peg$fail(peg$
|
|
7341
|
+
peg$fail(peg$e86);
|
|
6977
7342
|
}
|
|
6978
7343
|
}
|
|
6979
7344
|
if (s0 === peg$FAILED) {
|
|
6980
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6981
|
-
s0 = peg$
|
|
7345
|
+
if (input.substr(peg$currPos, 6) === peg$c81) {
|
|
7346
|
+
s0 = peg$c81;
|
|
6982
7347
|
peg$currPos += 6;
|
|
6983
7348
|
}
|
|
6984
7349
|
else {
|
|
6985
7350
|
s0 = peg$FAILED;
|
|
6986
7351
|
if (peg$silentFails === 0) {
|
|
6987
|
-
peg$fail(peg$
|
|
7352
|
+
peg$fail(peg$e87);
|
|
6988
7353
|
}
|
|
6989
7354
|
}
|
|
6990
7355
|
if (s0 === peg$FAILED) {
|
|
6991
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6992
|
-
s0 = peg$
|
|
7356
|
+
if (input.substr(peg$currPos, 6) === peg$c82) {
|
|
7357
|
+
s0 = peg$c82;
|
|
6993
7358
|
peg$currPos += 6;
|
|
6994
7359
|
}
|
|
6995
7360
|
else {
|
|
6996
7361
|
s0 = peg$FAILED;
|
|
6997
7362
|
if (peg$silentFails === 0) {
|
|
6998
|
-
peg$fail(peg$
|
|
7363
|
+
peg$fail(peg$e88);
|
|
6999
7364
|
}
|
|
7000
7365
|
}
|
|
7001
7366
|
if (s0 === peg$FAILED) {
|
|
7002
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7003
|
-
s0 = peg$
|
|
7367
|
+
if (input.substr(peg$currPos, 3) === peg$c83) {
|
|
7368
|
+
s0 = peg$c83;
|
|
7004
7369
|
peg$currPos += 3;
|
|
7005
7370
|
}
|
|
7006
7371
|
else {
|
|
7007
7372
|
s0 = peg$FAILED;
|
|
7008
7373
|
if (peg$silentFails === 0) {
|
|
7009
|
-
peg$fail(peg$
|
|
7374
|
+
peg$fail(peg$e89);
|
|
7010
7375
|
}
|
|
7011
7376
|
}
|
|
7012
7377
|
if (s0 === peg$FAILED) {
|
|
7013
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7014
|
-
s0 = peg$
|
|
7378
|
+
if (input.substr(peg$currPos, 6) === peg$c84) {
|
|
7379
|
+
s0 = peg$c84;
|
|
7015
7380
|
peg$currPos += 6;
|
|
7016
7381
|
}
|
|
7017
7382
|
else {
|
|
7018
7383
|
s0 = peg$FAILED;
|
|
7019
7384
|
if (peg$silentFails === 0) {
|
|
7020
|
-
peg$fail(peg$
|
|
7385
|
+
peg$fail(peg$e90);
|
|
7021
7386
|
}
|
|
7022
7387
|
}
|
|
7023
7388
|
if (s0 === peg$FAILED) {
|
|
7024
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7025
|
-
s0 = peg$
|
|
7389
|
+
if (input.substr(peg$currPos, 4) === peg$c85) {
|
|
7390
|
+
s0 = peg$c85;
|
|
7026
7391
|
peg$currPos += 4;
|
|
7027
7392
|
}
|
|
7028
7393
|
else {
|
|
7029
7394
|
s0 = peg$FAILED;
|
|
7030
7395
|
if (peg$silentFails === 0) {
|
|
7031
|
-
peg$fail(peg$
|
|
7396
|
+
peg$fail(peg$e91);
|
|
7032
7397
|
}
|
|
7033
7398
|
}
|
|
7034
7399
|
if (s0 === peg$FAILED) {
|
|
7035
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7036
|
-
s0 = peg$
|
|
7400
|
+
if (input.substr(peg$currPos, 6) === peg$c86) {
|
|
7401
|
+
s0 = peg$c86;
|
|
7037
7402
|
peg$currPos += 6;
|
|
7038
7403
|
}
|
|
7039
7404
|
else {
|
|
7040
7405
|
s0 = peg$FAILED;
|
|
7041
7406
|
if (peg$silentFails === 0) {
|
|
7042
|
-
peg$fail(peg$
|
|
7407
|
+
peg$fail(peg$e92);
|
|
7043
7408
|
}
|
|
7044
7409
|
}
|
|
7045
7410
|
if (s0 === peg$FAILED) {
|
|
7046
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
7047
|
-
s0 = peg$
|
|
7411
|
+
if (input.substr(peg$currPos, 5) === peg$c87) {
|
|
7412
|
+
s0 = peg$c87;
|
|
7048
7413
|
peg$currPos += 5;
|
|
7049
7414
|
}
|
|
7050
7415
|
else {
|
|
7051
7416
|
s0 = peg$FAILED;
|
|
7052
7417
|
if (peg$silentFails === 0) {
|
|
7053
|
-
peg$fail(peg$
|
|
7418
|
+
peg$fail(peg$e93);
|
|
7054
7419
|
}
|
|
7055
7420
|
}
|
|
7056
7421
|
if (s0 === peg$FAILED) {
|
|
7057
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7058
|
-
s0 = peg$
|
|
7422
|
+
if (input.substr(peg$currPos, 6) === peg$c88) {
|
|
7423
|
+
s0 = peg$c88;
|
|
7059
7424
|
peg$currPos += 6;
|
|
7060
7425
|
}
|
|
7061
7426
|
else {
|
|
7062
7427
|
s0 = peg$FAILED;
|
|
7063
7428
|
if (peg$silentFails === 0) {
|
|
7064
|
-
peg$fail(peg$
|
|
7429
|
+
peg$fail(peg$e94);
|
|
7065
7430
|
}
|
|
7066
7431
|
}
|
|
7067
7432
|
}
|
|
@@ -7093,12 +7458,12 @@ function peg$parse(input, options) {
|
|
|
7093
7458
|
s0 = peg$currPos;
|
|
7094
7459
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
7095
7460
|
peg$savedPos = s0;
|
|
7096
|
-
s1 = peg$
|
|
7461
|
+
s1 = peg$f82(s1);
|
|
7097
7462
|
s0 = s1;
|
|
7098
7463
|
peg$silentFails--;
|
|
7099
7464
|
s1 = peg$FAILED;
|
|
7100
7465
|
if (peg$silentFails === 0) {
|
|
7101
|
-
peg$fail(peg$
|
|
7466
|
+
peg$fail(peg$e95);
|
|
7102
7467
|
}
|
|
7103
7468
|
return s0;
|
|
7104
7469
|
}
|
|
@@ -7123,11 +7488,11 @@ function peg$parse(input, options) {
|
|
|
7123
7488
|
}
|
|
7124
7489
|
}
|
|
7125
7490
|
peg$savedPos = s0;
|
|
7126
|
-
s0 = peg$
|
|
7491
|
+
s0 = peg$f83(s1, s2);
|
|
7127
7492
|
peg$silentFails--;
|
|
7128
7493
|
s1 = peg$FAILED;
|
|
7129
7494
|
if (peg$silentFails === 0) {
|
|
7130
|
-
peg$fail(peg$
|
|
7495
|
+
peg$fail(peg$e96);
|
|
7131
7496
|
}
|
|
7132
7497
|
return s0;
|
|
7133
7498
|
}
|
|
@@ -7137,7 +7502,7 @@ function peg$parse(input, options) {
|
|
|
7137
7502
|
s1 = peg$parseNL();
|
|
7138
7503
|
if (s1 !== peg$FAILED) {
|
|
7139
7504
|
peg$savedPos = s0;
|
|
7140
|
-
s1 = peg$
|
|
7505
|
+
s1 = peg$f84();
|
|
7141
7506
|
}
|
|
7142
7507
|
s0 = s1;
|
|
7143
7508
|
if (s0 === peg$FAILED) {
|
|
@@ -7280,7 +7645,7 @@ function peg$parse(input, options) {
|
|
|
7280
7645
|
}
|
|
7281
7646
|
if (s1 !== peg$FAILED) {
|
|
7282
7647
|
peg$savedPos = s0;
|
|
7283
|
-
s1 = peg$
|
|
7648
|
+
s1 = peg$f85(s1);
|
|
7284
7649
|
}
|
|
7285
7650
|
s0 = s1;
|
|
7286
7651
|
}
|
|
@@ -7289,13 +7654,13 @@ function peg$parse(input, options) {
|
|
|
7289
7654
|
function peg$parseBoldHalfTag() {
|
|
7290
7655
|
var s0;
|
|
7291
7656
|
if (input.charCodeAt(peg$currPos) === 42) {
|
|
7292
|
-
s0 = peg$
|
|
7657
|
+
s0 = peg$c89;
|
|
7293
7658
|
peg$currPos++;
|
|
7294
7659
|
}
|
|
7295
7660
|
else {
|
|
7296
7661
|
s0 = peg$FAILED;
|
|
7297
7662
|
if (peg$silentFails === 0) {
|
|
7298
|
-
peg$fail(peg$
|
|
7663
|
+
peg$fail(peg$e97);
|
|
7299
7664
|
}
|
|
7300
7665
|
}
|
|
7301
7666
|
return s0;
|
|
@@ -7303,13 +7668,13 @@ function peg$parse(input, options) {
|
|
|
7303
7668
|
function peg$parseItalicHalfTag() {
|
|
7304
7669
|
var s0;
|
|
7305
7670
|
if (input.charCodeAt(peg$currPos) === 95) {
|
|
7306
|
-
s0 = peg$
|
|
7671
|
+
s0 = peg$c90;
|
|
7307
7672
|
peg$currPos++;
|
|
7308
7673
|
}
|
|
7309
7674
|
else {
|
|
7310
7675
|
s0 = peg$FAILED;
|
|
7311
7676
|
if (peg$silentFails === 0) {
|
|
7312
|
-
peg$fail(peg$
|
|
7677
|
+
peg$fail(peg$e98);
|
|
7313
7678
|
}
|
|
7314
7679
|
}
|
|
7315
7680
|
return s0;
|
|
@@ -7317,13 +7682,13 @@ function peg$parse(input, options) {
|
|
|
7317
7682
|
function peg$parseLightHalfTag() {
|
|
7318
7683
|
var s0;
|
|
7319
7684
|
if (input.charCodeAt(peg$currPos) === 96) {
|
|
7320
|
-
s0 = peg$
|
|
7685
|
+
s0 = peg$c91;
|
|
7321
7686
|
peg$currPos++;
|
|
7322
7687
|
}
|
|
7323
7688
|
else {
|
|
7324
7689
|
s0 = peg$FAILED;
|
|
7325
7690
|
if (peg$silentFails === 0) {
|
|
7326
|
-
peg$fail(peg$
|
|
7691
|
+
peg$fail(peg$e99);
|
|
7327
7692
|
}
|
|
7328
7693
|
}
|
|
7329
7694
|
return s0;
|
|
@@ -7331,13 +7696,13 @@ function peg$parse(input, options) {
|
|
|
7331
7696
|
function peg$parseHighlightHalfTag() {
|
|
7332
7697
|
var s0;
|
|
7333
7698
|
if (input.charCodeAt(peg$currPos) === 33) {
|
|
7334
|
-
s0 = peg$
|
|
7699
|
+
s0 = peg$c92;
|
|
7335
7700
|
peg$currPos++;
|
|
7336
7701
|
}
|
|
7337
7702
|
else {
|
|
7338
7703
|
s0 = peg$FAILED;
|
|
7339
7704
|
if (peg$silentFails === 0) {
|
|
7340
|
-
peg$fail(peg$
|
|
7705
|
+
peg$fail(peg$e100);
|
|
7341
7706
|
}
|
|
7342
7707
|
}
|
|
7343
7708
|
return s0;
|
|
@@ -7428,14 +7793,14 @@ function peg$parse(input, options) {
|
|
|
7428
7793
|
}
|
|
7429
7794
|
function peg$parseBodyBitOpenTag() {
|
|
7430
7795
|
var s0;
|
|
7431
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
7432
|
-
s0 = peg$
|
|
7796
|
+
if (input.substr(peg$currPos, 2) === peg$c93) {
|
|
7797
|
+
s0 = peg$c93;
|
|
7433
7798
|
peg$currPos += 2;
|
|
7434
7799
|
}
|
|
7435
7800
|
else {
|
|
7436
7801
|
s0 = peg$FAILED;
|
|
7437
7802
|
if (peg$silentFails === 0) {
|
|
7438
|
-
peg$fail(peg$
|
|
7803
|
+
peg$fail(peg$e101);
|
|
7439
7804
|
}
|
|
7440
7805
|
}
|
|
7441
7806
|
return s0;
|
|
@@ -7443,13 +7808,13 @@ function peg$parse(input, options) {
|
|
|
7443
7808
|
function peg$parseBodyBitCloseTag() {
|
|
7444
7809
|
var s0;
|
|
7445
7810
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
7446
|
-
s0 = peg$
|
|
7811
|
+
s0 = peg$c94;
|
|
7447
7812
|
peg$currPos++;
|
|
7448
7813
|
}
|
|
7449
7814
|
else {
|
|
7450
7815
|
s0 = peg$FAILED;
|
|
7451
7816
|
if (peg$silentFails === 0) {
|
|
7452
|
-
peg$fail(peg$
|
|
7817
|
+
peg$fail(peg$e102);
|
|
7453
7818
|
}
|
|
7454
7819
|
}
|
|
7455
7820
|
return s0;
|
|
@@ -7499,7 +7864,7 @@ function peg$parse(input, options) {
|
|
|
7499
7864
|
s3 = peg$parseBodyBitCloseTag();
|
|
7500
7865
|
if (s3 !== peg$FAILED) {
|
|
7501
7866
|
peg$savedPos = s0;
|
|
7502
|
-
s0 = peg$
|
|
7867
|
+
s0 = peg$f86(s2);
|
|
7503
7868
|
}
|
|
7504
7869
|
else {
|
|
7505
7870
|
peg$currPos = s0;
|
|
@@ -7670,7 +8035,7 @@ function peg$parse(input, options) {
|
|
|
7670
8035
|
s5 = peg$parseBoldTag();
|
|
7671
8036
|
if (s5 !== peg$FAILED) {
|
|
7672
8037
|
peg$savedPos = s0;
|
|
7673
|
-
s0 = peg$
|
|
8038
|
+
s0 = peg$f87(s3);
|
|
7674
8039
|
}
|
|
7675
8040
|
else {
|
|
7676
8041
|
peg$currPos = s0;
|
|
@@ -7836,7 +8201,7 @@ function peg$parse(input, options) {
|
|
|
7836
8201
|
s5 = peg$parseItalicTag();
|
|
7837
8202
|
if (s5 !== peg$FAILED) {
|
|
7838
8203
|
peg$savedPos = s0;
|
|
7839
|
-
s0 = peg$
|
|
8204
|
+
s0 = peg$f88(s3);
|
|
7840
8205
|
}
|
|
7841
8206
|
else {
|
|
7842
8207
|
peg$currPos = s0;
|
|
@@ -8002,7 +8367,7 @@ function peg$parse(input, options) {
|
|
|
8002
8367
|
s5 = peg$parseLightTag();
|
|
8003
8368
|
if (s5 !== peg$FAILED) {
|
|
8004
8369
|
peg$savedPos = s0;
|
|
8005
|
-
s0 = peg$
|
|
8370
|
+
s0 = peg$f89(s3);
|
|
8006
8371
|
}
|
|
8007
8372
|
else {
|
|
8008
8373
|
peg$currPos = s0;
|
|
@@ -8168,7 +8533,7 @@ function peg$parse(input, options) {
|
|
|
8168
8533
|
s5 = peg$parseHighlightTag();
|
|
8169
8534
|
if (s5 !== peg$FAILED) {
|
|
8170
8535
|
peg$savedPos = s0;
|
|
8171
|
-
s0 = peg$
|
|
8536
|
+
s0 = peg$f90(s3);
|
|
8172
8537
|
}
|
|
8173
8538
|
else {
|
|
8174
8539
|
peg$currPos = s0;
|
|
@@ -8263,24 +8628,24 @@ function peg$parse(input, options) {
|
|
|
8263
8628
|
var s0, s1;
|
|
8264
8629
|
peg$silentFails++;
|
|
8265
8630
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
8266
|
-
s0 = peg$
|
|
8631
|
+
s0 = peg$c95;
|
|
8267
8632
|
peg$currPos++;
|
|
8268
8633
|
}
|
|
8269
8634
|
else {
|
|
8270
8635
|
s0 = peg$FAILED;
|
|
8271
8636
|
if (peg$silentFails === 0) {
|
|
8272
|
-
peg$fail(peg$
|
|
8637
|
+
peg$fail(peg$e104);
|
|
8273
8638
|
}
|
|
8274
8639
|
}
|
|
8275
8640
|
if (s0 === peg$FAILED) {
|
|
8276
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
8277
|
-
s0 = peg$
|
|
8641
|
+
if (input.substr(peg$currPos, 2) === peg$c96) {
|
|
8642
|
+
s0 = peg$c96;
|
|
8278
8643
|
peg$currPos += 2;
|
|
8279
8644
|
}
|
|
8280
8645
|
else {
|
|
8281
8646
|
s0 = peg$FAILED;
|
|
8282
8647
|
if (peg$silentFails === 0) {
|
|
8283
|
-
peg$fail(peg$
|
|
8648
|
+
peg$fail(peg$e105);
|
|
8284
8649
|
}
|
|
8285
8650
|
}
|
|
8286
8651
|
if (s0 === peg$FAILED) {
|
|
@@ -8291,7 +8656,7 @@ function peg$parse(input, options) {
|
|
|
8291
8656
|
else {
|
|
8292
8657
|
s0 = peg$FAILED;
|
|
8293
8658
|
if (peg$silentFails === 0) {
|
|
8294
|
-
peg$fail(peg$
|
|
8659
|
+
peg$fail(peg$e106);
|
|
8295
8660
|
}
|
|
8296
8661
|
}
|
|
8297
8662
|
}
|
|
@@ -8300,7 +8665,7 @@ function peg$parse(input, options) {
|
|
|
8300
8665
|
if (s0 === peg$FAILED) {
|
|
8301
8666
|
s1 = peg$FAILED;
|
|
8302
8667
|
if (peg$silentFails === 0) {
|
|
8303
|
-
peg$fail(peg$
|
|
8668
|
+
peg$fail(peg$e103);
|
|
8304
8669
|
}
|
|
8305
8670
|
}
|
|
8306
8671
|
return s0;
|
|
@@ -8335,7 +8700,7 @@ function peg$parse(input, options) {
|
|
|
8335
8700
|
peg$silentFails--;
|
|
8336
8701
|
s1 = peg$FAILED;
|
|
8337
8702
|
if (peg$silentFails === 0) {
|
|
8338
|
-
peg$fail(peg$
|
|
8703
|
+
peg$fail(peg$e107);
|
|
8339
8704
|
}
|
|
8340
8705
|
return s0;
|
|
8341
8706
|
}
|
|
@@ -8359,7 +8724,7 @@ function peg$parse(input, options) {
|
|
|
8359
8724
|
peg$silentFails--;
|
|
8360
8725
|
s1 = peg$FAILED;
|
|
8361
8726
|
if (peg$silentFails === 0) {
|
|
8362
|
-
peg$fail(peg$
|
|
8727
|
+
peg$fail(peg$e108);
|
|
8363
8728
|
}
|
|
8364
8729
|
return s0;
|
|
8365
8730
|
}
|
|
@@ -8383,7 +8748,7 @@ function peg$parse(input, options) {
|
|
|
8383
8748
|
if (s0 === peg$FAILED) {
|
|
8384
8749
|
s1 = peg$FAILED;
|
|
8385
8750
|
if (peg$silentFails === 0) {
|
|
8386
|
-
peg$fail(peg$
|
|
8751
|
+
peg$fail(peg$e109);
|
|
8387
8752
|
}
|
|
8388
8753
|
}
|
|
8389
8754
|
return s0;
|
|
@@ -8398,14 +8763,14 @@ function peg$parse(input, options) {
|
|
|
8398
8763
|
else {
|
|
8399
8764
|
s0 = peg$FAILED;
|
|
8400
8765
|
if (peg$silentFails === 0) {
|
|
8401
|
-
peg$fail(peg$
|
|
8766
|
+
peg$fail(peg$e111);
|
|
8402
8767
|
}
|
|
8403
8768
|
}
|
|
8404
8769
|
peg$silentFails--;
|
|
8405
8770
|
if (s0 === peg$FAILED) {
|
|
8406
8771
|
s1 = peg$FAILED;
|
|
8407
8772
|
if (peg$silentFails === 0) {
|
|
8408
|
-
peg$fail(peg$
|
|
8773
|
+
peg$fail(peg$e110);
|
|
8409
8774
|
}
|
|
8410
8775
|
}
|
|
8411
8776
|
return s0;
|
|
@@ -8419,7 +8784,7 @@ function peg$parse(input, options) {
|
|
|
8419
8784
|
else {
|
|
8420
8785
|
s0 = peg$FAILED;
|
|
8421
8786
|
if (peg$silentFails === 0) {
|
|
8422
|
-
peg$fail(peg$
|
|
8787
|
+
peg$fail(peg$e112);
|
|
8423
8788
|
}
|
|
8424
8789
|
}
|
|
8425
8790
|
return s0;
|
|
@@ -8433,7 +8798,7 @@ function peg$parse(input, options) {
|
|
|
8433
8798
|
else {
|
|
8434
8799
|
s0 = peg$FAILED;
|
|
8435
8800
|
if (peg$silentFails === 0) {
|
|
8436
|
-
peg$fail(peg$
|
|
8801
|
+
peg$fail(peg$e113);
|
|
8437
8802
|
}
|
|
8438
8803
|
}
|
|
8439
8804
|
return s0;
|
|
@@ -8447,7 +8812,7 @@ function peg$parse(input, options) {
|
|
|
8447
8812
|
else {
|
|
8448
8813
|
s0 = peg$FAILED;
|
|
8449
8814
|
if (peg$silentFails === 0) {
|
|
8450
|
-
peg$fail(peg$
|
|
8815
|
+
peg$fail(peg$e114);
|
|
8451
8816
|
}
|
|
8452
8817
|
}
|
|
8453
8818
|
return s0;
|
|
@@ -8483,38 +8848,38 @@ function peg$parse(input, options) {
|
|
|
8483
8848
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8;
|
|
8484
8849
|
s0 = peg$currPos;
|
|
8485
8850
|
s1 = peg$currPos;
|
|
8486
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
8487
|
-
s2 = peg$
|
|
8851
|
+
if (input.substr(peg$currPos, 4) === peg$c97) {
|
|
8852
|
+
s2 = peg$c97;
|
|
8488
8853
|
peg$currPos += 4;
|
|
8489
8854
|
}
|
|
8490
8855
|
else {
|
|
8491
8856
|
s2 = peg$FAILED;
|
|
8492
8857
|
if (peg$silentFails === 0) {
|
|
8493
|
-
peg$fail(peg$
|
|
8858
|
+
peg$fail(peg$e115);
|
|
8494
8859
|
}
|
|
8495
8860
|
}
|
|
8496
8861
|
if (s2 !== peg$FAILED) {
|
|
8497
8862
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
8498
|
-
s3 = peg$
|
|
8863
|
+
s3 = peg$c98;
|
|
8499
8864
|
peg$currPos++;
|
|
8500
8865
|
}
|
|
8501
8866
|
else {
|
|
8502
8867
|
s3 = peg$FAILED;
|
|
8503
8868
|
if (peg$silentFails === 0) {
|
|
8504
|
-
peg$fail(peg$
|
|
8869
|
+
peg$fail(peg$e116);
|
|
8505
8870
|
}
|
|
8506
8871
|
}
|
|
8507
8872
|
if (s3 === peg$FAILED) {
|
|
8508
8873
|
s3 = null;
|
|
8509
8874
|
}
|
|
8510
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
8511
|
-
s4 = peg$
|
|
8875
|
+
if (input.substr(peg$currPos, 3) === peg$c99) {
|
|
8876
|
+
s4 = peg$c99;
|
|
8512
8877
|
peg$currPos += 3;
|
|
8513
8878
|
}
|
|
8514
8879
|
else {
|
|
8515
8880
|
s4 = peg$FAILED;
|
|
8516
8881
|
if (peg$silentFails === 0) {
|
|
8517
|
-
peg$fail(peg$
|
|
8882
|
+
peg$fail(peg$e117);
|
|
8518
8883
|
}
|
|
8519
8884
|
}
|
|
8520
8885
|
if (s4 !== peg$FAILED) {
|
|
@@ -8601,38 +8966,38 @@ function peg$parse(input, options) {
|
|
|
8601
8966
|
s0 = peg$currPos;
|
|
8602
8967
|
s1 = peg$currPos;
|
|
8603
8968
|
s2 = peg$currPos;
|
|
8604
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
8605
|
-
s3 = peg$
|
|
8969
|
+
if (input.substr(peg$currPos, 4) === peg$c97) {
|
|
8970
|
+
s3 = peg$c97;
|
|
8606
8971
|
peg$currPos += 4;
|
|
8607
8972
|
}
|
|
8608
8973
|
else {
|
|
8609
8974
|
s3 = peg$FAILED;
|
|
8610
8975
|
if (peg$silentFails === 0) {
|
|
8611
|
-
peg$fail(peg$
|
|
8976
|
+
peg$fail(peg$e115);
|
|
8612
8977
|
}
|
|
8613
8978
|
}
|
|
8614
8979
|
if (s3 !== peg$FAILED) {
|
|
8615
8980
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
8616
|
-
s4 = peg$
|
|
8981
|
+
s4 = peg$c98;
|
|
8617
8982
|
peg$currPos++;
|
|
8618
8983
|
}
|
|
8619
8984
|
else {
|
|
8620
8985
|
s4 = peg$FAILED;
|
|
8621
8986
|
if (peg$silentFails === 0) {
|
|
8622
|
-
peg$fail(peg$
|
|
8987
|
+
peg$fail(peg$e116);
|
|
8623
8988
|
}
|
|
8624
8989
|
}
|
|
8625
8990
|
if (s4 === peg$FAILED) {
|
|
8626
8991
|
s4 = null;
|
|
8627
8992
|
}
|
|
8628
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
8629
|
-
s5 = peg$
|
|
8993
|
+
if (input.substr(peg$currPos, 3) === peg$c99) {
|
|
8994
|
+
s5 = peg$c99;
|
|
8630
8995
|
peg$currPos += 3;
|
|
8631
8996
|
}
|
|
8632
8997
|
else {
|
|
8633
8998
|
s5 = peg$FAILED;
|
|
8634
8999
|
if (peg$silentFails === 0) {
|
|
8635
|
-
peg$fail(peg$
|
|
9000
|
+
peg$fail(peg$e117);
|
|
8636
9001
|
}
|
|
8637
9002
|
}
|
|
8638
9003
|
if (s5 !== peg$FAILED) {
|
|
@@ -8649,14 +9014,14 @@ function peg$parse(input, options) {
|
|
|
8649
9014
|
s2 = peg$FAILED;
|
|
8650
9015
|
}
|
|
8651
9016
|
if (s2 === peg$FAILED) {
|
|
8652
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
8653
|
-
s2 = peg$
|
|
9017
|
+
if (input.substr(peg$currPos, 7) === peg$c100) {
|
|
9018
|
+
s2 = peg$c100;
|
|
8654
9019
|
peg$currPos += 7;
|
|
8655
9020
|
}
|
|
8656
9021
|
else {
|
|
8657
9022
|
s2 = peg$FAILED;
|
|
8658
9023
|
if (peg$silentFails === 0) {
|
|
8659
|
-
peg$fail(peg$
|
|
9024
|
+
peg$fail(peg$e118);
|
|
8660
9025
|
}
|
|
8661
9026
|
}
|
|
8662
9027
|
}
|
|
@@ -8728,7 +9093,7 @@ function peg$parse(input, options) {
|
|
|
8728
9093
|
}
|
|
8729
9094
|
s2 = input.substring(s2, peg$currPos);
|
|
8730
9095
|
peg$savedPos = s0;
|
|
8731
|
-
s0 = peg$
|
|
9096
|
+
s0 = peg$f91(s1, s2);
|
|
8732
9097
|
}
|
|
8733
9098
|
else {
|
|
8734
9099
|
peg$currPos = s0;
|
|
@@ -8745,7 +9110,7 @@ function peg$parse(input, options) {
|
|
|
8745
9110
|
else {
|
|
8746
9111
|
s0 = peg$FAILED;
|
|
8747
9112
|
if (peg$silentFails === 0) {
|
|
8748
|
-
peg$fail(peg$
|
|
9113
|
+
peg$fail(peg$e119);
|
|
8749
9114
|
}
|
|
8750
9115
|
}
|
|
8751
9116
|
return s0;
|