@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
|
@@ -7,7 +7,7 @@ exports.StartRules = void 0;
|
|
|
7
7
|
exports.SyntaxError = peg$SyntaxError;
|
|
8
8
|
exports.parse = peg$parse;
|
|
9
9
|
const Breakscape_1 = require("../../../breakscaping/Breakscape");
|
|
10
|
-
const VERSION = "8.
|
|
10
|
+
const VERSION = "8.21.2";
|
|
11
11
|
//Parser peggy.js
|
|
12
12
|
// parser options (parameter when running parser):
|
|
13
13
|
// allowedStartRules: ["bitmarkPlusPlus", "bitmarkPlus", "bitmarkMinusMinus", "bitmarkPlusString", "bitmarkMinusMinusString"]
|
|
@@ -319,70 +319,74 @@ function peg$parse(input, options) {
|
|
|
319
319
|
var peg$c30 = "=";
|
|
320
320
|
var peg$c31 = "|latex|";
|
|
321
321
|
var peg$c32 = "link:";
|
|
322
|
-
var peg$c33 = "
|
|
323
|
-
var peg$c34 = "
|
|
324
|
-
var peg$c35 = "
|
|
325
|
-
var peg$c36 = "
|
|
326
|
-
var peg$c37 = "
|
|
327
|
-
var peg$c38 = "
|
|
328
|
-
var peg$c39 = "
|
|
329
|
-
var peg$c40 = "
|
|
330
|
-
var peg$c41 = "
|
|
331
|
-
var peg$c42 = "
|
|
332
|
-
var peg$c43 = "
|
|
333
|
-
var peg$c44 = "
|
|
334
|
-
var peg$c45 = "
|
|
335
|
-
var peg$c46 = "
|
|
336
|
-
var peg$c47 = "
|
|
337
|
-
var peg$c48 = "
|
|
338
|
-
var peg$c49 = "
|
|
339
|
-
var peg$c50 = "
|
|
340
|
-
var peg$c51 = "
|
|
341
|
-
var peg$c52 = "
|
|
342
|
-
var peg$c53 = "
|
|
343
|
-
var peg$c54 = "
|
|
344
|
-
var peg$c55 = "
|
|
345
|
-
var peg$c56 = "
|
|
346
|
-
var peg$c57 = "
|
|
347
|
-
var peg$c58 = "
|
|
348
|
-
var peg$c59 = "
|
|
349
|
-
var peg$c60 = "
|
|
350
|
-
var peg$c61 = "
|
|
351
|
-
var peg$c62 = "
|
|
352
|
-
var peg$c63 = "
|
|
353
|
-
var peg$c64 = "
|
|
354
|
-
var peg$c65 = "
|
|
355
|
-
var peg$c66 = "
|
|
356
|
-
var peg$c67 = "
|
|
357
|
-
var peg$c68 = "
|
|
358
|
-
var peg$c69 = "
|
|
359
|
-
var peg$c70 = "
|
|
360
|
-
var peg$c71 = "
|
|
361
|
-
var peg$c72 = "
|
|
362
|
-
var peg$c73 = "
|
|
363
|
-
var peg$c74 = "
|
|
364
|
-
var peg$c75 = "
|
|
365
|
-
var peg$c76 = "
|
|
366
|
-
var peg$c77 = "
|
|
367
|
-
var peg$c78 = "
|
|
368
|
-
var peg$c79 = "
|
|
369
|
-
var peg$c80 = "
|
|
370
|
-
var peg$c81 = "
|
|
371
|
-
var peg$c82 = "
|
|
372
|
-
var peg$c83 = "
|
|
373
|
-
var peg$c84 = "
|
|
374
|
-
var peg$c85 = "
|
|
375
|
-
var peg$c86 = "
|
|
376
|
-
var peg$c87 = "
|
|
377
|
-
var peg$c88 = "
|
|
378
|
-
var peg$c89 = "
|
|
379
|
-
var peg$c90 = "
|
|
380
|
-
var peg$c91 = "
|
|
381
|
-
var peg$c92 = "
|
|
382
|
-
var peg$c93 = "
|
|
383
|
-
var peg$c94 = "
|
|
384
|
-
var peg$c95 = "
|
|
385
|
-
var peg$c96 = "
|
|
322
|
+
var peg$c33 = "extref:";
|
|
323
|
+
var peg$c34 = "provider:";
|
|
324
|
+
var peg$c35 = "xref:";
|
|
325
|
+
var peg$c36 = "\u25BA";
|
|
326
|
+
var peg$c37 = "symbol:";
|
|
327
|
+
var peg$c38 = "footnote:";
|
|
328
|
+
var peg$c39 = "footnote*:";
|
|
329
|
+
var peg$c40 = "var:";
|
|
330
|
+
var peg$c41 = "code:";
|
|
331
|
+
var peg$c42 = "timer";
|
|
332
|
+
var peg$c43 = "timer:";
|
|
333
|
+
var peg$c44 = "duration:";
|
|
334
|
+
var peg$c45 = "P";
|
|
335
|
+
var peg$c46 = "color:";
|
|
336
|
+
var peg$c47 = "|\u25BA";
|
|
337
|
+
var peg$c48 = "bold";
|
|
338
|
+
var peg$c49 = "italic";
|
|
339
|
+
var peg$c50 = "light";
|
|
340
|
+
var peg$c51 = "highlight";
|
|
341
|
+
var peg$c52 = "strike";
|
|
342
|
+
var peg$c53 = "subscript";
|
|
343
|
+
var peg$c54 = "superscript";
|
|
344
|
+
var peg$c55 = "ins";
|
|
345
|
+
var peg$c56 = "del";
|
|
346
|
+
var peg$c57 = "underline";
|
|
347
|
+
var peg$c58 = "doubleUnderline";
|
|
348
|
+
var peg$c59 = "circle";
|
|
349
|
+
var peg$c60 = "languageEm";
|
|
350
|
+
var peg$c61 = "userUnderline";
|
|
351
|
+
var peg$c62 = "userDoubleUnderline";
|
|
352
|
+
var peg$c63 = "userStrike";
|
|
353
|
+
var peg$c64 = "userCircle";
|
|
354
|
+
var peg$c65 = "userHighlight";
|
|
355
|
+
var peg$c66 = "notranslate";
|
|
356
|
+
var peg$c67 = "aqua";
|
|
357
|
+
var peg$c68 = "black";
|
|
358
|
+
var peg$c69 = "blue";
|
|
359
|
+
var peg$c70 = "pink";
|
|
360
|
+
var peg$c71 = "fuchsia";
|
|
361
|
+
var peg$c72 = "lightgrey";
|
|
362
|
+
var peg$c73 = "gray";
|
|
363
|
+
var peg$c74 = "darkgray";
|
|
364
|
+
var peg$c75 = "green";
|
|
365
|
+
var peg$c76 = "lime";
|
|
366
|
+
var peg$c77 = "magenta";
|
|
367
|
+
var peg$c78 = "maroon";
|
|
368
|
+
var peg$c79 = "navy";
|
|
369
|
+
var peg$c80 = "olive";
|
|
370
|
+
var peg$c81 = "orange";
|
|
371
|
+
var peg$c82 = "purple";
|
|
372
|
+
var peg$c83 = "red";
|
|
373
|
+
var peg$c84 = "silver";
|
|
374
|
+
var peg$c85 = "teal";
|
|
375
|
+
var peg$c86 = "violet";
|
|
376
|
+
var peg$c87 = "white";
|
|
377
|
+
var peg$c88 = "yellow";
|
|
378
|
+
var peg$c89 = "*";
|
|
379
|
+
var peg$c90 = "_";
|
|
380
|
+
var peg$c91 = "`";
|
|
381
|
+
var peg$c92 = "!";
|
|
382
|
+
var peg$c93 = "[!";
|
|
383
|
+
var peg$c94 = "]";
|
|
384
|
+
var peg$c95 = "\n";
|
|
385
|
+
var peg$c96 = "\r\n";
|
|
386
|
+
var peg$c97 = "http";
|
|
387
|
+
var peg$c98 = "s";
|
|
388
|
+
var peg$c99 = "://";
|
|
389
|
+
var peg$c100 = "mailto:";
|
|
386
390
|
var peg$r0 = /^[ \t]/;
|
|
387
391
|
var peg$r1 = /^[0-9]/;
|
|
388
392
|
var peg$r2 = /^[:|]/;
|
|
@@ -431,83 +435,87 @@ function peg$parse(input, options) {
|
|
|
431
435
|
var peg$e36 = peg$literalExpectation("=", false);
|
|
432
436
|
var peg$e37 = peg$literalExpectation("|latex|", false);
|
|
433
437
|
var peg$e38 = peg$literalExpectation("link:", false);
|
|
434
|
-
var peg$e39 = peg$literalExpectation("
|
|
435
|
-
var peg$e40 = peg$literalExpectation("
|
|
436
|
-
var peg$e41 = peg$literalExpectation("
|
|
437
|
-
var peg$e42 = peg$literalExpectation("
|
|
438
|
-
var peg$e43 = peg$literalExpectation("
|
|
439
|
-
var peg$e44 = peg$literalExpectation("
|
|
440
|
-
var peg$e45 = peg$literalExpectation("
|
|
441
|
-
var peg$e46 = peg$literalExpectation("
|
|
442
|
-
var peg$e47 = peg$literalExpectation("
|
|
443
|
-
var peg$e48 = peg$literalExpectation("
|
|
444
|
-
var peg$e49 = peg$literalExpectation("
|
|
445
|
-
var peg$e50 = peg$literalExpectation("
|
|
446
|
-
var peg$e51 = peg$literalExpectation("
|
|
447
|
-
var peg$e52 = peg$literalExpectation("
|
|
448
|
-
var peg$e53 = peg$literalExpectation("
|
|
449
|
-
var peg$e54 = peg$literalExpectation("
|
|
450
|
-
var peg$e55 = peg$literalExpectation("
|
|
451
|
-
var peg$e56 = peg$literalExpectation("
|
|
452
|
-
var peg$e57 = peg$literalExpectation("
|
|
453
|
-
var peg$e58 = peg$literalExpectation("
|
|
454
|
-
var peg$e59 = peg$literalExpectation("
|
|
455
|
-
var peg$e60 = peg$literalExpectation("
|
|
456
|
-
var peg$e61 = peg$literalExpectation("
|
|
457
|
-
var peg$e62 = peg$literalExpectation("
|
|
458
|
-
var peg$e63 = peg$literalExpectation("
|
|
459
|
-
var peg$e64 = peg$literalExpectation("
|
|
460
|
-
var peg$e65 = peg$literalExpectation("
|
|
461
|
-
var peg$e66 = peg$literalExpectation("
|
|
462
|
-
var peg$e67 = peg$literalExpectation("
|
|
463
|
-
var peg$e68 = peg$literalExpectation("
|
|
464
|
-
var peg$e69 = peg$literalExpectation("
|
|
465
|
-
var peg$e70 = peg$literalExpectation("
|
|
466
|
-
var peg$e71 = peg$literalExpectation("
|
|
467
|
-
var peg$e72 = peg$literalExpectation("
|
|
468
|
-
var peg$e73 = peg$literalExpectation("
|
|
469
|
-
var peg$e74 = peg$literalExpectation("
|
|
470
|
-
var peg$e75 = peg$literalExpectation("
|
|
471
|
-
var peg$e76 = peg$literalExpectation("
|
|
472
|
-
var peg$e77 = peg$literalExpectation("
|
|
473
|
-
var peg$e78 = peg$literalExpectation("
|
|
474
|
-
var peg$e79 = peg$literalExpectation("
|
|
475
|
-
var peg$e80 = peg$literalExpectation("
|
|
476
|
-
var peg$e81 = peg$literalExpectation("
|
|
477
|
-
var peg$e82 = peg$literalExpectation("
|
|
478
|
-
var peg$e83 = peg$literalExpectation("
|
|
479
|
-
var peg$e84 = peg$literalExpectation("
|
|
480
|
-
var peg$e85 = peg$literalExpectation("
|
|
481
|
-
var peg$e86 = peg$literalExpectation("
|
|
482
|
-
var peg$e87 = peg$literalExpectation("
|
|
483
|
-
var peg$e88 = peg$literalExpectation("
|
|
484
|
-
var peg$e89 = peg$literalExpectation("
|
|
485
|
-
var peg$e90 = peg$literalExpectation("
|
|
486
|
-
var peg$e91 = peg$
|
|
487
|
-
var peg$e92 = peg$
|
|
488
|
-
var peg$e93 = peg$literalExpectation("
|
|
489
|
-
var peg$e94 = peg$literalExpectation("
|
|
490
|
-
var peg$e95 = peg$
|
|
491
|
-
var peg$e96 = peg$
|
|
492
|
-
var peg$e97 = peg$literalExpectation("
|
|
493
|
-
var peg$e98 = peg$literalExpectation("
|
|
494
|
-
var peg$e99 = peg$
|
|
495
|
-
var peg$e100 = peg$literalExpectation("
|
|
496
|
-
var peg$e101 = peg$literalExpectation("
|
|
497
|
-
var peg$e102 = peg$
|
|
498
|
-
var peg$e103 = peg$otherExpectation("
|
|
499
|
-
var peg$e104 = peg$
|
|
500
|
-
var peg$e105 = peg$
|
|
501
|
-
var peg$e106 = peg$
|
|
502
|
-
var peg$e107 = peg$
|
|
503
|
-
var peg$e108 = peg$
|
|
504
|
-
var peg$e109 = peg$
|
|
505
|
-
var peg$e110 = peg$
|
|
506
|
-
var peg$e111 = peg$
|
|
507
|
-
var peg$e112 = peg$
|
|
508
|
-
var peg$e113 = peg$
|
|
509
|
-
var peg$e114 = peg$
|
|
510
|
-
var peg$e115 = peg$
|
|
438
|
+
var peg$e39 = peg$literalExpectation("extref:", false);
|
|
439
|
+
var peg$e40 = peg$literalExpectation("provider:", false);
|
|
440
|
+
var peg$e41 = peg$literalExpectation("xref:", false);
|
|
441
|
+
var peg$e42 = peg$literalExpectation("\u25BA", false);
|
|
442
|
+
var peg$e43 = peg$literalExpectation("symbol:", false);
|
|
443
|
+
var peg$e44 = peg$literalExpectation("footnote:", false);
|
|
444
|
+
var peg$e45 = peg$literalExpectation("footnote*:", false);
|
|
445
|
+
var peg$e46 = peg$literalExpectation("var:", false);
|
|
446
|
+
var peg$e47 = peg$literalExpectation("code:", false);
|
|
447
|
+
var peg$e48 = peg$literalExpectation("timer", false);
|
|
448
|
+
var peg$e49 = peg$literalExpectation("timer:", false);
|
|
449
|
+
var peg$e50 = peg$literalExpectation("duration:", false);
|
|
450
|
+
var peg$e51 = peg$literalExpectation("P", false);
|
|
451
|
+
var peg$e52 = peg$literalExpectation("color:", false);
|
|
452
|
+
var peg$e53 = peg$literalExpectation("|\u25BA", false);
|
|
453
|
+
var peg$e54 = peg$literalExpectation("bold", false);
|
|
454
|
+
var peg$e55 = peg$literalExpectation("italic", false);
|
|
455
|
+
var peg$e56 = peg$literalExpectation("light", false);
|
|
456
|
+
var peg$e57 = peg$literalExpectation("highlight", false);
|
|
457
|
+
var peg$e58 = peg$literalExpectation("strike", false);
|
|
458
|
+
var peg$e59 = peg$literalExpectation("subscript", false);
|
|
459
|
+
var peg$e60 = peg$literalExpectation("superscript", false);
|
|
460
|
+
var peg$e61 = peg$literalExpectation("ins", false);
|
|
461
|
+
var peg$e62 = peg$literalExpectation("del", false);
|
|
462
|
+
var peg$e63 = peg$literalExpectation("underline", false);
|
|
463
|
+
var peg$e64 = peg$literalExpectation("doubleUnderline", false);
|
|
464
|
+
var peg$e65 = peg$literalExpectation("circle", false);
|
|
465
|
+
var peg$e66 = peg$literalExpectation("languageEm", false);
|
|
466
|
+
var peg$e67 = peg$literalExpectation("userUnderline", false);
|
|
467
|
+
var peg$e68 = peg$literalExpectation("userDoubleUnderline", false);
|
|
468
|
+
var peg$e69 = peg$literalExpectation("userStrike", false);
|
|
469
|
+
var peg$e70 = peg$literalExpectation("userCircle", false);
|
|
470
|
+
var peg$e71 = peg$literalExpectation("userHighlight", false);
|
|
471
|
+
var peg$e72 = peg$literalExpectation("notranslate", false);
|
|
472
|
+
var peg$e73 = peg$literalExpectation("aqua", false);
|
|
473
|
+
var peg$e74 = peg$literalExpectation("black", false);
|
|
474
|
+
var peg$e75 = peg$literalExpectation("blue", false);
|
|
475
|
+
var peg$e76 = peg$literalExpectation("pink", false);
|
|
476
|
+
var peg$e77 = peg$literalExpectation("fuchsia", false);
|
|
477
|
+
var peg$e78 = peg$literalExpectation("lightgrey", false);
|
|
478
|
+
var peg$e79 = peg$literalExpectation("gray", false);
|
|
479
|
+
var peg$e80 = peg$literalExpectation("darkgray", false);
|
|
480
|
+
var peg$e81 = peg$literalExpectation("green", false);
|
|
481
|
+
var peg$e82 = peg$literalExpectation("lime", false);
|
|
482
|
+
var peg$e83 = peg$literalExpectation("magenta", false);
|
|
483
|
+
var peg$e84 = peg$literalExpectation("maroon", false);
|
|
484
|
+
var peg$e85 = peg$literalExpectation("navy", false);
|
|
485
|
+
var peg$e86 = peg$literalExpectation("olive", false);
|
|
486
|
+
var peg$e87 = peg$literalExpectation("orange", false);
|
|
487
|
+
var peg$e88 = peg$literalExpectation("purple", false);
|
|
488
|
+
var peg$e89 = peg$literalExpectation("red", false);
|
|
489
|
+
var peg$e90 = peg$literalExpectation("silver", false);
|
|
490
|
+
var peg$e91 = peg$literalExpectation("teal", false);
|
|
491
|
+
var peg$e92 = peg$literalExpectation("violet", false);
|
|
492
|
+
var peg$e93 = peg$literalExpectation("white", false);
|
|
493
|
+
var peg$e94 = peg$literalExpectation("yellow", false);
|
|
494
|
+
var peg$e95 = peg$otherExpectation("MinimalStyledText");
|
|
495
|
+
var peg$e96 = peg$otherExpectation("MinimalStyledString");
|
|
496
|
+
var peg$e97 = peg$literalExpectation("*", false);
|
|
497
|
+
var peg$e98 = peg$literalExpectation("_", false);
|
|
498
|
+
var peg$e99 = peg$literalExpectation("`", false);
|
|
499
|
+
var peg$e100 = peg$literalExpectation("!", false);
|
|
500
|
+
var peg$e101 = peg$literalExpectation("[!", false);
|
|
501
|
+
var peg$e102 = peg$literalExpectation("]", false);
|
|
502
|
+
var peg$e103 = peg$otherExpectation("Line Terminator");
|
|
503
|
+
var peg$e104 = peg$literalExpectation("\n", false);
|
|
504
|
+
var peg$e105 = peg$literalExpectation("\r\n", false);
|
|
505
|
+
var peg$e106 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false);
|
|
506
|
+
var peg$e107 = peg$otherExpectation("whitespace in line");
|
|
507
|
+
var peg$e108 = peg$otherExpectation("space");
|
|
508
|
+
var peg$e109 = peg$otherExpectation("language tag separator");
|
|
509
|
+
var peg$e110 = peg$otherExpectation("white space, separator");
|
|
510
|
+
var peg$e111 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
|
|
511
|
+
var peg$e112 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
|
|
512
|
+
var peg$e113 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
|
|
513
|
+
var peg$e114 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
|
|
514
|
+
var peg$e115 = peg$literalExpectation("http", false);
|
|
515
|
+
var peg$e116 = peg$literalExpectation("s", false);
|
|
516
|
+
var peg$e117 = peg$literalExpectation("://", false);
|
|
517
|
+
var peg$e118 = peg$literalExpectation("mailto:", false);
|
|
518
|
+
var peg$e119 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false);
|
|
511
519
|
var peg$f0 = function () { return VERSION; };
|
|
512
520
|
var peg$f1 = function (b) { return Object.assign({}, b); };
|
|
513
521
|
var peg$f2 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); return lb_; };
|
|
@@ -663,30 +671,33 @@ function peg$parse(input, options) {
|
|
|
663
671
|
var peg$f62 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
|
|
664
672
|
var peg$f63 = function (ch) { return ch; };
|
|
665
673
|
var peg$f64 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
|
|
666
|
-
var peg$f65 = function (str,
|
|
667
|
-
var peg$f66 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference:
|
|
668
|
-
var peg$f67 = function (str) { return { type: '
|
|
669
|
-
var peg$f68 = function (str) { return { type: '
|
|
670
|
-
var peg$f69 = function (str) { return { type: '
|
|
671
|
-
var peg$f70 = function (str) { return { type: '
|
|
672
|
-
var peg$f71 = function () { return { type: '
|
|
673
|
-
var peg$f72 = function (
|
|
674
|
-
var peg$f73 = function () { return { type: '
|
|
675
|
-
var peg$f74 = function (
|
|
676
|
-
var peg$f75 = function (
|
|
677
|
-
var peg$f76 = function (
|
|
678
|
-
var peg$f77 = function (
|
|
679
|
-
var peg$f78 = function (
|
|
680
|
-
var peg$f79 = function (
|
|
681
|
-
var peg$f80 = function (
|
|
682
|
-
var peg$f81 = function () { return
|
|
683
|
-
var peg$f82 = function (
|
|
684
|
-
var peg$f83 = function (
|
|
685
|
-
var peg$f84 = function (
|
|
686
|
-
var peg$f85 = function (t) { return {
|
|
687
|
-
var peg$f86 = function (t) { return {
|
|
688
|
-
var peg$f87 = function (t) { return { marks: [{ type: "
|
|
689
|
-
var peg$f88 = function (
|
|
674
|
+
var peg$f65 = function (str, rc, p) { return { type: 'extref', attrs: { extref: str.trim(), references: rc, provider: p.trim() } }; };
|
|
675
|
+
var peg$f66 = function (str, str2) { return { type: 'xref', attrs: { xref: str.trim(), reference: str2.trim() } }; };
|
|
676
|
+
var peg$f67 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference: '' } }; };
|
|
677
|
+
var peg$f68 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
|
|
678
|
+
var peg$f69 = function (str, ch) { const chain = Object.assign({}, ...ch); return { type: 'symbol', attrs: Object.assign({ src: str.trim() }, chain) }; };
|
|
679
|
+
var peg$f70 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
680
|
+
var peg$f71 = function (str) { return { type: 'footnote*', attrs: { content: bitmarkPlusString(str.trim()) } }; };
|
|
681
|
+
var peg$f72 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
|
|
682
|
+
var peg$f73 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
|
|
683
|
+
var peg$f74 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
|
|
684
|
+
var peg$f75 = function () { return { type: 'timer', attrs: { name: "" } }; };
|
|
685
|
+
var peg$f76 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
|
|
686
|
+
var peg$f77 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
|
|
687
|
+
var peg$f78 = function (color) { return { type: 'color', attrs: { color } }; };
|
|
688
|
+
var peg$f79 = function (style) { return { type: style }; };
|
|
689
|
+
var peg$f80 = function (str) { return { type: "comment", comment: str }; };
|
|
690
|
+
var peg$f81 = function (r) { return r.trim(); };
|
|
691
|
+
var peg$f82 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
|
|
692
|
+
var peg$f83 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
|
|
693
|
+
var peg$f84 = function () { return { "type": "hardBreak" }; };
|
|
694
|
+
var peg$f85 = function (t) { return { text: unbreakscape(t), type: "text" }; };
|
|
695
|
+
var peg$f86 = function (t) { return { index: +t, type: "bit" }; };
|
|
696
|
+
var peg$f87 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
|
|
697
|
+
var peg$f88 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
|
|
698
|
+
var peg$f89 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
|
|
699
|
+
var peg$f90 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
|
|
700
|
+
var peg$f91 = function (pr, t) { return { pr, t }; };
|
|
690
701
|
var peg$currPos = options.peg$currPos | 0;
|
|
691
702
|
var peg$savedPos = peg$currPos;
|
|
692
703
|
var peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -5402,7 +5413,7 @@ function peg$parse(input, options) {
|
|
|
5402
5413
|
return s0;
|
|
5403
5414
|
}
|
|
5404
5415
|
function peg$parseAttrChainItem() {
|
|
5405
|
-
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
5416
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
5406
5417
|
s0 = peg$currPos;
|
|
5407
5418
|
if (input.substr(peg$currPos, 5) === peg$c32) {
|
|
5408
5419
|
s1 = peg$c32;
|
|
@@ -5491,9 +5502,9 @@ function peg$parse(input, options) {
|
|
|
5491
5502
|
}
|
|
5492
5503
|
if (s0 === peg$FAILED) {
|
|
5493
5504
|
s0 = peg$currPos;
|
|
5494
|
-
if (input.substr(peg$currPos,
|
|
5505
|
+
if (input.substr(peg$currPos, 7) === peg$c33) {
|
|
5495
5506
|
s1 = peg$c33;
|
|
5496
|
-
peg$currPos +=
|
|
5507
|
+
peg$currPos += 7;
|
|
5497
5508
|
}
|
|
5498
5509
|
else {
|
|
5499
5510
|
s1 = peg$FAILED;
|
|
@@ -5562,83 +5573,84 @@ function peg$parse(input, options) {
|
|
|
5562
5573
|
}
|
|
5563
5574
|
}
|
|
5564
5575
|
s2 = input.substring(s2, peg$currPos);
|
|
5565
|
-
s3 = peg$
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
peg$
|
|
5576
|
+
s3 = peg$parseRefsChain();
|
|
5577
|
+
s4 = peg$parseBlockTag();
|
|
5578
|
+
if (s4 !== peg$FAILED) {
|
|
5579
|
+
if (input.substr(peg$currPos, 9) === peg$c34) {
|
|
5580
|
+
s5 = peg$c34;
|
|
5581
|
+
peg$currPos += 9;
|
|
5570
5582
|
}
|
|
5571
5583
|
else {
|
|
5572
|
-
|
|
5584
|
+
s5 = peg$FAILED;
|
|
5573
5585
|
if (peg$silentFails === 0) {
|
|
5574
5586
|
peg$fail(peg$e40);
|
|
5575
5587
|
}
|
|
5576
5588
|
}
|
|
5577
|
-
if (
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
s7 = peg$currPos;
|
|
5589
|
+
if (s5 !== peg$FAILED) {
|
|
5590
|
+
s6 = peg$currPos;
|
|
5591
|
+
s7 = [];
|
|
5581
5592
|
s8 = peg$currPos;
|
|
5593
|
+
s9 = peg$currPos;
|
|
5582
5594
|
peg$silentFails++;
|
|
5583
|
-
|
|
5595
|
+
s10 = peg$parseBlockTag();
|
|
5584
5596
|
peg$silentFails--;
|
|
5585
|
-
if (
|
|
5586
|
-
|
|
5597
|
+
if (s10 === peg$FAILED) {
|
|
5598
|
+
s9 = undefined;
|
|
5587
5599
|
}
|
|
5588
5600
|
else {
|
|
5589
|
-
peg$currPos =
|
|
5590
|
-
|
|
5601
|
+
peg$currPos = s9;
|
|
5602
|
+
s9 = peg$FAILED;
|
|
5591
5603
|
}
|
|
5592
|
-
if (
|
|
5593
|
-
|
|
5594
|
-
if (
|
|
5595
|
-
|
|
5596
|
-
|
|
5604
|
+
if (s9 !== peg$FAILED) {
|
|
5605
|
+
s10 = peg$parsechar();
|
|
5606
|
+
if (s10 !== peg$FAILED) {
|
|
5607
|
+
s9 = [s9, s10];
|
|
5608
|
+
s8 = s9;
|
|
5597
5609
|
}
|
|
5598
5610
|
else {
|
|
5599
|
-
peg$currPos =
|
|
5600
|
-
|
|
5611
|
+
peg$currPos = s8;
|
|
5612
|
+
s8 = peg$FAILED;
|
|
5601
5613
|
}
|
|
5602
5614
|
}
|
|
5603
5615
|
else {
|
|
5604
|
-
peg$currPos =
|
|
5605
|
-
|
|
5616
|
+
peg$currPos = s8;
|
|
5617
|
+
s8 = peg$FAILED;
|
|
5606
5618
|
}
|
|
5607
|
-
while (
|
|
5608
|
-
|
|
5609
|
-
s7 = peg$currPos;
|
|
5619
|
+
while (s8 !== peg$FAILED) {
|
|
5620
|
+
s7.push(s8);
|
|
5610
5621
|
s8 = peg$currPos;
|
|
5622
|
+
s9 = peg$currPos;
|
|
5611
5623
|
peg$silentFails++;
|
|
5612
|
-
|
|
5624
|
+
s10 = peg$parseBlockTag();
|
|
5613
5625
|
peg$silentFails--;
|
|
5614
|
-
if (
|
|
5615
|
-
|
|
5626
|
+
if (s10 === peg$FAILED) {
|
|
5627
|
+
s9 = undefined;
|
|
5616
5628
|
}
|
|
5617
5629
|
else {
|
|
5618
|
-
peg$currPos =
|
|
5619
|
-
|
|
5630
|
+
peg$currPos = s9;
|
|
5631
|
+
s9 = peg$FAILED;
|
|
5620
5632
|
}
|
|
5621
|
-
if (
|
|
5622
|
-
|
|
5623
|
-
if (
|
|
5624
|
-
|
|
5625
|
-
|
|
5633
|
+
if (s9 !== peg$FAILED) {
|
|
5634
|
+
s10 = peg$parsechar();
|
|
5635
|
+
if (s10 !== peg$FAILED) {
|
|
5636
|
+
s9 = [s9, s10];
|
|
5637
|
+
s8 = s9;
|
|
5626
5638
|
}
|
|
5627
5639
|
else {
|
|
5628
|
-
peg$currPos =
|
|
5629
|
-
|
|
5640
|
+
peg$currPos = s8;
|
|
5641
|
+
s8 = peg$FAILED;
|
|
5630
5642
|
}
|
|
5631
5643
|
}
|
|
5632
5644
|
else {
|
|
5633
|
-
peg$currPos =
|
|
5634
|
-
|
|
5645
|
+
peg$currPos = s8;
|
|
5646
|
+
s8 = peg$FAILED;
|
|
5635
5647
|
}
|
|
5636
5648
|
}
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
if (
|
|
5649
|
+
s6 = input.substring(s6, peg$currPos);
|
|
5650
|
+
s7 = peg$parseBlockTag();
|
|
5651
|
+
if (s7 !== peg$FAILED) {
|
|
5640
5652
|
peg$savedPos = s0;
|
|
5641
|
-
s0 = peg$f65(s2,
|
|
5653
|
+
s0 = peg$f65(s2, s3, s6);
|
|
5642
5654
|
}
|
|
5643
5655
|
else {
|
|
5644
5656
|
peg$currPos = s0;
|
|
@@ -5661,14 +5673,14 @@ function peg$parse(input, options) {
|
|
|
5661
5673
|
}
|
|
5662
5674
|
if (s0 === peg$FAILED) {
|
|
5663
5675
|
s0 = peg$currPos;
|
|
5664
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5665
|
-
s1 = peg$
|
|
5676
|
+
if (input.substr(peg$currPos, 5) === peg$c35) {
|
|
5677
|
+
s1 = peg$c35;
|
|
5666
5678
|
peg$currPos += 5;
|
|
5667
5679
|
}
|
|
5668
5680
|
else {
|
|
5669
5681
|
s1 = peg$FAILED;
|
|
5670
5682
|
if (peg$silentFails === 0) {
|
|
5671
|
-
peg$fail(peg$
|
|
5683
|
+
peg$fail(peg$e41);
|
|
5672
5684
|
}
|
|
5673
5685
|
}
|
|
5674
5686
|
if (s1 !== peg$FAILED) {
|
|
@@ -5734,8 +5746,91 @@ function peg$parse(input, options) {
|
|
|
5734
5746
|
s2 = input.substring(s2, peg$currPos);
|
|
5735
5747
|
s3 = peg$parseBlockTag();
|
|
5736
5748
|
if (s3 !== peg$FAILED) {
|
|
5737
|
-
peg$
|
|
5738
|
-
|
|
5749
|
+
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5750
|
+
s4 = peg$c36;
|
|
5751
|
+
peg$currPos++;
|
|
5752
|
+
}
|
|
5753
|
+
else {
|
|
5754
|
+
s4 = peg$FAILED;
|
|
5755
|
+
if (peg$silentFails === 0) {
|
|
5756
|
+
peg$fail(peg$e42);
|
|
5757
|
+
}
|
|
5758
|
+
}
|
|
5759
|
+
if (s4 !== peg$FAILED) {
|
|
5760
|
+
s5 = peg$currPos;
|
|
5761
|
+
s6 = [];
|
|
5762
|
+
s7 = peg$currPos;
|
|
5763
|
+
s8 = peg$currPos;
|
|
5764
|
+
peg$silentFails++;
|
|
5765
|
+
s9 = peg$parseBlockTag();
|
|
5766
|
+
peg$silentFails--;
|
|
5767
|
+
if (s9 === peg$FAILED) {
|
|
5768
|
+
s8 = undefined;
|
|
5769
|
+
}
|
|
5770
|
+
else {
|
|
5771
|
+
peg$currPos = s8;
|
|
5772
|
+
s8 = peg$FAILED;
|
|
5773
|
+
}
|
|
5774
|
+
if (s8 !== peg$FAILED) {
|
|
5775
|
+
s9 = peg$parsechar();
|
|
5776
|
+
if (s9 !== peg$FAILED) {
|
|
5777
|
+
s8 = [s8, s9];
|
|
5778
|
+
s7 = s8;
|
|
5779
|
+
}
|
|
5780
|
+
else {
|
|
5781
|
+
peg$currPos = s7;
|
|
5782
|
+
s7 = peg$FAILED;
|
|
5783
|
+
}
|
|
5784
|
+
}
|
|
5785
|
+
else {
|
|
5786
|
+
peg$currPos = s7;
|
|
5787
|
+
s7 = peg$FAILED;
|
|
5788
|
+
}
|
|
5789
|
+
while (s7 !== peg$FAILED) {
|
|
5790
|
+
s6.push(s7);
|
|
5791
|
+
s7 = peg$currPos;
|
|
5792
|
+
s8 = peg$currPos;
|
|
5793
|
+
peg$silentFails++;
|
|
5794
|
+
s9 = peg$parseBlockTag();
|
|
5795
|
+
peg$silentFails--;
|
|
5796
|
+
if (s9 === peg$FAILED) {
|
|
5797
|
+
s8 = undefined;
|
|
5798
|
+
}
|
|
5799
|
+
else {
|
|
5800
|
+
peg$currPos = s8;
|
|
5801
|
+
s8 = peg$FAILED;
|
|
5802
|
+
}
|
|
5803
|
+
if (s8 !== peg$FAILED) {
|
|
5804
|
+
s9 = peg$parsechar();
|
|
5805
|
+
if (s9 !== peg$FAILED) {
|
|
5806
|
+
s8 = [s8, s9];
|
|
5807
|
+
s7 = s8;
|
|
5808
|
+
}
|
|
5809
|
+
else {
|
|
5810
|
+
peg$currPos = s7;
|
|
5811
|
+
s7 = peg$FAILED;
|
|
5812
|
+
}
|
|
5813
|
+
}
|
|
5814
|
+
else {
|
|
5815
|
+
peg$currPos = s7;
|
|
5816
|
+
s7 = peg$FAILED;
|
|
5817
|
+
}
|
|
5818
|
+
}
|
|
5819
|
+
s5 = input.substring(s5, peg$currPos);
|
|
5820
|
+
s6 = peg$parseBlockTag();
|
|
5821
|
+
if (s6 !== peg$FAILED) {
|
|
5822
|
+
peg$savedPos = s0;
|
|
5823
|
+
s0 = peg$f66(s2, s5);
|
|
5824
|
+
}
|
|
5825
|
+
else {
|
|
5826
|
+
peg$currPos = s0;
|
|
5827
|
+
s0 = peg$FAILED;
|
|
5828
|
+
}
|
|
5829
|
+
}
|
|
5830
|
+
else {
|
|
5831
|
+
peg$currPos = s0;
|
|
5832
|
+
s0 = peg$FAILED;
|
|
5833
|
+
}
|
|
5739
5834
|
}
|
|
5740
5835
|
else {
|
|
5741
5836
|
peg$currPos = s0;
|
|
@@ -5748,14 +5843,14 @@ function peg$parse(input, options) {
|
|
|
5748
5843
|
}
|
|
5749
5844
|
if (s0 === peg$FAILED) {
|
|
5750
5845
|
s0 = peg$currPos;
|
|
5751
|
-
if (input.
|
|
5752
|
-
s1 = peg$
|
|
5753
|
-
peg$currPos
|
|
5846
|
+
if (input.substr(peg$currPos, 5) === peg$c35) {
|
|
5847
|
+
s1 = peg$c35;
|
|
5848
|
+
peg$currPos += 5;
|
|
5754
5849
|
}
|
|
5755
5850
|
else {
|
|
5756
5851
|
s1 = peg$FAILED;
|
|
5757
5852
|
if (peg$silentFails === 0) {
|
|
5758
|
-
peg$fail(peg$
|
|
5853
|
+
peg$fail(peg$e41);
|
|
5759
5854
|
}
|
|
5760
5855
|
}
|
|
5761
5856
|
if (s1 !== peg$FAILED) {
|
|
@@ -5835,14 +5930,14 @@ function peg$parse(input, options) {
|
|
|
5835
5930
|
}
|
|
5836
5931
|
if (s0 === peg$FAILED) {
|
|
5837
5932
|
s0 = peg$currPos;
|
|
5838
|
-
if (input.
|
|
5839
|
-
s1 = peg$
|
|
5840
|
-
peg$currPos
|
|
5933
|
+
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
5934
|
+
s1 = peg$c36;
|
|
5935
|
+
peg$currPos++;
|
|
5841
5936
|
}
|
|
5842
5937
|
else {
|
|
5843
5938
|
s1 = peg$FAILED;
|
|
5844
5939
|
if (peg$silentFails === 0) {
|
|
5845
|
-
peg$fail(peg$
|
|
5940
|
+
peg$fail(peg$e42);
|
|
5846
5941
|
}
|
|
5847
5942
|
}
|
|
5848
5943
|
if (s1 !== peg$FAILED) {
|
|
@@ -5922,14 +6017,14 @@ function peg$parse(input, options) {
|
|
|
5922
6017
|
}
|
|
5923
6018
|
if (s0 === peg$FAILED) {
|
|
5924
6019
|
s0 = peg$currPos;
|
|
5925
|
-
if (input.substr(peg$currPos,
|
|
5926
|
-
s1 = peg$
|
|
5927
|
-
peg$currPos +=
|
|
6020
|
+
if (input.substr(peg$currPos, 7) === peg$c37) {
|
|
6021
|
+
s1 = peg$c37;
|
|
6022
|
+
peg$currPos += 7;
|
|
5928
6023
|
}
|
|
5929
6024
|
else {
|
|
5930
6025
|
s1 = peg$FAILED;
|
|
5931
6026
|
if (peg$silentFails === 0) {
|
|
5932
|
-
peg$fail(peg$
|
|
6027
|
+
peg$fail(peg$e43);
|
|
5933
6028
|
}
|
|
5934
6029
|
}
|
|
5935
6030
|
if (s1 !== peg$FAILED) {
|
|
@@ -5995,8 +6090,9 @@ function peg$parse(input, options) {
|
|
|
5995
6090
|
s2 = input.substring(s2, peg$currPos);
|
|
5996
6091
|
s3 = peg$parseBlockTag();
|
|
5997
6092
|
if (s3 !== peg$FAILED) {
|
|
6093
|
+
s4 = peg$parseMediaChain();
|
|
5998
6094
|
peg$savedPos = s0;
|
|
5999
|
-
s0 = peg$f69(s2);
|
|
6095
|
+
s0 = peg$f69(s2, s4);
|
|
6000
6096
|
}
|
|
6001
6097
|
else {
|
|
6002
6098
|
peg$currPos = s0;
|
|
@@ -6009,14 +6105,14 @@ function peg$parse(input, options) {
|
|
|
6009
6105
|
}
|
|
6010
6106
|
if (s0 === peg$FAILED) {
|
|
6011
6107
|
s0 = peg$currPos;
|
|
6012
|
-
if (input.substr(peg$currPos,
|
|
6013
|
-
s1 = peg$
|
|
6014
|
-
peg$currPos +=
|
|
6108
|
+
if (input.substr(peg$currPos, 9) === peg$c38) {
|
|
6109
|
+
s1 = peg$c38;
|
|
6110
|
+
peg$currPos += 9;
|
|
6015
6111
|
}
|
|
6016
6112
|
else {
|
|
6017
6113
|
s1 = peg$FAILED;
|
|
6018
6114
|
if (peg$silentFails === 0) {
|
|
6019
|
-
peg$fail(peg$
|
|
6115
|
+
peg$fail(peg$e44);
|
|
6020
6116
|
}
|
|
6021
6117
|
}
|
|
6022
6118
|
if (s1 !== peg$FAILED) {
|
|
@@ -6096,21 +6192,81 @@ function peg$parse(input, options) {
|
|
|
6096
6192
|
}
|
|
6097
6193
|
if (s0 === peg$FAILED) {
|
|
6098
6194
|
s0 = peg$currPos;
|
|
6099
|
-
if (input.substr(peg$currPos,
|
|
6100
|
-
s1 = peg$
|
|
6101
|
-
peg$currPos +=
|
|
6195
|
+
if (input.substr(peg$currPos, 10) === peg$c39) {
|
|
6196
|
+
s1 = peg$c39;
|
|
6197
|
+
peg$currPos += 10;
|
|
6102
6198
|
}
|
|
6103
6199
|
else {
|
|
6104
6200
|
s1 = peg$FAILED;
|
|
6105
6201
|
if (peg$silentFails === 0) {
|
|
6106
|
-
peg$fail(peg$
|
|
6202
|
+
peg$fail(peg$e45);
|
|
6107
6203
|
}
|
|
6108
6204
|
}
|
|
6109
6205
|
if (s1 !== peg$FAILED) {
|
|
6110
|
-
s2 = peg$
|
|
6111
|
-
|
|
6206
|
+
s2 = peg$currPos;
|
|
6207
|
+
s3 = [];
|
|
6208
|
+
s4 = peg$currPos;
|
|
6209
|
+
s5 = peg$currPos;
|
|
6210
|
+
peg$silentFails++;
|
|
6211
|
+
s6 = peg$parseBlockTag();
|
|
6212
|
+
peg$silentFails--;
|
|
6213
|
+
if (s6 === peg$FAILED) {
|
|
6214
|
+
s5 = undefined;
|
|
6215
|
+
}
|
|
6216
|
+
else {
|
|
6217
|
+
peg$currPos = s5;
|
|
6218
|
+
s5 = peg$FAILED;
|
|
6219
|
+
}
|
|
6220
|
+
if (s5 !== peg$FAILED) {
|
|
6221
|
+
s6 = peg$parsechar();
|
|
6222
|
+
if (s6 !== peg$FAILED) {
|
|
6223
|
+
s5 = [s5, s6];
|
|
6224
|
+
s4 = s5;
|
|
6225
|
+
}
|
|
6226
|
+
else {
|
|
6227
|
+
peg$currPos = s4;
|
|
6228
|
+
s4 = peg$FAILED;
|
|
6229
|
+
}
|
|
6230
|
+
}
|
|
6231
|
+
else {
|
|
6232
|
+
peg$currPos = s4;
|
|
6233
|
+
s4 = peg$FAILED;
|
|
6234
|
+
}
|
|
6235
|
+
while (s4 !== peg$FAILED) {
|
|
6236
|
+
s3.push(s4);
|
|
6237
|
+
s4 = peg$currPos;
|
|
6238
|
+
s5 = peg$currPos;
|
|
6239
|
+
peg$silentFails++;
|
|
6240
|
+
s6 = peg$parseBlockTag();
|
|
6241
|
+
peg$silentFails--;
|
|
6242
|
+
if (s6 === peg$FAILED) {
|
|
6243
|
+
s5 = undefined;
|
|
6244
|
+
}
|
|
6245
|
+
else {
|
|
6246
|
+
peg$currPos = s5;
|
|
6247
|
+
s5 = peg$FAILED;
|
|
6248
|
+
}
|
|
6249
|
+
if (s5 !== peg$FAILED) {
|
|
6250
|
+
s6 = peg$parsechar();
|
|
6251
|
+
if (s6 !== peg$FAILED) {
|
|
6252
|
+
s5 = [s5, s6];
|
|
6253
|
+
s4 = s5;
|
|
6254
|
+
}
|
|
6255
|
+
else {
|
|
6256
|
+
peg$currPos = s4;
|
|
6257
|
+
s4 = peg$FAILED;
|
|
6258
|
+
}
|
|
6259
|
+
}
|
|
6260
|
+
else {
|
|
6261
|
+
peg$currPos = s4;
|
|
6262
|
+
s4 = peg$FAILED;
|
|
6263
|
+
}
|
|
6264
|
+
}
|
|
6265
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6266
|
+
s3 = peg$parseBlockTag();
|
|
6267
|
+
if (s3 !== peg$FAILED) {
|
|
6112
6268
|
peg$savedPos = s0;
|
|
6113
|
-
s0 = peg$f71();
|
|
6269
|
+
s0 = peg$f71(s2);
|
|
6114
6270
|
}
|
|
6115
6271
|
else {
|
|
6116
6272
|
peg$currPos = s0;
|
|
@@ -6123,14 +6279,14 @@ function peg$parse(input, options) {
|
|
|
6123
6279
|
}
|
|
6124
6280
|
if (s0 === peg$FAILED) {
|
|
6125
6281
|
s0 = peg$currPos;
|
|
6126
|
-
if (input.substr(peg$currPos,
|
|
6127
|
-
s1 = peg$
|
|
6128
|
-
peg$currPos +=
|
|
6282
|
+
if (input.substr(peg$currPos, 4) === peg$c40) {
|
|
6283
|
+
s1 = peg$c40;
|
|
6284
|
+
peg$currPos += 4;
|
|
6129
6285
|
}
|
|
6130
6286
|
else {
|
|
6131
6287
|
s1 = peg$FAILED;
|
|
6132
6288
|
if (peg$silentFails === 0) {
|
|
6133
|
-
peg$fail(peg$
|
|
6289
|
+
peg$fail(peg$e46);
|
|
6134
6290
|
}
|
|
6135
6291
|
}
|
|
6136
6292
|
if (s1 !== peg$FAILED) {
|
|
@@ -6210,14 +6366,14 @@ function peg$parse(input, options) {
|
|
|
6210
6366
|
}
|
|
6211
6367
|
if (s0 === peg$FAILED) {
|
|
6212
6368
|
s0 = peg$currPos;
|
|
6213
|
-
if (input.substr(peg$currPos,
|
|
6214
|
-
s1 = peg$
|
|
6215
|
-
peg$currPos +=
|
|
6369
|
+
if (input.substr(peg$currPos, 4) === peg$c5) {
|
|
6370
|
+
s1 = peg$c5;
|
|
6371
|
+
peg$currPos += 4;
|
|
6216
6372
|
}
|
|
6217
6373
|
else {
|
|
6218
6374
|
s1 = peg$FAILED;
|
|
6219
6375
|
if (peg$silentFails === 0) {
|
|
6220
|
-
peg$fail(peg$
|
|
6376
|
+
peg$fail(peg$e7);
|
|
6221
6377
|
}
|
|
6222
6378
|
}
|
|
6223
6379
|
if (s1 !== peg$FAILED) {
|
|
@@ -6237,14 +6393,14 @@ function peg$parse(input, options) {
|
|
|
6237
6393
|
}
|
|
6238
6394
|
if (s0 === peg$FAILED) {
|
|
6239
6395
|
s0 = peg$currPos;
|
|
6240
|
-
if (input.substr(peg$currPos,
|
|
6241
|
-
s1 = peg$
|
|
6242
|
-
peg$currPos +=
|
|
6396
|
+
if (input.substr(peg$currPos, 5) === peg$c41) {
|
|
6397
|
+
s1 = peg$c41;
|
|
6398
|
+
peg$currPos += 5;
|
|
6243
6399
|
}
|
|
6244
6400
|
else {
|
|
6245
6401
|
s1 = peg$FAILED;
|
|
6246
6402
|
if (peg$silentFails === 0) {
|
|
6247
|
-
peg$fail(peg$
|
|
6403
|
+
peg$fail(peg$e47);
|
|
6248
6404
|
}
|
|
6249
6405
|
}
|
|
6250
6406
|
if (s1 !== peg$FAILED) {
|
|
@@ -6324,147 +6480,108 @@ function peg$parse(input, options) {
|
|
|
6324
6480
|
}
|
|
6325
6481
|
if (s0 === peg$FAILED) {
|
|
6326
6482
|
s0 = peg$currPos;
|
|
6327
|
-
if (input.substr(peg$currPos,
|
|
6328
|
-
s1 = peg$
|
|
6329
|
-
peg$currPos +=
|
|
6483
|
+
if (input.substr(peg$currPos, 5) === peg$c42) {
|
|
6484
|
+
s1 = peg$c42;
|
|
6485
|
+
peg$currPos += 5;
|
|
6330
6486
|
}
|
|
6331
6487
|
else {
|
|
6332
6488
|
s1 = peg$FAILED;
|
|
6333
6489
|
if (peg$silentFails === 0) {
|
|
6334
|
-
peg$fail(peg$
|
|
6490
|
+
peg$fail(peg$e48);
|
|
6335
6491
|
}
|
|
6336
6492
|
}
|
|
6337
6493
|
if (s1 !== peg$FAILED) {
|
|
6338
|
-
s2 = peg$
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
peg$currPos++;
|
|
6494
|
+
s2 = peg$parseBlockTag();
|
|
6495
|
+
if (s2 !== peg$FAILED) {
|
|
6496
|
+
peg$savedPos = s0;
|
|
6497
|
+
s0 = peg$f75();
|
|
6343
6498
|
}
|
|
6344
6499
|
else {
|
|
6345
|
-
|
|
6500
|
+
peg$currPos = s0;
|
|
6501
|
+
s0 = peg$FAILED;
|
|
6502
|
+
}
|
|
6503
|
+
}
|
|
6504
|
+
else {
|
|
6505
|
+
peg$currPos = s0;
|
|
6506
|
+
s0 = peg$FAILED;
|
|
6507
|
+
}
|
|
6508
|
+
if (s0 === peg$FAILED) {
|
|
6509
|
+
s0 = peg$currPos;
|
|
6510
|
+
if (input.substr(peg$currPos, 6) === peg$c43) {
|
|
6511
|
+
s1 = peg$c43;
|
|
6512
|
+
peg$currPos += 6;
|
|
6513
|
+
}
|
|
6514
|
+
else {
|
|
6515
|
+
s1 = peg$FAILED;
|
|
6346
6516
|
if (peg$silentFails === 0) {
|
|
6347
|
-
peg$fail(peg$
|
|
6517
|
+
peg$fail(peg$e49);
|
|
6348
6518
|
}
|
|
6349
6519
|
}
|
|
6350
|
-
if (
|
|
6520
|
+
if (s1 !== peg$FAILED) {
|
|
6521
|
+
s2 = peg$currPos;
|
|
6522
|
+
s3 = [];
|
|
6523
|
+
s4 = peg$currPos;
|
|
6351
6524
|
s5 = peg$currPos;
|
|
6352
|
-
s6 = [];
|
|
6353
|
-
s7 = peg$currPos;
|
|
6354
|
-
s8 = peg$currPos;
|
|
6355
6525
|
peg$silentFails++;
|
|
6356
|
-
|
|
6526
|
+
s6 = peg$parseBlockTag();
|
|
6357
6527
|
peg$silentFails--;
|
|
6358
|
-
if (
|
|
6359
|
-
|
|
6528
|
+
if (s6 === peg$FAILED) {
|
|
6529
|
+
s5 = undefined;
|
|
6360
6530
|
}
|
|
6361
6531
|
else {
|
|
6362
|
-
peg$currPos =
|
|
6363
|
-
|
|
6532
|
+
peg$currPos = s5;
|
|
6533
|
+
s5 = peg$FAILED;
|
|
6364
6534
|
}
|
|
6365
|
-
if (
|
|
6366
|
-
|
|
6367
|
-
if (
|
|
6368
|
-
|
|
6369
|
-
|
|
6535
|
+
if (s5 !== peg$FAILED) {
|
|
6536
|
+
s6 = peg$parsechar();
|
|
6537
|
+
if (s6 !== peg$FAILED) {
|
|
6538
|
+
s5 = [s5, s6];
|
|
6539
|
+
s4 = s5;
|
|
6370
6540
|
}
|
|
6371
6541
|
else {
|
|
6372
|
-
peg$currPos =
|
|
6373
|
-
|
|
6542
|
+
peg$currPos = s4;
|
|
6543
|
+
s4 = peg$FAILED;
|
|
6374
6544
|
}
|
|
6375
6545
|
}
|
|
6376
6546
|
else {
|
|
6377
|
-
peg$currPos =
|
|
6378
|
-
|
|
6547
|
+
peg$currPos = s4;
|
|
6548
|
+
s4 = peg$FAILED;
|
|
6379
6549
|
}
|
|
6380
|
-
while (
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6550
|
+
while (s4 !== peg$FAILED) {
|
|
6551
|
+
s3.push(s4);
|
|
6552
|
+
s4 = peg$currPos;
|
|
6553
|
+
s5 = peg$currPos;
|
|
6384
6554
|
peg$silentFails++;
|
|
6385
|
-
|
|
6555
|
+
s6 = peg$parseBlockTag();
|
|
6386
6556
|
peg$silentFails--;
|
|
6387
|
-
if (
|
|
6388
|
-
|
|
6557
|
+
if (s6 === peg$FAILED) {
|
|
6558
|
+
s5 = undefined;
|
|
6389
6559
|
}
|
|
6390
6560
|
else {
|
|
6391
|
-
peg$currPos =
|
|
6392
|
-
|
|
6561
|
+
peg$currPos = s5;
|
|
6562
|
+
s5 = peg$FAILED;
|
|
6393
6563
|
}
|
|
6394
|
-
if (
|
|
6395
|
-
|
|
6396
|
-
if (
|
|
6397
|
-
|
|
6398
|
-
|
|
6564
|
+
if (s5 !== peg$FAILED) {
|
|
6565
|
+
s6 = peg$parsechar();
|
|
6566
|
+
if (s6 !== peg$FAILED) {
|
|
6567
|
+
s5 = [s5, s6];
|
|
6568
|
+
s4 = s5;
|
|
6399
6569
|
}
|
|
6400
6570
|
else {
|
|
6401
|
-
peg$currPos =
|
|
6402
|
-
|
|
6571
|
+
peg$currPos = s4;
|
|
6572
|
+
s4 = peg$FAILED;
|
|
6403
6573
|
}
|
|
6404
6574
|
}
|
|
6405
6575
|
else {
|
|
6406
|
-
peg$currPos =
|
|
6407
|
-
|
|
6576
|
+
peg$currPos = s4;
|
|
6577
|
+
s4 = peg$FAILED;
|
|
6408
6578
|
}
|
|
6409
6579
|
}
|
|
6410
|
-
s5 = input.substring(s5, peg$currPos);
|
|
6411
|
-
s4 = [s4, s5];
|
|
6412
|
-
s3 = s4;
|
|
6413
|
-
}
|
|
6414
|
-
else {
|
|
6415
|
-
peg$currPos = s3;
|
|
6416
|
-
s3 = peg$FAILED;
|
|
6417
|
-
}
|
|
6418
|
-
if (s3 !== peg$FAILED) {
|
|
6419
6580
|
s2 = input.substring(s2, peg$currPos);
|
|
6420
|
-
}
|
|
6421
|
-
else {
|
|
6422
|
-
s2 = s3;
|
|
6423
|
-
}
|
|
6424
|
-
if (s2 !== peg$FAILED) {
|
|
6425
6581
|
s3 = peg$parseBlockTag();
|
|
6426
6582
|
if (s3 !== peg$FAILED) {
|
|
6427
6583
|
peg$savedPos = s0;
|
|
6428
|
-
s0 = peg$
|
|
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
|
-
}
|
|
6440
|
-
else {
|
|
6441
|
-
peg$currPos = s0;
|
|
6442
|
-
s0 = peg$FAILED;
|
|
6443
|
-
}
|
|
6444
|
-
if (s0 === peg$FAILED) {
|
|
6445
|
-
s0 = peg$currPos;
|
|
6446
|
-
if (input.substr(peg$currPos, 6) === peg$c43) {
|
|
6447
|
-
s1 = peg$c43;
|
|
6448
|
-
peg$currPos += 6;
|
|
6449
|
-
}
|
|
6450
|
-
else {
|
|
6451
|
-
s1 = peg$FAILED;
|
|
6452
|
-
if (peg$silentFails === 0) {
|
|
6453
|
-
peg$fail(peg$e49);
|
|
6454
|
-
}
|
|
6455
|
-
}
|
|
6456
|
-
if (s1 !== peg$FAILED) {
|
|
6457
|
-
s2 = peg$parseColor();
|
|
6458
|
-
if (s2 !== peg$FAILED) {
|
|
6459
|
-
s3 = peg$parseBlockTag();
|
|
6460
|
-
if (s3 !== peg$FAILED) {
|
|
6461
|
-
peg$savedPos = s0;
|
|
6462
|
-
s0 = peg$f76(s2);
|
|
6463
|
-
}
|
|
6464
|
-
else {
|
|
6465
|
-
peg$currPos = s0;
|
|
6466
|
-
s0 = peg$FAILED;
|
|
6467
|
-
}
|
|
6584
|
+
s0 = peg$f76(s2);
|
|
6468
6585
|
}
|
|
6469
6586
|
else {
|
|
6470
6587
|
peg$currPos = s0;
|
|
@@ -6477,99 +6594,147 @@ function peg$parse(input, options) {
|
|
|
6477
6594
|
}
|
|
6478
6595
|
if (s0 === peg$FAILED) {
|
|
6479
6596
|
s0 = peg$currPos;
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
if (s2 !== peg$FAILED) {
|
|
6484
|
-
peg$savedPos = s0;
|
|
6485
|
-
s0 = peg$f77(s1);
|
|
6486
|
-
}
|
|
6487
|
-
else {
|
|
6488
|
-
peg$currPos = s0;
|
|
6489
|
-
s0 = peg$FAILED;
|
|
6490
|
-
}
|
|
6597
|
+
if (input.substr(peg$currPos, 9) === peg$c44) {
|
|
6598
|
+
s1 = peg$c44;
|
|
6599
|
+
peg$currPos += 9;
|
|
6491
6600
|
}
|
|
6492
6601
|
else {
|
|
6493
|
-
|
|
6494
|
-
|
|
6602
|
+
s1 = peg$FAILED;
|
|
6603
|
+
if (peg$silentFails === 0) {
|
|
6604
|
+
peg$fail(peg$e50);
|
|
6605
|
+
}
|
|
6495
6606
|
}
|
|
6496
|
-
if (
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6607
|
+
if (s1 !== peg$FAILED) {
|
|
6608
|
+
s2 = peg$currPos;
|
|
6609
|
+
s3 = peg$currPos;
|
|
6610
|
+
if (input.charCodeAt(peg$currPos) === 80) {
|
|
6611
|
+
s4 = peg$c45;
|
|
6500
6612
|
peg$currPos++;
|
|
6501
6613
|
}
|
|
6502
6614
|
else {
|
|
6503
|
-
|
|
6615
|
+
s4 = peg$FAILED;
|
|
6504
6616
|
if (peg$silentFails === 0) {
|
|
6505
|
-
peg$fail(peg$
|
|
6617
|
+
peg$fail(peg$e51);
|
|
6506
6618
|
}
|
|
6507
6619
|
}
|
|
6508
|
-
if (
|
|
6509
|
-
s2 = peg$currPos;
|
|
6510
|
-
s3 = [];
|
|
6511
|
-
s4 = peg$currPos;
|
|
6620
|
+
if (s4 !== peg$FAILED) {
|
|
6512
6621
|
s5 = peg$currPos;
|
|
6622
|
+
s6 = [];
|
|
6623
|
+
s7 = peg$currPos;
|
|
6624
|
+
s8 = peg$currPos;
|
|
6513
6625
|
peg$silentFails++;
|
|
6514
|
-
|
|
6626
|
+
s9 = peg$parseBlockTag();
|
|
6515
6627
|
peg$silentFails--;
|
|
6516
|
-
if (
|
|
6517
|
-
|
|
6628
|
+
if (s9 === peg$FAILED) {
|
|
6629
|
+
s8 = undefined;
|
|
6518
6630
|
}
|
|
6519
6631
|
else {
|
|
6520
|
-
peg$currPos =
|
|
6521
|
-
|
|
6632
|
+
peg$currPos = s8;
|
|
6633
|
+
s8 = peg$FAILED;
|
|
6522
6634
|
}
|
|
6523
|
-
if (
|
|
6524
|
-
|
|
6525
|
-
if (
|
|
6526
|
-
|
|
6527
|
-
|
|
6635
|
+
if (s8 !== peg$FAILED) {
|
|
6636
|
+
s9 = peg$parsechar();
|
|
6637
|
+
if (s9 !== peg$FAILED) {
|
|
6638
|
+
s8 = [s8, s9];
|
|
6639
|
+
s7 = s8;
|
|
6528
6640
|
}
|
|
6529
6641
|
else {
|
|
6530
|
-
peg$currPos =
|
|
6531
|
-
|
|
6642
|
+
peg$currPos = s7;
|
|
6643
|
+
s7 = peg$FAILED;
|
|
6532
6644
|
}
|
|
6533
6645
|
}
|
|
6534
6646
|
else {
|
|
6535
|
-
peg$currPos =
|
|
6536
|
-
|
|
6647
|
+
peg$currPos = s7;
|
|
6648
|
+
s7 = peg$FAILED;
|
|
6537
6649
|
}
|
|
6538
|
-
while (
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6650
|
+
while (s7 !== peg$FAILED) {
|
|
6651
|
+
s6.push(s7);
|
|
6652
|
+
s7 = peg$currPos;
|
|
6653
|
+
s8 = peg$currPos;
|
|
6542
6654
|
peg$silentFails++;
|
|
6543
|
-
|
|
6655
|
+
s9 = peg$parseBlockTag();
|
|
6544
6656
|
peg$silentFails--;
|
|
6545
|
-
if (
|
|
6546
|
-
|
|
6657
|
+
if (s9 === peg$FAILED) {
|
|
6658
|
+
s8 = undefined;
|
|
6547
6659
|
}
|
|
6548
6660
|
else {
|
|
6549
|
-
peg$currPos =
|
|
6550
|
-
|
|
6661
|
+
peg$currPos = s8;
|
|
6662
|
+
s8 = peg$FAILED;
|
|
6551
6663
|
}
|
|
6552
|
-
if (
|
|
6553
|
-
|
|
6554
|
-
if (
|
|
6555
|
-
|
|
6556
|
-
|
|
6664
|
+
if (s8 !== peg$FAILED) {
|
|
6665
|
+
s9 = peg$parsechar();
|
|
6666
|
+
if (s9 !== peg$FAILED) {
|
|
6667
|
+
s8 = [s8, s9];
|
|
6668
|
+
s7 = s8;
|
|
6557
6669
|
}
|
|
6558
6670
|
else {
|
|
6559
|
-
peg$currPos =
|
|
6560
|
-
|
|
6671
|
+
peg$currPos = s7;
|
|
6672
|
+
s7 = peg$FAILED;
|
|
6561
6673
|
}
|
|
6562
6674
|
}
|
|
6563
6675
|
else {
|
|
6564
|
-
peg$currPos =
|
|
6565
|
-
|
|
6676
|
+
peg$currPos = s7;
|
|
6677
|
+
s7 = peg$FAILED;
|
|
6566
6678
|
}
|
|
6567
6679
|
}
|
|
6680
|
+
s5 = input.substring(s5, peg$currPos);
|
|
6681
|
+
s4 = [s4, s5];
|
|
6682
|
+
s3 = s4;
|
|
6683
|
+
}
|
|
6684
|
+
else {
|
|
6685
|
+
peg$currPos = s3;
|
|
6686
|
+
s3 = peg$FAILED;
|
|
6687
|
+
}
|
|
6688
|
+
if (s3 !== peg$FAILED) {
|
|
6568
6689
|
s2 = input.substring(s2, peg$currPos);
|
|
6690
|
+
}
|
|
6691
|
+
else {
|
|
6692
|
+
s2 = s3;
|
|
6693
|
+
}
|
|
6694
|
+
if (s2 !== peg$FAILED) {
|
|
6569
6695
|
s3 = peg$parseBlockTag();
|
|
6570
6696
|
if (s3 !== peg$FAILED) {
|
|
6571
6697
|
peg$savedPos = s0;
|
|
6572
|
-
s0 = peg$
|
|
6698
|
+
s0 = peg$f77(s2);
|
|
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
|
+
}
|
|
6710
|
+
else {
|
|
6711
|
+
peg$currPos = s0;
|
|
6712
|
+
s0 = peg$FAILED;
|
|
6713
|
+
}
|
|
6714
|
+
if (s0 === peg$FAILED) {
|
|
6715
|
+
s0 = peg$currPos;
|
|
6716
|
+
if (input.substr(peg$currPos, 6) === peg$c46) {
|
|
6717
|
+
s1 = peg$c46;
|
|
6718
|
+
peg$currPos += 6;
|
|
6719
|
+
}
|
|
6720
|
+
else {
|
|
6721
|
+
s1 = peg$FAILED;
|
|
6722
|
+
if (peg$silentFails === 0) {
|
|
6723
|
+
peg$fail(peg$e52);
|
|
6724
|
+
}
|
|
6725
|
+
}
|
|
6726
|
+
if (s1 !== peg$FAILED) {
|
|
6727
|
+
s2 = peg$parseColor();
|
|
6728
|
+
if (s2 !== peg$FAILED) {
|
|
6729
|
+
s3 = peg$parseBlockTag();
|
|
6730
|
+
if (s3 !== peg$FAILED) {
|
|
6731
|
+
peg$savedPos = s0;
|
|
6732
|
+
s0 = peg$f78(s2);
|
|
6733
|
+
}
|
|
6734
|
+
else {
|
|
6735
|
+
peg$currPos = s0;
|
|
6736
|
+
s0 = peg$FAILED;
|
|
6737
|
+
}
|
|
6573
6738
|
}
|
|
6574
6739
|
else {
|
|
6575
6740
|
peg$currPos = s0;
|
|
@@ -6580,6 +6745,113 @@ function peg$parse(input, options) {
|
|
|
6580
6745
|
peg$currPos = s0;
|
|
6581
6746
|
s0 = peg$FAILED;
|
|
6582
6747
|
}
|
|
6748
|
+
if (s0 === peg$FAILED) {
|
|
6749
|
+
s0 = peg$currPos;
|
|
6750
|
+
s1 = peg$parseAlternativeStyleTags();
|
|
6751
|
+
if (s1 !== peg$FAILED) {
|
|
6752
|
+
s2 = peg$parseBlockTag();
|
|
6753
|
+
if (s2 !== peg$FAILED) {
|
|
6754
|
+
peg$savedPos = s0;
|
|
6755
|
+
s0 = peg$f79(s1);
|
|
6756
|
+
}
|
|
6757
|
+
else {
|
|
6758
|
+
peg$currPos = s0;
|
|
6759
|
+
s0 = peg$FAILED;
|
|
6760
|
+
}
|
|
6761
|
+
}
|
|
6762
|
+
else {
|
|
6763
|
+
peg$currPos = s0;
|
|
6764
|
+
s0 = peg$FAILED;
|
|
6765
|
+
}
|
|
6766
|
+
if (s0 === peg$FAILED) {
|
|
6767
|
+
s0 = peg$currPos;
|
|
6768
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
6769
|
+
s1 = peg$c21;
|
|
6770
|
+
peg$currPos++;
|
|
6771
|
+
}
|
|
6772
|
+
else {
|
|
6773
|
+
s1 = peg$FAILED;
|
|
6774
|
+
if (peg$silentFails === 0) {
|
|
6775
|
+
peg$fail(peg$e25);
|
|
6776
|
+
}
|
|
6777
|
+
}
|
|
6778
|
+
if (s1 !== peg$FAILED) {
|
|
6779
|
+
s2 = peg$currPos;
|
|
6780
|
+
s3 = [];
|
|
6781
|
+
s4 = peg$currPos;
|
|
6782
|
+
s5 = peg$currPos;
|
|
6783
|
+
peg$silentFails++;
|
|
6784
|
+
s6 = peg$parseBlockTag();
|
|
6785
|
+
peg$silentFails--;
|
|
6786
|
+
if (s6 === peg$FAILED) {
|
|
6787
|
+
s5 = undefined;
|
|
6788
|
+
}
|
|
6789
|
+
else {
|
|
6790
|
+
peg$currPos = s5;
|
|
6791
|
+
s5 = peg$FAILED;
|
|
6792
|
+
}
|
|
6793
|
+
if (s5 !== peg$FAILED) {
|
|
6794
|
+
s6 = peg$parsechar();
|
|
6795
|
+
if (s6 !== peg$FAILED) {
|
|
6796
|
+
s5 = [s5, s6];
|
|
6797
|
+
s4 = s5;
|
|
6798
|
+
}
|
|
6799
|
+
else {
|
|
6800
|
+
peg$currPos = s4;
|
|
6801
|
+
s4 = peg$FAILED;
|
|
6802
|
+
}
|
|
6803
|
+
}
|
|
6804
|
+
else {
|
|
6805
|
+
peg$currPos = s4;
|
|
6806
|
+
s4 = peg$FAILED;
|
|
6807
|
+
}
|
|
6808
|
+
while (s4 !== peg$FAILED) {
|
|
6809
|
+
s3.push(s4);
|
|
6810
|
+
s4 = peg$currPos;
|
|
6811
|
+
s5 = peg$currPos;
|
|
6812
|
+
peg$silentFails++;
|
|
6813
|
+
s6 = peg$parseBlockTag();
|
|
6814
|
+
peg$silentFails--;
|
|
6815
|
+
if (s6 === peg$FAILED) {
|
|
6816
|
+
s5 = undefined;
|
|
6817
|
+
}
|
|
6818
|
+
else {
|
|
6819
|
+
peg$currPos = s5;
|
|
6820
|
+
s5 = peg$FAILED;
|
|
6821
|
+
}
|
|
6822
|
+
if (s5 !== peg$FAILED) {
|
|
6823
|
+
s6 = peg$parsechar();
|
|
6824
|
+
if (s6 !== peg$FAILED) {
|
|
6825
|
+
s5 = [s5, s6];
|
|
6826
|
+
s4 = s5;
|
|
6827
|
+
}
|
|
6828
|
+
else {
|
|
6829
|
+
peg$currPos = s4;
|
|
6830
|
+
s4 = peg$FAILED;
|
|
6831
|
+
}
|
|
6832
|
+
}
|
|
6833
|
+
else {
|
|
6834
|
+
peg$currPos = s4;
|
|
6835
|
+
s4 = peg$FAILED;
|
|
6836
|
+
}
|
|
6837
|
+
}
|
|
6838
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6839
|
+
s3 = peg$parseBlockTag();
|
|
6840
|
+
if (s3 !== peg$FAILED) {
|
|
6841
|
+
peg$savedPos = s0;
|
|
6842
|
+
s0 = peg$f80(s2);
|
|
6843
|
+
}
|
|
6844
|
+
else {
|
|
6845
|
+
peg$currPos = s0;
|
|
6846
|
+
s0 = peg$FAILED;
|
|
6847
|
+
}
|
|
6848
|
+
}
|
|
6849
|
+
else {
|
|
6850
|
+
peg$currPos = s0;
|
|
6851
|
+
s0 = peg$FAILED;
|
|
6852
|
+
}
|
|
6853
|
+
}
|
|
6854
|
+
}
|
|
6583
6855
|
}
|
|
6584
6856
|
}
|
|
6585
6857
|
}
|
|
@@ -6596,214 +6868,307 @@ function peg$parse(input, options) {
|
|
|
6596
6868
|
}
|
|
6597
6869
|
return s0;
|
|
6598
6870
|
}
|
|
6871
|
+
function peg$parseRefsChain() {
|
|
6872
|
+
var s0, s1;
|
|
6873
|
+
s0 = [];
|
|
6874
|
+
s1 = peg$parseRef();
|
|
6875
|
+
while (s1 !== peg$FAILED) {
|
|
6876
|
+
s0.push(s1);
|
|
6877
|
+
s1 = peg$parseRef();
|
|
6878
|
+
}
|
|
6879
|
+
return s0;
|
|
6880
|
+
}
|
|
6881
|
+
function peg$parseRef() {
|
|
6882
|
+
var s0, s1, s2, s3, s4, s5, s6;
|
|
6883
|
+
s0 = peg$currPos;
|
|
6884
|
+
if (input.substr(peg$currPos, 2) === peg$c47) {
|
|
6885
|
+
s1 = peg$c47;
|
|
6886
|
+
peg$currPos += 2;
|
|
6887
|
+
}
|
|
6888
|
+
else {
|
|
6889
|
+
s1 = peg$FAILED;
|
|
6890
|
+
if (peg$silentFails === 0) {
|
|
6891
|
+
peg$fail(peg$e53);
|
|
6892
|
+
}
|
|
6893
|
+
}
|
|
6894
|
+
if (s1 !== peg$FAILED) {
|
|
6895
|
+
s2 = peg$currPos;
|
|
6896
|
+
s3 = [];
|
|
6897
|
+
s4 = peg$currPos;
|
|
6898
|
+
s5 = peg$currPos;
|
|
6899
|
+
peg$silentFails++;
|
|
6900
|
+
s6 = peg$parseBlockTag();
|
|
6901
|
+
peg$silentFails--;
|
|
6902
|
+
if (s6 === peg$FAILED) {
|
|
6903
|
+
s5 = undefined;
|
|
6904
|
+
}
|
|
6905
|
+
else {
|
|
6906
|
+
peg$currPos = s5;
|
|
6907
|
+
s5 = peg$FAILED;
|
|
6908
|
+
}
|
|
6909
|
+
if (s5 !== peg$FAILED) {
|
|
6910
|
+
s6 = peg$parsechar();
|
|
6911
|
+
if (s6 !== peg$FAILED) {
|
|
6912
|
+
s5 = [s5, s6];
|
|
6913
|
+
s4 = s5;
|
|
6914
|
+
}
|
|
6915
|
+
else {
|
|
6916
|
+
peg$currPos = s4;
|
|
6917
|
+
s4 = peg$FAILED;
|
|
6918
|
+
}
|
|
6919
|
+
}
|
|
6920
|
+
else {
|
|
6921
|
+
peg$currPos = s4;
|
|
6922
|
+
s4 = peg$FAILED;
|
|
6923
|
+
}
|
|
6924
|
+
while (s4 !== peg$FAILED) {
|
|
6925
|
+
s3.push(s4);
|
|
6926
|
+
s4 = peg$currPos;
|
|
6927
|
+
s5 = peg$currPos;
|
|
6928
|
+
peg$silentFails++;
|
|
6929
|
+
s6 = peg$parseBlockTag();
|
|
6930
|
+
peg$silentFails--;
|
|
6931
|
+
if (s6 === peg$FAILED) {
|
|
6932
|
+
s5 = undefined;
|
|
6933
|
+
}
|
|
6934
|
+
else {
|
|
6935
|
+
peg$currPos = s5;
|
|
6936
|
+
s5 = peg$FAILED;
|
|
6937
|
+
}
|
|
6938
|
+
if (s5 !== peg$FAILED) {
|
|
6939
|
+
s6 = peg$parsechar();
|
|
6940
|
+
if (s6 !== peg$FAILED) {
|
|
6941
|
+
s5 = [s5, s6];
|
|
6942
|
+
s4 = s5;
|
|
6943
|
+
}
|
|
6944
|
+
else {
|
|
6945
|
+
peg$currPos = s4;
|
|
6946
|
+
s4 = peg$FAILED;
|
|
6947
|
+
}
|
|
6948
|
+
}
|
|
6949
|
+
else {
|
|
6950
|
+
peg$currPos = s4;
|
|
6951
|
+
s4 = peg$FAILED;
|
|
6952
|
+
}
|
|
6953
|
+
}
|
|
6954
|
+
s2 = input.substring(s2, peg$currPos);
|
|
6955
|
+
peg$savedPos = s0;
|
|
6956
|
+
s0 = peg$f81(s2);
|
|
6957
|
+
}
|
|
6958
|
+
else {
|
|
6959
|
+
peg$currPos = s0;
|
|
6960
|
+
s0 = peg$FAILED;
|
|
6961
|
+
}
|
|
6962
|
+
return s0;
|
|
6963
|
+
}
|
|
6599
6964
|
function peg$parseAlternativeStyleTags() {
|
|
6600
6965
|
var s0;
|
|
6601
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6602
|
-
s0 = peg$
|
|
6966
|
+
if (input.substr(peg$currPos, 4) === peg$c48) {
|
|
6967
|
+
s0 = peg$c48;
|
|
6603
6968
|
peg$currPos += 4;
|
|
6604
6969
|
}
|
|
6605
6970
|
else {
|
|
6606
6971
|
s0 = peg$FAILED;
|
|
6607
6972
|
if (peg$silentFails === 0) {
|
|
6608
|
-
peg$fail(peg$
|
|
6973
|
+
peg$fail(peg$e54);
|
|
6609
6974
|
}
|
|
6610
6975
|
}
|
|
6611
6976
|
if (s0 === peg$FAILED) {
|
|
6612
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6613
|
-
s0 = peg$
|
|
6977
|
+
if (input.substr(peg$currPos, 6) === peg$c49) {
|
|
6978
|
+
s0 = peg$c49;
|
|
6614
6979
|
peg$currPos += 6;
|
|
6615
6980
|
}
|
|
6616
6981
|
else {
|
|
6617
6982
|
s0 = peg$FAILED;
|
|
6618
6983
|
if (peg$silentFails === 0) {
|
|
6619
|
-
peg$fail(peg$
|
|
6984
|
+
peg$fail(peg$e55);
|
|
6620
6985
|
}
|
|
6621
6986
|
}
|
|
6622
6987
|
if (s0 === peg$FAILED) {
|
|
6623
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6624
|
-
s0 = peg$
|
|
6988
|
+
if (input.substr(peg$currPos, 5) === peg$c50) {
|
|
6989
|
+
s0 = peg$c50;
|
|
6625
6990
|
peg$currPos += 5;
|
|
6626
6991
|
}
|
|
6627
6992
|
else {
|
|
6628
6993
|
s0 = peg$FAILED;
|
|
6629
6994
|
if (peg$silentFails === 0) {
|
|
6630
|
-
peg$fail(peg$
|
|
6995
|
+
peg$fail(peg$e56);
|
|
6631
6996
|
}
|
|
6632
6997
|
}
|
|
6633
6998
|
if (s0 === peg$FAILED) {
|
|
6634
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6635
|
-
s0 = peg$
|
|
6999
|
+
if (input.substr(peg$currPos, 9) === peg$c51) {
|
|
7000
|
+
s0 = peg$c51;
|
|
6636
7001
|
peg$currPos += 9;
|
|
6637
7002
|
}
|
|
6638
7003
|
else {
|
|
6639
7004
|
s0 = peg$FAILED;
|
|
6640
7005
|
if (peg$silentFails === 0) {
|
|
6641
|
-
peg$fail(peg$
|
|
7006
|
+
peg$fail(peg$e57);
|
|
6642
7007
|
}
|
|
6643
7008
|
}
|
|
6644
7009
|
if (s0 === peg$FAILED) {
|
|
6645
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6646
|
-
s0 = peg$
|
|
7010
|
+
if (input.substr(peg$currPos, 6) === peg$c52) {
|
|
7011
|
+
s0 = peg$c52;
|
|
6647
7012
|
peg$currPos += 6;
|
|
6648
7013
|
}
|
|
6649
7014
|
else {
|
|
6650
7015
|
s0 = peg$FAILED;
|
|
6651
7016
|
if (peg$silentFails === 0) {
|
|
6652
|
-
peg$fail(peg$
|
|
7017
|
+
peg$fail(peg$e58);
|
|
6653
7018
|
}
|
|
6654
7019
|
}
|
|
6655
7020
|
if (s0 === peg$FAILED) {
|
|
6656
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6657
|
-
s0 = peg$
|
|
7021
|
+
if (input.substr(peg$currPos, 9) === peg$c53) {
|
|
7022
|
+
s0 = peg$c53;
|
|
6658
7023
|
peg$currPos += 9;
|
|
6659
7024
|
}
|
|
6660
7025
|
else {
|
|
6661
7026
|
s0 = peg$FAILED;
|
|
6662
7027
|
if (peg$silentFails === 0) {
|
|
6663
|
-
peg$fail(peg$
|
|
7028
|
+
peg$fail(peg$e59);
|
|
6664
7029
|
}
|
|
6665
7030
|
}
|
|
6666
7031
|
if (s0 === peg$FAILED) {
|
|
6667
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
6668
|
-
s0 = peg$
|
|
7032
|
+
if (input.substr(peg$currPos, 11) === peg$c54) {
|
|
7033
|
+
s0 = peg$c54;
|
|
6669
7034
|
peg$currPos += 11;
|
|
6670
7035
|
}
|
|
6671
7036
|
else {
|
|
6672
7037
|
s0 = peg$FAILED;
|
|
6673
7038
|
if (peg$silentFails === 0) {
|
|
6674
|
-
peg$fail(peg$
|
|
7039
|
+
peg$fail(peg$e60);
|
|
6675
7040
|
}
|
|
6676
7041
|
}
|
|
6677
7042
|
if (s0 === peg$FAILED) {
|
|
6678
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
6679
|
-
s0 = peg$
|
|
7043
|
+
if (input.substr(peg$currPos, 3) === peg$c55) {
|
|
7044
|
+
s0 = peg$c55;
|
|
6680
7045
|
peg$currPos += 3;
|
|
6681
7046
|
}
|
|
6682
7047
|
else {
|
|
6683
7048
|
s0 = peg$FAILED;
|
|
6684
7049
|
if (peg$silentFails === 0) {
|
|
6685
|
-
peg$fail(peg$
|
|
7050
|
+
peg$fail(peg$e61);
|
|
6686
7051
|
}
|
|
6687
7052
|
}
|
|
6688
7053
|
if (s0 === peg$FAILED) {
|
|
6689
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
6690
|
-
s0 = peg$
|
|
7054
|
+
if (input.substr(peg$currPos, 3) === peg$c56) {
|
|
7055
|
+
s0 = peg$c56;
|
|
6691
7056
|
peg$currPos += 3;
|
|
6692
7057
|
}
|
|
6693
7058
|
else {
|
|
6694
7059
|
s0 = peg$FAILED;
|
|
6695
7060
|
if (peg$silentFails === 0) {
|
|
6696
|
-
peg$fail(peg$
|
|
7061
|
+
peg$fail(peg$e62);
|
|
6697
7062
|
}
|
|
6698
7063
|
}
|
|
6699
7064
|
if (s0 === peg$FAILED) {
|
|
6700
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6701
|
-
s0 = peg$
|
|
7065
|
+
if (input.substr(peg$currPos, 9) === peg$c57) {
|
|
7066
|
+
s0 = peg$c57;
|
|
6702
7067
|
peg$currPos += 9;
|
|
6703
7068
|
}
|
|
6704
7069
|
else {
|
|
6705
7070
|
s0 = peg$FAILED;
|
|
6706
7071
|
if (peg$silentFails === 0) {
|
|
6707
|
-
peg$fail(peg$
|
|
7072
|
+
peg$fail(peg$e63);
|
|
6708
7073
|
}
|
|
6709
7074
|
}
|
|
6710
7075
|
if (s0 === peg$FAILED) {
|
|
6711
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
6712
|
-
s0 = peg$
|
|
7076
|
+
if (input.substr(peg$currPos, 15) === peg$c58) {
|
|
7077
|
+
s0 = peg$c58;
|
|
6713
7078
|
peg$currPos += 15;
|
|
6714
7079
|
}
|
|
6715
7080
|
else {
|
|
6716
7081
|
s0 = peg$FAILED;
|
|
6717
7082
|
if (peg$silentFails === 0) {
|
|
6718
|
-
peg$fail(peg$
|
|
7083
|
+
peg$fail(peg$e64);
|
|
6719
7084
|
}
|
|
6720
7085
|
}
|
|
6721
7086
|
if (s0 === peg$FAILED) {
|
|
6722
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6723
|
-
s0 = peg$
|
|
7087
|
+
if (input.substr(peg$currPos, 6) === peg$c59) {
|
|
7088
|
+
s0 = peg$c59;
|
|
6724
7089
|
peg$currPos += 6;
|
|
6725
7090
|
}
|
|
6726
7091
|
else {
|
|
6727
7092
|
s0 = peg$FAILED;
|
|
6728
7093
|
if (peg$silentFails === 0) {
|
|
6729
|
-
peg$fail(peg$
|
|
7094
|
+
peg$fail(peg$e65);
|
|
6730
7095
|
}
|
|
6731
7096
|
}
|
|
6732
7097
|
if (s0 === peg$FAILED) {
|
|
6733
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
6734
|
-
s0 = peg$
|
|
7098
|
+
if (input.substr(peg$currPos, 10) === peg$c60) {
|
|
7099
|
+
s0 = peg$c60;
|
|
6735
7100
|
peg$currPos += 10;
|
|
6736
7101
|
}
|
|
6737
7102
|
else {
|
|
6738
7103
|
s0 = peg$FAILED;
|
|
6739
7104
|
if (peg$silentFails === 0) {
|
|
6740
|
-
peg$fail(peg$
|
|
7105
|
+
peg$fail(peg$e66);
|
|
6741
7106
|
}
|
|
6742
7107
|
}
|
|
6743
7108
|
if (s0 === peg$FAILED) {
|
|
6744
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
6745
|
-
s0 = peg$
|
|
7109
|
+
if (input.substr(peg$currPos, 13) === peg$c61) {
|
|
7110
|
+
s0 = peg$c61;
|
|
6746
7111
|
peg$currPos += 13;
|
|
6747
7112
|
}
|
|
6748
7113
|
else {
|
|
6749
7114
|
s0 = peg$FAILED;
|
|
6750
7115
|
if (peg$silentFails === 0) {
|
|
6751
|
-
peg$fail(peg$
|
|
7116
|
+
peg$fail(peg$e67);
|
|
6752
7117
|
}
|
|
6753
7118
|
}
|
|
6754
7119
|
if (s0 === peg$FAILED) {
|
|
6755
|
-
if (input.substr(peg$currPos, 19) === peg$
|
|
6756
|
-
s0 = peg$
|
|
7120
|
+
if (input.substr(peg$currPos, 19) === peg$c62) {
|
|
7121
|
+
s0 = peg$c62;
|
|
6757
7122
|
peg$currPos += 19;
|
|
6758
7123
|
}
|
|
6759
7124
|
else {
|
|
6760
7125
|
s0 = peg$FAILED;
|
|
6761
7126
|
if (peg$silentFails === 0) {
|
|
6762
|
-
peg$fail(peg$
|
|
7127
|
+
peg$fail(peg$e68);
|
|
6763
7128
|
}
|
|
6764
7129
|
}
|
|
6765
7130
|
if (s0 === peg$FAILED) {
|
|
6766
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
6767
|
-
s0 = peg$
|
|
7131
|
+
if (input.substr(peg$currPos, 10) === peg$c63) {
|
|
7132
|
+
s0 = peg$c63;
|
|
6768
7133
|
peg$currPos += 10;
|
|
6769
7134
|
}
|
|
6770
7135
|
else {
|
|
6771
7136
|
s0 = peg$FAILED;
|
|
6772
7137
|
if (peg$silentFails === 0) {
|
|
6773
|
-
peg$fail(peg$
|
|
7138
|
+
peg$fail(peg$e69);
|
|
6774
7139
|
}
|
|
6775
7140
|
}
|
|
6776
7141
|
if (s0 === peg$FAILED) {
|
|
6777
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
6778
|
-
s0 = peg$
|
|
7142
|
+
if (input.substr(peg$currPos, 10) === peg$c64) {
|
|
7143
|
+
s0 = peg$c64;
|
|
6779
7144
|
peg$currPos += 10;
|
|
6780
7145
|
}
|
|
6781
7146
|
else {
|
|
6782
7147
|
s0 = peg$FAILED;
|
|
6783
7148
|
if (peg$silentFails === 0) {
|
|
6784
|
-
peg$fail(peg$
|
|
7149
|
+
peg$fail(peg$e70);
|
|
6785
7150
|
}
|
|
6786
7151
|
}
|
|
6787
7152
|
if (s0 === peg$FAILED) {
|
|
6788
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
6789
|
-
s0 = peg$
|
|
7153
|
+
if (input.substr(peg$currPos, 13) === peg$c65) {
|
|
7154
|
+
s0 = peg$c65;
|
|
6790
7155
|
peg$currPos += 13;
|
|
6791
7156
|
}
|
|
6792
7157
|
else {
|
|
6793
7158
|
s0 = peg$FAILED;
|
|
6794
7159
|
if (peg$silentFails === 0) {
|
|
6795
|
-
peg$fail(peg$
|
|
7160
|
+
peg$fail(peg$e71);
|
|
6796
7161
|
}
|
|
6797
7162
|
}
|
|
6798
7163
|
if (s0 === peg$FAILED) {
|
|
6799
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
6800
|
-
s0 = peg$
|
|
7164
|
+
if (input.substr(peg$currPos, 11) === peg$c66) {
|
|
7165
|
+
s0 = peg$c66;
|
|
6801
7166
|
peg$currPos += 11;
|
|
6802
7167
|
}
|
|
6803
7168
|
else {
|
|
6804
7169
|
s0 = peg$FAILED;
|
|
6805
7170
|
if (peg$silentFails === 0) {
|
|
6806
|
-
peg$fail(peg$
|
|
7171
|
+
peg$fail(peg$e72);
|
|
6807
7172
|
}
|
|
6808
7173
|
}
|
|
6809
7174
|
}
|
|
@@ -6828,245 +7193,245 @@ function peg$parse(input, options) {
|
|
|
6828
7193
|
}
|
|
6829
7194
|
function peg$parseColor() {
|
|
6830
7195
|
var s0;
|
|
6831
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6832
|
-
s0 = peg$
|
|
7196
|
+
if (input.substr(peg$currPos, 4) === peg$c67) {
|
|
7197
|
+
s0 = peg$c67;
|
|
6833
7198
|
peg$currPos += 4;
|
|
6834
7199
|
}
|
|
6835
7200
|
else {
|
|
6836
7201
|
s0 = peg$FAILED;
|
|
6837
7202
|
if (peg$silentFails === 0) {
|
|
6838
|
-
peg$fail(peg$
|
|
7203
|
+
peg$fail(peg$e73);
|
|
6839
7204
|
}
|
|
6840
7205
|
}
|
|
6841
7206
|
if (s0 === peg$FAILED) {
|
|
6842
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6843
|
-
s0 = peg$
|
|
7207
|
+
if (input.substr(peg$currPos, 5) === peg$c68) {
|
|
7208
|
+
s0 = peg$c68;
|
|
6844
7209
|
peg$currPos += 5;
|
|
6845
7210
|
}
|
|
6846
7211
|
else {
|
|
6847
7212
|
s0 = peg$FAILED;
|
|
6848
7213
|
if (peg$silentFails === 0) {
|
|
6849
|
-
peg$fail(peg$
|
|
7214
|
+
peg$fail(peg$e74);
|
|
6850
7215
|
}
|
|
6851
7216
|
}
|
|
6852
7217
|
if (s0 === peg$FAILED) {
|
|
6853
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6854
|
-
s0 = peg$
|
|
7218
|
+
if (input.substr(peg$currPos, 4) === peg$c69) {
|
|
7219
|
+
s0 = peg$c69;
|
|
6855
7220
|
peg$currPos += 4;
|
|
6856
7221
|
}
|
|
6857
7222
|
else {
|
|
6858
7223
|
s0 = peg$FAILED;
|
|
6859
7224
|
if (peg$silentFails === 0) {
|
|
6860
|
-
peg$fail(peg$
|
|
7225
|
+
peg$fail(peg$e75);
|
|
6861
7226
|
}
|
|
6862
7227
|
}
|
|
6863
7228
|
if (s0 === peg$FAILED) {
|
|
6864
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6865
|
-
s0 = peg$
|
|
7229
|
+
if (input.substr(peg$currPos, 4) === peg$c70) {
|
|
7230
|
+
s0 = peg$c70;
|
|
6866
7231
|
peg$currPos += 4;
|
|
6867
7232
|
}
|
|
6868
7233
|
else {
|
|
6869
7234
|
s0 = peg$FAILED;
|
|
6870
7235
|
if (peg$silentFails === 0) {
|
|
6871
|
-
peg$fail(peg$
|
|
7236
|
+
peg$fail(peg$e76);
|
|
6872
7237
|
}
|
|
6873
7238
|
}
|
|
6874
7239
|
if (s0 === peg$FAILED) {
|
|
6875
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
6876
|
-
s0 = peg$
|
|
7240
|
+
if (input.substr(peg$currPos, 7) === peg$c71) {
|
|
7241
|
+
s0 = peg$c71;
|
|
6877
7242
|
peg$currPos += 7;
|
|
6878
7243
|
}
|
|
6879
7244
|
else {
|
|
6880
7245
|
s0 = peg$FAILED;
|
|
6881
7246
|
if (peg$silentFails === 0) {
|
|
6882
|
-
peg$fail(peg$
|
|
7247
|
+
peg$fail(peg$e77);
|
|
6883
7248
|
}
|
|
6884
7249
|
}
|
|
6885
7250
|
if (s0 === peg$FAILED) {
|
|
6886
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
6887
|
-
s0 = peg$
|
|
7251
|
+
if (input.substr(peg$currPos, 9) === peg$c72) {
|
|
7252
|
+
s0 = peg$c72;
|
|
6888
7253
|
peg$currPos += 9;
|
|
6889
7254
|
}
|
|
6890
7255
|
else {
|
|
6891
7256
|
s0 = peg$FAILED;
|
|
6892
7257
|
if (peg$silentFails === 0) {
|
|
6893
|
-
peg$fail(peg$
|
|
7258
|
+
peg$fail(peg$e78);
|
|
6894
7259
|
}
|
|
6895
7260
|
}
|
|
6896
7261
|
if (s0 === peg$FAILED) {
|
|
6897
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6898
|
-
s0 = peg$
|
|
7262
|
+
if (input.substr(peg$currPos, 4) === peg$c73) {
|
|
7263
|
+
s0 = peg$c73;
|
|
6899
7264
|
peg$currPos += 4;
|
|
6900
7265
|
}
|
|
6901
7266
|
else {
|
|
6902
7267
|
s0 = peg$FAILED;
|
|
6903
7268
|
if (peg$silentFails === 0) {
|
|
6904
|
-
peg$fail(peg$
|
|
7269
|
+
peg$fail(peg$e79);
|
|
6905
7270
|
}
|
|
6906
7271
|
}
|
|
6907
7272
|
if (s0 === peg$FAILED) {
|
|
6908
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
6909
|
-
s0 = peg$
|
|
7273
|
+
if (input.substr(peg$currPos, 8) === peg$c74) {
|
|
7274
|
+
s0 = peg$c74;
|
|
6910
7275
|
peg$currPos += 8;
|
|
6911
7276
|
}
|
|
6912
7277
|
else {
|
|
6913
7278
|
s0 = peg$FAILED;
|
|
6914
7279
|
if (peg$silentFails === 0) {
|
|
6915
|
-
peg$fail(peg$
|
|
7280
|
+
peg$fail(peg$e80);
|
|
6916
7281
|
}
|
|
6917
7282
|
}
|
|
6918
7283
|
if (s0 === peg$FAILED) {
|
|
6919
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6920
|
-
s0 = peg$
|
|
7284
|
+
if (input.substr(peg$currPos, 5) === peg$c75) {
|
|
7285
|
+
s0 = peg$c75;
|
|
6921
7286
|
peg$currPos += 5;
|
|
6922
7287
|
}
|
|
6923
7288
|
else {
|
|
6924
7289
|
s0 = peg$FAILED;
|
|
6925
7290
|
if (peg$silentFails === 0) {
|
|
6926
|
-
peg$fail(peg$
|
|
7291
|
+
peg$fail(peg$e81);
|
|
6927
7292
|
}
|
|
6928
7293
|
}
|
|
6929
7294
|
if (s0 === peg$FAILED) {
|
|
6930
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6931
|
-
s0 = peg$
|
|
7295
|
+
if (input.substr(peg$currPos, 4) === peg$c76) {
|
|
7296
|
+
s0 = peg$c76;
|
|
6932
7297
|
peg$currPos += 4;
|
|
6933
7298
|
}
|
|
6934
7299
|
else {
|
|
6935
7300
|
s0 = peg$FAILED;
|
|
6936
7301
|
if (peg$silentFails === 0) {
|
|
6937
|
-
peg$fail(peg$
|
|
7302
|
+
peg$fail(peg$e82);
|
|
6938
7303
|
}
|
|
6939
7304
|
}
|
|
6940
7305
|
if (s0 === peg$FAILED) {
|
|
6941
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
6942
|
-
s0 = peg$
|
|
7306
|
+
if (input.substr(peg$currPos, 7) === peg$c77) {
|
|
7307
|
+
s0 = peg$c77;
|
|
6943
7308
|
peg$currPos += 7;
|
|
6944
7309
|
}
|
|
6945
7310
|
else {
|
|
6946
7311
|
s0 = peg$FAILED;
|
|
6947
7312
|
if (peg$silentFails === 0) {
|
|
6948
|
-
peg$fail(peg$
|
|
7313
|
+
peg$fail(peg$e83);
|
|
6949
7314
|
}
|
|
6950
7315
|
}
|
|
6951
7316
|
if (s0 === peg$FAILED) {
|
|
6952
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6953
|
-
s0 = peg$
|
|
7317
|
+
if (input.substr(peg$currPos, 6) === peg$c78) {
|
|
7318
|
+
s0 = peg$c78;
|
|
6954
7319
|
peg$currPos += 6;
|
|
6955
7320
|
}
|
|
6956
7321
|
else {
|
|
6957
7322
|
s0 = peg$FAILED;
|
|
6958
7323
|
if (peg$silentFails === 0) {
|
|
6959
|
-
peg$fail(peg$
|
|
7324
|
+
peg$fail(peg$e84);
|
|
6960
7325
|
}
|
|
6961
7326
|
}
|
|
6962
7327
|
if (s0 === peg$FAILED) {
|
|
6963
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
6964
|
-
s0 = peg$
|
|
7328
|
+
if (input.substr(peg$currPos, 4) === peg$c79) {
|
|
7329
|
+
s0 = peg$c79;
|
|
6965
7330
|
peg$currPos += 4;
|
|
6966
7331
|
}
|
|
6967
7332
|
else {
|
|
6968
7333
|
s0 = peg$FAILED;
|
|
6969
7334
|
if (peg$silentFails === 0) {
|
|
6970
|
-
peg$fail(peg$
|
|
7335
|
+
peg$fail(peg$e85);
|
|
6971
7336
|
}
|
|
6972
7337
|
}
|
|
6973
7338
|
if (s0 === peg$FAILED) {
|
|
6974
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
6975
|
-
s0 = peg$
|
|
7339
|
+
if (input.substr(peg$currPos, 5) === peg$c80) {
|
|
7340
|
+
s0 = peg$c80;
|
|
6976
7341
|
peg$currPos += 5;
|
|
6977
7342
|
}
|
|
6978
7343
|
else {
|
|
6979
7344
|
s0 = peg$FAILED;
|
|
6980
7345
|
if (peg$silentFails === 0) {
|
|
6981
|
-
peg$fail(peg$
|
|
7346
|
+
peg$fail(peg$e86);
|
|
6982
7347
|
}
|
|
6983
7348
|
}
|
|
6984
7349
|
if (s0 === peg$FAILED) {
|
|
6985
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6986
|
-
s0 = peg$
|
|
7350
|
+
if (input.substr(peg$currPos, 6) === peg$c81) {
|
|
7351
|
+
s0 = peg$c81;
|
|
6987
7352
|
peg$currPos += 6;
|
|
6988
7353
|
}
|
|
6989
7354
|
else {
|
|
6990
7355
|
s0 = peg$FAILED;
|
|
6991
7356
|
if (peg$silentFails === 0) {
|
|
6992
|
-
peg$fail(peg$
|
|
7357
|
+
peg$fail(peg$e87);
|
|
6993
7358
|
}
|
|
6994
7359
|
}
|
|
6995
7360
|
if (s0 === peg$FAILED) {
|
|
6996
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
6997
|
-
s0 = peg$
|
|
7361
|
+
if (input.substr(peg$currPos, 6) === peg$c82) {
|
|
7362
|
+
s0 = peg$c82;
|
|
6998
7363
|
peg$currPos += 6;
|
|
6999
7364
|
}
|
|
7000
7365
|
else {
|
|
7001
7366
|
s0 = peg$FAILED;
|
|
7002
7367
|
if (peg$silentFails === 0) {
|
|
7003
|
-
peg$fail(peg$
|
|
7368
|
+
peg$fail(peg$e88);
|
|
7004
7369
|
}
|
|
7005
7370
|
}
|
|
7006
7371
|
if (s0 === peg$FAILED) {
|
|
7007
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7008
|
-
s0 = peg$
|
|
7372
|
+
if (input.substr(peg$currPos, 3) === peg$c83) {
|
|
7373
|
+
s0 = peg$c83;
|
|
7009
7374
|
peg$currPos += 3;
|
|
7010
7375
|
}
|
|
7011
7376
|
else {
|
|
7012
7377
|
s0 = peg$FAILED;
|
|
7013
7378
|
if (peg$silentFails === 0) {
|
|
7014
|
-
peg$fail(peg$
|
|
7379
|
+
peg$fail(peg$e89);
|
|
7015
7380
|
}
|
|
7016
7381
|
}
|
|
7017
7382
|
if (s0 === peg$FAILED) {
|
|
7018
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7019
|
-
s0 = peg$
|
|
7383
|
+
if (input.substr(peg$currPos, 6) === peg$c84) {
|
|
7384
|
+
s0 = peg$c84;
|
|
7020
7385
|
peg$currPos += 6;
|
|
7021
7386
|
}
|
|
7022
7387
|
else {
|
|
7023
7388
|
s0 = peg$FAILED;
|
|
7024
7389
|
if (peg$silentFails === 0) {
|
|
7025
|
-
peg$fail(peg$
|
|
7390
|
+
peg$fail(peg$e90);
|
|
7026
7391
|
}
|
|
7027
7392
|
}
|
|
7028
7393
|
if (s0 === peg$FAILED) {
|
|
7029
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
7030
|
-
s0 = peg$
|
|
7394
|
+
if (input.substr(peg$currPos, 4) === peg$c85) {
|
|
7395
|
+
s0 = peg$c85;
|
|
7031
7396
|
peg$currPos += 4;
|
|
7032
7397
|
}
|
|
7033
7398
|
else {
|
|
7034
7399
|
s0 = peg$FAILED;
|
|
7035
7400
|
if (peg$silentFails === 0) {
|
|
7036
|
-
peg$fail(peg$
|
|
7401
|
+
peg$fail(peg$e91);
|
|
7037
7402
|
}
|
|
7038
7403
|
}
|
|
7039
7404
|
if (s0 === peg$FAILED) {
|
|
7040
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7041
|
-
s0 = peg$
|
|
7405
|
+
if (input.substr(peg$currPos, 6) === peg$c86) {
|
|
7406
|
+
s0 = peg$c86;
|
|
7042
7407
|
peg$currPos += 6;
|
|
7043
7408
|
}
|
|
7044
7409
|
else {
|
|
7045
7410
|
s0 = peg$FAILED;
|
|
7046
7411
|
if (peg$silentFails === 0) {
|
|
7047
|
-
peg$fail(peg$
|
|
7412
|
+
peg$fail(peg$e92);
|
|
7048
7413
|
}
|
|
7049
7414
|
}
|
|
7050
7415
|
if (s0 === peg$FAILED) {
|
|
7051
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
7052
|
-
s0 = peg$
|
|
7416
|
+
if (input.substr(peg$currPos, 5) === peg$c87) {
|
|
7417
|
+
s0 = peg$c87;
|
|
7053
7418
|
peg$currPos += 5;
|
|
7054
7419
|
}
|
|
7055
7420
|
else {
|
|
7056
7421
|
s0 = peg$FAILED;
|
|
7057
7422
|
if (peg$silentFails === 0) {
|
|
7058
|
-
peg$fail(peg$
|
|
7423
|
+
peg$fail(peg$e93);
|
|
7059
7424
|
}
|
|
7060
7425
|
}
|
|
7061
7426
|
if (s0 === peg$FAILED) {
|
|
7062
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
7063
|
-
s0 = peg$
|
|
7427
|
+
if (input.substr(peg$currPos, 6) === peg$c88) {
|
|
7428
|
+
s0 = peg$c88;
|
|
7064
7429
|
peg$currPos += 6;
|
|
7065
7430
|
}
|
|
7066
7431
|
else {
|
|
7067
7432
|
s0 = peg$FAILED;
|
|
7068
7433
|
if (peg$silentFails === 0) {
|
|
7069
|
-
peg$fail(peg$
|
|
7434
|
+
peg$fail(peg$e94);
|
|
7070
7435
|
}
|
|
7071
7436
|
}
|
|
7072
7437
|
}
|
|
@@ -7098,12 +7463,12 @@ function peg$parse(input, options) {
|
|
|
7098
7463
|
s0 = peg$currPos;
|
|
7099
7464
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
7100
7465
|
peg$savedPos = s0;
|
|
7101
|
-
s1 = peg$
|
|
7466
|
+
s1 = peg$f82(s1);
|
|
7102
7467
|
s0 = s1;
|
|
7103
7468
|
peg$silentFails--;
|
|
7104
7469
|
s1 = peg$FAILED;
|
|
7105
7470
|
if (peg$silentFails === 0) {
|
|
7106
|
-
peg$fail(peg$
|
|
7471
|
+
peg$fail(peg$e95);
|
|
7107
7472
|
}
|
|
7108
7473
|
return s0;
|
|
7109
7474
|
}
|
|
@@ -7128,11 +7493,11 @@ function peg$parse(input, options) {
|
|
|
7128
7493
|
}
|
|
7129
7494
|
}
|
|
7130
7495
|
peg$savedPos = s0;
|
|
7131
|
-
s0 = peg$
|
|
7496
|
+
s0 = peg$f83(s1, s2);
|
|
7132
7497
|
peg$silentFails--;
|
|
7133
7498
|
s1 = peg$FAILED;
|
|
7134
7499
|
if (peg$silentFails === 0) {
|
|
7135
|
-
peg$fail(peg$
|
|
7500
|
+
peg$fail(peg$e96);
|
|
7136
7501
|
}
|
|
7137
7502
|
return s0;
|
|
7138
7503
|
}
|
|
@@ -7142,7 +7507,7 @@ function peg$parse(input, options) {
|
|
|
7142
7507
|
s1 = peg$parseNL();
|
|
7143
7508
|
if (s1 !== peg$FAILED) {
|
|
7144
7509
|
peg$savedPos = s0;
|
|
7145
|
-
s1 = peg$
|
|
7510
|
+
s1 = peg$f84();
|
|
7146
7511
|
}
|
|
7147
7512
|
s0 = s1;
|
|
7148
7513
|
if (s0 === peg$FAILED) {
|
|
@@ -7285,7 +7650,7 @@ function peg$parse(input, options) {
|
|
|
7285
7650
|
}
|
|
7286
7651
|
if (s1 !== peg$FAILED) {
|
|
7287
7652
|
peg$savedPos = s0;
|
|
7288
|
-
s1 = peg$
|
|
7653
|
+
s1 = peg$f85(s1);
|
|
7289
7654
|
}
|
|
7290
7655
|
s0 = s1;
|
|
7291
7656
|
}
|
|
@@ -7294,13 +7659,13 @@ function peg$parse(input, options) {
|
|
|
7294
7659
|
function peg$parseBoldHalfTag() {
|
|
7295
7660
|
var s0;
|
|
7296
7661
|
if (input.charCodeAt(peg$currPos) === 42) {
|
|
7297
|
-
s0 = peg$
|
|
7662
|
+
s0 = peg$c89;
|
|
7298
7663
|
peg$currPos++;
|
|
7299
7664
|
}
|
|
7300
7665
|
else {
|
|
7301
7666
|
s0 = peg$FAILED;
|
|
7302
7667
|
if (peg$silentFails === 0) {
|
|
7303
|
-
peg$fail(peg$
|
|
7668
|
+
peg$fail(peg$e97);
|
|
7304
7669
|
}
|
|
7305
7670
|
}
|
|
7306
7671
|
return s0;
|
|
@@ -7308,13 +7673,13 @@ function peg$parse(input, options) {
|
|
|
7308
7673
|
function peg$parseItalicHalfTag() {
|
|
7309
7674
|
var s0;
|
|
7310
7675
|
if (input.charCodeAt(peg$currPos) === 95) {
|
|
7311
|
-
s0 = peg$
|
|
7676
|
+
s0 = peg$c90;
|
|
7312
7677
|
peg$currPos++;
|
|
7313
7678
|
}
|
|
7314
7679
|
else {
|
|
7315
7680
|
s0 = peg$FAILED;
|
|
7316
7681
|
if (peg$silentFails === 0) {
|
|
7317
|
-
peg$fail(peg$
|
|
7682
|
+
peg$fail(peg$e98);
|
|
7318
7683
|
}
|
|
7319
7684
|
}
|
|
7320
7685
|
return s0;
|
|
@@ -7322,13 +7687,13 @@ function peg$parse(input, options) {
|
|
|
7322
7687
|
function peg$parseLightHalfTag() {
|
|
7323
7688
|
var s0;
|
|
7324
7689
|
if (input.charCodeAt(peg$currPos) === 96) {
|
|
7325
|
-
s0 = peg$
|
|
7690
|
+
s0 = peg$c91;
|
|
7326
7691
|
peg$currPos++;
|
|
7327
7692
|
}
|
|
7328
7693
|
else {
|
|
7329
7694
|
s0 = peg$FAILED;
|
|
7330
7695
|
if (peg$silentFails === 0) {
|
|
7331
|
-
peg$fail(peg$
|
|
7696
|
+
peg$fail(peg$e99);
|
|
7332
7697
|
}
|
|
7333
7698
|
}
|
|
7334
7699
|
return s0;
|
|
@@ -7336,13 +7701,13 @@ function peg$parse(input, options) {
|
|
|
7336
7701
|
function peg$parseHighlightHalfTag() {
|
|
7337
7702
|
var s0;
|
|
7338
7703
|
if (input.charCodeAt(peg$currPos) === 33) {
|
|
7339
|
-
s0 = peg$
|
|
7704
|
+
s0 = peg$c92;
|
|
7340
7705
|
peg$currPos++;
|
|
7341
7706
|
}
|
|
7342
7707
|
else {
|
|
7343
7708
|
s0 = peg$FAILED;
|
|
7344
7709
|
if (peg$silentFails === 0) {
|
|
7345
|
-
peg$fail(peg$
|
|
7710
|
+
peg$fail(peg$e100);
|
|
7346
7711
|
}
|
|
7347
7712
|
}
|
|
7348
7713
|
return s0;
|
|
@@ -7433,14 +7798,14 @@ function peg$parse(input, options) {
|
|
|
7433
7798
|
}
|
|
7434
7799
|
function peg$parseBodyBitOpenTag() {
|
|
7435
7800
|
var s0;
|
|
7436
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
7437
|
-
s0 = peg$
|
|
7801
|
+
if (input.substr(peg$currPos, 2) === peg$c93) {
|
|
7802
|
+
s0 = peg$c93;
|
|
7438
7803
|
peg$currPos += 2;
|
|
7439
7804
|
}
|
|
7440
7805
|
else {
|
|
7441
7806
|
s0 = peg$FAILED;
|
|
7442
7807
|
if (peg$silentFails === 0) {
|
|
7443
|
-
peg$fail(peg$
|
|
7808
|
+
peg$fail(peg$e101);
|
|
7444
7809
|
}
|
|
7445
7810
|
}
|
|
7446
7811
|
return s0;
|
|
@@ -7448,13 +7813,13 @@ function peg$parse(input, options) {
|
|
|
7448
7813
|
function peg$parseBodyBitCloseTag() {
|
|
7449
7814
|
var s0;
|
|
7450
7815
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
7451
|
-
s0 = peg$
|
|
7816
|
+
s0 = peg$c94;
|
|
7452
7817
|
peg$currPos++;
|
|
7453
7818
|
}
|
|
7454
7819
|
else {
|
|
7455
7820
|
s0 = peg$FAILED;
|
|
7456
7821
|
if (peg$silentFails === 0) {
|
|
7457
|
-
peg$fail(peg$
|
|
7822
|
+
peg$fail(peg$e102);
|
|
7458
7823
|
}
|
|
7459
7824
|
}
|
|
7460
7825
|
return s0;
|
|
@@ -7504,7 +7869,7 @@ function peg$parse(input, options) {
|
|
|
7504
7869
|
s3 = peg$parseBodyBitCloseTag();
|
|
7505
7870
|
if (s3 !== peg$FAILED) {
|
|
7506
7871
|
peg$savedPos = s0;
|
|
7507
|
-
s0 = peg$
|
|
7872
|
+
s0 = peg$f86(s2);
|
|
7508
7873
|
}
|
|
7509
7874
|
else {
|
|
7510
7875
|
peg$currPos = s0;
|
|
@@ -7675,7 +8040,7 @@ function peg$parse(input, options) {
|
|
|
7675
8040
|
s5 = peg$parseBoldTag();
|
|
7676
8041
|
if (s5 !== peg$FAILED) {
|
|
7677
8042
|
peg$savedPos = s0;
|
|
7678
|
-
s0 = peg$
|
|
8043
|
+
s0 = peg$f87(s3);
|
|
7679
8044
|
}
|
|
7680
8045
|
else {
|
|
7681
8046
|
peg$currPos = s0;
|
|
@@ -7841,7 +8206,7 @@ function peg$parse(input, options) {
|
|
|
7841
8206
|
s5 = peg$parseItalicTag();
|
|
7842
8207
|
if (s5 !== peg$FAILED) {
|
|
7843
8208
|
peg$savedPos = s0;
|
|
7844
|
-
s0 = peg$
|
|
8209
|
+
s0 = peg$f88(s3);
|
|
7845
8210
|
}
|
|
7846
8211
|
else {
|
|
7847
8212
|
peg$currPos = s0;
|
|
@@ -8007,7 +8372,7 @@ function peg$parse(input, options) {
|
|
|
8007
8372
|
s5 = peg$parseLightTag();
|
|
8008
8373
|
if (s5 !== peg$FAILED) {
|
|
8009
8374
|
peg$savedPos = s0;
|
|
8010
|
-
s0 = peg$
|
|
8375
|
+
s0 = peg$f89(s3);
|
|
8011
8376
|
}
|
|
8012
8377
|
else {
|
|
8013
8378
|
peg$currPos = s0;
|
|
@@ -8173,7 +8538,7 @@ function peg$parse(input, options) {
|
|
|
8173
8538
|
s5 = peg$parseHighlightTag();
|
|
8174
8539
|
if (s5 !== peg$FAILED) {
|
|
8175
8540
|
peg$savedPos = s0;
|
|
8176
|
-
s0 = peg$
|
|
8541
|
+
s0 = peg$f90(s3);
|
|
8177
8542
|
}
|
|
8178
8543
|
else {
|
|
8179
8544
|
peg$currPos = s0;
|
|
@@ -8268,24 +8633,24 @@ function peg$parse(input, options) {
|
|
|
8268
8633
|
var s0, s1;
|
|
8269
8634
|
peg$silentFails++;
|
|
8270
8635
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
8271
|
-
s0 = peg$
|
|
8636
|
+
s0 = peg$c95;
|
|
8272
8637
|
peg$currPos++;
|
|
8273
8638
|
}
|
|
8274
8639
|
else {
|
|
8275
8640
|
s0 = peg$FAILED;
|
|
8276
8641
|
if (peg$silentFails === 0) {
|
|
8277
|
-
peg$fail(peg$
|
|
8642
|
+
peg$fail(peg$e104);
|
|
8278
8643
|
}
|
|
8279
8644
|
}
|
|
8280
8645
|
if (s0 === peg$FAILED) {
|
|
8281
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
8282
|
-
s0 = peg$
|
|
8646
|
+
if (input.substr(peg$currPos, 2) === peg$c96) {
|
|
8647
|
+
s0 = peg$c96;
|
|
8283
8648
|
peg$currPos += 2;
|
|
8284
8649
|
}
|
|
8285
8650
|
else {
|
|
8286
8651
|
s0 = peg$FAILED;
|
|
8287
8652
|
if (peg$silentFails === 0) {
|
|
8288
|
-
peg$fail(peg$
|
|
8653
|
+
peg$fail(peg$e105);
|
|
8289
8654
|
}
|
|
8290
8655
|
}
|
|
8291
8656
|
if (s0 === peg$FAILED) {
|
|
@@ -8296,7 +8661,7 @@ function peg$parse(input, options) {
|
|
|
8296
8661
|
else {
|
|
8297
8662
|
s0 = peg$FAILED;
|
|
8298
8663
|
if (peg$silentFails === 0) {
|
|
8299
|
-
peg$fail(peg$
|
|
8664
|
+
peg$fail(peg$e106);
|
|
8300
8665
|
}
|
|
8301
8666
|
}
|
|
8302
8667
|
}
|
|
@@ -8305,7 +8670,7 @@ function peg$parse(input, options) {
|
|
|
8305
8670
|
if (s0 === peg$FAILED) {
|
|
8306
8671
|
s1 = peg$FAILED;
|
|
8307
8672
|
if (peg$silentFails === 0) {
|
|
8308
|
-
peg$fail(peg$
|
|
8673
|
+
peg$fail(peg$e103);
|
|
8309
8674
|
}
|
|
8310
8675
|
}
|
|
8311
8676
|
return s0;
|
|
@@ -8340,7 +8705,7 @@ function peg$parse(input, options) {
|
|
|
8340
8705
|
peg$silentFails--;
|
|
8341
8706
|
s1 = peg$FAILED;
|
|
8342
8707
|
if (peg$silentFails === 0) {
|
|
8343
|
-
peg$fail(peg$
|
|
8708
|
+
peg$fail(peg$e107);
|
|
8344
8709
|
}
|
|
8345
8710
|
return s0;
|
|
8346
8711
|
}
|
|
@@ -8364,7 +8729,7 @@ function peg$parse(input, options) {
|
|
|
8364
8729
|
peg$silentFails--;
|
|
8365
8730
|
s1 = peg$FAILED;
|
|
8366
8731
|
if (peg$silentFails === 0) {
|
|
8367
|
-
peg$fail(peg$
|
|
8732
|
+
peg$fail(peg$e108);
|
|
8368
8733
|
}
|
|
8369
8734
|
return s0;
|
|
8370
8735
|
}
|
|
@@ -8388,7 +8753,7 @@ function peg$parse(input, options) {
|
|
|
8388
8753
|
if (s0 === peg$FAILED) {
|
|
8389
8754
|
s1 = peg$FAILED;
|
|
8390
8755
|
if (peg$silentFails === 0) {
|
|
8391
|
-
peg$fail(peg$
|
|
8756
|
+
peg$fail(peg$e109);
|
|
8392
8757
|
}
|
|
8393
8758
|
}
|
|
8394
8759
|
return s0;
|
|
@@ -8403,14 +8768,14 @@ function peg$parse(input, options) {
|
|
|
8403
8768
|
else {
|
|
8404
8769
|
s0 = peg$FAILED;
|
|
8405
8770
|
if (peg$silentFails === 0) {
|
|
8406
|
-
peg$fail(peg$
|
|
8771
|
+
peg$fail(peg$e111);
|
|
8407
8772
|
}
|
|
8408
8773
|
}
|
|
8409
8774
|
peg$silentFails--;
|
|
8410
8775
|
if (s0 === peg$FAILED) {
|
|
8411
8776
|
s1 = peg$FAILED;
|
|
8412
8777
|
if (peg$silentFails === 0) {
|
|
8413
|
-
peg$fail(peg$
|
|
8778
|
+
peg$fail(peg$e110);
|
|
8414
8779
|
}
|
|
8415
8780
|
}
|
|
8416
8781
|
return s0;
|
|
@@ -8424,7 +8789,7 @@ function peg$parse(input, options) {
|
|
|
8424
8789
|
else {
|
|
8425
8790
|
s0 = peg$FAILED;
|
|
8426
8791
|
if (peg$silentFails === 0) {
|
|
8427
|
-
peg$fail(peg$
|
|
8792
|
+
peg$fail(peg$e112);
|
|
8428
8793
|
}
|
|
8429
8794
|
}
|
|
8430
8795
|
return s0;
|
|
@@ -8438,7 +8803,7 @@ function peg$parse(input, options) {
|
|
|
8438
8803
|
else {
|
|
8439
8804
|
s0 = peg$FAILED;
|
|
8440
8805
|
if (peg$silentFails === 0) {
|
|
8441
|
-
peg$fail(peg$
|
|
8806
|
+
peg$fail(peg$e113);
|
|
8442
8807
|
}
|
|
8443
8808
|
}
|
|
8444
8809
|
return s0;
|
|
@@ -8452,7 +8817,7 @@ function peg$parse(input, options) {
|
|
|
8452
8817
|
else {
|
|
8453
8818
|
s0 = peg$FAILED;
|
|
8454
8819
|
if (peg$silentFails === 0) {
|
|
8455
|
-
peg$fail(peg$
|
|
8820
|
+
peg$fail(peg$e114);
|
|
8456
8821
|
}
|
|
8457
8822
|
}
|
|
8458
8823
|
return s0;
|
|
@@ -8488,38 +8853,38 @@ function peg$parse(input, options) {
|
|
|
8488
8853
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8;
|
|
8489
8854
|
s0 = peg$currPos;
|
|
8490
8855
|
s1 = peg$currPos;
|
|
8491
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
8492
|
-
s2 = peg$
|
|
8856
|
+
if (input.substr(peg$currPos, 4) === peg$c97) {
|
|
8857
|
+
s2 = peg$c97;
|
|
8493
8858
|
peg$currPos += 4;
|
|
8494
8859
|
}
|
|
8495
8860
|
else {
|
|
8496
8861
|
s2 = peg$FAILED;
|
|
8497
8862
|
if (peg$silentFails === 0) {
|
|
8498
|
-
peg$fail(peg$
|
|
8863
|
+
peg$fail(peg$e115);
|
|
8499
8864
|
}
|
|
8500
8865
|
}
|
|
8501
8866
|
if (s2 !== peg$FAILED) {
|
|
8502
8867
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
8503
|
-
s3 = peg$
|
|
8868
|
+
s3 = peg$c98;
|
|
8504
8869
|
peg$currPos++;
|
|
8505
8870
|
}
|
|
8506
8871
|
else {
|
|
8507
8872
|
s3 = peg$FAILED;
|
|
8508
8873
|
if (peg$silentFails === 0) {
|
|
8509
|
-
peg$fail(peg$
|
|
8874
|
+
peg$fail(peg$e116);
|
|
8510
8875
|
}
|
|
8511
8876
|
}
|
|
8512
8877
|
if (s3 === peg$FAILED) {
|
|
8513
8878
|
s3 = null;
|
|
8514
8879
|
}
|
|
8515
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
8516
|
-
s4 = peg$
|
|
8880
|
+
if (input.substr(peg$currPos, 3) === peg$c99) {
|
|
8881
|
+
s4 = peg$c99;
|
|
8517
8882
|
peg$currPos += 3;
|
|
8518
8883
|
}
|
|
8519
8884
|
else {
|
|
8520
8885
|
s4 = peg$FAILED;
|
|
8521
8886
|
if (peg$silentFails === 0) {
|
|
8522
|
-
peg$fail(peg$
|
|
8887
|
+
peg$fail(peg$e117);
|
|
8523
8888
|
}
|
|
8524
8889
|
}
|
|
8525
8890
|
if (s4 !== peg$FAILED) {
|
|
@@ -8606,38 +8971,38 @@ function peg$parse(input, options) {
|
|
|
8606
8971
|
s0 = peg$currPos;
|
|
8607
8972
|
s1 = peg$currPos;
|
|
8608
8973
|
s2 = peg$currPos;
|
|
8609
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
8610
|
-
s3 = peg$
|
|
8974
|
+
if (input.substr(peg$currPos, 4) === peg$c97) {
|
|
8975
|
+
s3 = peg$c97;
|
|
8611
8976
|
peg$currPos += 4;
|
|
8612
8977
|
}
|
|
8613
8978
|
else {
|
|
8614
8979
|
s3 = peg$FAILED;
|
|
8615
8980
|
if (peg$silentFails === 0) {
|
|
8616
|
-
peg$fail(peg$
|
|
8981
|
+
peg$fail(peg$e115);
|
|
8617
8982
|
}
|
|
8618
8983
|
}
|
|
8619
8984
|
if (s3 !== peg$FAILED) {
|
|
8620
8985
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
8621
|
-
s4 = peg$
|
|
8986
|
+
s4 = peg$c98;
|
|
8622
8987
|
peg$currPos++;
|
|
8623
8988
|
}
|
|
8624
8989
|
else {
|
|
8625
8990
|
s4 = peg$FAILED;
|
|
8626
8991
|
if (peg$silentFails === 0) {
|
|
8627
|
-
peg$fail(peg$
|
|
8992
|
+
peg$fail(peg$e116);
|
|
8628
8993
|
}
|
|
8629
8994
|
}
|
|
8630
8995
|
if (s4 === peg$FAILED) {
|
|
8631
8996
|
s4 = null;
|
|
8632
8997
|
}
|
|
8633
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
8634
|
-
s5 = peg$
|
|
8998
|
+
if (input.substr(peg$currPos, 3) === peg$c99) {
|
|
8999
|
+
s5 = peg$c99;
|
|
8635
9000
|
peg$currPos += 3;
|
|
8636
9001
|
}
|
|
8637
9002
|
else {
|
|
8638
9003
|
s5 = peg$FAILED;
|
|
8639
9004
|
if (peg$silentFails === 0) {
|
|
8640
|
-
peg$fail(peg$
|
|
9005
|
+
peg$fail(peg$e117);
|
|
8641
9006
|
}
|
|
8642
9007
|
}
|
|
8643
9008
|
if (s5 !== peg$FAILED) {
|
|
@@ -8654,14 +9019,14 @@ function peg$parse(input, options) {
|
|
|
8654
9019
|
s2 = peg$FAILED;
|
|
8655
9020
|
}
|
|
8656
9021
|
if (s2 === peg$FAILED) {
|
|
8657
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
8658
|
-
s2 = peg$
|
|
9022
|
+
if (input.substr(peg$currPos, 7) === peg$c100) {
|
|
9023
|
+
s2 = peg$c100;
|
|
8659
9024
|
peg$currPos += 7;
|
|
8660
9025
|
}
|
|
8661
9026
|
else {
|
|
8662
9027
|
s2 = peg$FAILED;
|
|
8663
9028
|
if (peg$silentFails === 0) {
|
|
8664
|
-
peg$fail(peg$
|
|
9029
|
+
peg$fail(peg$e118);
|
|
8665
9030
|
}
|
|
8666
9031
|
}
|
|
8667
9032
|
}
|
|
@@ -8733,7 +9098,7 @@ function peg$parse(input, options) {
|
|
|
8733
9098
|
}
|
|
8734
9099
|
s2 = input.substring(s2, peg$currPos);
|
|
8735
9100
|
peg$savedPos = s0;
|
|
8736
|
-
s0 = peg$
|
|
9101
|
+
s0 = peg$f91(s1, s2);
|
|
8737
9102
|
}
|
|
8738
9103
|
else {
|
|
8739
9104
|
peg$currPos = s0;
|
|
@@ -8750,7 +9115,7 @@ function peg$parse(input, options) {
|
|
|
8750
9115
|
else {
|
|
8751
9116
|
s0 = peg$FAILED;
|
|
8752
9117
|
if (peg$silentFails === 0) {
|
|
8753
|
-
peg$fail(peg$
|
|
9118
|
+
peg$fail(peg$e119);
|
|
8754
9119
|
}
|
|
8755
9120
|
}
|
|
8756
9121
|
return s0;
|