@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.
Files changed (289) hide show
  1. package/dist/browser/bitmark-parser-generator.min.js +1 -1
  2. package/dist/browser/bundle-report.html +2 -2
  3. package/dist/cjs/BitmarkParserGenerator.js +8 -3
  4. package/dist/cjs/BitmarkParserGenerator.js.map +1 -1
  5. package/dist/cjs/ast/Ast.js +1 -0
  6. package/dist/cjs/ast/Ast.js.map +1 -1
  7. package/dist/cjs/ast/BaseBuilder.js +91 -54
  8. package/dist/cjs/ast/BaseBuilder.js.map +1 -1
  9. package/dist/cjs/ast/Builder.js +813 -389
  10. package/dist/cjs/ast/Builder.js.map +1 -1
  11. package/dist/cjs/ast/ResourceBuilder.js +516 -252
  12. package/dist/cjs/ast/ResourceBuilder.js.map +1 -1
  13. package/dist/cjs/ast/rules/NodeValidator.js +61 -22
  14. package/dist/cjs/ast/rules/NodeValidator.js.map +1 -1
  15. package/dist/cjs/breakscaping/Breakscape.js +96 -71
  16. package/dist/cjs/breakscaping/Breakscape.js.map +1 -1
  17. package/dist/cjs/config/raw/bits.js +44 -5
  18. package/dist/cjs/config/raw/bits.js.map +1 -1
  19. package/dist/cjs/config/raw/properties.js +7 -2
  20. package/dist/cjs/config/raw/properties.js.map +1 -1
  21. package/dist/cjs/generated/build-info.js +1 -1
  22. package/dist/cjs/generated/build-info.js.map +1 -1
  23. package/dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js +1 -0
  24. package/dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js.map +1 -1
  25. package/dist/cjs/generator/AstWalkerGenerator.js +4 -1
  26. package/dist/cjs/generator/AstWalkerGenerator.js.map +1 -1
  27. package/dist/cjs/generator/bitmark/BitmarkGenerator.js +992 -339
  28. package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
  29. package/dist/cjs/generator/json/JsonGenerator.js +312 -1985
  30. package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
  31. package/dist/cjs/generator/text/TextGenerator.js +26 -8
  32. package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
  33. package/dist/cjs/index.js.map +1 -1
  34. package/dist/cjs/model/ast/NodeType.js +28 -8
  35. package/dist/cjs/model/ast/NodeType.js.map +1 -1
  36. package/dist/cjs/model/config/enum/PropertyConfigKey.js +1 -0
  37. package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -1
  38. package/dist/cjs/model/enum/BitType.js +2 -2
  39. package/dist/cjs/model/enum/BitType.js.map +1 -1
  40. package/dist/cjs/model/enum/PropertyFormat.js +3 -1
  41. package/dist/cjs/model/enum/PropertyFormat.js.map +1 -1
  42. package/dist/cjs/model/enum/TextFormat.js +1 -1
  43. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js +9 -3
  44. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js.map +1 -1
  45. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js +49 -131
  46. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
  47. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -1
  48. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js +7 -31
  49. package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
  50. package/dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js +255 -0
  51. package/dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js.map +1 -0
  52. package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +25 -12
  53. package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
  54. package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +175 -129
  55. package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
  56. package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +8 -2
  57. package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
  58. package/dist/cjs/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js +61 -0
  59. package/dist/cjs/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js.map +1 -0
  60. package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +11 -5
  61. package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
  62. package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +21 -17
  63. package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
  64. package/dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js +50 -0
  65. package/dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js.map +1 -0
  66. package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js +2 -15
  67. package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -1
  68. package/dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js +2 -4
  69. package/dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js.map +1 -1
  70. package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +4 -1
  71. package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
  72. package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js +2 -4
  73. package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js.map +1 -1
  74. package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +5 -5
  75. package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -1
  76. package/dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js +5 -6
  77. package/dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js.map +1 -1
  78. package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +23 -7
  79. package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
  80. package/dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js +5 -5
  81. package/dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js.map +1 -1
  82. package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +3 -2
  83. package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
  84. package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +19 -8
  85. package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
  86. package/dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js +4 -6
  87. package/dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js.map +1 -1
  88. package/dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js +4 -5
  89. package/dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js.map +1 -1
  90. package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +14 -5
  91. package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
  92. package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +37 -21
  93. package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
  94. package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js +3 -2
  95. package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -1
  96. package/dist/cjs/parser/json/JsonParser.js +73 -765
  97. package/dist/cjs/parser/json/JsonParser.js.map +1 -1
  98. package/dist/cjs/parser/text/TextParser.js +61 -2
  99. package/dist/cjs/parser/text/TextParser.js.map +1 -1
  100. package/dist/cjs/utils/BitUtils.js +15 -13
  101. package/dist/cjs/utils/BitUtils.js.map +1 -1
  102. package/dist/esm/BitmarkParserGenerator.js +8 -3
  103. package/dist/esm/BitmarkParserGenerator.js.map +1 -1
  104. package/dist/esm/ast/Ast.js +1 -0
  105. package/dist/esm/ast/Ast.js.map +1 -1
  106. package/dist/esm/ast/BaseBuilder.js +91 -54
  107. package/dist/esm/ast/BaseBuilder.js.map +1 -1
  108. package/dist/esm/ast/Builder.js +813 -389
  109. package/dist/esm/ast/Builder.js.map +1 -1
  110. package/dist/esm/ast/ResourceBuilder.js +516 -252
  111. package/dist/esm/ast/ResourceBuilder.js.map +1 -1
  112. package/dist/esm/ast/rules/NodeValidator.js +61 -22
  113. package/dist/esm/ast/rules/NodeValidator.js.map +1 -1
  114. package/dist/esm/breakscaping/Breakscape.js +96 -71
  115. package/dist/esm/breakscaping/Breakscape.js.map +1 -1
  116. package/dist/esm/config/raw/bits.js +44 -5
  117. package/dist/esm/config/raw/bits.js.map +1 -1
  118. package/dist/esm/config/raw/properties.js +7 -2
  119. package/dist/esm/config/raw/properties.js.map +1 -1
  120. package/dist/esm/generated/build-info.js +1 -1
  121. package/dist/esm/generated/build-info.js.map +1 -1
  122. package/dist/esm/generated/parser/bitmark/bitmark-peggy-parser.js +1 -0
  123. package/dist/esm/generated/parser/bitmark/bitmark-peggy-parser.js.map +1 -1
  124. package/dist/esm/generator/AstWalkerGenerator.js +4 -1
  125. package/dist/esm/generator/AstWalkerGenerator.js.map +1 -1
  126. package/dist/esm/generator/bitmark/BitmarkGenerator.js +992 -339
  127. package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
  128. package/dist/esm/generator/json/JsonGenerator.js +312 -1985
  129. package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
  130. package/dist/esm/generator/text/TextGenerator.js +26 -8
  131. package/dist/esm/generator/text/TextGenerator.js.map +1 -1
  132. package/dist/esm/index.js.map +1 -1
  133. package/dist/esm/model/ast/NodeType.js +28 -8
  134. package/dist/esm/model/ast/NodeType.js.map +1 -1
  135. package/dist/esm/model/config/enum/PropertyConfigKey.js +1 -0
  136. package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -1
  137. package/dist/esm/model/enum/BitType.js +2 -2
  138. package/dist/esm/model/enum/BitType.js.map +1 -1
  139. package/dist/esm/model/enum/PropertyFormat.js +3 -1
  140. package/dist/esm/model/enum/PropertyFormat.js.map +1 -1
  141. package/dist/esm/model/enum/TextFormat.js +1 -1
  142. package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js +9 -3
  143. package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js.map +1 -1
  144. package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js +49 -131
  145. package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
  146. package/dist/esm/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -1
  147. package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js +7 -31
  148. package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
  149. package/dist/esm/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js +252 -0
  150. package/dist/esm/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js.map +1 -0
  151. package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +25 -12
  152. package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
  153. package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +175 -129
  154. package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
  155. package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +8 -2
  156. package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
  157. package/dist/esm/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js +58 -0
  158. package/dist/esm/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js.map +1 -0
  159. package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +11 -5
  160. package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
  161. package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +21 -17
  162. package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
  163. package/dist/esm/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js +47 -0
  164. package/dist/esm/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js.map +1 -0
  165. package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js +2 -15
  166. package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -1
  167. package/dist/esm/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js +2 -4
  168. package/dist/esm/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js.map +1 -1
  169. package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +4 -1
  170. package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
  171. package/dist/esm/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js +2 -4
  172. package/dist/esm/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js.map +1 -1
  173. package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +5 -5
  174. package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -1
  175. package/dist/esm/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js +5 -6
  176. package/dist/esm/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js.map +1 -1
  177. package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +23 -7
  178. package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
  179. package/dist/esm/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js +5 -5
  180. package/dist/esm/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js.map +1 -1
  181. package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +3 -2
  182. package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
  183. package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +19 -8
  184. package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
  185. package/dist/esm/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js +4 -6
  186. package/dist/esm/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js.map +1 -1
  187. package/dist/esm/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js +4 -5
  188. package/dist/esm/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js.map +1 -1
  189. package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +14 -5
  190. package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
  191. package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +37 -21
  192. package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
  193. package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js +3 -2
  194. package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -1
  195. package/dist/esm/parser/json/JsonParser.js +73 -765
  196. package/dist/esm/parser/json/JsonParser.js.map +1 -1
  197. package/dist/esm/parser/text/TextParser.js +61 -2
  198. package/dist/esm/parser/text/TextParser.js.map +1 -1
  199. package/dist/esm/utils/BitUtils.js +15 -13
  200. package/dist/esm/utils/BitUtils.js.map +1 -1
  201. package/dist/types/BitmarkParserGenerator.d.ts +8 -0
  202. package/dist/types/BitmarkParserGenerator.d.ts.map +1 -1
  203. package/dist/types/ast/Ast.d.ts.map +1 -1
  204. package/dist/types/ast/BaseBuilder.d.ts +31 -21
  205. package/dist/types/ast/BaseBuilder.d.ts.map +1 -1
  206. package/dist/types/ast/Builder.d.ts +293 -441
  207. package/dist/types/ast/Builder.d.ts.map +1 -1
  208. package/dist/types/ast/ResourceBuilder.d.ts +177 -164
  209. package/dist/types/ast/ResourceBuilder.d.ts.map +1 -1
  210. package/dist/types/ast/rules/NodeValidator.d.ts +3 -2
  211. package/dist/types/ast/rules/NodeValidator.d.ts.map +1 -1
  212. package/dist/types/breakscaping/Breakscape.d.ts +6 -5
  213. package/dist/types/breakscaping/Breakscape.d.ts.map +1 -1
  214. package/dist/types/config/raw/bits.d.ts.map +1 -1
  215. package/dist/types/config/raw/properties.d.ts.map +1 -1
  216. package/dist/types/generated/parser/bitmark/bitmark-peggy-parser.d.ts.map +1 -1
  217. package/dist/types/generator/AstWalkerGenerator.d.ts.map +1 -1
  218. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +92 -55
  219. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
  220. package/dist/types/generator/json/JsonGenerator.d.ts +89 -108
  221. package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
  222. package/dist/types/generator/text/TextGenerator.d.ts +14 -2
  223. package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
  224. package/dist/types/index.d.ts +2 -2
  225. package/dist/types/index.d.ts.map +1 -1
  226. package/dist/types/model/ast/NodeType.d.ts +50 -16
  227. package/dist/types/model/ast/NodeType.d.ts.map +1 -1
  228. package/dist/types/model/ast/Nodes.d.ts +64 -440
  229. package/dist/types/model/ast/Nodes.d.ts.map +1 -1
  230. package/dist/types/model/config/enum/ConfigKey.d.ts +2 -0
  231. package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -1
  232. package/dist/types/model/config/enum/PropertyConfigKey.d.ts +3 -0
  233. package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -1
  234. package/dist/types/model/enum/BitType.d.ts +4 -4
  235. package/dist/types/model/enum/PropertyFormat.d.ts +4 -2
  236. package/dist/types/model/enum/PropertyFormat.d.ts.map +1 -1
  237. package/dist/types/model/enum/PropertyTag.d.ts +2 -0
  238. package/dist/types/model/enum/PropertyTag.d.ts.map +1 -1
  239. package/dist/types/model/json/BitJson.d.ts +38 -21
  240. package/dist/types/model/json/BitJson.d.ts.map +1 -1
  241. package/dist/types/model/json/BodyBitJson.d.ts +16 -12
  242. package/dist/types/model/json/BodyBitJson.d.ts.map +1 -1
  243. package/dist/types/model/json/ResourceJson.d.ts +2 -22
  244. package/dist/types/model/json/ResourceJson.d.ts.map +1 -1
  245. package/dist/types/parser/bitmark/peg/BitmarkPegParserHelper.d.ts +3 -2
  246. package/dist/types/parser/bitmark/peg/BitmarkPegParserHelper.d.ts.map +1 -1
  247. package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts +2 -15
  248. package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts.map +1 -1
  249. package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts +83 -71
  250. package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts.map +1 -1
  251. package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts +2 -2
  252. package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts.map +1 -1
  253. package/dist/types/parser/bitmark/peg/contentProcessors/BodyContentProcessor.d.ts +37 -0
  254. package/dist/types/parser/bitmark/peg/contentProcessors/BodyContentProcessor.d.ts.map +1 -0
  255. package/dist/types/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.d.ts.map +1 -1
  256. package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts +2 -2
  257. package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts.map +1 -1
  258. package/dist/types/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.d.ts.map +1 -1
  259. package/dist/types/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.d.ts +15 -0
  260. package/dist/types/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.d.ts.map +1 -0
  261. package/dist/types/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.d.ts.map +1 -1
  262. package/dist/types/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.d.ts.map +1 -1
  263. package/dist/types/parser/bitmark/peg/contentProcessors/FooterContentProcessor.d.ts +16 -0
  264. package/dist/types/parser/bitmark/peg/contentProcessors/FooterContentProcessor.d.ts.map +1 -0
  265. package/dist/types/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.d.ts.map +1 -1
  266. package/dist/types/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.d.ts.map +1 -1
  267. package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts.map +1 -1
  268. package/dist/types/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.d.ts.map +1 -1
  269. package/dist/types/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.d.ts.map +1 -1
  270. package/dist/types/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.d.ts.map +1 -1
  271. package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts.map +1 -1
  272. package/dist/types/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.d.ts.map +1 -1
  273. package/dist/types/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.d.ts.map +1 -1
  274. package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts +2 -2
  275. package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts.map +1 -1
  276. package/dist/types/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.d.ts.map +1 -1
  277. package/dist/types/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.d.ts.map +1 -1
  278. package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts +5 -2
  279. package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts.map +1 -1
  280. package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts +1 -1
  281. package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts.map +1 -1
  282. package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.d.ts.map +1 -1
  283. package/dist/types/parser/json/JsonParser.d.ts +9 -72
  284. package/dist/types/parser/json/JsonParser.d.ts.map +1 -1
  285. package/dist/types/parser/text/TextParser.d.ts +16 -1
  286. package/dist/types/parser/text/TextParser.d.ts.map +1 -1
  287. package/dist/types/utils/BitUtils.d.ts +8 -8
  288. package/dist/types/utils/BitUtils.d.ts.map +1 -1
  289. 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
- isDefaultExample: "isDefaultExample";
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
- typeAlias: "typeAlias";
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
- isDefaultExample: "isDefaultExample";
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
- typeAlias: "typeAlias";
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;;;;;GAKG;AACH,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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