@gmb/bitmark-parser-generator 3.25.0 → 3.25.1
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/generated/build-info.js +1 -1
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js +47 -44
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/esm/generated/build-info.js +1 -1
- package/dist/esm/generator/bitmark/BitmarkGenerator.js +47 -44
- package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +3 -1
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8"/>
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
6
|
-
<title>@gmb/bitmark-parser-generator [22 May 2025 at
|
|
6
|
+
<title>@gmb/bitmark-parser-generator [22 May 2025 at 04:05]</title>
|
|
7
7
|
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56RD5CjAbQX9Ow4g7upCsvYu55aSI/Nj0H1akgKQEUM94dwK65hYRmFU9MIcH/fqJYOZYcnuJSU/waKDgTOEVaVKhwrTRP5XzgSpAITYzom7UvkhFX5VutmxeNnWDjjswTKTyfgluNDGbUpWissXhF3s7mlSml+czWkg3D0l1nNjGNjz3myOQOa1KM/jOS6ebdbAVTCi4gljHSFrviza7tOgRWcS0MOUX9zdNgag5w7rRqA44Lzw0hr1WqES36dFliSJFlh2rXIae3FFcDDgKdxrUIDePr8jGcSClV1u7A9xeN0ModY/pHMxmR1EzRh8TJiwqsHmKW0l4FCEZI+jHio+JdPPE9qwQtTRxku2D8sIeRL2LnxWSllANCQGOIiqVHAz2ye2JR0DcH+HoxDkaADLjgxjKQ+AwCX/g0+DNgdG0ukYCONAe+dbc2IAc6fwt1ARoDSezNHxV2Cmzwv3O6lDMV55edBGwGK9n1+x2F8EDfAGCxug8MhpsMEcTEAWf3rx2vZhe/LAmtIn/6apE6PN0ULKgywD9mmdxbmFl3OvD5AS5fW5zLbv/YHmcsBTjf/afDz3MaZTVCfAP9z6/Bw6ycv8EUBWJIn9zYcoAWWlW9+OzO3vkTy8H+RANLmdrpOuYWdZYEXpo+TlCJrW5EARb7fF+bWdqf3hhyZI1nWJQHgznErZhbjoEsWqi8dQNoE294aldzFurwSABL2XXMf9+H1VQGke9exw5P/AnA5Pv5ngMul7LOvO922iwACu8WkCwLCafvM4CeWPxfA8lNHcWZSoi8EwMAIciKX2Z4SWCMAa3snCZ/G4EA8D6CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />
|
|
8
8
|
|
|
9
9
|
<script>
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<body>
|
|
32
32
|
<div id="app"></div>
|
|
33
33
|
<script>
|
|
34
|
-
window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1565619,"parsedSize":514036,"gzipSize":100896,"groups":[{"label":"dist/cjs","path":"./dist/cjs","statSize":1550542,"groups":[{"id":1791,"label":"BitmarkParserGenerator.js","path":"./dist/cjs/BitmarkParserGenerator.js","statSize":31777},{"label":"ast","path":"./dist/cjs/ast","statSize":170317,"groups":[{"id":5126,"label":"Ast.js","path":"./dist/cjs/ast/Ast.js","statSize":7709},{"id":4470,"label":"BaseBuilder.js","path":"./dist/cjs/ast/BaseBuilder.js","statSize":8185},{"id":5809,"label":"Builder.js","path":"./dist/cjs/ast/Builder.js","statSize":94095},{"id":5533,"label":"ResourceBuilder.js","path":"./dist/cjs/ast/ResourceBuilder.js","statSize":50302},{"label":"rules","path":"./dist/cjs/ast/rules","statSize":6615,"groups":[{"id":4564,"label":"NodeValidator.js","path":"./dist/cjs/ast/rules/NodeValidator.js","statSize":6615}],"parsedSize":0,"gzipSize":0},{"label":"writer","path":"./dist/cjs/ast/writer","statSize":3411,"groups":[{"id":6772,"label":"StringWriter.js","path":"./dist/cjs/ast/writer/StringWriter.js","statSize":3411}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"breakscaping","path":"./dist/cjs/breakscaping","statSize":18255,"groups":[{"id":7735,"label":"Breakscape.js","path":"./dist/cjs/breakscaping/Breakscape.js","statSize":18255}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/config","statSize":252293,"groups":[{"id":2028,"label":"Config.js","path":"./dist/cjs/config/Config.js","statSize":15544},{"id":4445,"label":"ConfigHydrator.js","path":"./dist/cjs/config/ConfigHydrator.js","statSize":7700},{"label":"raw","path":"./dist/cjs/config/raw","statSize":229049,"groups":[{"id":6853,"label":"bits.js","path":"./dist/cjs/config/raw/bits.js","statSize":116121},{"id":5554,"label":"cardSets.js","path":"./dist/cjs/config/raw/cardSets.js","statSize":22160},{"id":5837,"label":"groups.js","path":"./dist/cjs/config/raw/groups.js","statSize":45130},{"id":9916,"label":"properties.js","path":"./dist/cjs/config/raw/properties.js","statSize":40002},{"id":168,"label":"resources.js","path":"./dist/cjs/config/raw/resources.js","statSize":4198},{"id":9248,"label":"tags.js","path":"./dist/cjs/config/raw/tags.js","statSize":1438}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generated","path":"./dist/cjs/generated","statSize":479377,"groups":[{"id":1464,"label":"build-info.js","path":"./dist/cjs/generated/build-info.js","statSize":438},{"label":"parser","path":"./dist/cjs/generated/parser","statSize":478939,"groups":[{"label":"bitmark","path":"./dist/cjs/generated/parser/bitmark","statSize":95348,"groups":[{"id":5057,"label":"bitmark-peggy-parser.js","path":"./dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js","statSize":95348}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generated/parser/text","statSize":383591,"groups":[{"id":8321,"label":"text-peggy-parser.js","path":"./dist/cjs/generated/parser/text/text-peggy-parser.js","statSize":383591}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generator","path":"./dist/cjs/generator","statSize":234267,"groups":[{"id":4,"label":"AstWalkerGenerator.js","path":"./dist/cjs/generator/AstWalkerGenerator.js","statSize":3051},{"label":"bitmark","path":"./dist/cjs/generator/bitmark","statSize":108835,"groups":[{"id":5087,"label":"BitmarkGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkGenerator.js","statSize":106770},{"id":3968,"label":"BitmarkStringGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkStringGenerator.js","statSize":2065}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/generator/json","statSize":74357,"groups":[{"id":2497,"label":"JsonGenerator.js","path":"./dist/cjs/generator/json/JsonGenerator.js","statSize":70407},{"id":7984,"label":"JsonObjectGenerator.js","path":"./dist/cjs/generator/json/JsonObjectGenerator.js","statSize":2002},{"id":98,"label":"JsonStringGenerator.js","path":"./dist/cjs/generator/json/JsonStringGenerator.js","statSize":1948}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generator/text","statSize":48024,"groups":[{"id":431,"label":"TextGenerator.js","path":"./dist/cjs/generator/text/TextGenerator.js","statSize":48024}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"id":5469,"label":"index.js","path":"./dist/cjs/index.js","statSize":5626,"parsedSize":513904,"gzipSize":100896},{"label":"info","path":"./dist/cjs/info","statSize":1971,"groups":[{"id":3881,"label":"InfoBuilder.js","path":"./dist/cjs/info/InfoBuilder.js","statSize":1971}],"parsedSize":0,"gzipSize":0},{"label":"init","path":"./dist/cjs/init","statSize":480,"groups":[{"id":1412,"label":"init.js","path":"./dist/cjs/init/init.js","statSize":480}],"parsedSize":0,"gzipSize":0},{"label":"model","path":"./dist/cjs/model","statSize":82084,"groups":[{"label":"ast","path":"./dist/cjs/model/ast","statSize":18170,"groups":[{"id":126,"label":"NodeType.js","path":"./dist/cjs/model/ast/NodeType.js","statSize":18170}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/model/config","statSize":26253,"groups":[{"id":6634,"label":"AbstractTagConfig.js","path":"./dist/cjs/model/config/AbstractTagConfig.js","statSize":617},{"id":3619,"label":"BitConfig.js","path":"./dist/cjs/model/config/BitConfig.js","statSize":2977},{"id":5814,"label":"CardSetConfig.js","path":"./dist/cjs/model/config/CardSetConfig.js","statSize":781},{"id":9371,"label":"CardVariantConfig.js","path":"./dist/cjs/model/config/CardVariantConfig.js","statSize":1073},{"id":9788,"label":"MarkupTagConfig.js","path":"./dist/cjs/model/config/MarkupTagConfig.js","statSize":1553},{"id":1519,"label":"PropertyTagConfig.js","path":"./dist/cjs/model/config/PropertyTagConfig.js","statSize":2005},{"id":9600,"label":"ResourceTagConfig.js","path":"./dist/cjs/model/config/ResourceTagConfig.js","statSize":1594},{"id":1457,"label":"ResourcesConfig.js","path":"./dist/cjs/model/config/ResourcesConfig.js","statSize":1127},{"label":"enum","path":"./dist/cjs/model/config/enum","statSize":14526,"groups":[{"id":8199,"label":"CardSetConfigKey.js","path":"./dist/cjs/model/config/enum/CardSetConfigKey.js","statSize":1043},{"id":5591,"label":"ConfigKey.js","path":"./dist/cjs/model/config/enum/ConfigKey.js","statSize":1390},{"id":7112,"label":"GroupConfigKey.js","path":"./dist/cjs/model/config/enum/GroupConfigKey.js","statSize":2905},{"id":6915,"label":"GroupConfigType.js","path":"./dist/cjs/model/config/enum/GroupConfigType.js","statSize":493},{"id":9888,"label":"PropertyConfigKey.js","path":"./dist/cjs/model/config/enum/PropertyConfigKey.js","statSize":6684},{"id":5051,"label":"ResourceConfigKey.js","path":"./dist/cjs/model/config/enum/ResourceConfigKey.js","statSize":1265},{"id":7797,"label":"TagConfigKey.js","path":"./dist/cjs/model/config/enum/TagConfigKey.js","statSize":746}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"enum","path":"./dist/cjs/model/enum","statSize":36879,"groups":[{"id":5512,"label":"BitTagType.js","path":"./dist/cjs/model/enum/BitTagType.js","statSize":457},{"id":5854,"label":"BitType.js","path":"./dist/cjs/model/enum/BitType.js","statSize":25568},{"id":8588,"label":"BitmarkParserType.js","path":"./dist/cjs/model/enum/BitmarkParserType.js","statSize":335},{"id":3811,"label":"BitmarkVersion.js","path":"./dist/cjs/model/enum/BitmarkVersion.js","statSize":466},{"id":4410,"label":"BodyBitType.js","path":"./dist/cjs/model/enum/BodyBitType.js","statSize":426},{"id":1163,"label":"CardSetVersion.js","path":"./dist/cjs/model/enum/CardSetVersion.js","statSize":322},{"id":3778,"label":"Count.js","path":"./dist/cjs/model/enum/Count.js","statSize":281},{"id":363,"label":"ExampleType.js","path":"./dist/cjs/model/enum/ExampleType.js","statSize":434},{"id":7203,"label":"PropertyAstKey.js","path":"./dist/cjs/model/enum/PropertyAstKey.js","statSize":615},{"id":9727,"label":"PropertyFormat.js","path":"./dist/cjs/model/enum/PropertyFormat.js","statSize":1100},{"id":166,"label":"PropertyTag.js","path":"./dist/cjs/model/enum/PropertyTag.js","statSize":535},{"id":9984,"label":"ResourceJsonKey.js","path":"./dist/cjs/model/enum/ResourceJsonKey.js","statSize":959},{"id":6149,"label":"ResourceTag.js","path":"./dist/cjs/model/enum/ResourceTag.js","statSize":1134},{"id":9917,"label":"Tag.js","path":"./dist/cjs/model/enum/Tag.js","statSize":533},{"id":385,"label":"TextFormat.js","path":"./dist/cjs/model/enum/TextFormat.js","statSize":1119},{"id":6877,"label":"TextLocation.js","path":"./dist/cjs/model/enum/TextLocation.js","statSize":425},{"id":2483,"label":"TextMarkType.js","path":"./dist/cjs/model/enum/TextMarkType.js","statSize":1164},{"id":9554,"label":"TextNodeType.js","path":"./dist/cjs/model/enum/TextNodeType.js","statSize":1006}],"parsedSize":0,"gzipSize":0},{"label":"info/enum","path":"./dist/cjs/model/info/enum","statSize":782,"groups":[{"id":3069,"label":"InfoFormat.js","path":"./dist/cjs/model/info/enum/InfoFormat.js","statSize":334},{"id":486,"label":"InfoType.js","path":"./dist/cjs/model/info/enum/InfoType.js","statSize":448}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"parser","path":"./dist/cjs/parser","statSize":236141,"groups":[{"label":"bitmark","path":"./dist/cjs/parser/bitmark","statSize":220151,"groups":[{"id":5633,"label":"BitmarkParser.js","path":"./dist/cjs/parser/bitmark/BitmarkParser.js","statSize":795},{"label":"peg","path":"./dist/cjs/parser/bitmark/peg","statSize":219356,"groups":[{"id":5078,"label":"BitmarkPegParser.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParser.js","statSize":319},{"id":3206,"label":"BitmarkPegParserHelper.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js","statSize":21798},{"id":7124,"label":"BitmarkPegParserProcessor.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js","statSize":34088},{"id":3029,"label":"BitmarkPegParserTypes.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js","statSize":2433},{"id":4266,"label":"BitmarkPegParserValidator.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js","statSize":31987},{"id":7461,"label":"PeggyGrammarLocation.js","path":"./dist/cjs/parser/bitmark/peg/PeggyGrammarLocation.js","statSize":2879},{"label":"contentProcessors","path":"./dist/cjs/parser/bitmark/peg/contentProcessors","statSize":125852,"groups":[{"id":5033,"label":"BodyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js","statSize":11953},{"id":3045,"label":"BookChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js","statSize":2436},{"id":1083,"label":"CardContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js","statSize":40443},{"id":554,"label":"ClozeTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js","statSize":1372},{"id":6128,"label":"ContentProcessorUtils.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js","statSize":2643},{"id":4402,"label":"DefaultTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js","statSize":3093},{"id":4091,"label":"ExampleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js","statSize":6921},{"id":4382,"label":"FooterContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js","statSize":2909},{"id":3904,"label":"GapChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js","statSize":1689},{"id":8848,"label":"ImageSourceChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js","statSize":3258},{"id":6991,"label":"InternalCommentTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.js","statSize":672},{"id":9289,"label":"ItemLeadChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.js","statSize":1652},{"id":8216,"label":"ItemLeadTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js","statSize":814},{"id":5189,"label":"MarkChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js","statSize":2560},{"id":3063,"label":"MarkConfigChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js","statSize":2445},{"id":5980,"label":"MarkTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js","statSize":494},{"id":21,"label":"PersonChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js","statSize":2583},{"id":9647,"label":"PropertyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js","statSize":10350},{"id":3967,"label":"RatingLevelChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js","statSize":1632},{"id":3990,"label":"ReferenceTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js","statSize":1196},{"id":6521,"label":"ResourceContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js","statSize":9230},{"id":4953,"label":"ServingsChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js","statSize":1296},{"id":4475,"label":"TechnicalTermChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js","statSize":1441},{"id":7667,"label":"TitleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js","statSize":2544},{"id":9885,"label":"TrueFalseChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js","statSize":9079},{"id":4020,"label":"TrueFalseTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js","statSize":1147}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/parser/json","statSize":10644,"groups":[{"id":5663,"label":"JsonParser.js","path":"./dist/cjs/parser/json/JsonParser.js","statSize":10644}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/parser/text","statSize":5346,"groups":[{"id":777,"label":"TextParser.js","path":"./dist/cjs/parser/text/TextParser.js","statSize":5042},{"label":"peg","path":"./dist/cjs/parser/text/peg","statSize":304,"groups":[{"id":2220,"label":"TextPegParser.js","path":"./dist/cjs/parser/text/peg/TextPegParser.js","statSize":304}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"utils","path":"./dist/cjs/utils","statSize":37954,"groups":[{"id":6989,"label":"ArrayUtils.js","path":"./dist/cjs/utils/ArrayUtils.js","statSize":1474},{"id":8903,"label":"BitUtils.js","path":"./dist/cjs/utils/BitUtils.js","statSize":2534},{"id":4078,"label":"BooleanUtils.js","path":"./dist/cjs/utils/BooleanUtils.js","statSize":1839},{"id":8025,"label":"NumberUtils.js","path":"./dist/cjs/utils/NumberUtils.js","statSize":1890},{"id":955,"label":"ObjectUtils.js","path":"./dist/cjs/utils/ObjectUtils.js","statSize":14455},{"id":9681,"label":"StringUtils.js","path":"./dist/cjs/utils/StringUtils.js","statSize":6529},{"id":201,"label":"UrlUtils.js","path":"./dist/cjs/utils/UrlUtils.js","statSize":986},{"label":"env","path":"./dist/cjs/utils/env","statSize":8247,"groups":[{"id":6936,"label":"Env.js","path":"./dist/cjs/utils/env/Env.js","statSize":4069},{"id":6278,"label":"Environment.js","path":"./dist/cjs/utils/env/Environment.js","statSize":420},{"id":9561,"label":"Os.js","path":"./dist/cjs/utils/env/Os.js","statSize":361},{"id":2287,"label":"Version.js","path":"./dist/cjs/utils/env/Version.js","statSize":284},{"id":5659,"label":"userAgent.js","path":"./dist/cjs/utils/env/userAgent.js","statSize":3113}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":513904,"gzipSize":100896},{"label":"node_modules","path":"./node_modules","statSize":15077,"groups":[{"label":"@ncoderz/superenum/dist/esm","path":"./node_modules/@ncoderz/superenum/dist/esm","statSize":6980,"groups":[{"id":4718,"label":"superenum.js","path":"./node_modules/@ncoderz/superenum/dist/esm/superenum.js","statSize":6980}],"parsedSize":0,"gzipSize":0},{"label":"@ungap/structured-clone/cjs","path":"./node_modules/@ungap/structured-clone/cjs","statSize":8097,"groups":[{"id":5005,"label":"deserialize.js","path":"./node_modules/@ungap/structured-clone/cjs/deserialize.js","statSize":2210},{"id":7678,"label":"index.js","path":"./node_modules/@ungap/structured-clone/cjs/index.js","statSize":941},{"id":5416,"label":"serialize.js","path":"./node_modules/@ungap/structured-clone/cjs/serialize.js","statSize":4451},{"id":1731,"label":"types.js","path":"./node_modules/@ungap/structured-clone/cjs/types.js","statSize":495}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"main":true}}];
|
|
34
|
+
window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1565325,"parsedSize":513998,"gzipSize":100921,"groups":[{"label":"dist/cjs","path":"./dist/cjs","statSize":1550248,"groups":[{"id":1791,"label":"BitmarkParserGenerator.js","path":"./dist/cjs/BitmarkParserGenerator.js","statSize":31777},{"label":"ast","path":"./dist/cjs/ast","statSize":170317,"groups":[{"id":5126,"label":"Ast.js","path":"./dist/cjs/ast/Ast.js","statSize":7709},{"id":4470,"label":"BaseBuilder.js","path":"./dist/cjs/ast/BaseBuilder.js","statSize":8185},{"id":5809,"label":"Builder.js","path":"./dist/cjs/ast/Builder.js","statSize":94095},{"id":5533,"label":"ResourceBuilder.js","path":"./dist/cjs/ast/ResourceBuilder.js","statSize":50302},{"label":"rules","path":"./dist/cjs/ast/rules","statSize":6615,"groups":[{"id":4564,"label":"NodeValidator.js","path":"./dist/cjs/ast/rules/NodeValidator.js","statSize":6615}],"parsedSize":0,"gzipSize":0},{"label":"writer","path":"./dist/cjs/ast/writer","statSize":3411,"groups":[{"id":6772,"label":"StringWriter.js","path":"./dist/cjs/ast/writer/StringWriter.js","statSize":3411}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"breakscaping","path":"./dist/cjs/breakscaping","statSize":18255,"groups":[{"id":7735,"label":"Breakscape.js","path":"./dist/cjs/breakscaping/Breakscape.js","statSize":18255}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/config","statSize":252293,"groups":[{"id":2028,"label":"Config.js","path":"./dist/cjs/config/Config.js","statSize":15544},{"id":4445,"label":"ConfigHydrator.js","path":"./dist/cjs/config/ConfigHydrator.js","statSize":7700},{"label":"raw","path":"./dist/cjs/config/raw","statSize":229049,"groups":[{"id":6853,"label":"bits.js","path":"./dist/cjs/config/raw/bits.js","statSize":116121},{"id":5554,"label":"cardSets.js","path":"./dist/cjs/config/raw/cardSets.js","statSize":22160},{"id":5837,"label":"groups.js","path":"./dist/cjs/config/raw/groups.js","statSize":45130},{"id":9916,"label":"properties.js","path":"./dist/cjs/config/raw/properties.js","statSize":40002},{"id":168,"label":"resources.js","path":"./dist/cjs/config/raw/resources.js","statSize":4198},{"id":9248,"label":"tags.js","path":"./dist/cjs/config/raw/tags.js","statSize":1438}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generated","path":"./dist/cjs/generated","statSize":479377,"groups":[{"id":1464,"label":"build-info.js","path":"./dist/cjs/generated/build-info.js","statSize":438},{"label":"parser","path":"./dist/cjs/generated/parser","statSize":478939,"groups":[{"label":"bitmark","path":"./dist/cjs/generated/parser/bitmark","statSize":95348,"groups":[{"id":5057,"label":"bitmark-peggy-parser.js","path":"./dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js","statSize":95348}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generated/parser/text","statSize":383591,"groups":[{"id":8321,"label":"text-peggy-parser.js","path":"./dist/cjs/generated/parser/text/text-peggy-parser.js","statSize":383591}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generator","path":"./dist/cjs/generator","statSize":233973,"groups":[{"id":4,"label":"AstWalkerGenerator.js","path":"./dist/cjs/generator/AstWalkerGenerator.js","statSize":3051},{"label":"bitmark","path":"./dist/cjs/generator/bitmark","statSize":108541,"groups":[{"id":5087,"label":"BitmarkGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkGenerator.js","statSize":106476},{"id":3968,"label":"BitmarkStringGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkStringGenerator.js","statSize":2065}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/generator/json","statSize":74357,"groups":[{"id":2497,"label":"JsonGenerator.js","path":"./dist/cjs/generator/json/JsonGenerator.js","statSize":70407},{"id":7984,"label":"JsonObjectGenerator.js","path":"./dist/cjs/generator/json/JsonObjectGenerator.js","statSize":2002},{"id":98,"label":"JsonStringGenerator.js","path":"./dist/cjs/generator/json/JsonStringGenerator.js","statSize":1948}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generator/text","statSize":48024,"groups":[{"id":431,"label":"TextGenerator.js","path":"./dist/cjs/generator/text/TextGenerator.js","statSize":48024}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"id":5469,"label":"index.js","path":"./dist/cjs/index.js","statSize":5626,"parsedSize":513866,"gzipSize":100921},{"label":"info","path":"./dist/cjs/info","statSize":1971,"groups":[{"id":3881,"label":"InfoBuilder.js","path":"./dist/cjs/info/InfoBuilder.js","statSize":1971}],"parsedSize":0,"gzipSize":0},{"label":"init","path":"./dist/cjs/init","statSize":480,"groups":[{"id":1412,"label":"init.js","path":"./dist/cjs/init/init.js","statSize":480}],"parsedSize":0,"gzipSize":0},{"label":"model","path":"./dist/cjs/model","statSize":82084,"groups":[{"label":"ast","path":"./dist/cjs/model/ast","statSize":18170,"groups":[{"id":126,"label":"NodeType.js","path":"./dist/cjs/model/ast/NodeType.js","statSize":18170}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/model/config","statSize":26253,"groups":[{"id":6634,"label":"AbstractTagConfig.js","path":"./dist/cjs/model/config/AbstractTagConfig.js","statSize":617},{"id":3619,"label":"BitConfig.js","path":"./dist/cjs/model/config/BitConfig.js","statSize":2977},{"id":5814,"label":"CardSetConfig.js","path":"./dist/cjs/model/config/CardSetConfig.js","statSize":781},{"id":9371,"label":"CardVariantConfig.js","path":"./dist/cjs/model/config/CardVariantConfig.js","statSize":1073},{"id":9788,"label":"MarkupTagConfig.js","path":"./dist/cjs/model/config/MarkupTagConfig.js","statSize":1553},{"id":1519,"label":"PropertyTagConfig.js","path":"./dist/cjs/model/config/PropertyTagConfig.js","statSize":2005},{"id":9600,"label":"ResourceTagConfig.js","path":"./dist/cjs/model/config/ResourceTagConfig.js","statSize":1594},{"id":1457,"label":"ResourcesConfig.js","path":"./dist/cjs/model/config/ResourcesConfig.js","statSize":1127},{"label":"enum","path":"./dist/cjs/model/config/enum","statSize":14526,"groups":[{"id":8199,"label":"CardSetConfigKey.js","path":"./dist/cjs/model/config/enum/CardSetConfigKey.js","statSize":1043},{"id":5591,"label":"ConfigKey.js","path":"./dist/cjs/model/config/enum/ConfigKey.js","statSize":1390},{"id":7112,"label":"GroupConfigKey.js","path":"./dist/cjs/model/config/enum/GroupConfigKey.js","statSize":2905},{"id":6915,"label":"GroupConfigType.js","path":"./dist/cjs/model/config/enum/GroupConfigType.js","statSize":493},{"id":9888,"label":"PropertyConfigKey.js","path":"./dist/cjs/model/config/enum/PropertyConfigKey.js","statSize":6684},{"id":5051,"label":"ResourceConfigKey.js","path":"./dist/cjs/model/config/enum/ResourceConfigKey.js","statSize":1265},{"id":7797,"label":"TagConfigKey.js","path":"./dist/cjs/model/config/enum/TagConfigKey.js","statSize":746}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"enum","path":"./dist/cjs/model/enum","statSize":36879,"groups":[{"id":5512,"label":"BitTagType.js","path":"./dist/cjs/model/enum/BitTagType.js","statSize":457},{"id":5854,"label":"BitType.js","path":"./dist/cjs/model/enum/BitType.js","statSize":25568},{"id":8588,"label":"BitmarkParserType.js","path":"./dist/cjs/model/enum/BitmarkParserType.js","statSize":335},{"id":3811,"label":"BitmarkVersion.js","path":"./dist/cjs/model/enum/BitmarkVersion.js","statSize":466},{"id":4410,"label":"BodyBitType.js","path":"./dist/cjs/model/enum/BodyBitType.js","statSize":426},{"id":1163,"label":"CardSetVersion.js","path":"./dist/cjs/model/enum/CardSetVersion.js","statSize":322},{"id":3778,"label":"Count.js","path":"./dist/cjs/model/enum/Count.js","statSize":281},{"id":363,"label":"ExampleType.js","path":"./dist/cjs/model/enum/ExampleType.js","statSize":434},{"id":7203,"label":"PropertyAstKey.js","path":"./dist/cjs/model/enum/PropertyAstKey.js","statSize":615},{"id":9727,"label":"PropertyFormat.js","path":"./dist/cjs/model/enum/PropertyFormat.js","statSize":1100},{"id":166,"label":"PropertyTag.js","path":"./dist/cjs/model/enum/PropertyTag.js","statSize":535},{"id":9984,"label":"ResourceJsonKey.js","path":"./dist/cjs/model/enum/ResourceJsonKey.js","statSize":959},{"id":6149,"label":"ResourceTag.js","path":"./dist/cjs/model/enum/ResourceTag.js","statSize":1134},{"id":9917,"label":"Tag.js","path":"./dist/cjs/model/enum/Tag.js","statSize":533},{"id":385,"label":"TextFormat.js","path":"./dist/cjs/model/enum/TextFormat.js","statSize":1119},{"id":6877,"label":"TextLocation.js","path":"./dist/cjs/model/enum/TextLocation.js","statSize":425},{"id":2483,"label":"TextMarkType.js","path":"./dist/cjs/model/enum/TextMarkType.js","statSize":1164},{"id":9554,"label":"TextNodeType.js","path":"./dist/cjs/model/enum/TextNodeType.js","statSize":1006}],"parsedSize":0,"gzipSize":0},{"label":"info/enum","path":"./dist/cjs/model/info/enum","statSize":782,"groups":[{"id":3069,"label":"InfoFormat.js","path":"./dist/cjs/model/info/enum/InfoFormat.js","statSize":334},{"id":486,"label":"InfoType.js","path":"./dist/cjs/model/info/enum/InfoType.js","statSize":448}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"parser","path":"./dist/cjs/parser","statSize":236141,"groups":[{"label":"bitmark","path":"./dist/cjs/parser/bitmark","statSize":220151,"groups":[{"id":5633,"label":"BitmarkParser.js","path":"./dist/cjs/parser/bitmark/BitmarkParser.js","statSize":795},{"label":"peg","path":"./dist/cjs/parser/bitmark/peg","statSize":219356,"groups":[{"id":5078,"label":"BitmarkPegParser.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParser.js","statSize":319},{"id":3206,"label":"BitmarkPegParserHelper.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js","statSize":21798},{"id":7124,"label":"BitmarkPegParserProcessor.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js","statSize":34088},{"id":3029,"label":"BitmarkPegParserTypes.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js","statSize":2433},{"id":4266,"label":"BitmarkPegParserValidator.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js","statSize":31987},{"id":7461,"label":"PeggyGrammarLocation.js","path":"./dist/cjs/parser/bitmark/peg/PeggyGrammarLocation.js","statSize":2879},{"label":"contentProcessors","path":"./dist/cjs/parser/bitmark/peg/contentProcessors","statSize":125852,"groups":[{"id":5033,"label":"BodyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js","statSize":11953},{"id":3045,"label":"BookChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js","statSize":2436},{"id":1083,"label":"CardContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js","statSize":40443},{"id":554,"label":"ClozeTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js","statSize":1372},{"id":6128,"label":"ContentProcessorUtils.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js","statSize":2643},{"id":4402,"label":"DefaultTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js","statSize":3093},{"id":4091,"label":"ExampleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js","statSize":6921},{"id":4382,"label":"FooterContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js","statSize":2909},{"id":3904,"label":"GapChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js","statSize":1689},{"id":8848,"label":"ImageSourceChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js","statSize":3258},{"id":6991,"label":"InternalCommentTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.js","statSize":672},{"id":9289,"label":"ItemLeadChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.js","statSize":1652},{"id":8216,"label":"ItemLeadTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js","statSize":814},{"id":5189,"label":"MarkChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js","statSize":2560},{"id":3063,"label":"MarkConfigChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js","statSize":2445},{"id":5980,"label":"MarkTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js","statSize":494},{"id":21,"label":"PersonChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js","statSize":2583},{"id":9647,"label":"PropertyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js","statSize":10350},{"id":3967,"label":"RatingLevelChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js","statSize":1632},{"id":3990,"label":"ReferenceTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js","statSize":1196},{"id":6521,"label":"ResourceContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js","statSize":9230},{"id":4953,"label":"ServingsChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js","statSize":1296},{"id":4475,"label":"TechnicalTermChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js","statSize":1441},{"id":7667,"label":"TitleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js","statSize":2544},{"id":9885,"label":"TrueFalseChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js","statSize":9079},{"id":4020,"label":"TrueFalseTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js","statSize":1147}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/parser/json","statSize":10644,"groups":[{"id":5663,"label":"JsonParser.js","path":"./dist/cjs/parser/json/JsonParser.js","statSize":10644}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/parser/text","statSize":5346,"groups":[{"id":777,"label":"TextParser.js","path":"./dist/cjs/parser/text/TextParser.js","statSize":5042},{"label":"peg","path":"./dist/cjs/parser/text/peg","statSize":304,"groups":[{"id":2220,"label":"TextPegParser.js","path":"./dist/cjs/parser/text/peg/TextPegParser.js","statSize":304}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"utils","path":"./dist/cjs/utils","statSize":37954,"groups":[{"id":6989,"label":"ArrayUtils.js","path":"./dist/cjs/utils/ArrayUtils.js","statSize":1474},{"id":8903,"label":"BitUtils.js","path":"./dist/cjs/utils/BitUtils.js","statSize":2534},{"id":4078,"label":"BooleanUtils.js","path":"./dist/cjs/utils/BooleanUtils.js","statSize":1839},{"id":8025,"label":"NumberUtils.js","path":"./dist/cjs/utils/NumberUtils.js","statSize":1890},{"id":955,"label":"ObjectUtils.js","path":"./dist/cjs/utils/ObjectUtils.js","statSize":14455},{"id":9681,"label":"StringUtils.js","path":"./dist/cjs/utils/StringUtils.js","statSize":6529},{"id":201,"label":"UrlUtils.js","path":"./dist/cjs/utils/UrlUtils.js","statSize":986},{"label":"env","path":"./dist/cjs/utils/env","statSize":8247,"groups":[{"id":6936,"label":"Env.js","path":"./dist/cjs/utils/env/Env.js","statSize":4069},{"id":6278,"label":"Environment.js","path":"./dist/cjs/utils/env/Environment.js","statSize":420},{"id":9561,"label":"Os.js","path":"./dist/cjs/utils/env/Os.js","statSize":361},{"id":2287,"label":"Version.js","path":"./dist/cjs/utils/env/Version.js","statSize":284},{"id":5659,"label":"userAgent.js","path":"./dist/cjs/utils/env/userAgent.js","statSize":3113}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":513866,"gzipSize":100921},{"label":"node_modules","path":"./node_modules","statSize":15077,"groups":[{"label":"@ncoderz/superenum/dist/esm","path":"./node_modules/@ncoderz/superenum/dist/esm","statSize":6980,"groups":[{"id":4718,"label":"superenum.js","path":"./node_modules/@ncoderz/superenum/dist/esm/superenum.js","statSize":6980}],"parsedSize":0,"gzipSize":0},{"label":"@ungap/structured-clone/cjs","path":"./node_modules/@ungap/structured-clone/cjs","statSize":8097,"groups":[{"id":5005,"label":"deserialize.js","path":"./node_modules/@ungap/structured-clone/cjs/deserialize.js","statSize":2210},{"id":7678,"label":"index.js","path":"./node_modules/@ungap/structured-clone/cjs/index.js","statSize":941},{"id":5416,"label":"serialize.js","path":"./node_modules/@ungap/structured-clone/cjs/serialize.js","statSize":4451},{"id":1731,"label":"types.js","path":"./node_modules/@ungap/structured-clone/cjs/types.js","statSize":495}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"main":true}}];
|
|
35
35
|
window.entrypoints = ["main"];
|
|
36
36
|
window.defaultSizes = "stat";
|
|
37
37
|
</script>
|
|
@@ -5,7 +5,7 @@ exports.buildInfo = void 0;
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
exports.buildInfo = {
|
|
7
7
|
"name": "@gmb/bitmark-parser-generator",
|
|
8
|
-
"version": "3.25.
|
|
8
|
+
"version": "3.25.1",
|
|
9
9
|
"author": "Get More Brain Ltd",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -2231,7 +2231,9 @@ class BitmarkGenerator extends AstWalkerGenerator_1.AstWalkerGenerator {
|
|
|
2231
2231
|
}
|
|
2232
2232
|
}
|
|
2233
2233
|
/**
|
|
2234
|
-
* Write text or value, handling
|
|
2234
|
+
* Write text or value, handling:
|
|
2235
|
+
* - the format and location (i.e. conversion to text and breakscaping).
|
|
2236
|
+
* - the spaces around values (if tag value).
|
|
2235
2237
|
*
|
|
2236
2238
|
* @param text
|
|
2237
2239
|
* @param format
|
|
@@ -2240,52 +2242,53 @@ class BitmarkGenerator extends AstWalkerGenerator_1.AstWalkerGenerator {
|
|
|
2240
2242
|
*/
|
|
2241
2243
|
writeTextOrValue(text, format, location, options) {
|
|
2242
2244
|
const isTagValue = location === TextLocation_1.TextLocation.tag;
|
|
2243
|
-
const s =
|
|
2245
|
+
const s = typeof text === 'string' ? text : undefined;
|
|
2244
2246
|
const ast = Array.isArray(text) ? text : undefined;
|
|
2245
|
-
const
|
|
2246
|
-
|
|
2247
|
-
const
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2247
|
+
const spaces = isTagValue ? this.spacesAroundValuesStr : '';
|
|
2248
|
+
// For plain strings use TextFormat.text, otherwise keep the requested format
|
|
2249
|
+
const effectiveFmt = format === TextFormat_1.TextFormat.bitmarkPlusPlus || format === TextFormat_1.TextFormat.bitmarkMinusMinus ? format : TextFormat_1.TextFormat.text;
|
|
2250
|
+
/** Wrap a piece of text in the required padding (only for tag values). */
|
|
2251
|
+
const wrap = (content) => (isTagValue ? `${spaces}${content}${spaces}` : content);
|
|
2252
|
+
/**
|
|
2253
|
+
* Capture everything written by `action` into `partWriter`,
|
|
2254
|
+
* then restore the original writer and return the trimmed text.
|
|
2255
|
+
*/
|
|
2256
|
+
const writeToPartWriter = (action) => {
|
|
2257
|
+
const originalWriter = this.writer;
|
|
2258
|
+
this.writer = this.partWriter;
|
|
2259
|
+
this.partWriter.openSync();
|
|
2260
|
+
action();
|
|
2261
|
+
this.partWriter.closeSync();
|
|
2262
|
+
const result = this.partWriter.getString().trim();
|
|
2263
|
+
this.writer = originalWriter;
|
|
2264
|
+
return result;
|
|
2265
|
+
};
|
|
2266
|
+
/* String */
|
|
2267
|
+
if (s != null) {
|
|
2268
|
+
const writeString = () => this.write(Breakscape_1.Breakscape.breakscape(s, {
|
|
2269
|
+
textFormat: effectiveFmt,
|
|
2270
|
+
textLocation: location,
|
|
2271
|
+
}));
|
|
2272
|
+
if (isTagValue) {
|
|
2273
|
+
const written = writeToPartWriter(writeString);
|
|
2274
|
+
if (written)
|
|
2275
|
+
this.write(wrap(written));
|
|
2255
2276
|
}
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
// Bitmark text (but might not be AST as some values are just strings (and all v2 values are strings))
|
|
2259
|
-
if (s != null) {
|
|
2260
|
-
this.write(`${spacesAroundValues}${Breakscape_1.Breakscape.breakscape(`${s}`, {
|
|
2261
|
-
textFormat: format,
|
|
2262
|
-
textLocation: location,
|
|
2263
|
-
})}${spacesAroundValues}`);
|
|
2277
|
+
else {
|
|
2278
|
+
writeString(); // already writes directly to main writer
|
|
2264
2279
|
}
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
const text = this.partWriter.getString();
|
|
2278
|
-
// Restore the main writer
|
|
2279
|
-
this.writer = this.mainWriter;
|
|
2280
|
-
// Write the text to the main writer, adding spaces around it where required
|
|
2281
|
-
if (text) {
|
|
2282
|
-
this.write(`${spacesAroundValues}${text.trim()}${spacesAroundValues}`);
|
|
2283
|
-
}
|
|
2284
|
-
}
|
|
2285
|
-
else {
|
|
2286
|
-
// Write the text directly to the main writer
|
|
2287
|
-
this.textGenerator.generateSync(ast, format, location, options);
|
|
2288
|
-
}
|
|
2280
|
+
return; // nothing more to do for string input
|
|
2281
|
+
}
|
|
2282
|
+
/* AST */
|
|
2283
|
+
if (ast != null) {
|
|
2284
|
+
const generateAst = () => this.textGenerator.generateSync(ast, format, location, options);
|
|
2285
|
+
if (isTagValue) {
|
|
2286
|
+
const written = writeToPartWriter(generateAst);
|
|
2287
|
+
if (written)
|
|
2288
|
+
this.write(wrap(written));
|
|
2289
|
+
}
|
|
2290
|
+
else {
|
|
2291
|
+
generateAst();
|
|
2289
2292
|
}
|
|
2290
2293
|
}
|
|
2291
2294
|
}
|