@gmb/bitmark-parser-generator 1.35.0 → 2.0.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 +8 -3
- package/dist/cjs/BitmarkParserGenerator.js.map +1 -1
- package/dist/cjs/ast/Ast.js +1 -0
- package/dist/cjs/ast/Ast.js.map +1 -1
- package/dist/cjs/ast/BaseBuilder.js +91 -54
- package/dist/cjs/ast/BaseBuilder.js.map +1 -1
- package/dist/cjs/ast/Builder.js +776 -389
- package/dist/cjs/ast/Builder.js.map +1 -1
- package/dist/cjs/ast/ResourceBuilder.js +516 -252
- package/dist/cjs/ast/ResourceBuilder.js.map +1 -1
- package/dist/cjs/ast/rules/NodeValidator.js +61 -22
- package/dist/cjs/ast/rules/NodeValidator.js.map +1 -1
- package/dist/cjs/breakscaping/Breakscape.js +96 -71
- package/dist/cjs/breakscaping/Breakscape.js.map +1 -1
- package/dist/cjs/config/raw/bits.js +14 -5
- package/dist/cjs/config/raw/bits.js.map +1 -1
- package/dist/cjs/config/raw/properties.js +7 -2
- 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/bitmark/bitmark-peggy-parser.js +1 -0
- package/dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js.map +1 -1
- package/dist/cjs/generator/AstWalkerGenerator.js +4 -1
- package/dist/cjs/generator/AstWalkerGenerator.js.map +1 -1
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js +959 -338
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/cjs/generator/json/JsonGenerator.js +308 -1982
- package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
- package/dist/cjs/generator/text/TextGenerator.js +26 -8
- package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/model/ast/NodeType.js +27 -8
- package/dist/cjs/model/ast/NodeType.js.map +1 -1
- package/dist/cjs/model/config/enum/PropertyConfigKey.js +1 -0
- package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -1
- package/dist/cjs/model/enum/BitType.js +1 -2
- package/dist/cjs/model/enum/BitType.js.map +1 -1
- package/dist/cjs/model/enum/PropertyFormat.js +3 -1
- package/dist/cjs/model/enum/PropertyFormat.js.map +1 -1
- package/dist/cjs/model/enum/TextFormat.js +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js +9 -3
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js +49 -131
- 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 +7 -31
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js +255 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +2 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +175 -129
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +8 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js +61 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +11 -5
- package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +21 -17
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js +50 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js +2 -15
- package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js +2 -4
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +4 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js +2 -4
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +5 -5
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js +5 -6
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +23 -7
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js +5 -5
- package/dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +3 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +19 -8
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js +4 -6
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js +4 -5
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +14 -5
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +37 -21
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js +3 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/json/JsonParser.js +73 -765
- package/dist/cjs/parser/json/JsonParser.js.map +1 -1
- package/dist/cjs/parser/text/TextParser.js +61 -2
- package/dist/cjs/parser/text/TextParser.js.map +1 -1
- package/dist/cjs/utils/BitUtils.js +15 -13
- package/dist/cjs/utils/BitUtils.js.map +1 -1
- package/dist/esm/BitmarkParserGenerator.js +8 -3
- package/dist/esm/BitmarkParserGenerator.js.map +1 -1
- package/dist/esm/ast/Ast.js +1 -0
- package/dist/esm/ast/Ast.js.map +1 -1
- package/dist/esm/ast/BaseBuilder.js +91 -54
- package/dist/esm/ast/BaseBuilder.js.map +1 -1
- package/dist/esm/ast/Builder.js +776 -389
- package/dist/esm/ast/Builder.js.map +1 -1
- package/dist/esm/ast/ResourceBuilder.js +516 -252
- package/dist/esm/ast/ResourceBuilder.js.map +1 -1
- package/dist/esm/ast/rules/NodeValidator.js +61 -22
- package/dist/esm/ast/rules/NodeValidator.js.map +1 -1
- package/dist/esm/breakscaping/Breakscape.js +96 -71
- package/dist/esm/breakscaping/Breakscape.js.map +1 -1
- package/dist/esm/config/raw/bits.js +14 -5
- package/dist/esm/config/raw/bits.js.map +1 -1
- package/dist/esm/config/raw/properties.js +7 -2
- 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/bitmark/bitmark-peggy-parser.js +1 -0
- package/dist/esm/generated/parser/bitmark/bitmark-peggy-parser.js.map +1 -1
- package/dist/esm/generator/AstWalkerGenerator.js +4 -1
- package/dist/esm/generator/AstWalkerGenerator.js.map +1 -1
- package/dist/esm/generator/bitmark/BitmarkGenerator.js +959 -338
- package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/esm/generator/json/JsonGenerator.js +308 -1982
- package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
- package/dist/esm/generator/text/TextGenerator.js +26 -8
- package/dist/esm/generator/text/TextGenerator.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/model/ast/NodeType.js +27 -8
- package/dist/esm/model/ast/NodeType.js.map +1 -1
- package/dist/esm/model/config/enum/PropertyConfigKey.js +1 -0
- package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -1
- package/dist/esm/model/enum/BitType.js +1 -2
- package/dist/esm/model/enum/BitType.js.map +1 -1
- package/dist/esm/model/enum/PropertyFormat.js +3 -1
- package/dist/esm/model/enum/PropertyFormat.js.map +1 -1
- package/dist/esm/model/enum/TextFormat.js +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js +9 -3
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js +49 -131
- 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 +7 -31
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js +252 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +2 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +175 -129
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +8 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js +58 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +11 -5
- package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +21 -17
- package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js +47 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js +2 -15
- package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js +2 -4
- package/dist/esm/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +4 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js +2 -4
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +5 -5
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js +5 -6
- package/dist/esm/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +23 -7
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js +5 -5
- package/dist/esm/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +3 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +19 -8
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js +4 -6
- package/dist/esm/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js +4 -5
- package/dist/esm/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +14 -5
- package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +37 -21
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js +3 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/json/JsonParser.js +73 -765
- package/dist/esm/parser/json/JsonParser.js.map +1 -1
- package/dist/esm/parser/text/TextParser.js +61 -2
- package/dist/esm/parser/text/TextParser.js.map +1 -1
- package/dist/esm/utils/BitUtils.js +15 -13
- package/dist/esm/utils/BitUtils.js.map +1 -1
- package/dist/types/BitmarkParserGenerator.d.ts +8 -0
- package/dist/types/BitmarkParserGenerator.d.ts.map +1 -1
- package/dist/types/ast/Ast.d.ts.map +1 -1
- package/dist/types/ast/BaseBuilder.d.ts +31 -21
- package/dist/types/ast/BaseBuilder.d.ts.map +1 -1
- package/dist/types/ast/Builder.d.ts +279 -441
- package/dist/types/ast/Builder.d.ts.map +1 -1
- package/dist/types/ast/ResourceBuilder.d.ts +177 -164
- package/dist/types/ast/ResourceBuilder.d.ts.map +1 -1
- package/dist/types/ast/rules/NodeValidator.d.ts +3 -2
- package/dist/types/ast/rules/NodeValidator.d.ts.map +1 -1
- package/dist/types/breakscaping/Breakscape.d.ts +6 -5
- package/dist/types/breakscaping/Breakscape.d.ts.map +1 -1
- package/dist/types/config/raw/bits.d.ts.map +1 -1
- package/dist/types/config/raw/properties.d.ts.map +1 -1
- package/dist/types/generated/parser/bitmark/bitmark-peggy-parser.d.ts.map +1 -1
- package/dist/types/generator/AstWalkerGenerator.d.ts.map +1 -1
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +89 -55
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
- package/dist/types/generator/json/JsonGenerator.d.ts +88 -108
- package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
- package/dist/types/generator/text/TextGenerator.d.ts +14 -2
- package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/model/ast/NodeType.d.ts +48 -16
- package/dist/types/model/ast/NodeType.d.ts.map +1 -1
- package/dist/types/model/ast/Nodes.d.ts +64 -440
- package/dist/types/model/ast/Nodes.d.ts.map +1 -1
- package/dist/types/model/config/enum/ConfigKey.d.ts +2 -0
- package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -1
- package/dist/types/model/config/enum/PropertyConfigKey.d.ts +3 -0
- package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -1
- package/dist/types/model/enum/BitType.d.ts +2 -4
- package/dist/types/model/enum/BitType.d.ts.map +1 -1
- package/dist/types/model/enum/PropertyFormat.d.ts +4 -2
- package/dist/types/model/enum/PropertyFormat.d.ts.map +1 -1
- package/dist/types/model/enum/PropertyTag.d.ts +2 -0
- package/dist/types/model/enum/PropertyTag.d.ts.map +1 -1
- package/dist/types/model/json/BitJson.d.ts +32 -20
- package/dist/types/model/json/BitJson.d.ts.map +1 -1
- package/dist/types/model/json/BodyBitJson.d.ts +16 -12
- package/dist/types/model/json/BodyBitJson.d.ts.map +1 -1
- package/dist/types/model/json/ResourceJson.d.ts +2 -22
- package/dist/types/model/json/ResourceJson.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserHelper.d.ts +3 -2
- package/dist/types/parser/bitmark/peg/BitmarkPegParserHelper.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts +2 -15
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts +83 -71
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/BodyContentProcessor.d.ts +37 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/BodyContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.d.ts +15 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/FooterContentProcessor.d.ts +16 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/FooterContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts +5 -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 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/json/JsonParser.d.ts +9 -72
- package/dist/types/parser/json/JsonParser.d.ts.map +1 -1
- package/dist/types/parser/text/TextParser.d.ts +16 -1
- package/dist/types/parser/text/TextParser.d.ts.map +1 -1
- package/dist/types/utils/BitUtils.d.ts +8 -8
- package/dist/types/utils/BitUtils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,8 @@ import { EnumType } from '@ncoderz/superenum';
|
|
|
3
3
|
* Defines the type of a node in the AST.
|
|
4
4
|
* All valid node types should be defined here.
|
|
5
5
|
*
|
|
6
|
+
* Nodes not defined here will not be walked by the AST walker.
|
|
7
|
+
*
|
|
6
8
|
* @enum
|
|
7
9
|
*/
|
|
8
10
|
declare const NodeType: Readonly<{
|
|
@@ -30,8 +32,11 @@ declare const NodeType: Readonly<{
|
|
|
30
32
|
analyticsTagValue: "analyticsTagValue";
|
|
31
33
|
anchor: "anchor";
|
|
32
34
|
answer: "answer";
|
|
35
|
+
appLink: "appLink";
|
|
33
36
|
attrs: "attrs";
|
|
34
37
|
audio: "audio";
|
|
38
|
+
audioEmbed: "audioEmbed";
|
|
39
|
+
audioLink: "audioLink";
|
|
35
40
|
author: "author";
|
|
36
41
|
authorValue: "authorValue";
|
|
37
42
|
availableClassifications: "availableClassifications";
|
|
@@ -48,6 +53,7 @@ declare const NodeType: Readonly<{
|
|
|
48
53
|
blockId: "blockId";
|
|
49
54
|
blockIdValue: "blockIdValue";
|
|
50
55
|
body: "body";
|
|
56
|
+
bodyBit: "bodyBit";
|
|
51
57
|
bodyJson: "bodyJson";
|
|
52
58
|
bodyParts: "bodyParts";
|
|
53
59
|
bodyPartsValue: "bodyPartsValue";
|
|
@@ -75,6 +81,7 @@ declare const NodeType: Readonly<{
|
|
|
75
81
|
cells: "cells";
|
|
76
82
|
cellsValue: "cellsValue";
|
|
77
83
|
checked: "checked";
|
|
84
|
+
choice: "choice";
|
|
78
85
|
choices: "choices";
|
|
79
86
|
choicesValue: "choicesValue";
|
|
80
87
|
class: "class";
|
|
@@ -104,6 +111,8 @@ declare const NodeType: Readonly<{
|
|
|
104
111
|
coverImage: "coverImage";
|
|
105
112
|
coverImageValue: "coverImageValue";
|
|
106
113
|
data: "data";
|
|
114
|
+
dataValue: "dataValue";
|
|
115
|
+
dataValueValue: "dataValueValue";
|
|
107
116
|
date: "date";
|
|
108
117
|
dateEnd: "dateEnd";
|
|
109
118
|
dateEndValue: "dateEndValue";
|
|
@@ -111,14 +120,16 @@ declare const NodeType: Readonly<{
|
|
|
111
120
|
decimalPlaces: "decimalPlaces";
|
|
112
121
|
deeplink: "deeplink";
|
|
113
122
|
deeplinkValue: "deeplinkValue";
|
|
123
|
+
definition: "definition";
|
|
114
124
|
definitions: "definitions";
|
|
115
125
|
definitionsValue: "definitionsValue";
|
|
116
|
-
description: "description";
|
|
117
|
-
descriptions: "descriptions";
|
|
118
|
-
descriptionsValue: "descriptionsValue";
|
|
119
126
|
disableCalculation: "disableCalculation";
|
|
120
127
|
disableFeedback: "disableFeedback";
|
|
121
128
|
disableFeedbackValue: "disableFeedbackValue";
|
|
129
|
+
document: "document";
|
|
130
|
+
documentDownload: "documentDownload";
|
|
131
|
+
documentEmbed: "documentEmbed";
|
|
132
|
+
documentLink: "documentLink";
|
|
122
133
|
duration: "duration";
|
|
123
134
|
durationValue: "durationValue";
|
|
124
135
|
elements: "elements";
|
|
@@ -173,6 +184,7 @@ declare const NodeType: Readonly<{
|
|
|
173
184
|
imageFirst: "imageFirst";
|
|
174
185
|
imageFirstValue: "imageFirstValue";
|
|
175
186
|
imageLandscape: "imageLandscape";
|
|
187
|
+
imageLink: "imageLink";
|
|
176
188
|
imagePlaceholder: "imagePlaceholder";
|
|
177
189
|
imagePlaceholderValue: "imagePlaceholderValue";
|
|
178
190
|
imagePortrait: "imagePortrait";
|
|
@@ -187,7 +199,7 @@ declare const NodeType: Readonly<{
|
|
|
187
199
|
isCaseSensitive: "isCaseSensitive";
|
|
188
200
|
isCommented: "isCommented";
|
|
189
201
|
isCorrect: "isCorrect";
|
|
190
|
-
|
|
202
|
+
__isDefaultExample: "__isDefaultExample";
|
|
191
203
|
isExample: "isExample";
|
|
192
204
|
isInfoOnly: "isInfoOnly";
|
|
193
205
|
isInfoOnlyValue: "isInfoOnlyValue";
|
|
@@ -350,9 +362,6 @@ declare const NodeType: Readonly<{
|
|
|
350
362
|
responses: "responses";
|
|
351
363
|
responsesValue: "responsesValue";
|
|
352
364
|
root: "root";
|
|
353
|
-
rows: "rows";
|
|
354
|
-
rowsValue: "rowsValue";
|
|
355
|
-
rowsValueValue: "rowsValueValue";
|
|
356
365
|
sampleSolution: "sampleSolution";
|
|
357
366
|
sampleSolutionValue: "sampleSolutionValue";
|
|
358
367
|
scormSource: "scormSource";
|
|
@@ -383,6 +392,8 @@ declare const NodeType: Readonly<{
|
|
|
383
392
|
statements: "statements";
|
|
384
393
|
statementsValue: "statementsValue";
|
|
385
394
|
statementText: "statementText";
|
|
395
|
+
stillImageFilmEmbed: "stillImageFilmEmbed";
|
|
396
|
+
stillImageFilmLink: "stillImageFilmLink";
|
|
386
397
|
stripePricingTableId: "stripePricingTableId";
|
|
387
398
|
stripePricingTableIdValue: "stripePricingTableIdValue";
|
|
388
399
|
stripePublishableKey: "stripePublishableKey";
|
|
@@ -405,6 +416,8 @@ declare const NodeType: Readonly<{
|
|
|
405
416
|
tablePaginationValue: "tablePaginationValue";
|
|
406
417
|
tableResizableColumns: "tableResizableColumns";
|
|
407
418
|
tableResizableColumnsValue: "tableResizableColumnsValue";
|
|
419
|
+
tableColumnMinWidth: "tableColumnMinWidth";
|
|
420
|
+
tableColumnMinWidthValue: "tableColumnMinWidthValue";
|
|
408
421
|
tableSearch: "tableSearch";
|
|
409
422
|
tableSearchValue: "tableSearchValue";
|
|
410
423
|
tableSort: "tableSort";
|
|
@@ -438,7 +451,7 @@ declare const NodeType: Readonly<{
|
|
|
438
451
|
tocValue: "tocValue";
|
|
439
452
|
trim: "trim";
|
|
440
453
|
type: "type";
|
|
441
|
-
|
|
454
|
+
__typeAlias: "__typeAlias";
|
|
442
455
|
unit: "unit";
|
|
443
456
|
unitAbbr: "unitAbbr";
|
|
444
457
|
url: "url";
|
|
@@ -448,10 +461,14 @@ declare const NodeType: Readonly<{
|
|
|
448
461
|
vendorUrl: "vendorUrl";
|
|
449
462
|
vendorUrlValue: "vendorUrlValue";
|
|
450
463
|
version: "version";
|
|
464
|
+
video: "video";
|
|
451
465
|
videoCallLink: "videoCallLink";
|
|
452
466
|
videoCallLinkValue: "videoCallLinkValue";
|
|
467
|
+
videoEmbed: "videoEmbed";
|
|
468
|
+
videoLink: "videoLink";
|
|
453
469
|
warnings: "warnings";
|
|
454
470
|
warningsValue: "warningsValue";
|
|
471
|
+
websiteLink: "websiteLink";
|
|
455
472
|
width: "width";
|
|
456
473
|
widthValue: "widthValue";
|
|
457
474
|
x: "x";
|
|
@@ -484,8 +501,11 @@ declare const NodeType: Readonly<{
|
|
|
484
501
|
analyticsTagValue: "analyticsTagValue";
|
|
485
502
|
anchor: "anchor";
|
|
486
503
|
answer: "answer";
|
|
504
|
+
appLink: "appLink";
|
|
487
505
|
attrs: "attrs";
|
|
488
506
|
audio: "audio";
|
|
507
|
+
audioEmbed: "audioEmbed";
|
|
508
|
+
audioLink: "audioLink";
|
|
489
509
|
author: "author";
|
|
490
510
|
authorValue: "authorValue";
|
|
491
511
|
availableClassifications: "availableClassifications";
|
|
@@ -502,6 +522,7 @@ declare const NodeType: Readonly<{
|
|
|
502
522
|
blockId: "blockId";
|
|
503
523
|
blockIdValue: "blockIdValue";
|
|
504
524
|
body: "body";
|
|
525
|
+
bodyBit: "bodyBit";
|
|
505
526
|
bodyJson: "bodyJson";
|
|
506
527
|
bodyParts: "bodyParts";
|
|
507
528
|
bodyPartsValue: "bodyPartsValue";
|
|
@@ -529,6 +550,7 @@ declare const NodeType: Readonly<{
|
|
|
529
550
|
cells: "cells";
|
|
530
551
|
cellsValue: "cellsValue";
|
|
531
552
|
checked: "checked";
|
|
553
|
+
choice: "choice";
|
|
532
554
|
choices: "choices";
|
|
533
555
|
choicesValue: "choicesValue";
|
|
534
556
|
class: "class";
|
|
@@ -558,6 +580,8 @@ declare const NodeType: Readonly<{
|
|
|
558
580
|
coverImage: "coverImage";
|
|
559
581
|
coverImageValue: "coverImageValue";
|
|
560
582
|
data: "data";
|
|
583
|
+
dataValue: "dataValue";
|
|
584
|
+
dataValueValue: "dataValueValue";
|
|
561
585
|
date: "date";
|
|
562
586
|
dateEnd: "dateEnd";
|
|
563
587
|
dateEndValue: "dateEndValue";
|
|
@@ -565,14 +589,16 @@ declare const NodeType: Readonly<{
|
|
|
565
589
|
decimalPlaces: "decimalPlaces";
|
|
566
590
|
deeplink: "deeplink";
|
|
567
591
|
deeplinkValue: "deeplinkValue";
|
|
592
|
+
definition: "definition";
|
|
568
593
|
definitions: "definitions";
|
|
569
594
|
definitionsValue: "definitionsValue";
|
|
570
|
-
description: "description";
|
|
571
|
-
descriptions: "descriptions";
|
|
572
|
-
descriptionsValue: "descriptionsValue";
|
|
573
595
|
disableCalculation: "disableCalculation";
|
|
574
596
|
disableFeedback: "disableFeedback";
|
|
575
597
|
disableFeedbackValue: "disableFeedbackValue";
|
|
598
|
+
document: "document";
|
|
599
|
+
documentDownload: "documentDownload";
|
|
600
|
+
documentEmbed: "documentEmbed";
|
|
601
|
+
documentLink: "documentLink";
|
|
576
602
|
duration: "duration";
|
|
577
603
|
durationValue: "durationValue";
|
|
578
604
|
elements: "elements";
|
|
@@ -627,6 +653,7 @@ declare const NodeType: Readonly<{
|
|
|
627
653
|
imageFirst: "imageFirst";
|
|
628
654
|
imageFirstValue: "imageFirstValue";
|
|
629
655
|
imageLandscape: "imageLandscape";
|
|
656
|
+
imageLink: "imageLink";
|
|
630
657
|
imagePlaceholder: "imagePlaceholder";
|
|
631
658
|
imagePlaceholderValue: "imagePlaceholderValue";
|
|
632
659
|
imagePortrait: "imagePortrait";
|
|
@@ -641,7 +668,7 @@ declare const NodeType: Readonly<{
|
|
|
641
668
|
isCaseSensitive: "isCaseSensitive";
|
|
642
669
|
isCommented: "isCommented";
|
|
643
670
|
isCorrect: "isCorrect";
|
|
644
|
-
|
|
671
|
+
__isDefaultExample: "__isDefaultExample";
|
|
645
672
|
isExample: "isExample";
|
|
646
673
|
isInfoOnly: "isInfoOnly";
|
|
647
674
|
isInfoOnlyValue: "isInfoOnlyValue";
|
|
@@ -804,9 +831,6 @@ declare const NodeType: Readonly<{
|
|
|
804
831
|
responses: "responses";
|
|
805
832
|
responsesValue: "responsesValue";
|
|
806
833
|
root: "root";
|
|
807
|
-
rows: "rows";
|
|
808
|
-
rowsValue: "rowsValue";
|
|
809
|
-
rowsValueValue: "rowsValueValue";
|
|
810
834
|
sampleSolution: "sampleSolution";
|
|
811
835
|
sampleSolutionValue: "sampleSolutionValue";
|
|
812
836
|
scormSource: "scormSource";
|
|
@@ -837,6 +861,8 @@ declare const NodeType: Readonly<{
|
|
|
837
861
|
statements: "statements";
|
|
838
862
|
statementsValue: "statementsValue";
|
|
839
863
|
statementText: "statementText";
|
|
864
|
+
stillImageFilmEmbed: "stillImageFilmEmbed";
|
|
865
|
+
stillImageFilmLink: "stillImageFilmLink";
|
|
840
866
|
stripePricingTableId: "stripePricingTableId";
|
|
841
867
|
stripePricingTableIdValue: "stripePricingTableIdValue";
|
|
842
868
|
stripePublishableKey: "stripePublishableKey";
|
|
@@ -859,6 +885,8 @@ declare const NodeType: Readonly<{
|
|
|
859
885
|
tablePaginationValue: "tablePaginationValue";
|
|
860
886
|
tableResizableColumns: "tableResizableColumns";
|
|
861
887
|
tableResizableColumnsValue: "tableResizableColumnsValue";
|
|
888
|
+
tableColumnMinWidth: "tableColumnMinWidth";
|
|
889
|
+
tableColumnMinWidthValue: "tableColumnMinWidthValue";
|
|
862
890
|
tableSearch: "tableSearch";
|
|
863
891
|
tableSearchValue: "tableSearchValue";
|
|
864
892
|
tableSort: "tableSort";
|
|
@@ -892,7 +920,7 @@ declare const NodeType: Readonly<{
|
|
|
892
920
|
tocValue: "tocValue";
|
|
893
921
|
trim: "trim";
|
|
894
922
|
type: "type";
|
|
895
|
-
|
|
923
|
+
__typeAlias: "__typeAlias";
|
|
896
924
|
unit: "unit";
|
|
897
925
|
unitAbbr: "unitAbbr";
|
|
898
926
|
url: "url";
|
|
@@ -902,10 +930,14 @@ declare const NodeType: Readonly<{
|
|
|
902
930
|
vendorUrl: "vendorUrl";
|
|
903
931
|
vendorUrlValue: "vendorUrlValue";
|
|
904
932
|
version: "version";
|
|
933
|
+
video: "video";
|
|
905
934
|
videoCallLink: "videoCallLink";
|
|
906
935
|
videoCallLinkValue: "videoCallLinkValue";
|
|
936
|
+
videoEmbed: "videoEmbed";
|
|
937
|
+
videoLink: "videoLink";
|
|
907
938
|
warnings: "warnings";
|
|
908
939
|
warningsValue: "warningsValue";
|
|
940
|
+
websiteLink: "websiteLink";
|
|
909
941
|
width: "width";
|
|
910
942
|
widthValue: "widthValue";
|
|
911
943
|
x: "x";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeType.d.ts","sourceRoot":"","sources":["../../../../src/model/ast/NodeType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAa,MAAM,oBAAoB,CAAC;AAEzD
|
|
1
|
+
{"version":3,"file":"NodeType.d.ts","sourceRoot":"","sources":["../../../../src/model/ast/NodeType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAa,MAAM,oBAAoB,CAAC;AAEzD;;;;;;;GAOG;AACH,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwdZ,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|