@gmb/bitmark-parser-generator 1.35.0 → 2.1.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 +813 -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 +44 -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 +992 -339
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/cjs/generator/json/JsonGenerator.js +312 -1985
- 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 +28 -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 +2 -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 +25 -12
- 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 +813 -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 +44 -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 +992 -339
- package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/esm/generator/json/JsonGenerator.js +312 -1985
- 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 +28 -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 +2 -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 +25 -12
- 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 +293 -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 +92 -55
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
- package/dist/types/generator/json/JsonGenerator.d.ts +89 -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 +50 -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 +4 -4
- 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 +38 -21
- 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,12 +53,14 @@ 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";
|
|
54
60
|
bodyPartText: "bodyPartText";
|
|
55
61
|
bodyText: "bodyText";
|
|
56
62
|
book: "book";
|
|
63
|
+
bookValue: "bookValue";
|
|
57
64
|
bookAlias: "bookAlias";
|
|
58
65
|
bookAliasValue: "bookAliasValue";
|
|
59
66
|
bot: "bot";
|
|
@@ -75,6 +82,7 @@ declare const NodeType: Readonly<{
|
|
|
75
82
|
cells: "cells";
|
|
76
83
|
cellsValue: "cellsValue";
|
|
77
84
|
checked: "checked";
|
|
85
|
+
choice: "choice";
|
|
78
86
|
choices: "choices";
|
|
79
87
|
choicesValue: "choicesValue";
|
|
80
88
|
class: "class";
|
|
@@ -104,6 +112,8 @@ declare const NodeType: Readonly<{
|
|
|
104
112
|
coverImage: "coverImage";
|
|
105
113
|
coverImageValue: "coverImageValue";
|
|
106
114
|
data: "data";
|
|
115
|
+
dataValue: "dataValue";
|
|
116
|
+
dataValueValue: "dataValueValue";
|
|
107
117
|
date: "date";
|
|
108
118
|
dateEnd: "dateEnd";
|
|
109
119
|
dateEndValue: "dateEndValue";
|
|
@@ -111,14 +121,16 @@ declare const NodeType: Readonly<{
|
|
|
111
121
|
decimalPlaces: "decimalPlaces";
|
|
112
122
|
deeplink: "deeplink";
|
|
113
123
|
deeplinkValue: "deeplinkValue";
|
|
124
|
+
definition: "definition";
|
|
114
125
|
definitions: "definitions";
|
|
115
126
|
definitionsValue: "definitionsValue";
|
|
116
|
-
description: "description";
|
|
117
|
-
descriptions: "descriptions";
|
|
118
|
-
descriptionsValue: "descriptionsValue";
|
|
119
127
|
disableCalculation: "disableCalculation";
|
|
120
128
|
disableFeedback: "disableFeedback";
|
|
121
129
|
disableFeedbackValue: "disableFeedbackValue";
|
|
130
|
+
document: "document";
|
|
131
|
+
documentDownload: "documentDownload";
|
|
132
|
+
documentEmbed: "documentEmbed";
|
|
133
|
+
documentLink: "documentLink";
|
|
122
134
|
duration: "duration";
|
|
123
135
|
durationValue: "durationValue";
|
|
124
136
|
elements: "elements";
|
|
@@ -173,6 +185,7 @@ declare const NodeType: Readonly<{
|
|
|
173
185
|
imageFirst: "imageFirst";
|
|
174
186
|
imageFirstValue: "imageFirstValue";
|
|
175
187
|
imageLandscape: "imageLandscape";
|
|
188
|
+
imageLink: "imageLink";
|
|
176
189
|
imagePlaceholder: "imagePlaceholder";
|
|
177
190
|
imagePlaceholderValue: "imagePlaceholderValue";
|
|
178
191
|
imagePortrait: "imagePortrait";
|
|
@@ -187,7 +200,7 @@ declare const NodeType: Readonly<{
|
|
|
187
200
|
isCaseSensitive: "isCaseSensitive";
|
|
188
201
|
isCommented: "isCommented";
|
|
189
202
|
isCorrect: "isCorrect";
|
|
190
|
-
|
|
203
|
+
__isDefaultExample: "__isDefaultExample";
|
|
191
204
|
isExample: "isExample";
|
|
192
205
|
isInfoOnly: "isInfoOnly";
|
|
193
206
|
isInfoOnlyValue: "isInfoOnlyValue";
|
|
@@ -350,9 +363,6 @@ declare const NodeType: Readonly<{
|
|
|
350
363
|
responses: "responses";
|
|
351
364
|
responsesValue: "responsesValue";
|
|
352
365
|
root: "root";
|
|
353
|
-
rows: "rows";
|
|
354
|
-
rowsValue: "rowsValue";
|
|
355
|
-
rowsValueValue: "rowsValueValue";
|
|
356
366
|
sampleSolution: "sampleSolution";
|
|
357
367
|
sampleSolutionValue: "sampleSolutionValue";
|
|
358
368
|
scormSource: "scormSource";
|
|
@@ -383,6 +393,8 @@ declare const NodeType: Readonly<{
|
|
|
383
393
|
statements: "statements";
|
|
384
394
|
statementsValue: "statementsValue";
|
|
385
395
|
statementText: "statementText";
|
|
396
|
+
stillImageFilmEmbed: "stillImageFilmEmbed";
|
|
397
|
+
stillImageFilmLink: "stillImageFilmLink";
|
|
386
398
|
stripePricingTableId: "stripePricingTableId";
|
|
387
399
|
stripePricingTableIdValue: "stripePricingTableIdValue";
|
|
388
400
|
stripePublishableKey: "stripePublishableKey";
|
|
@@ -405,6 +417,8 @@ declare const NodeType: Readonly<{
|
|
|
405
417
|
tablePaginationValue: "tablePaginationValue";
|
|
406
418
|
tableResizableColumns: "tableResizableColumns";
|
|
407
419
|
tableResizableColumnsValue: "tableResizableColumnsValue";
|
|
420
|
+
tableColumnMinWidth: "tableColumnMinWidth";
|
|
421
|
+
tableColumnMinWidthValue: "tableColumnMinWidthValue";
|
|
408
422
|
tableSearch: "tableSearch";
|
|
409
423
|
tableSearchValue: "tableSearchValue";
|
|
410
424
|
tableSort: "tableSort";
|
|
@@ -438,7 +452,7 @@ declare const NodeType: Readonly<{
|
|
|
438
452
|
tocValue: "tocValue";
|
|
439
453
|
trim: "trim";
|
|
440
454
|
type: "type";
|
|
441
|
-
|
|
455
|
+
__typeAlias: "__typeAlias";
|
|
442
456
|
unit: "unit";
|
|
443
457
|
unitAbbr: "unitAbbr";
|
|
444
458
|
url: "url";
|
|
@@ -448,10 +462,14 @@ declare const NodeType: Readonly<{
|
|
|
448
462
|
vendorUrl: "vendorUrl";
|
|
449
463
|
vendorUrlValue: "vendorUrlValue";
|
|
450
464
|
version: "version";
|
|
465
|
+
video: "video";
|
|
451
466
|
videoCallLink: "videoCallLink";
|
|
452
467
|
videoCallLinkValue: "videoCallLinkValue";
|
|
468
|
+
videoEmbed: "videoEmbed";
|
|
469
|
+
videoLink: "videoLink";
|
|
453
470
|
warnings: "warnings";
|
|
454
471
|
warningsValue: "warningsValue";
|
|
472
|
+
websiteLink: "websiteLink";
|
|
455
473
|
width: "width";
|
|
456
474
|
widthValue: "widthValue";
|
|
457
475
|
x: "x";
|
|
@@ -484,8 +502,11 @@ declare const NodeType: Readonly<{
|
|
|
484
502
|
analyticsTagValue: "analyticsTagValue";
|
|
485
503
|
anchor: "anchor";
|
|
486
504
|
answer: "answer";
|
|
505
|
+
appLink: "appLink";
|
|
487
506
|
attrs: "attrs";
|
|
488
507
|
audio: "audio";
|
|
508
|
+
audioEmbed: "audioEmbed";
|
|
509
|
+
audioLink: "audioLink";
|
|
489
510
|
author: "author";
|
|
490
511
|
authorValue: "authorValue";
|
|
491
512
|
availableClassifications: "availableClassifications";
|
|
@@ -502,12 +523,14 @@ declare const NodeType: Readonly<{
|
|
|
502
523
|
blockId: "blockId";
|
|
503
524
|
blockIdValue: "blockIdValue";
|
|
504
525
|
body: "body";
|
|
526
|
+
bodyBit: "bodyBit";
|
|
505
527
|
bodyJson: "bodyJson";
|
|
506
528
|
bodyParts: "bodyParts";
|
|
507
529
|
bodyPartsValue: "bodyPartsValue";
|
|
508
530
|
bodyPartText: "bodyPartText";
|
|
509
531
|
bodyText: "bodyText";
|
|
510
532
|
book: "book";
|
|
533
|
+
bookValue: "bookValue";
|
|
511
534
|
bookAlias: "bookAlias";
|
|
512
535
|
bookAliasValue: "bookAliasValue";
|
|
513
536
|
bot: "bot";
|
|
@@ -529,6 +552,7 @@ declare const NodeType: Readonly<{
|
|
|
529
552
|
cells: "cells";
|
|
530
553
|
cellsValue: "cellsValue";
|
|
531
554
|
checked: "checked";
|
|
555
|
+
choice: "choice";
|
|
532
556
|
choices: "choices";
|
|
533
557
|
choicesValue: "choicesValue";
|
|
534
558
|
class: "class";
|
|
@@ -558,6 +582,8 @@ declare const NodeType: Readonly<{
|
|
|
558
582
|
coverImage: "coverImage";
|
|
559
583
|
coverImageValue: "coverImageValue";
|
|
560
584
|
data: "data";
|
|
585
|
+
dataValue: "dataValue";
|
|
586
|
+
dataValueValue: "dataValueValue";
|
|
561
587
|
date: "date";
|
|
562
588
|
dateEnd: "dateEnd";
|
|
563
589
|
dateEndValue: "dateEndValue";
|
|
@@ -565,14 +591,16 @@ declare const NodeType: Readonly<{
|
|
|
565
591
|
decimalPlaces: "decimalPlaces";
|
|
566
592
|
deeplink: "deeplink";
|
|
567
593
|
deeplinkValue: "deeplinkValue";
|
|
594
|
+
definition: "definition";
|
|
568
595
|
definitions: "definitions";
|
|
569
596
|
definitionsValue: "definitionsValue";
|
|
570
|
-
description: "description";
|
|
571
|
-
descriptions: "descriptions";
|
|
572
|
-
descriptionsValue: "descriptionsValue";
|
|
573
597
|
disableCalculation: "disableCalculation";
|
|
574
598
|
disableFeedback: "disableFeedback";
|
|
575
599
|
disableFeedbackValue: "disableFeedbackValue";
|
|
600
|
+
document: "document";
|
|
601
|
+
documentDownload: "documentDownload";
|
|
602
|
+
documentEmbed: "documentEmbed";
|
|
603
|
+
documentLink: "documentLink";
|
|
576
604
|
duration: "duration";
|
|
577
605
|
durationValue: "durationValue";
|
|
578
606
|
elements: "elements";
|
|
@@ -627,6 +655,7 @@ declare const NodeType: Readonly<{
|
|
|
627
655
|
imageFirst: "imageFirst";
|
|
628
656
|
imageFirstValue: "imageFirstValue";
|
|
629
657
|
imageLandscape: "imageLandscape";
|
|
658
|
+
imageLink: "imageLink";
|
|
630
659
|
imagePlaceholder: "imagePlaceholder";
|
|
631
660
|
imagePlaceholderValue: "imagePlaceholderValue";
|
|
632
661
|
imagePortrait: "imagePortrait";
|
|
@@ -641,7 +670,7 @@ declare const NodeType: Readonly<{
|
|
|
641
670
|
isCaseSensitive: "isCaseSensitive";
|
|
642
671
|
isCommented: "isCommented";
|
|
643
672
|
isCorrect: "isCorrect";
|
|
644
|
-
|
|
673
|
+
__isDefaultExample: "__isDefaultExample";
|
|
645
674
|
isExample: "isExample";
|
|
646
675
|
isInfoOnly: "isInfoOnly";
|
|
647
676
|
isInfoOnlyValue: "isInfoOnlyValue";
|
|
@@ -804,9 +833,6 @@ declare const NodeType: Readonly<{
|
|
|
804
833
|
responses: "responses";
|
|
805
834
|
responsesValue: "responsesValue";
|
|
806
835
|
root: "root";
|
|
807
|
-
rows: "rows";
|
|
808
|
-
rowsValue: "rowsValue";
|
|
809
|
-
rowsValueValue: "rowsValueValue";
|
|
810
836
|
sampleSolution: "sampleSolution";
|
|
811
837
|
sampleSolutionValue: "sampleSolutionValue";
|
|
812
838
|
scormSource: "scormSource";
|
|
@@ -837,6 +863,8 @@ declare const NodeType: Readonly<{
|
|
|
837
863
|
statements: "statements";
|
|
838
864
|
statementsValue: "statementsValue";
|
|
839
865
|
statementText: "statementText";
|
|
866
|
+
stillImageFilmEmbed: "stillImageFilmEmbed";
|
|
867
|
+
stillImageFilmLink: "stillImageFilmLink";
|
|
840
868
|
stripePricingTableId: "stripePricingTableId";
|
|
841
869
|
stripePricingTableIdValue: "stripePricingTableIdValue";
|
|
842
870
|
stripePublishableKey: "stripePublishableKey";
|
|
@@ -859,6 +887,8 @@ declare const NodeType: Readonly<{
|
|
|
859
887
|
tablePaginationValue: "tablePaginationValue";
|
|
860
888
|
tableResizableColumns: "tableResizableColumns";
|
|
861
889
|
tableResizableColumnsValue: "tableResizableColumnsValue";
|
|
890
|
+
tableColumnMinWidth: "tableColumnMinWidth";
|
|
891
|
+
tableColumnMinWidthValue: "tableColumnMinWidthValue";
|
|
862
892
|
tableSearch: "tableSearch";
|
|
863
893
|
tableSearchValue: "tableSearchValue";
|
|
864
894
|
tableSort: "tableSort";
|
|
@@ -892,7 +922,7 @@ declare const NodeType: Readonly<{
|
|
|
892
922
|
tocValue: "tocValue";
|
|
893
923
|
trim: "trim";
|
|
894
924
|
type: "type";
|
|
895
|
-
|
|
925
|
+
__typeAlias: "__typeAlias";
|
|
896
926
|
unit: "unit";
|
|
897
927
|
unitAbbr: "unitAbbr";
|
|
898
928
|
url: "url";
|
|
@@ -902,10 +932,14 @@ declare const NodeType: Readonly<{
|
|
|
902
932
|
vendorUrl: "vendorUrl";
|
|
903
933
|
vendorUrlValue: "vendorUrlValue";
|
|
904
934
|
version: "version";
|
|
935
|
+
video: "video";
|
|
905
936
|
videoCallLink: "videoCallLink";
|
|
906
937
|
videoCallLinkValue: "videoCallLinkValue";
|
|
938
|
+
videoEmbed: "videoEmbed";
|
|
939
|
+
videoLink: "videoLink";
|
|
907
940
|
warnings: "warnings";
|
|
908
941
|
warningsValue: "warningsValue";
|
|
942
|
+
websiteLink: "websiteLink";
|
|
909
943
|
width: "width";
|
|
910
944
|
widthValue: "widthValue";
|
|
911
945
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAydZ,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|