@mdsvex/parse 1.0.0-next.0 → 1.0.0-next.2

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 (2037) hide show
  1. package/PLUGINS.md +827 -18
  2. package/WIRE_FORMAT.md +61 -15
  3. package/dist/buf-utils.js +141 -29
  4. package/dist/buf_utils.d.ts +65 -2
  5. package/dist/constants.d.ts +2 -0
  6. package/dist/cursor.d.ts +21 -13
  7. package/dist/cursor.js +129 -31
  8. package/dist/heading_ids.d.ts +101 -0
  9. package/dist/main.d.ts +747 -78
  10. package/dist/main.js +9843 -4174
  11. package/dist/node_view-DEZDLDFD.js +710 -0
  12. package/dist/node_view.d.ts +166 -19
  13. package/dist/opcodes.d.ts +59 -8
  14. package/dist/plugin_data.d.ts +84 -0
  15. package/dist/plugin_dispatch.d.ts +385 -27
  16. package/dist/plugin_tasks.d.ts +186 -0
  17. package/dist/plugin_types.d.ts +218 -6
  18. package/dist/text_run.d.ts +77 -0
  19. package/dist/tree-builder.js +253 -63
  20. package/dist/tree_builder.d.ts +72 -11
  21. package/dist/types.d.ts +28 -3
  22. package/dist/undo_log.d.ts +109 -6
  23. package/dist/unicode_punctuation.d.ts +5 -0
  24. package/dist/utils.d.ts +158 -54
  25. package/dist/utils.js +932 -218
  26. package/dist/wire-tree-builder.js +122 -91
  27. package/dist/wire_emitter.d.ts +9 -2
  28. package/dist/wire_tree_builder.d.ts +24 -9
  29. package/package.json +12 -5
  30. package/CHANGELOG.md +0 -21
  31. package/dist/node_view-BEh2-H86.js +0 -373
  32. package/src/buf_utils.ts +0 -58
  33. package/src/constants.ts +0 -101
  34. package/src/cursor.ts +0 -195
  35. package/src/main.ts +0 -7686
  36. package/src/node_view.ts +0 -441
  37. package/src/opcodes.ts +0 -91
  38. package/src/plugin_dispatch.ts +0 -635
  39. package/src/plugin_types.ts +0 -36
  40. package/src/tree_builder.ts +0 -214
  41. package/src/types.ts +0 -30
  42. package/src/undo_log.ts +0 -302
  43. package/src/utils.spec.ts +0 -347
  44. package/src/utils.ts +0 -992
  45. package/src/wire_emitter.ts +0 -469
  46. package/src/wire_tree_builder.ts +0 -337
  47. package/test/ast_snapshots.spec.ts +0 -155
  48. package/test/atx_headings.spec.ts +0 -260
  49. package/test/autolinks.spec.ts +0 -306
  50. package/test/backslash_escapes.spec.ts +0 -266
  51. package/test/blank_lines.spec.ts +0 -113
  52. package/test/block_quotes.spec.ts +0 -462
  53. package/test/code_spans.spec.ts +0 -710
  54. package/test/crlf.spec.ts +0 -125
  55. package/test/directives.spec.ts +0 -776
  56. package/test/emphasis.spec.ts +0 -1886
  57. package/test/fenced_code_blocks.spec.ts +0 -375
  58. package/test/fixtures/hybrid/code-escaping.svx +0 -10
  59. package/test/fixtures/hybrid/code-highlight-nesting.svx +0 -6
  60. package/test/fixtures/hybrid/component-children.svx +0 -24
  61. package/test/fixtures/hybrid/component-simple-00.svx +0 -9
  62. package/test/fixtures/hybrid/component-simple-01.svx +0 -7
  63. package/test/fixtures/hybrid/component-simple-02.svx +0 -1
  64. package/test/fixtures/hybrid/component-simple-03.svx +0 -7
  65. package/test/fixtures/hybrid/component-simple-04.svx +0 -9
  66. package/test/fixtures/hybrid/dollar-one-in-frontmatter.svx +0 -5
  67. package/test/fixtures/hybrid/error.svx +0 -37
  68. package/test/fixtures/hybrid/link-curlies.svx +0 -22
  69. package/test/fixtures/hybrid/tags-in-frontmatter.svx +0 -3
  70. package/test/fixtures/markdown/anchors-by-reference.md +0 -11
  71. package/test/fixtures/markdown/anchors-followed-by-brakets.md +0 -7
  72. package/test/fixtures/markdown/automatic-anchors.md +0 -2
  73. package/test/fixtures/markdown/blockquote-followed-by-code.md +0 -10
  74. package/test/fixtures/markdown/blockquote-inside-code.md +0 -11
  75. package/test/fixtures/markdown/blockquote-nested-markdown.md +0 -10
  76. package/test/fixtures/markdown/blockquote.md +0 -4
  77. package/test/fixtures/markdown/code-block-html-escape.md +0 -6
  78. package/test/fixtures/markdown/code-block-with-special-chars.md +0 -8
  79. package/test/fixtures/markdown/code-block.md +0 -6
  80. package/test/fixtures/markdown/double-emphasis.md +0 -7
  81. package/test/fixtures/markdown/doubline-list.md +0 -4
  82. package/test/fixtures/markdown/ellipsis.md +0 -24
  83. package/test/fixtures/markdown/emphasis-inside-inline-code.md +0 -1
  84. package/test/fixtures/markdown/emphasis.md +0 -88
  85. package/test/fixtures/markdown/encodeHTMLCodeTags.md +0 -5
  86. package/test/fixtures/markdown/escaped-html-taglikes.md +0 -7
  87. package/test/fixtures/markdown/escaped-number-period.md +0 -1
  88. package/test/fixtures/markdown/escaping.md +0 -32
  89. package/test/fixtures/markdown/github-style-at-start.md +0 -7
  90. package/test/fixtures/markdown/github-style-codeblock-inside-quote.md +0 -13
  91. package/test/fixtures/markdown/github-style-codeblock.md +0 -34
  92. package/test/fixtures/markdown/github-style-linebreaks.md +0 -4
  93. package/test/fixtures/markdown/h1-with-double-hash.md +0 -1
  94. package/test/fixtures/markdown/h1-with-equals.md +0 -2
  95. package/test/fixtures/markdown/h1-with-single-hash.md +0 -1
  96. package/test/fixtures/markdown/h2-with-dashes.md +0 -2
  97. package/test/fixtures/markdown/h2-with-double-hash.md +0 -1
  98. package/test/fixtures/markdown/h2-with-single-hash.md +0 -1
  99. package/test/fixtures/markdown/h3-with-double-hash.md +0 -1
  100. package/test/fixtures/markdown/h3-with-single-hash.md +0 -1
  101. package/test/fixtures/markdown/h4-with-single-hash.md +0 -1
  102. package/test/fixtures/markdown/h5-with-single-hash.md +0 -1
  103. package/test/fixtures/markdown/h6-with-single-hash.md +0 -1
  104. package/test/fixtures/markdown/horizontal-rules.md +0 -10
  105. package/test/fixtures/markdown/html-comments.md +0 -8
  106. package/test/fixtures/markdown/html-inside-listed-code.md +0 -8
  107. package/test/fixtures/markdown/html5-strutural-tags.md +0 -68
  108. package/test/fixtures/markdown/images-followed-by-brackets.md +0 -3
  109. package/test/fixtures/markdown/images.md +0 -14
  110. package/test/fixtures/markdown/implicit-anchors.md +0 -7
  111. package/test/fixtures/markdown/inline-anchors.md +0 -3
  112. package/test/fixtures/markdown/inline-code.md +0 -13
  113. package/test/fixtures/markdown/inline-escaped-chars.md +0 -2
  114. package/test/fixtures/markdown/inline-style-tag.md +0 -5
  115. package/test/fixtures/markdown/lazy-blockquote.md +0 -3
  116. package/test/fixtures/markdown/line-starts-with-html.md +0 -3
  117. package/test/fixtures/markdown/list-followed-by-blockquote.md +0 -9
  118. package/test/fixtures/markdown/list-followed-by-ghcode.md +0 -13
  119. package/test/fixtures/markdown/list-with-blockquote.md +0 -4
  120. package/test/fixtures/markdown/literal-html-tags.md +0 -9
  121. package/test/fixtures/markdown/multi-paragraph-list.md +0 -5
  122. package/test/fixtures/markdown/multiline-unordered-list.md +0 -3
  123. package/test/fixtures/markdown/nested-blockquote.md +0 -5
  124. package/test/fixtures/markdown/nested-gh-codeblocks.md +0 -9
  125. package/test/fixtures/markdown/obfuscated-emails.md +0 -0
  126. package/test/fixtures/markdown/ordered-list-same-number.md +0 -3
  127. package/test/fixtures/markdown/ordered-list-starting-number.md +0 -10
  128. package/test/fixtures/markdown/ordered-list-wrong-numbers.md +0 -3
  129. package/test/fixtures/markdown/ordered-list.md +0 -3
  130. package/test/fixtures/markdown/paragraphed-list-with-sublists.md +0 -13
  131. package/test/fixtures/markdown/pre-code-tags-inside-code-block.md +0 -7
  132. package/test/fixtures/markdown/pre-code-tags.md +0 -19
  133. package/test/fixtures/markdown/relative-anchors.md +0 -1
  134. package/test/fixtures/markdown/repeated-headers.md +0 -5
  135. package/test/fixtures/markdown/simple-paragraph.md +0 -1
  136. package/test/fixtures/markdown/strip-references.md +0 -13
  137. package/test/fixtures/markdown/strong.md +0 -5
  138. package/test/fixtures/markdown/unordered-list-asterisk.md +0 -3
  139. package/test/fixtures/markdown/unordered-list-minus.md +0 -3
  140. package/test/fixtures/markdown/unordered-list-plus.md +0 -3
  141. package/test/fixtures/markdown/url-with-parenthesis.md +0 -1
  142. package/test/fixtures/pfm/atx_headings/62.md +0 -6
  143. package/test/fixtures/pfm/atx_headings/63.md +0 -1
  144. package/test/fixtures/pfm/atx_headings/64.md +0 -3
  145. package/test/fixtures/pfm/atx_headings/65.md +0 -1
  146. package/test/fixtures/pfm/atx_headings/66.md +0 -1
  147. package/test/fixtures/pfm/atx_headings/67.md +0 -1
  148. package/test/fixtures/pfm/atx_headings/68.md +0 -3
  149. package/test/fixtures/pfm/atx_headings/69.md +0 -1
  150. package/test/fixtures/pfm/atx_headings/70.md +0 -2
  151. package/test/fixtures/pfm/atx_headings/71.md +0 -2
  152. package/test/fixtures/pfm/atx_headings/72.md +0 -2
  153. package/test/fixtures/pfm/atx_headings/73.md +0 -1
  154. package/test/fixtures/pfm/atx_headings/74.md +0 -1
  155. package/test/fixtures/pfm/atx_headings/75.md +0 -1
  156. package/test/fixtures/pfm/atx_headings/76.md +0 -3
  157. package/test/fixtures/pfm/atx_headings/77.md +0 -3
  158. package/test/fixtures/pfm/atx_headings/78.md +0 -3
  159. package/test/fixtures/pfm/atx_headings/79.md +0 -3
  160. package/test/fixtures/pfm/autolinks/594.md +0 -1
  161. package/test/fixtures/pfm/autolinks/595.md +0 -1
  162. package/test/fixtures/pfm/autolinks/596.md +0 -1
  163. package/test/fixtures/pfm/autolinks/597.md +0 -1
  164. package/test/fixtures/pfm/autolinks/598.md +0 -1
  165. package/test/fixtures/pfm/autolinks/599.md +0 -1
  166. package/test/fixtures/pfm/autolinks/600.md +0 -1
  167. package/test/fixtures/pfm/autolinks/601.md +0 -1
  168. package/test/fixtures/pfm/autolinks/602.md +0 -1
  169. package/test/fixtures/pfm/autolinks/603.md +0 -1
  170. package/test/fixtures/pfm/autolinks/604.md +0 -1
  171. package/test/fixtures/pfm/autolinks/605.md +0 -1
  172. package/test/fixtures/pfm/autolinks/606.md +0 -1
  173. package/test/fixtures/pfm/autolinks/607.md +0 -1
  174. package/test/fixtures/pfm/autolinks/608.md +0 -1
  175. package/test/fixtures/pfm/autolinks/609.md +0 -1
  176. package/test/fixtures/pfm/autolinks/610.md +0 -1
  177. package/test/fixtures/pfm/autolinks/611.md +0 -1
  178. package/test/fixtures/pfm/autolinks/612.md +0 -1
  179. package/test/fixtures/pfm/backslash_escapes/12.md +0 -1
  180. package/test/fixtures/pfm/backslash_escapes/13.md +0 -1
  181. package/test/fixtures/pfm/backslash_escapes/14.md +0 -9
  182. package/test/fixtures/pfm/backslash_escapes/15.md +0 -1
  183. package/test/fixtures/pfm/backslash_escapes/16.md +0 -2
  184. package/test/fixtures/pfm/backslash_escapes/17.md +0 -1
  185. package/test/fixtures/pfm/backslash_escapes/18.md +0 -1
  186. package/test/fixtures/pfm/backslash_escapes/19.md +0 -3
  187. package/test/fixtures/pfm/backslash_escapes/20.md +0 -1
  188. package/test/fixtures/pfm/backslash_escapes/21.md +0 -1
  189. package/test/fixtures/pfm/backslash_escapes/22.md +0 -1
  190. package/test/fixtures/pfm/backslash_escapes/23.md +0 -3
  191. package/test/fixtures/pfm/backslash_escapes/24.md +0 -3
  192. package/test/fixtures/pfm/blank_lines/227.md +0 -8
  193. package/test/fixtures/pfm/block_quotes/228.md +0 -3
  194. package/test/fixtures/pfm/block_quotes/229.md +0 -3
  195. package/test/fixtures/pfm/block_quotes/230.md +0 -3
  196. package/test/fixtures/pfm/block_quotes/231.md +0 -3
  197. package/test/fixtures/pfm/block_quotes/232.md +0 -3
  198. package/test/fixtures/pfm/block_quotes/233.md +0 -3
  199. package/test/fixtures/pfm/block_quotes/234.md +0 -2
  200. package/test/fixtures/pfm/block_quotes/235.md +0 -2
  201. package/test/fixtures/pfm/block_quotes/236.md +0 -2
  202. package/test/fixtures/pfm/block_quotes/237.md +0 -3
  203. package/test/fixtures/pfm/block_quotes/238.md +0 -2
  204. package/test/fixtures/pfm/block_quotes/239.md +0 -1
  205. package/test/fixtures/pfm/block_quotes/240.md +0 -3
  206. package/test/fixtures/pfm/block_quotes/241.md +0 -3
  207. package/test/fixtures/pfm/block_quotes/242.md +0 -3
  208. package/test/fixtures/pfm/block_quotes/243.md +0 -2
  209. package/test/fixtures/pfm/block_quotes/244.md +0 -3
  210. package/test/fixtures/pfm/block_quotes/245.md +0 -2
  211. package/test/fixtures/pfm/block_quotes/246.md +0 -3
  212. package/test/fixtures/pfm/block_quotes/247.md +0 -2
  213. package/test/fixtures/pfm/block_quotes/248.md +0 -3
  214. package/test/fixtures/pfm/block_quotes/249.md +0 -3
  215. package/test/fixtures/pfm/block_quotes/250.md +0 -2
  216. package/test/fixtures/pfm/block_quotes/251.md +0 -3
  217. package/test/fixtures/pfm/block_quotes/252.md +0 -3
  218. package/test/fixtures/pfm/code_spans/328.md +0 -1
  219. package/test/fixtures/pfm/code_spans/329.md +0 -1
  220. package/test/fixtures/pfm/code_spans/330.md +0 -1
  221. package/test/fixtures/pfm/code_spans/331.md +0 -1
  222. package/test/fixtures/pfm/code_spans/332.md +0 -1
  223. package/test/fixtures/pfm/code_spans/333.md +0 -1
  224. package/test/fixtures/pfm/code_spans/334.md +0 -2
  225. package/test/fixtures/pfm/code_spans/335.md +0 -5
  226. package/test/fixtures/pfm/code_spans/336.md +0 -3
  227. package/test/fixtures/pfm/code_spans/337.md +0 -2
  228. package/test/fixtures/pfm/code_spans/338.md +0 -1
  229. package/test/fixtures/pfm/code_spans/339.md +0 -1
  230. package/test/fixtures/pfm/code_spans/340.md +0 -1
  231. package/test/fixtures/pfm/code_spans/341.md +0 -1
  232. package/test/fixtures/pfm/code_spans/342.md +0 -1
  233. package/test/fixtures/pfm/code_spans/343.md +0 -1
  234. package/test/fixtures/pfm/code_spans/344.md +0 -1
  235. package/test/fixtures/pfm/code_spans/345.md +0 -1
  236. package/test/fixtures/pfm/code_spans/346.md +0 -1
  237. package/test/fixtures/pfm/code_spans/347.md +0 -1
  238. package/test/fixtures/pfm/code_spans/348.md +0 -1
  239. package/test/fixtures/pfm/code_spans/349.md +0 -1
  240. package/test/fixtures/pfm/code_spans/pfm_328_1.md +0 -1
  241. package/test/fixtures/pfm/code_spans/pfm_328_2.md +0 -1
  242. package/test/fixtures/pfm/code_spans/pfm_328_3.md +0 -1
  243. package/test/fixtures/pfm/code_spans/pfm_328_4.md +0 -1
  244. package/test/fixtures/pfm/emphasis_and_strong_emphasis/350.md +0 -1
  245. package/test/fixtures/pfm/emphasis_and_strong_emphasis/351.md +0 -1
  246. package/test/fixtures/pfm/emphasis_and_strong_emphasis/352.md +0 -1
  247. package/test/fixtures/pfm/emphasis_and_strong_emphasis/353.md +0 -1
  248. package/test/fixtures/pfm/emphasis_and_strong_emphasis/354.md +0 -5
  249. package/test/fixtures/pfm/emphasis_and_strong_emphasis/355.md +0 -1
  250. package/test/fixtures/pfm/emphasis_and_strong_emphasis/356.md +0 -1
  251. package/test/fixtures/pfm/emphasis_and_strong_emphasis/357.md +0 -1
  252. package/test/fixtures/pfm/emphasis_and_strong_emphasis/358.md +0 -1
  253. package/test/fixtures/pfm/emphasis_and_strong_emphasis/359.md +0 -1
  254. package/test/fixtures/pfm/emphasis_and_strong_emphasis/360.md +0 -1
  255. package/test/fixtures/pfm/emphasis_and_strong_emphasis/361.md +0 -1
  256. package/test/fixtures/pfm/emphasis_and_strong_emphasis/362.md +0 -1
  257. package/test/fixtures/pfm/emphasis_and_strong_emphasis/363.md +0 -1
  258. package/test/fixtures/pfm/emphasis_and_strong_emphasis/364.md +0 -1
  259. package/test/fixtures/pfm/emphasis_and_strong_emphasis/365.md +0 -1
  260. package/test/fixtures/pfm/emphasis_and_strong_emphasis/366.md +0 -1
  261. package/test/fixtures/pfm/emphasis_and_strong_emphasis/367.md +0 -2
  262. package/test/fixtures/pfm/emphasis_and_strong_emphasis/368.md +0 -1
  263. package/test/fixtures/pfm/emphasis_and_strong_emphasis/369.md +0 -1
  264. package/test/fixtures/pfm/emphasis_and_strong_emphasis/370.md +0 -1
  265. package/test/fixtures/pfm/emphasis_and_strong_emphasis/371.md +0 -1
  266. package/test/fixtures/pfm/emphasis_and_strong_emphasis/372.md +0 -1
  267. package/test/fixtures/pfm/emphasis_and_strong_emphasis/373.md +0 -1
  268. package/test/fixtures/pfm/emphasis_and_strong_emphasis/374.md +0 -1
  269. package/test/fixtures/pfm/emphasis_and_strong_emphasis/375.md +0 -1
  270. package/test/fixtures/pfm/emphasis_and_strong_emphasis/376.md +0 -1
  271. package/test/fixtures/pfm/emphasis_and_strong_emphasis/377.md +0 -1
  272. package/test/fixtures/pfm/emphasis_and_strong_emphasis/378.md +0 -1
  273. package/test/fixtures/pfm/emphasis_and_strong_emphasis/379.md +0 -1
  274. package/test/fixtures/pfm/emphasis_and_strong_emphasis/380.md +0 -1
  275. package/test/fixtures/pfm/emphasis_and_strong_emphasis/381.md +0 -1
  276. package/test/fixtures/pfm/emphasis_and_strong_emphasis/382.md +0 -1
  277. package/test/fixtures/pfm/emphasis_and_strong_emphasis/383.md +0 -1
  278. package/test/fixtures/pfm/emphasis_and_strong_emphasis/384.md +0 -2
  279. package/test/fixtures/pfm/emphasis_and_strong_emphasis/385.md +0 -1
  280. package/test/fixtures/pfm/emphasis_and_strong_emphasis/386.md +0 -1
  281. package/test/fixtures/pfm/emphasis_and_strong_emphasis/387.md +0 -1
  282. package/test/fixtures/pfm/emphasis_and_strong_emphasis/388.md +0 -1
  283. package/test/fixtures/pfm/emphasis_and_strong_emphasis/389.md +0 -1
  284. package/test/fixtures/pfm/emphasis_and_strong_emphasis/390.md +0 -1
  285. package/test/fixtures/pfm/emphasis_and_strong_emphasis/391.md +0 -1
  286. package/test/fixtures/pfm/emphasis_and_strong_emphasis/392.md +0 -1
  287. package/test/fixtures/pfm/emphasis_and_strong_emphasis/393.md +0 -1
  288. package/test/fixtures/pfm/emphasis_and_strong_emphasis/394.md +0 -2
  289. package/test/fixtures/pfm/emphasis_and_strong_emphasis/395.md +0 -1
  290. package/test/fixtures/pfm/emphasis_and_strong_emphasis/396.md +0 -1
  291. package/test/fixtures/pfm/emphasis_and_strong_emphasis/397.md +0 -1
  292. package/test/fixtures/pfm/emphasis_and_strong_emphasis/398.md +0 -1
  293. package/test/fixtures/pfm/emphasis_and_strong_emphasis/399.md +0 -1
  294. package/test/fixtures/pfm/emphasis_and_strong_emphasis/400.md +0 -1
  295. package/test/fixtures/pfm/emphasis_and_strong_emphasis/401.md +0 -1
  296. package/test/fixtures/pfm/emphasis_and_strong_emphasis/402.md +0 -1
  297. package/test/fixtures/pfm/emphasis_and_strong_emphasis/403.md +0 -1
  298. package/test/fixtures/pfm/emphasis_and_strong_emphasis/404.md +0 -1
  299. package/test/fixtures/pfm/emphasis_and_strong_emphasis/405.md +0 -2
  300. package/test/fixtures/pfm/emphasis_and_strong_emphasis/406.md +0 -1
  301. package/test/fixtures/pfm/emphasis_and_strong_emphasis/407.md +0 -1
  302. package/test/fixtures/pfm/emphasis_and_strong_emphasis/408.md +0 -1
  303. package/test/fixtures/pfm/emphasis_and_strong_emphasis/409.md +0 -1
  304. package/test/fixtures/pfm/emphasis_and_strong_emphasis/410.md +0 -1
  305. package/test/fixtures/pfm/emphasis_and_strong_emphasis/411.md +0 -1
  306. package/test/fixtures/pfm/emphasis_and_strong_emphasis/412.md +0 -1
  307. package/test/fixtures/pfm/emphasis_and_strong_emphasis/413.md +0 -1
  308. package/test/fixtures/pfm/emphasis_and_strong_emphasis/414.md +0 -1
  309. package/test/fixtures/pfm/emphasis_and_strong_emphasis/415.md +0 -1
  310. package/test/fixtures/pfm/emphasis_and_strong_emphasis/416.md +0 -1
  311. package/test/fixtures/pfm/emphasis_and_strong_emphasis/417.md +0 -1
  312. package/test/fixtures/pfm/emphasis_and_strong_emphasis/418.md +0 -1
  313. package/test/fixtures/pfm/emphasis_and_strong_emphasis/419.md +0 -1
  314. package/test/fixtures/pfm/emphasis_and_strong_emphasis/420.md +0 -1
  315. package/test/fixtures/pfm/emphasis_and_strong_emphasis/421.md +0 -1
  316. package/test/fixtures/pfm/emphasis_and_strong_emphasis/422.md +0 -1
  317. package/test/fixtures/pfm/emphasis_and_strong_emphasis/423.md +0 -2
  318. package/test/fixtures/pfm/emphasis_and_strong_emphasis/424.md +0 -1
  319. package/test/fixtures/pfm/emphasis_and_strong_emphasis/425.md +0 -1
  320. package/test/fixtures/pfm/emphasis_and_strong_emphasis/426.md +0 -1
  321. package/test/fixtures/pfm/emphasis_and_strong_emphasis/427.md +0 -1
  322. package/test/fixtures/pfm/emphasis_and_strong_emphasis/428.md +0 -1
  323. package/test/fixtures/pfm/emphasis_and_strong_emphasis/429.md +0 -1
  324. package/test/fixtures/pfm/emphasis_and_strong_emphasis/430.md +0 -1
  325. package/test/fixtures/pfm/emphasis_and_strong_emphasis/431.md +0 -1
  326. package/test/fixtures/pfm/emphasis_and_strong_emphasis/432.md +0 -2
  327. package/test/fixtures/pfm/emphasis_and_strong_emphasis/433.md +0 -1
  328. package/test/fixtures/pfm/emphasis_and_strong_emphasis/434.md +0 -1
  329. package/test/fixtures/pfm/emphasis_and_strong_emphasis/435.md +0 -1
  330. package/test/fixtures/pfm/emphasis_and_strong_emphasis/436.md +0 -1
  331. package/test/fixtures/pfm/emphasis_and_strong_emphasis/437.md +0 -1
  332. package/test/fixtures/pfm/emphasis_and_strong_emphasis/438.md +0 -1
  333. package/test/fixtures/pfm/emphasis_and_strong_emphasis/439.md +0 -1
  334. package/test/fixtures/pfm/emphasis_and_strong_emphasis/440.md +0 -1
  335. package/test/fixtures/pfm/emphasis_and_strong_emphasis/441.md +0 -1
  336. package/test/fixtures/pfm/emphasis_and_strong_emphasis/442.md +0 -1
  337. package/test/fixtures/pfm/emphasis_and_strong_emphasis/443.md +0 -1
  338. package/test/fixtures/pfm/emphasis_and_strong_emphasis/444.md +0 -1
  339. package/test/fixtures/pfm/emphasis_and_strong_emphasis/445.md +0 -1
  340. package/test/fixtures/pfm/emphasis_and_strong_emphasis/446.md +0 -1
  341. package/test/fixtures/pfm/emphasis_and_strong_emphasis/447.md +0 -1
  342. package/test/fixtures/pfm/emphasis_and_strong_emphasis/448.md +0 -1
  343. package/test/fixtures/pfm/emphasis_and_strong_emphasis/449.md +0 -1
  344. package/test/fixtures/pfm/emphasis_and_strong_emphasis/450.md +0 -1
  345. package/test/fixtures/pfm/emphasis_and_strong_emphasis/451.md +0 -1
  346. package/test/fixtures/pfm/emphasis_and_strong_emphasis/452.md +0 -1
  347. package/test/fixtures/pfm/emphasis_and_strong_emphasis/453.md +0 -1
  348. package/test/fixtures/pfm/emphasis_and_strong_emphasis/454.md +0 -1
  349. package/test/fixtures/pfm/emphasis_and_strong_emphasis/455.md +0 -1
  350. package/test/fixtures/pfm/emphasis_and_strong_emphasis/456.md +0 -1
  351. package/test/fixtures/pfm/emphasis_and_strong_emphasis/457.md +0 -1
  352. package/test/fixtures/pfm/emphasis_and_strong_emphasis/458.md +0 -1
  353. package/test/fixtures/pfm/emphasis_and_strong_emphasis/459.md +0 -1
  354. package/test/fixtures/pfm/emphasis_and_strong_emphasis/460.md +0 -1
  355. package/test/fixtures/pfm/emphasis_and_strong_emphasis/461.md +0 -1
  356. package/test/fixtures/pfm/emphasis_and_strong_emphasis/462.md +0 -1
  357. package/test/fixtures/pfm/emphasis_and_strong_emphasis/463.md +0 -1
  358. package/test/fixtures/pfm/emphasis_and_strong_emphasis/464.md +0 -1
  359. package/test/fixtures/pfm/emphasis_and_strong_emphasis/465.md +0 -1
  360. package/test/fixtures/pfm/emphasis_and_strong_emphasis/466.md +0 -1
  361. package/test/fixtures/pfm/emphasis_and_strong_emphasis/467.md +0 -1
  362. package/test/fixtures/pfm/emphasis_and_strong_emphasis/468.md +0 -1
  363. package/test/fixtures/pfm/emphasis_and_strong_emphasis/469.md +0 -1
  364. package/test/fixtures/pfm/emphasis_and_strong_emphasis/470.md +0 -1
  365. package/test/fixtures/pfm/emphasis_and_strong_emphasis/471.md +0 -1
  366. package/test/fixtures/pfm/emphasis_and_strong_emphasis/472.md +0 -1
  367. package/test/fixtures/pfm/emphasis_and_strong_emphasis/473.md +0 -1
  368. package/test/fixtures/pfm/emphasis_and_strong_emphasis/474.md +0 -1
  369. package/test/fixtures/pfm/emphasis_and_strong_emphasis/475.md +0 -1
  370. package/test/fixtures/pfm/emphasis_and_strong_emphasis/476.md +0 -1
  371. package/test/fixtures/pfm/emphasis_and_strong_emphasis/477.md +0 -1
  372. package/test/fixtures/pfm/emphasis_and_strong_emphasis/478.md +0 -1
  373. package/test/fixtures/pfm/emphasis_and_strong_emphasis/479.md +0 -1
  374. package/test/fixtures/pfm/emphasis_and_strong_emphasis/480.md +0 -1
  375. package/test/fixtures/pfm/emphasis_and_strong_emphasis/481.md +0 -1
  376. package/test/fixtures/pfm/fenced_code_blocks/119.md +0 -4
  377. package/test/fixtures/pfm/fenced_code_blocks/121.md +0 -3
  378. package/test/fixtures/pfm/fenced_code_blocks/122.md +0 -4
  379. package/test/fixtures/pfm/fenced_code_blocks/124.md +0 -4
  380. package/test/fixtures/pfm/fenced_code_blocks/126.md +0 -1
  381. package/test/fixtures/pfm/fenced_code_blocks/127.md +0 -4
  382. package/test/fixtures/pfm/fenced_code_blocks/128.md +0 -4
  383. package/test/fixtures/pfm/fenced_code_blocks/130.md +0 -2
  384. package/test/fixtures/pfm/fenced_code_blocks/131.md +0 -4
  385. package/test/fixtures/pfm/fenced_code_blocks/132.md +0 -5
  386. package/test/fixtures/pfm/fenced_code_blocks/133.md +0 -5
  387. package/test/fixtures/pfm/fenced_code_blocks/134.md +0 -3
  388. package/test/fixtures/pfm/fenced_code_blocks/135.md +0 -3
  389. package/test/fixtures/pfm/fenced_code_blocks/136.md +0 -3
  390. package/test/fixtures/pfm/fenced_code_blocks/137.md +0 -3
  391. package/test/fixtures/pfm/fenced_code_blocks/138.md +0 -2
  392. package/test/fixtures/pfm/fenced_code_blocks/140.md +0 -5
  393. package/test/fixtures/pfm/fenced_code_blocks/142.md +0 -5
  394. package/test/fixtures/pfm/fenced_code_blocks/144.md +0 -2
  395. package/test/fixtures/pfm/fenced_code_blocks/145.md +0 -2
  396. package/test/fixtures/pfm/fenced_code_blocks/pfm_119_2.md +0 -8
  397. package/test/fixtures/pfm/fenced_code_blocks/pfm_119_3.md +0 -5
  398. package/test/fixtures/pfm/frontmatter/1.md +0 -5
  399. package/test/fixtures/pfm/frontmatter/10.md +0 -1
  400. package/test/fixtures/pfm/frontmatter/2.md +0 -2
  401. package/test/fixtures/pfm/frontmatter/3.md +0 -4
  402. package/test/fixtures/pfm/frontmatter/4.md +0 -5
  403. package/test/fixtures/pfm/frontmatter/5.md +0 -6
  404. package/test/fixtures/pfm/frontmatter/6.md +0 -8
  405. package/test/fixtures/pfm/frontmatter/7.md +0 -4
  406. package/test/fixtures/pfm/frontmatter/8.md +0 -5
  407. package/test/fixtures/pfm/frontmatter/9.md +0 -4
  408. package/test/fixtures/pfm/generic_directives/001.md +0 -1
  409. package/test/fixtures/pfm/generic_directives/002.md +0 -1
  410. package/test/fixtures/pfm/generic_directives/003.md +0 -1
  411. package/test/fixtures/pfm/generic_directives/004.md +0 -1
  412. package/test/fixtures/pfm/generic_directives/005.md +0 -1
  413. package/test/fixtures/pfm/generic_directives/006.md +0 -1
  414. package/test/fixtures/pfm/generic_directives/007.md +0 -1
  415. package/test/fixtures/pfm/generic_directives/008.md +0 -1
  416. package/test/fixtures/pfm/generic_directives/009.md +0 -1
  417. package/test/fixtures/pfm/generic_directives/010.md +0 -1
  418. package/test/fixtures/pfm/generic_directives/011.md +0 -1
  419. package/test/fixtures/pfm/generic_directives/012.md +0 -1
  420. package/test/fixtures/pfm/generic_directives/013.md +0 -1
  421. package/test/fixtures/pfm/generic_directives/014.md +0 -1
  422. package/test/fixtures/pfm/generic_directives/015.md +0 -3
  423. package/test/fixtures/pfm/generic_directives/016.md +0 -1
  424. package/test/fixtures/pfm/generic_directives/017.md +0 -1
  425. package/test/fixtures/pfm/generic_directives/018.md +0 -1
  426. package/test/fixtures/pfm/generic_directives/019.md +0 -2
  427. package/test/fixtures/pfm/generic_directives/020.md +0 -3
  428. package/test/fixtures/pfm/generic_directives/021.md +0 -3
  429. package/test/fixtures/pfm/generic_directives/022.md +0 -5
  430. package/test/fixtures/pfm/generic_directives/023.md +0 -2
  431. package/test/fixtures/pfm/generic_directives/024.md +0 -5
  432. package/test/fixtures/pfm/generic_directives/025.md +0 -2
  433. package/test/fixtures/pfm/generic_directives/026.md +0 -3
  434. package/test/fixtures/pfm/generic_directives/027.md +0 -5
  435. package/test/fixtures/pfm/generic_directives/028.md +0 -5
  436. package/test/fixtures/pfm/generic_directives/029.md +0 -7
  437. package/test/fixtures/pfm/generic_directives/030.md +0 -3
  438. package/test/fixtures/pfm/generic_directives/031.md +0 -4
  439. package/test/fixtures/pfm/generic_directives/032.md +0 -3
  440. package/test/fixtures/pfm/generic_directives/033.md +0 -3
  441. package/test/fixtures/pfm/generic_directives/034.md +0 -5
  442. package/test/fixtures/pfm/generic_directives/035.md +0 -3
  443. package/test/fixtures/pfm/generic_directives/036.md +0 -1
  444. package/test/fixtures/pfm/generic_directives/037.md +0 -1
  445. package/test/fixtures/pfm/generic_directives/038.md +0 -3
  446. package/test/fixtures/pfm/generic_directives/039.md +0 -5
  447. package/test/fixtures/pfm/generic_directives/040.md +0 -9
  448. package/test/fixtures/pfm/generic_directives/041.md +0 -1
  449. package/test/fixtures/pfm/generic_directives/042.md +0 -1
  450. package/test/fixtures/pfm/generic_directives/043.md +0 -1
  451. package/test/fixtures/pfm/generic_directives/044.md +0 -1
  452. package/test/fixtures/pfm/generic_directives/045.md +0 -1
  453. package/test/fixtures/pfm/generic_directives/046.md +0 -3
  454. package/test/fixtures/pfm/generic_directives/047.md +0 -5
  455. package/test/fixtures/pfm/generic_directives/048.md +0 -1
  456. package/test/fixtures/pfm/generic_directives/049.md +0 -1
  457. package/test/fixtures/pfm/generic_directives/050.md +0 -1
  458. package/test/fixtures/pfm/generic_directives/051.md +0 -1
  459. package/test/fixtures/pfm/generic_directives/052.md +0 -1
  460. package/test/fixtures/pfm/generic_directives/053.md +0 -1
  461. package/test/fixtures/pfm/generic_directives/054.md +0 -1
  462. package/test/fixtures/pfm/generic_directives/055.md +0 -1
  463. package/test/fixtures/pfm/generic_directives/056.md +0 -1
  464. package/test/fixtures/pfm/generic_directives/057.md +0 -1
  465. package/test/fixtures/pfm/generic_directives/058.md +0 -1
  466. package/test/fixtures/pfm/generic_directives/059.md +0 -1
  467. package/test/fixtures/pfm/generic_directives/060.md +0 -1
  468. package/test/fixtures/pfm/generic_directives/061.md +0 -1
  469. package/test/fixtures/pfm/generic_directives/062.md +0 -1
  470. package/test/fixtures/pfm/generic_directives/063.md +0 -1
  471. package/test/fixtures/pfm/generic_directives/064.md +0 -1
  472. package/test/fixtures/pfm/generic_directives/065.md +0 -2
  473. package/test/fixtures/pfm/generic_directives/066.md +0 -1
  474. package/test/fixtures/pfm/generic_directives/067.md +0 -1
  475. package/test/fixtures/pfm/generic_directives/068.md +0 -1
  476. package/test/fixtures/pfm/generic_directives/069.md +0 -1
  477. package/test/fixtures/pfm/generic_directives/070.md +0 -1
  478. package/test/fixtures/pfm/generic_directives/071.md +0 -1
  479. package/test/fixtures/pfm/generic_directives/072.md +0 -1
  480. package/test/fixtures/pfm/generic_directives/073.md +0 -1
  481. package/test/fixtures/pfm/generic_directives/074.md +0 -3
  482. package/test/fixtures/pfm/generic_directives/075.md +0 -1
  483. package/test/fixtures/pfm/generic_directives/076.md +0 -1
  484. package/test/fixtures/pfm/generic_directives/077.md +0 -1
  485. package/test/fixtures/pfm/generic_directives/078.md +0 -1
  486. package/test/fixtures/pfm/generic_directives/079.md +0 -1
  487. package/test/fixtures/pfm/generic_directives/080.md +0 -1
  488. package/test/fixtures/pfm/generic_directives/081.md +0 -1
  489. package/test/fixtures/pfm/generic_directives/082.md +0 -1
  490. package/test/fixtures/pfm/generic_directives/083.md +0 -1
  491. package/test/fixtures/pfm/generic_directives/084.md +0 -1
  492. package/test/fixtures/pfm/generic_directives/085.md +0 -1
  493. package/test/fixtures/pfm/generic_directives/086.md +0 -1
  494. package/test/fixtures/pfm/generic_directives/087.md +0 -1
  495. package/test/fixtures/pfm/generic_directives/088.md +0 -3
  496. package/test/fixtures/pfm/generic_directives/089.md +0 -1
  497. package/test/fixtures/pfm/generic_directives/090.md +0 -1
  498. package/test/fixtures/pfm/generic_directives/091.md +0 -1
  499. package/test/fixtures/pfm/generic_directives/092.md +0 -3
  500. package/test/fixtures/pfm/generic_directives/093.md +0 -1
  501. package/test/fixtures/pfm/generic_directives/094.md +0 -1
  502. package/test/fixtures/pfm/generic_directives/095.md +0 -2
  503. package/test/fixtures/pfm/generic_directives/096.md +0 -1
  504. package/test/fixtures/pfm/generic_directives/097.md +0 -1
  505. package/test/fixtures/pfm/generic_directives/098.md +0 -1
  506. package/test/fixtures/pfm/generic_directives/099.md +0 -1
  507. package/test/fixtures/pfm/generic_directives/100.md +0 -1
  508. package/test/fixtures/pfm/generic_directives/101.md +0 -1
  509. package/test/fixtures/pfm/generic_directives/102.md +0 -1
  510. package/test/fixtures/pfm/generic_directives/103.md +0 -5
  511. package/test/fixtures/pfm/generic_directives/104.md +0 -1
  512. package/test/fixtures/pfm/generic_directives/105.md +0 -1
  513. package/test/fixtures/pfm/hard_line_breaks/633.md +0 -2
  514. package/test/fixtures/pfm/hard_line_breaks/634.md +0 -2
  515. package/test/fixtures/pfm/hard_line_breaks/635.md +0 -2
  516. package/test/fixtures/pfm/hard_line_breaks/636.md +0 -2
  517. package/test/fixtures/pfm/hard_line_breaks/637.md +0 -2
  518. package/test/fixtures/pfm/hard_line_breaks/638.md +0 -2
  519. package/test/fixtures/pfm/hard_line_breaks/639.md +0 -2
  520. package/test/fixtures/pfm/hard_line_breaks/640.md +0 -2
  521. package/test/fixtures/pfm/hard_line_breaks/641.md +0 -2
  522. package/test/fixtures/pfm/hard_line_breaks/642.md +0 -2
  523. package/test/fixtures/pfm/hard_line_breaks/643.md +0 -2
  524. package/test/fixtures/pfm/hard_line_breaks/644.md +0 -1
  525. package/test/fixtures/pfm/hard_line_breaks/645.md +0 -1
  526. package/test/fixtures/pfm/hard_line_breaks/646.md +0 -1
  527. package/test/fixtures/pfm/hard_line_breaks/647.md +0 -1
  528. package/test/fixtures/pfm/html/148.md +0 -7
  529. package/test/fixtures/pfm/html/149.md +0 -9
  530. package/test/fixtures/pfm/html/150.md +0 -3
  531. package/test/fixtures/pfm/html/151.md +0 -2
  532. package/test/fixtures/pfm/html/152.md +0 -5
  533. package/test/fixtures/pfm/html/153.md +0 -3
  534. package/test/fixtures/pfm/html/154.md +0 -3
  535. package/test/fixtures/pfm/html/155.md +0 -4
  536. package/test/fixtures/pfm/html/156.md +0 -2
  537. package/test/fixtures/pfm/html/157.md +0 -2
  538. package/test/fixtures/pfm/html/158.md +0 -2
  539. package/test/fixtures/pfm/html/159.md +0 -1
  540. package/test/fixtures/pfm/html/160.md +0 -3
  541. package/test/fixtures/pfm/html/161.md +0 -4
  542. package/test/fixtures/pfm/html/162.md +0 -3
  543. package/test/fixtures/pfm/html/163.md +0 -3
  544. package/test/fixtures/pfm/html/164.md +0 -3
  545. package/test/fixtures/pfm/html/165.md +0 -2
  546. package/test/fixtures/pfm/html/166.md +0 -3
  547. package/test/fixtures/pfm/html/167.md +0 -5
  548. package/test/fixtures/pfm/html/168.md +0 -1
  549. package/test/fixtures/pfm/html/169.md +0 -7
  550. package/test/fixtures/pfm/html/170.md +0 -6
  551. package/test/fixtures/pfm/html/171.md +0 -7
  552. package/test/fixtures/pfm/html/172.md +0 -7
  553. package/test/fixtures/pfm/html/173.md +0 -4
  554. package/test/fixtures/pfm/html/174.md +0 -4
  555. package/test/fixtures/pfm/html/175.md +0 -2
  556. package/test/fixtures/pfm/html/176.md +0 -2
  557. package/test/fixtures/pfm/html/177.md +0 -2
  558. package/test/fixtures/pfm/html/178.md +0 -3
  559. package/test/fixtures/pfm/html/179.md +0 -5
  560. package/test/fixtures/pfm/html/180.md +0 -6
  561. package/test/fixtures/pfm/html/181.md +0 -1
  562. package/test/fixtures/pfm/html/182.md +0 -13
  563. package/test/fixtures/pfm/html/183.md +0 -3
  564. package/test/fixtures/pfm/html/184.md +0 -3
  565. package/test/fixtures/pfm/html/185.md +0 -4
  566. package/test/fixtures/pfm/html/186.md +0 -4
  567. package/test/fixtures/pfm/html/187.md +0 -3
  568. package/test/fixtures/pfm/html/188.md +0 -5
  569. package/test/fixtures/pfm/html/189.md +0 -3
  570. package/test/fixtures/pfm/html/190.md +0 -11
  571. package/test/fixtures/pfm/html/191.md +0 -11
  572. package/test/fixtures/pfm/html/613.md +0 -1
  573. package/test/fixtures/pfm/html/614.md +0 -1
  574. package/test/fixtures/pfm/html/615.md +0 -2
  575. package/test/fixtures/pfm/html/616.md +0 -2
  576. package/test/fixtures/pfm/html/617.md +0 -1
  577. package/test/fixtures/pfm/html/618.md +0 -1
  578. package/test/fixtures/pfm/html/619.md +0 -1
  579. package/test/fixtures/pfm/html/620.md +0 -1
  580. package/test/fixtures/pfm/html/621.md +0 -4
  581. package/test/fixtures/pfm/html/622.md +0 -1
  582. package/test/fixtures/pfm/html/623.md +0 -1
  583. package/test/fixtures/pfm/html/624.md +0 -1
  584. package/test/fixtures/pfm/html/625.md +0 -2
  585. package/test/fixtures/pfm/html/626.md +0 -3
  586. package/test/fixtures/pfm/html/627.md +0 -1
  587. package/test/fixtures/pfm/html/628.md +0 -1
  588. package/test/fixtures/pfm/html/629.md +0 -1
  589. package/test/fixtures/pfm/html/630.md +0 -1
  590. package/test/fixtures/pfm/html/631.md +0 -1
  591. package/test/fixtures/pfm/html/632.md +0 -1
  592. package/test/fixtures/pfm/images/572.md +0 -1
  593. package/test/fixtures/pfm/images/573.md +0 -3
  594. package/test/fixtures/pfm/images/574.md +0 -1
  595. package/test/fixtures/pfm/images/575.md +0 -1
  596. package/test/fixtures/pfm/images/576.md +0 -3
  597. package/test/fixtures/pfm/images/577.md +0 -3
  598. package/test/fixtures/pfm/images/578.md +0 -1
  599. package/test/fixtures/pfm/images/579.md +0 -1
  600. package/test/fixtures/pfm/images/580.md +0 -1
  601. package/test/fixtures/pfm/images/581.md +0 -1
  602. package/test/fixtures/pfm/images/582.md +0 -3
  603. package/test/fixtures/pfm/images/583.md +0 -3
  604. package/test/fixtures/pfm/images/584.md +0 -3
  605. package/test/fixtures/pfm/images/585.md +0 -3
  606. package/test/fixtures/pfm/images/586.md +0 -3
  607. package/test/fixtures/pfm/images/587.md +0 -4
  608. package/test/fixtures/pfm/images/588.md +0 -3
  609. package/test/fixtures/pfm/images/589.md +0 -3
  610. package/test/fixtures/pfm/images/590.md +0 -3
  611. package/test/fixtures/pfm/images/591.md +0 -3
  612. package/test/fixtures/pfm/images/592.md +0 -3
  613. package/test/fixtures/pfm/images/593.md +0 -3
  614. package/test/fixtures/pfm/imports/1.md +0 -3
  615. package/test/fixtures/pfm/imports/10.md +0 -1
  616. package/test/fixtures/pfm/imports/11.md +0 -3
  617. package/test/fixtures/pfm/imports/2.md +0 -4
  618. package/test/fixtures/pfm/imports/3.md +0 -4
  619. package/test/fixtures/pfm/imports/4.md +0 -3
  620. package/test/fixtures/pfm/imports/5.md +0 -3
  621. package/test/fixtures/pfm/imports/6.md +0 -5
  622. package/test/fixtures/pfm/imports/7.md +0 -3
  623. package/test/fixtures/pfm/imports/8.md +0 -3
  624. package/test/fixtures/pfm/imports/9.md +0 -1
  625. package/test/fixtures/pfm/inlines/327.md +0 -1
  626. package/test/fixtures/pfm/link_reference_definitions/192.md +0 -3
  627. package/test/fixtures/pfm/link_reference_definitions/193.md +0 -5
  628. package/test/fixtures/pfm/link_reference_definitions/194.md +0 -3
  629. package/test/fixtures/pfm/link_reference_definitions/195.md +0 -5
  630. package/test/fixtures/pfm/link_reference_definitions/196.md +0 -7
  631. package/test/fixtures/pfm/link_reference_definitions/197.md +0 -5
  632. package/test/fixtures/pfm/link_reference_definitions/198.md +0 -4
  633. package/test/fixtures/pfm/link_reference_definitions/199.md +0 -3
  634. package/test/fixtures/pfm/link_reference_definitions/200.md +0 -3
  635. package/test/fixtures/pfm/link_reference_definitions/201.md +0 -3
  636. package/test/fixtures/pfm/link_reference_definitions/202.md +0 -3
  637. package/test/fixtures/pfm/link_reference_definitions/203.md +0 -3
  638. package/test/fixtures/pfm/link_reference_definitions/204.md +0 -4
  639. package/test/fixtures/pfm/link_reference_definitions/205.md +0 -3
  640. package/test/fixtures/pfm/link_reference_definitions/206.md +0 -3
  641. package/test/fixtures/pfm/link_reference_definitions/207.md +0 -1
  642. package/test/fixtures/pfm/link_reference_definitions/208.md +0 -5
  643. package/test/fixtures/pfm/link_reference_definitions/209.md +0 -1
  644. package/test/fixtures/pfm/link_reference_definitions/210.md +0 -2
  645. package/test/fixtures/pfm/link_reference_definitions/211.md +0 -3
  646. package/test/fixtures/pfm/link_reference_definitions/212.md +0 -5
  647. package/test/fixtures/pfm/link_reference_definitions/213.md +0 -4
  648. package/test/fixtures/pfm/link_reference_definitions/214.md +0 -5
  649. package/test/fixtures/pfm/link_reference_definitions/215.md +0 -4
  650. package/test/fixtures/pfm/link_reference_definitions/216.md +0 -3
  651. package/test/fixtures/pfm/link_reference_definitions/217.md +0 -8
  652. package/test/fixtures/pfm/link_reference_definitions/218.md +0 -3
  653. package/test/fixtures/pfm/links/482.md +0 -1
  654. package/test/fixtures/pfm/links/483.md +0 -1
  655. package/test/fixtures/pfm/links/484.md +0 -1
  656. package/test/fixtures/pfm/links/485.md +0 -1
  657. package/test/fixtures/pfm/links/486.md +0 -1
  658. package/test/fixtures/pfm/links/487.md +0 -1
  659. package/test/fixtures/pfm/links/488.md +0 -1
  660. package/test/fixtures/pfm/links/489.md +0 -1
  661. package/test/fixtures/pfm/links/490.md +0 -2
  662. package/test/fixtures/pfm/links/491.md +0 -2
  663. package/test/fixtures/pfm/links/492.md +0 -1
  664. package/test/fixtures/pfm/links/493.md +0 -1
  665. package/test/fixtures/pfm/links/494.md +0 -3
  666. package/test/fixtures/pfm/links/495.md +0 -1
  667. package/test/fixtures/pfm/links/496.md +0 -1
  668. package/test/fixtures/pfm/links/497.md +0 -1
  669. package/test/fixtures/pfm/links/498.md +0 -1
  670. package/test/fixtures/pfm/links/499.md +0 -1
  671. package/test/fixtures/pfm/links/500.md +0 -1
  672. package/test/fixtures/pfm/links/501.md +0 -5
  673. package/test/fixtures/pfm/links/502.md +0 -1
  674. package/test/fixtures/pfm/links/503.md +0 -1
  675. package/test/fixtures/pfm/links/504.md +0 -1
  676. package/test/fixtures/pfm/links/505.md +0 -3
  677. package/test/fixtures/pfm/links/506.md +0 -1
  678. package/test/fixtures/pfm/links/507.md +0 -1
  679. package/test/fixtures/pfm/links/508.md +0 -1
  680. package/test/fixtures/pfm/links/509.md +0 -1
  681. package/test/fixtures/pfm/links/510.md +0 -2
  682. package/test/fixtures/pfm/links/511.md +0 -1
  683. package/test/fixtures/pfm/links/512.md +0 -1
  684. package/test/fixtures/pfm/links/513.md +0 -1
  685. package/test/fixtures/pfm/links/514.md +0 -1
  686. package/test/fixtures/pfm/links/515.md +0 -1
  687. package/test/fixtures/pfm/links/516.md +0 -1
  688. package/test/fixtures/pfm/links/517.md +0 -1
  689. package/test/fixtures/pfm/links/518.md +0 -1
  690. package/test/fixtures/pfm/links/519.md +0 -1
  691. package/test/fixtures/pfm/links/520.md +0 -1
  692. package/test/fixtures/pfm/links/521.md +0 -1
  693. package/test/fixtures/pfm/links/522.md +0 -1
  694. package/test/fixtures/pfm/links/523.md +0 -1
  695. package/test/fixtures/pfm/links/524.md +0 -1
  696. package/test/fixtures/pfm/links/525.md +0 -1
  697. package/test/fixtures/pfm/links/526.md +0 -1
  698. package/test/fixtures/pfm/links/527.md +0 -3
  699. package/test/fixtures/pfm/links/528.md +0 -3
  700. package/test/fixtures/pfm/links/529.md +0 -3
  701. package/test/fixtures/pfm/links/530.md +0 -3
  702. package/test/fixtures/pfm/links/531.md +0 -3
  703. package/test/fixtures/pfm/links/532.md +0 -3
  704. package/test/fixtures/pfm/links/533.md +0 -3
  705. package/test/fixtures/pfm/links/534.md +0 -3
  706. package/test/fixtures/pfm/links/535.md +0 -3
  707. package/test/fixtures/pfm/links/536.md +0 -3
  708. package/test/fixtures/pfm/links/537.md +0 -3
  709. package/test/fixtures/pfm/links/538.md +0 -3
  710. package/test/fixtures/pfm/links/539.md +0 -3
  711. package/test/fixtures/pfm/links/540.md +0 -3
  712. package/test/fixtures/pfm/links/541.md +0 -4
  713. package/test/fixtures/pfm/links/542.md +0 -3
  714. package/test/fixtures/pfm/links/543.md +0 -4
  715. package/test/fixtures/pfm/links/544.md +0 -5
  716. package/test/fixtures/pfm/links/545.md +0 -3
  717. package/test/fixtures/pfm/links/546.md +0 -3
  718. package/test/fixtures/pfm/links/547.md +0 -3
  719. package/test/fixtures/pfm/links/548.md +0 -3
  720. package/test/fixtures/pfm/links/549.md +0 -3
  721. package/test/fixtures/pfm/links/550.md +0 -3
  722. package/test/fixtures/pfm/links/551.md +0 -3
  723. package/test/fixtures/pfm/links/552.md +0 -5
  724. package/test/fixtures/pfm/links/553.md +0 -3
  725. package/test/fixtures/pfm/links/554.md +0 -3
  726. package/test/fixtures/pfm/links/555.md +0 -3
  727. package/test/fixtures/pfm/links/556.md +0 -4
  728. package/test/fixtures/pfm/links/557.md +0 -3
  729. package/test/fixtures/pfm/links/558.md +0 -3
  730. package/test/fixtures/pfm/links/559.md +0 -3
  731. package/test/fixtures/pfm/links/560.md +0 -3
  732. package/test/fixtures/pfm/links/561.md +0 -3
  733. package/test/fixtures/pfm/links/562.md +0 -3
  734. package/test/fixtures/pfm/links/563.md +0 -3
  735. package/test/fixtures/pfm/links/564.md +0 -3
  736. package/test/fixtures/pfm/links/565.md +0 -4
  737. package/test/fixtures/pfm/links/566.md +0 -3
  738. package/test/fixtures/pfm/links/567.md +0 -3
  739. package/test/fixtures/pfm/links/568.md +0 -3
  740. package/test/fixtures/pfm/links/569.md +0 -3
  741. package/test/fixtures/pfm/links/570.md +0 -4
  742. package/test/fixtures/pfm/links/571.md +0 -4
  743. package/test/fixtures/pfm/list_items/253.md +0 -6
  744. package/test/fixtures/pfm/list_items/254.md +0 -6
  745. package/test/fixtures/pfm/list_items/255.md +0 -3
  746. package/test/fixtures/pfm/list_items/256.md +0 -3
  747. package/test/fixtures/pfm/list_items/257.md +0 -3
  748. package/test/fixtures/pfm/list_items/258.md +0 -3
  749. package/test/fixtures/pfm/list_items/259.md +0 -3
  750. package/test/fixtures/pfm/list_items/260.md +0 -3
  751. package/test/fixtures/pfm/list_items/261.md +0 -3
  752. package/test/fixtures/pfm/list_items/262.md +0 -4
  753. package/test/fixtures/pfm/list_items/263.md +0 -9
  754. package/test/fixtures/pfm/list_items/264.md +0 -6
  755. package/test/fixtures/pfm/list_items/265.md +0 -1
  756. package/test/fixtures/pfm/list_items/266.md +0 -1
  757. package/test/fixtures/pfm/list_items/267.md +0 -1
  758. package/test/fixtures/pfm/list_items/268.md +0 -1
  759. package/test/fixtures/pfm/list_items/269.md +0 -1
  760. package/test/fixtures/pfm/list_items/270.md +0 -3
  761. package/test/fixtures/pfm/list_items/271.md +0 -3
  762. package/test/fixtures/pfm/list_items/272.md +0 -5
  763. package/test/fixtures/pfm/list_items/273.md +0 -5
  764. package/test/fixtures/pfm/list_items/274.md +0 -5
  765. package/test/fixtures/pfm/list_items/275.md +0 -3
  766. package/test/fixtures/pfm/list_items/276.md +0 -3
  767. package/test/fixtures/pfm/list_items/277.md +0 -3
  768. package/test/fixtures/pfm/list_items/278.md +0 -8
  769. package/test/fixtures/pfm/list_items/279.md +0 -2
  770. package/test/fixtures/pfm/list_items/280.md +0 -3
  771. package/test/fixtures/pfm/list_items/281.md +0 -3
  772. package/test/fixtures/pfm/list_items/282.md +0 -3
  773. package/test/fixtures/pfm/list_items/283.md +0 -3
  774. package/test/fixtures/pfm/list_items/284.md +0 -1
  775. package/test/fixtures/pfm/list_items/285.md +0 -5
  776. package/test/fixtures/pfm/list_items/286.md +0 -6
  777. package/test/fixtures/pfm/list_items/287.md +0 -6
  778. package/test/fixtures/pfm/list_items/288.md +0 -6
  779. package/test/fixtures/pfm/list_items/289.md +0 -6
  780. package/test/fixtures/pfm/list_items/290.md +0 -6
  781. package/test/fixtures/pfm/list_items/291.md +0 -2
  782. package/test/fixtures/pfm/list_items/292.md +0 -2
  783. package/test/fixtures/pfm/list_items/293.md +0 -2
  784. package/test/fixtures/pfm/list_items/294.md +0 -4
  785. package/test/fixtures/pfm/list_items/295.md +0 -4
  786. package/test/fixtures/pfm/list_items/296.md +0 -2
  787. package/test/fixtures/pfm/list_items/297.md +0 -2
  788. package/test/fixtures/pfm/list_items/298.md +0 -1
  789. package/test/fixtures/pfm/list_items/299.md +0 -1
  790. package/test/fixtures/pfm/list_items/300.md +0 -4
  791. package/test/fixtures/pfm/lists/301.md +0 -3
  792. package/test/fixtures/pfm/lists/302.md +0 -3
  793. package/test/fixtures/pfm/lists/303.md +0 -3
  794. package/test/fixtures/pfm/lists/304.md +0 -2
  795. package/test/fixtures/pfm/lists/305.md +0 -2
  796. package/test/fixtures/pfm/lists/306.md +0 -6
  797. package/test/fixtures/pfm/lists/307.md +0 -6
  798. package/test/fixtures/pfm/lists/308.md +0 -7
  799. package/test/fixtures/pfm/lists/309.md +0 -9
  800. package/test/fixtures/pfm/lists/310.md +0 -7
  801. package/test/fixtures/pfm/lists/311.md +0 -5
  802. package/test/fixtures/pfm/lists/312.md +0 -5
  803. package/test/fixtures/pfm/lists/313.md +0 -5
  804. package/test/fixtures/pfm/lists/314.md +0 -4
  805. package/test/fixtures/pfm/lists/315.md +0 -4
  806. package/test/fixtures/pfm/lists/316.md +0 -5
  807. package/test/fixtures/pfm/lists/317.md +0 -5
  808. package/test/fixtures/pfm/lists/318.md +0 -7
  809. package/test/fixtures/pfm/lists/319.md +0 -5
  810. package/test/fixtures/pfm/lists/320.md +0 -4
  811. package/test/fixtures/pfm/lists/321.md +0 -6
  812. package/test/fixtures/pfm/lists/322.md +0 -1
  813. package/test/fixtures/pfm/lists/323.md +0 -2
  814. package/test/fixtures/pfm/lists/324.md +0 -5
  815. package/test/fixtures/pfm/lists/325.md +0 -4
  816. package/test/fixtures/pfm/lists/326.md +0 -7
  817. package/test/fixtures/pfm/paragraphs/219.md +0 -3
  818. package/test/fixtures/pfm/paragraphs/220.md +0 -5
  819. package/test/fixtures/pfm/paragraphs/221.md +0 -4
  820. package/test/fixtures/pfm/paragraphs/222.md +0 -2
  821. package/test/fixtures/pfm/paragraphs/223.md +0 -3
  822. package/test/fixtures/pfm/paragraphs/224.md +0 -2
  823. package/test/fixtures/pfm/paragraphs/225.md +0 -2
  824. package/test/fixtures/pfm/precedence/42.md +0 -2
  825. package/test/fixtures/pfm/setext_headings/100.md +0 -2
  826. package/test/fixtures/pfm/setext_headings/101.md +0 -2
  827. package/test/fixtures/pfm/setext_headings/102.md +0 -2
  828. package/test/fixtures/pfm/setext_headings/103.md +0 -5
  829. package/test/fixtures/pfm/setext_headings/104.md +0 -6
  830. package/test/fixtures/pfm/setext_headings/105.md +0 -4
  831. package/test/fixtures/pfm/setext_headings/106.md +0 -4
  832. package/test/fixtures/pfm/setext_headings/80.md +0 -5
  833. package/test/fixtures/pfm/setext_headings/81.md +0 -3
  834. package/test/fixtures/pfm/setext_headings/82.md +0 -3
  835. package/test/fixtures/pfm/setext_headings/83.md +0 -5
  836. package/test/fixtures/pfm/setext_headings/84.md +0 -8
  837. package/test/fixtures/pfm/setext_headings/85.md +0 -5
  838. package/test/fixtures/pfm/setext_headings/86.md +0 -2
  839. package/test/fixtures/pfm/setext_headings/87.md +0 -2
  840. package/test/fixtures/pfm/setext_headings/88.md +0 -5
  841. package/test/fixtures/pfm/setext_headings/89.md +0 -2
  842. package/test/fixtures/pfm/setext_headings/90.md +0 -2
  843. package/test/fixtures/pfm/setext_headings/91.md +0 -7
  844. package/test/fixtures/pfm/setext_headings/92.md +0 -2
  845. package/test/fixtures/pfm/setext_headings/93.md +0 -3
  846. package/test/fixtures/pfm/setext_headings/94.md +0 -2
  847. package/test/fixtures/pfm/setext_headings/95.md +0 -3
  848. package/test/fixtures/pfm/setext_headings/96.md +0 -6
  849. package/test/fixtures/pfm/setext_headings/97.md +0 -2
  850. package/test/fixtures/pfm/setext_headings/98.md +0 -2
  851. package/test/fixtures/pfm/setext_headings/99.md +0 -2
  852. package/test/fixtures/pfm/soft_line_breaks/648.md +0 -2
  853. package/test/fixtures/pfm/soft_line_breaks/649.md +0 -2
  854. package/test/fixtures/pfm/tabs/1.md +0 -1
  855. package/test/fixtures/pfm/tabs/10.md +0 -1
  856. package/test/fixtures/pfm/tabs/11.md +0 -1
  857. package/test/fixtures/pfm/tabs/12.md +0 -2
  858. package/test/fixtures/pfm/tabs/13.md +0 -2
  859. package/test/fixtures/pfm/tabs/14.md +0 -3
  860. package/test/fixtures/pfm/tabs/15.md +0 -2
  861. package/test/fixtures/pfm/tabs/16.md +0 -2
  862. package/test/fixtures/pfm/tabs/17.md +0 -3
  863. package/test/fixtures/pfm/tabs/2.md +0 -1
  864. package/test/fixtures/pfm/tabs/3.md +0 -2
  865. package/test/fixtures/pfm/tabs/4.md +0 -3
  866. package/test/fixtures/pfm/tabs/5.md +0 -3
  867. package/test/fixtures/pfm/tabs/6.md +0 -1
  868. package/test/fixtures/pfm/tabs/7.md +0 -1
  869. package/test/fixtures/pfm/tabs/8.md +0 -2
  870. package/test/fixtures/pfm/tabs/9.md +0 -3
  871. package/test/fixtures/pfm/textual_content/650.md +0 -1
  872. package/test/fixtures/pfm/textual_content/651.md +0 -1
  873. package/test/fixtures/pfm/textual_content/652.md +0 -1
  874. package/test/fixtures/pfm/thematic_breaks/43.md +0 -3
  875. package/test/fixtures/pfm/thematic_breaks/44.md +0 -1
  876. package/test/fixtures/pfm/thematic_breaks/45.md +0 -1
  877. package/test/fixtures/pfm/thematic_breaks/46.md +0 -3
  878. package/test/fixtures/pfm/thematic_breaks/47.md +0 -3
  879. package/test/fixtures/pfm/thematic_breaks/48.md +0 -1
  880. package/test/fixtures/pfm/thematic_breaks/49.md +0 -2
  881. package/test/fixtures/pfm/thematic_breaks/50.md +0 -1
  882. package/test/fixtures/pfm/thematic_breaks/51.md +0 -1
  883. package/test/fixtures/pfm/thematic_breaks/52.md +0 -1
  884. package/test/fixtures/pfm/thematic_breaks/53.md +0 -1
  885. package/test/fixtures/pfm/thematic_breaks/54.md +0 -1
  886. package/test/fixtures/pfm/thematic_breaks/55.md +0 -5
  887. package/test/fixtures/pfm/thematic_breaks/56.md +0 -1
  888. package/test/fixtures/pfm/thematic_breaks/57.md +0 -3
  889. package/test/fixtures/pfm/thematic_breaks/58.md +0 -3
  890. package/test/fixtures/pfm/thematic_breaks/59.md +0 -3
  891. package/test/fixtures/pfm/thematic_breaks/60.md +0 -3
  892. package/test/fixtures/pfm/thematic_breaks/61.md +0 -2
  893. package/test/fixtures/svelte/00-introduction/00-hello-world/App.svelte +0 -5
  894. package/test/fixtures/svelte/00-introduction/01-dynamic-attributes/App.svelte +0 -7
  895. package/test/fixtures/svelte/00-introduction/02-styling/App.svelte +0 -9
  896. package/test/fixtures/svelte/00-introduction/03-nested-components/App.svelte +0 -14
  897. package/test/fixtures/svelte/00-introduction/03-nested-components/Nested.svelte +0 -1
  898. package/test/fixtures/svelte/00-introduction/04-html-tags/App.svelte +0 -5
  899. package/test/fixtures/svelte/01-reactivity/00-reactive-assignments/App.svelte +0 -11
  900. package/test/fixtures/svelte/01-reactivity/01-reactive-declarations/App.svelte +0 -18
  901. package/test/fixtures/svelte/01-reactivity/02-reactive-statements/App.svelte +0 -16
  902. package/test/fixtures/svelte/02-props/00-declaring-props/App.svelte +0 -5
  903. package/test/fixtures/svelte/02-props/00-declaring-props/Nested.svelte +0 -5
  904. package/test/fixtures/svelte/02-props/01-default-values/App.svelte +0 -6
  905. package/test/fixtures/svelte/02-props/01-default-values/Nested.svelte +0 -5
  906. package/test/fixtures/svelte/02-props/02-spread-props/App.svelte +0 -12
  907. package/test/fixtures/svelte/02-props/02-spread-props/Info.svelte +0 -12
  908. package/test/fixtures/svelte/03-logic/00-if-blocks/App.svelte +0 -19
  909. package/test/fixtures/svelte/03-logic/01-else-blocks/App.svelte +0 -17
  910. package/test/fixtures/svelte/03-logic/02-else-if-blocks/App.svelte +0 -11
  911. package/test/fixtures/svelte/03-logic/03-each-blocks/App.svelte +0 -17
  912. package/test/fixtures/svelte/03-logic/04-keyed-each-blocks/App.svelte +0 -35
  913. package/test/fixtures/svelte/03-logic/04-keyed-each-blocks/Thing.svelte +0 -24
  914. package/test/fixtures/svelte/04-events/00-dom-events/App.svelte +0 -16
  915. package/test/fixtures/svelte/04-events/01-inline-handlers/App.svelte +0 -11
  916. package/test/fixtures/svelte/04-events/02-event-modifiers/App.svelte +0 -9
  917. package/test/fixtures/svelte/04-events/03-component-events/App.svelte +0 -9
  918. package/test/fixtures/svelte/04-events/03-component-events/Inner.svelte +0 -15
  919. package/test/fixtures/svelte/04-events/04-event-forwarding/App.svelte +0 -9
  920. package/test/fixtures/svelte/04-events/04-event-forwarding/Inner.svelte +0 -15
  921. package/test/fixtures/svelte/04-events/04-event-forwarding/Outer.svelte +0 -5
  922. package/test/fixtures/svelte/04-events/05-dom-event-forwarding/App.svelte +0 -9
  923. package/test/fixtures/svelte/04-events/05-dom-event-forwarding/FancyButton.svelte +0 -15
  924. package/test/fixtures/svelte/05-bindings/00-text-inputs/App.svelte +0 -6
  925. package/test/fixtures/svelte/05-bindings/01-numeric-inputs/App.svelte +0 -16
  926. package/test/fixtures/svelte/05-bindings/02-checkbox-inputs/App.svelte +0 -18
  927. package/test/fixtures/svelte/05-bindings/03-group-inputs/App.svelte +0 -48
  928. package/test/fixtures/svelte/05-bindings/04-textarea-inputs/App.svelte +0 -12
  929. package/test/fixtures/svelte/05-bindings/05-select-bindings/App.svelte +0 -42
  930. package/test/fixtures/svelte/05-bindings/06-multiple-select-bindings/App.svelte +0 -49
  931. package/test/fixtures/svelte/05-bindings/07-each-block-bindings/App.svelte +0 -49
  932. package/test/fixtures/svelte/05-bindings/08-media-elements/App.svelte +0 -136
  933. package/test/fixtures/svelte/05-bindings/09-dimensions/App.svelte +0 -20
  934. package/test/fixtures/svelte/05-bindings/10-bind-this/App.svelte +0 -55
  935. package/test/fixtures/svelte/05-bindings/11-component-bindings/App.svelte +0 -14
  936. package/test/fixtures/svelte/05-bindings/11-component-bindings/Keypad.svelte +0 -40
  937. package/test/fixtures/svelte/06-lifecycle/00-onmount/App.svelte +0 -40
  938. package/test/fixtures/svelte/06-lifecycle/01-ondestroy/App.svelte +0 -11
  939. package/test/fixtures/svelte/06-lifecycle/02-update/App.svelte +0 -112
  940. package/test/fixtures/svelte/06-lifecycle/03-tick/App.svelte +0 -34
  941. package/test/fixtures/svelte/07-stores/00-writable-stores/App.svelte +0 -18
  942. package/test/fixtures/svelte/07-stores/00-writable-stores/Decrementer.svelte +0 -11
  943. package/test/fixtures/svelte/07-stores/00-writable-stores/Incrementer.svelte +0 -11
  944. package/test/fixtures/svelte/07-stores/00-writable-stores/Resetter.svelte +0 -11
  945. package/test/fixtures/svelte/07-stores/01-auto-subscriptions/App.svelte +0 -12
  946. package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Decrementer.svelte +0 -11
  947. package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Incrementer.svelte +0 -11
  948. package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Resetter.svelte +0 -11
  949. package/test/fixtures/svelte/07-stores/02-readable-stores/App.svelte +0 -12
  950. package/test/fixtures/svelte/07-stores/03-derived-stores/App.svelte +0 -17
  951. package/test/fixtures/svelte/07-stores/04-custom-stores/App.svelte +0 -9
  952. package/test/fixtures/svelte/08-motion/00-tweened/App.svelte +0 -38
  953. package/test/fixtures/svelte/08-motion/01-spring/App.svelte +0 -38
  954. package/test/fixtures/svelte/09-transitions/00-transition/App.svelte +0 -15
  955. package/test/fixtures/svelte/09-transitions/01-adding-parameters-to-transitions/App.svelte +0 -15
  956. package/test/fixtures/svelte/09-transitions/02-in-and-out/App.svelte +0 -15
  957. package/test/fixtures/svelte/09-transitions/03-custom-css-transitions/App.svelte +0 -49
  958. package/test/fixtures/svelte/09-transitions/04-custom-js-transitions/App.svelte +0 -36
  959. package/test/fixtures/svelte/09-transitions/05-transition-events/App.svelte +0 -25
  960. package/test/fixtures/svelte/10-animations/00-animate/App.svelte +0 -147
  961. package/test/fixtures/svelte/11-easing/00-easing/App.svelte +0 -106
  962. package/test/fixtures/svelte/11-easing/00-easing/Controls.svelte +0 -186
  963. package/test/fixtures/svelte/11-easing/00-easing/Grid.svelte +0 -62
  964. package/test/fixtures/svelte/12-svg/01-clock/App.svelte +0 -104
  965. package/test/fixtures/svelte/12-svg/02-bar-chart/App.svelte +0 -118
  966. package/test/fixtures/svelte/12-svg/03-area-chart/App.svelte +0 -111
  967. package/test/fixtures/svelte/12-svg/04-scatterplot/App.svelte +0 -24
  968. package/test/fixtures/svelte/12-svg/04-scatterplot/Scatterplot.svelte +0 -91
  969. package/test/fixtures/svelte/12-svg/05-svg-transitions/App.svelte +0 -74
  970. package/test/fixtures/svelte/13-actions/00-actions/App.svelte +0 -54
  971. package/test/fixtures/svelte/13-actions/01-adding-parameters-to-actions/App.svelte +0 -70
  972. package/test/fixtures/svelte/14-classes/00-classes/App.svelte +0 -29
  973. package/test/fixtures/svelte/14-classes/01-class-shorthand/App.svelte +0 -18
  974. package/test/fixtures/svelte/15-composition/00-slots/App.svelte +0 -8
  975. package/test/fixtures/svelte/15-composition/00-slots/Box.svelte +0 -14
  976. package/test/fixtures/svelte/15-composition/01-slot-fallbacks/App.svelte +0 -10
  977. package/test/fixtures/svelte/15-composition/01-slot-fallbacks/Box.svelte +0 -16
  978. package/test/fixtures/svelte/15-composition/02-named-slots/App.svelte +0 -14
  979. package/test/fixtures/svelte/15-composition/02-named-slots/ContactCard.svelte +0 -47
  980. package/test/fixtures/svelte/15-composition/03-slot-props/App.svelte +0 -46
  981. package/test/fixtures/svelte/15-composition/03-slot-props/Hoverable.svelte +0 -15
  982. package/test/fixtures/svelte/15-composition/04-modal/App.svelte +0 -35
  983. package/test/fixtures/svelte/15-composition/04-modal/Modal.svelte +0 -45
  984. package/test/fixtures/svelte/16-context/00-context-api/App.svelte +0 -13
  985. package/test/fixtures/svelte/16-context/00-context-api/Map.svelte +0 -50
  986. package/test/fixtures/svelte/16-context/00-context-api/MapMarker.svelte +0 -18
  987. package/test/fixtures/svelte/17-special-elements/00-svelte-self/App.svelte +0 -39
  988. package/test/fixtures/svelte/17-special-elements/00-svelte-self/File.svelte +0 -14
  989. package/test/fixtures/svelte/17-special-elements/00-svelte-self/Folder.svelte +0 -52
  990. package/test/fixtures/svelte/17-special-elements/01-svelte-component/App.svelte +0 -21
  991. package/test/fixtures/svelte/17-special-elements/01-svelte-component/BlueThing.svelte +0 -5
  992. package/test/fixtures/svelte/17-special-elements/01-svelte-component/GreenThing.svelte +0 -5
  993. package/test/fixtures/svelte/17-special-elements/01-svelte-component/RedThing.svelte +0 -5
  994. package/test/fixtures/svelte/17-special-elements/02-svelte-window/App.svelte +0 -42
  995. package/test/fixtures/svelte/17-special-elements/03-svelte-window-bindings/App.svelte +0 -88
  996. package/test/fixtures/svelte/17-special-elements/04-svelte-body/App.svelte +0 -34
  997. package/test/fixtures/svelte/17-special-elements/05-svelte-head/App.svelte +0 -5
  998. package/test/fixtures/svelte/18-module-context/01-module-exports/App.svelte +0 -47
  999. package/test/fixtures/svelte/18-module-context/01-module-exports/AudioPlayer.svelte +0 -52
  1000. package/test/fixtures/svelte/19-debugging/00-debug/App.svelte +0 -18
  1001. package/test/fixtures/svelte/19-debugging/00-debug/Test.svelte +0 -250
  1002. package/test/fixtures/svelte/20-7guis/01-7guis-counter/App.svelte +0 -7
  1003. package/test/fixtures/svelte/20-7guis/02-7guis-temperature/App.svelte +0 -24
  1004. package/test/fixtures/svelte/20-7guis/03-7guis-flight-booker/App.svelte +0 -59
  1005. package/test/fixtures/svelte/20-7guis/04-7guis-timer/App.svelte +0 -38
  1006. package/test/fixtures/svelte/20-7guis/05-7guis-crud/App.svelte +0 -97
  1007. package/test/fixtures/svelte/20-7guis/06-7guis-circles/App.svelte +0 -125
  1008. package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/App.svelte +0 -59
  1009. package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Comment.svelte +0 -32
  1010. package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Item.svelte +0 -39
  1011. package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/List.svelte +0 -46
  1012. package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Summary.svelte +0 -38
  1013. package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/App.svelte +0 -38
  1014. package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/ImmutableTodo.svelte +0 -28
  1015. package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/MutableTodo.svelte +0 -26
  1016. package/test/fixtures/svelte/22-bugs/CSS/App.svelte +0 -45
  1017. package/test/fixtures/svelte/99-embeds/20181225-blog-svelte-css-in-js/App.svelte +0 -10
  1018. package/test/fixtures/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.svelte +0 -15
  1019. package/test/fixtures/svelte/99-embeds/20190420-blog-write-less-code/App.svelte +0 -9
  1020. package/test/frontmatter.spec.ts +0 -133
  1021. package/test/html.spec.ts +0 -786
  1022. package/test/images.spec.ts +0 -106
  1023. package/test/imports.spec.ts +0 -166
  1024. package/test/incremental.spec.ts +0 -479
  1025. package/test/line_breaks.spec.ts +0 -166
  1026. package/test/link_reference_definitions.spec.ts +0 -422
  1027. package/test/links.spec.ts +0 -234
  1028. package/test/lists.spec.ts +0 -588
  1029. package/test/opcodes.spec.ts +0 -325
  1030. package/test/paragraphs.spec.ts +0 -211
  1031. package/test/plugins.spec.ts +0 -909
  1032. package/test/print.ts +0 -109
  1033. package/test/snapshots/hybrid/code-escaping.snap.ast +0 -13
  1034. package/test/snapshots/hybrid/code-highlight-nesting.snap.ast +0 -2
  1035. package/test/snapshots/hybrid/component-children.snap.ast +0 -44
  1036. package/test/snapshots/hybrid/component-simple-00.snap.ast +0 -19
  1037. package/test/snapshots/hybrid/component-simple-01.snap.ast +0 -16
  1038. package/test/snapshots/hybrid/component-simple-02.snap.ast +0 -3
  1039. package/test/snapshots/hybrid/component-simple-03.snap.ast +0 -16
  1040. package/test/snapshots/hybrid/component-simple-04.snap.ast +0 -24
  1041. package/test/snapshots/hybrid/dollar-one-in-frontmatter.snap.ast +0 -3
  1042. package/test/snapshots/hybrid/error.snap.ast +0 -25
  1043. package/test/snapshots/hybrid/link-curlies.snap.ast +0 -56
  1044. package/test/snapshots/hybrid/tags-in-frontmatter.snap.ast +0 -2
  1045. package/test/snapshots/markdown/anchors-by-reference.snap.ast +0 -28
  1046. package/test/snapshots/markdown/anchors-followed-by-brakets.snap.ast +0 -28
  1047. package/test/snapshots/markdown/automatic-anchors.snap.ast +0 -6
  1048. package/test/snapshots/markdown/blockquote-followed-by-code.snap.ast +0 -19
  1049. package/test/snapshots/markdown/blockquote-inside-code.snap.ast +0 -8
  1050. package/test/snapshots/markdown/blockquote-nested-markdown.snap.ast +0 -15
  1051. package/test/snapshots/markdown/blockquote.snap.ast +0 -9
  1052. package/test/snapshots/markdown/code-block-html-escape.snap.ast +0 -7
  1053. package/test/snapshots/markdown/code-block-with-special-chars.snap.ast +0 -2
  1054. package/test/snapshots/markdown/code-block.snap.ast +0 -7
  1055. package/test/snapshots/markdown/double-emphasis.snap.ast +0 -32
  1056. package/test/snapshots/markdown/doubline-list.snap.ast +0 -10
  1057. package/test/snapshots/markdown/ellipsis.snap.ast +0 -41
  1058. package/test/snapshots/markdown/emphasis-inside-inline-code.snap.ast +0 -5
  1059. package/test/snapshots/markdown/emphasis.snap.ast +0 -296
  1060. package/test/snapshots/markdown/encodeHTMLCodeTags.snap.ast +0 -19
  1061. package/test/snapshots/markdown/escaped-html-taglikes.snap.ast +0 -21
  1062. package/test/snapshots/markdown/escaped-number-period.snap.ast +0 -5
  1063. package/test/snapshots/markdown/escaping.snap.ast +0 -65
  1064. package/test/snapshots/markdown/github-style-at-start.snap.ast +0 -7
  1065. package/test/snapshots/markdown/github-style-codeblock-inside-quote.snap.ast +0 -6
  1066. package/test/snapshots/markdown/github-style-codeblock.snap.ast +0 -38
  1067. package/test/snapshots/markdown/github-style-linebreaks.snap.ast +0 -2
  1068. package/test/snapshots/markdown/h1-with-double-hash.snap.ast +0 -4
  1069. package/test/snapshots/markdown/h1-with-equals.snap.ast +0 -6
  1070. package/test/snapshots/markdown/h1-with-single-hash.snap.ast +0 -4
  1071. package/test/snapshots/markdown/h2-with-dashes.snap.ast +0 -5
  1072. package/test/snapshots/markdown/h2-with-double-hash.snap.ast +0 -4
  1073. package/test/snapshots/markdown/h2-with-single-hash.snap.ast +0 -4
  1074. package/test/snapshots/markdown/h3-with-double-hash.snap.ast +0 -4
  1075. package/test/snapshots/markdown/h3-with-single-hash.snap.ast +0 -4
  1076. package/test/snapshots/markdown/h4-with-single-hash.snap.ast +0 -4
  1077. package/test/snapshots/markdown/h5-with-single-hash.snap.ast +0 -4
  1078. package/test/snapshots/markdown/h6-with-single-hash.snap.ast +0 -4
  1079. package/test/snapshots/markdown/horizontal-rules.snap.ast +0 -11
  1080. package/test/snapshots/markdown/html-comments.snap.ast +0 -21
  1081. package/test/snapshots/markdown/html-inside-listed-code.snap.ast +0 -6
  1082. package/test/snapshots/markdown/html5-strutural-tags.snap.ast +0 -147
  1083. package/test/snapshots/markdown/images-followed-by-brackets.snap.ast +0 -12
  1084. package/test/snapshots/markdown/images.snap.ast +0 -35
  1085. package/test/snapshots/markdown/implicit-anchors.snap.ast +0 -22
  1086. package/test/snapshots/markdown/inline-anchors.snap.ast +0 -13
  1087. package/test/snapshots/markdown/inline-code.snap.ast +0 -41
  1088. package/test/snapshots/markdown/inline-escaped-chars.snap.ast +0 -10
  1089. package/test/snapshots/markdown/inline-style-tag.snap.ast +0 -7
  1090. package/test/snapshots/markdown/lazy-blockquote.snap.ast +0 -10
  1091. package/test/snapshots/markdown/line-starts-with-html.snap.ast +0 -12
  1092. package/test/snapshots/markdown/list-followed-by-blockquote.snap.ast +0 -23
  1093. package/test/snapshots/markdown/list-followed-by-ghcode.snap.ast +0 -20
  1094. package/test/snapshots/markdown/list-with-blockquote.snap.ast +0 -11
  1095. package/test/snapshots/markdown/literal-html-tags.snap.ast +0 -47
  1096. package/test/snapshots/markdown/multi-paragraph-list.snap.ast +0 -14
  1097. package/test/snapshots/markdown/multiline-unordered-list.snap.ast +0 -9
  1098. package/test/snapshots/markdown/nested-blockquote.snap.ast +0 -13
  1099. package/test/snapshots/markdown/nested-gh-codeblocks.snap.ast +0 -6
  1100. package/test/snapshots/markdown/obfuscated-emails.snap.ast +0 -1
  1101. package/test/snapshots/markdown/ordered-list-same-number.snap.ast +0 -9
  1102. package/test/snapshots/markdown/ordered-list-starting-number.snap.ast +0 -22
  1103. package/test/snapshots/markdown/ordered-list-wrong-numbers.snap.ast +0 -9
  1104. package/test/snapshots/markdown/ordered-list.snap.ast +0 -9
  1105. package/test/snapshots/markdown/paragraphed-list-with-sublists.snap.ast +0 -26
  1106. package/test/snapshots/markdown/pre-code-tags-inside-code-block.snap.ast +0 -6
  1107. package/test/snapshots/markdown/pre-code-tags.snap.ast +0 -35
  1108. package/test/snapshots/markdown/relative-anchors.snap.ast +0 -7
  1109. package/test/snapshots/markdown/repeated-headers.snap.ast +0 -12
  1110. package/test/snapshots/markdown/simple-paragraph.snap.ast +0 -5
  1111. package/test/snapshots/markdown/strip-references.snap.ast +0 -9
  1112. package/test/snapshots/markdown/strong.snap.ast +0 -17
  1113. package/test/snapshots/markdown/unordered-list-asterisk.snap.ast +0 -9
  1114. package/test/snapshots/markdown/unordered-list-minus.snap.ast +0 -9
  1115. package/test/snapshots/markdown/unordered-list-plus.snap.ast +0 -9
  1116. package/test/snapshots/markdown/url-with-parenthesis.snap.ast +0 -7
  1117. package/test/snapshots/pfm/atx_headings/62.snap.ast +0 -19
  1118. package/test/snapshots/pfm/atx_headings/63.snap.ast +0 -4
  1119. package/test/snapshots/pfm/atx_headings/64.snap.ast +0 -8
  1120. package/test/snapshots/pfm/atx_headings/65.snap.ast +0 -4
  1121. package/test/snapshots/pfm/atx_headings/66.snap.ast +0 -9
  1122. package/test/snapshots/pfm/atx_headings/67.snap.ast +0 -4
  1123. package/test/snapshots/pfm/atx_headings/68.snap.ast +0 -10
  1124. package/test/snapshots/pfm/atx_headings/69.snap.ast +0 -4
  1125. package/test/snapshots/pfm/atx_headings/70.snap.ast +0 -7
  1126. package/test/snapshots/pfm/atx_headings/71.snap.ast +0 -7
  1127. package/test/snapshots/pfm/atx_headings/72.snap.ast +0 -7
  1128. package/test/snapshots/pfm/atx_headings/73.snap.ast +0 -4
  1129. package/test/snapshots/pfm/atx_headings/74.snap.ast +0 -4
  1130. package/test/snapshots/pfm/atx_headings/75.snap.ast +0 -4
  1131. package/test/snapshots/pfm/atx_headings/76.snap.ast +0 -13
  1132. package/test/snapshots/pfm/atx_headings/77.snap.ast +0 -6
  1133. package/test/snapshots/pfm/atx_headings/78.snap.ast +0 -10
  1134. package/test/snapshots/pfm/atx_headings/79.snap.ast +0 -8
  1135. package/test/snapshots/pfm/autolinks/594.snap.ast +0 -5
  1136. package/test/snapshots/pfm/autolinks/595.snap.ast +0 -5
  1137. package/test/snapshots/pfm/autolinks/596.snap.ast +0 -5
  1138. package/test/snapshots/pfm/autolinks/597.snap.ast +0 -5
  1139. package/test/snapshots/pfm/autolinks/598.snap.ast +0 -5
  1140. package/test/snapshots/pfm/autolinks/599.snap.ast +0 -5
  1141. package/test/snapshots/pfm/autolinks/600.snap.ast +0 -5
  1142. package/test/snapshots/pfm/autolinks/601.snap.ast +0 -5
  1143. package/test/snapshots/pfm/autolinks/602.snap.ast +0 -4
  1144. package/test/snapshots/pfm/autolinks/603.snap.ast +0 -5
  1145. package/test/snapshots/pfm/autolinks/604.snap.ast +0 -4
  1146. package/test/snapshots/pfm/autolinks/605.snap.ast +0 -4
  1147. package/test/snapshots/pfm/autolinks/606.snap.ast +0 -4
  1148. package/test/snapshots/pfm/autolinks/607.snap.ast +0 -4
  1149. package/test/snapshots/pfm/autolinks/608.snap.ast +0 -4
  1150. package/test/snapshots/pfm/autolinks/609.snap.ast +0 -4
  1151. package/test/snapshots/pfm/autolinks/610.snap.ast +0 -4
  1152. package/test/snapshots/pfm/autolinks/611.snap.ast +0 -4
  1153. package/test/snapshots/pfm/autolinks/612.snap.ast +0 -4
  1154. package/test/snapshots/pfm/backslash_escapes/12.snap.ast +0 -35
  1155. package/test/snapshots/pfm/backslash_escapes/13.snap.ast +0 -4
  1156. package/test/snapshots/pfm/backslash_escapes/14.snap.ast +0 -25
  1157. package/test/snapshots/pfm/backslash_escapes/15.snap.ast +0 -6
  1158. package/test/snapshots/pfm/backslash_escapes/16.snap.ast +0 -6
  1159. package/test/snapshots/pfm/backslash_escapes/17.snap.ast +0 -4
  1160. package/test/snapshots/pfm/backslash_escapes/18.snap.ast +0 -5
  1161. package/test/snapshots/pfm/backslash_escapes/19.snap.ast +0 -10
  1162. package/test/snapshots/pfm/backslash_escapes/20.snap.ast +0 -5
  1163. package/test/snapshots/pfm/backslash_escapes/21.snap.ast +0 -4
  1164. package/test/snapshots/pfm/backslash_escapes/22.snap.ast +0 -5
  1165. package/test/snapshots/pfm/backslash_escapes/23.snap.ast +0 -6
  1166. package/test/snapshots/pfm/backslash_escapes/24.snap.ast +0 -2
  1167. package/test/snapshots/pfm/blank_lines/227.snap.ast +0 -13
  1168. package/test/snapshots/pfm/block_quotes/228.snap.ast +0 -9
  1169. package/test/snapshots/pfm/block_quotes/229.snap.ast +0 -9
  1170. package/test/snapshots/pfm/block_quotes/230.snap.ast +0 -9
  1171. package/test/snapshots/pfm/block_quotes/231.snap.ast +0 -9
  1172. package/test/snapshots/pfm/block_quotes/232.snap.ast +0 -10
  1173. package/test/snapshots/pfm/block_quotes/233.snap.ast +0 -12
  1174. package/test/snapshots/pfm/block_quotes/234.snap.ast +0 -6
  1175. package/test/snapshots/pfm/block_quotes/235.snap.ast +0 -10
  1176. package/test/snapshots/pfm/block_quotes/236.snap.ast +0 -8
  1177. package/test/snapshots/pfm/block_quotes/237.snap.ast +0 -10
  1178. package/test/snapshots/pfm/block_quotes/238.snap.ast +0 -9
  1179. package/test/snapshots/pfm/block_quotes/239.snap.ast +0 -3
  1180. package/test/snapshots/pfm/block_quotes/240.snap.ast +0 -5
  1181. package/test/snapshots/pfm/block_quotes/241.snap.ast +0 -6
  1182. package/test/snapshots/pfm/block_quotes/242.snap.ast +0 -10
  1183. package/test/snapshots/pfm/block_quotes/243.snap.ast +0 -7
  1184. package/test/snapshots/pfm/block_quotes/244.snap.ast +0 -8
  1185. package/test/snapshots/pfm/block_quotes/245.snap.ast +0 -8
  1186. package/test/snapshots/pfm/block_quotes/246.snap.ast +0 -10
  1187. package/test/snapshots/pfm/block_quotes/247.snap.ast +0 -8
  1188. package/test/snapshots/pfm/block_quotes/248.snap.ast +0 -9
  1189. package/test/snapshots/pfm/block_quotes/249.snap.ast +0 -9
  1190. package/test/snapshots/pfm/block_quotes/250.snap.ast +0 -10
  1191. package/test/snapshots/pfm/block_quotes/251.snap.ast +0 -12
  1192. package/test/snapshots/pfm/block_quotes/252.snap.ast +0 -10
  1193. package/test/snapshots/pfm/code_spans/328.snap.ast +0 -3
  1194. package/test/snapshots/pfm/code_spans/329.snap.ast +0 -4
  1195. package/test/snapshots/pfm/code_spans/330.snap.ast +0 -4
  1196. package/test/snapshots/pfm/code_spans/331.snap.ast +0 -4
  1197. package/test/snapshots/pfm/code_spans/332.snap.ast +0 -4
  1198. package/test/snapshots/pfm/code_spans/333.snap.ast +0 -4
  1199. package/test/snapshots/pfm/code_spans/334.snap.ast +0 -6
  1200. package/test/snapshots/pfm/code_spans/335.snap.ast +0 -4
  1201. package/test/snapshots/pfm/code_spans/336.snap.ast +0 -4
  1202. package/test/snapshots/pfm/code_spans/337.snap.ast +0 -4
  1203. package/test/snapshots/pfm/code_spans/338.snap.ast +0 -6
  1204. package/test/snapshots/pfm/code_spans/339.snap.ast +0 -4
  1205. package/test/snapshots/pfm/code_spans/340.snap.ast +0 -4
  1206. package/test/snapshots/pfm/code_spans/341.snap.ast +0 -6
  1207. package/test/snapshots/pfm/code_spans/342.snap.ast +0 -7
  1208. package/test/snapshots/pfm/code_spans/343.snap.ast +0 -6
  1209. package/test/snapshots/pfm/code_spans/344.snap.ast +0 -5
  1210. package/test/snapshots/pfm/code_spans/345.snap.ast +0 -6
  1211. package/test/snapshots/pfm/code_spans/346.snap.ast +0 -6
  1212. package/test/snapshots/pfm/code_spans/347.snap.ast +0 -3
  1213. package/test/snapshots/pfm/code_spans/348.snap.ast +0 -5
  1214. package/test/snapshots/pfm/code_spans/349.snap.ast +0 -6
  1215. package/test/snapshots/pfm/code_spans/pfm_328_1.snap.ast +0 -4
  1216. package/test/snapshots/pfm/code_spans/pfm_328_2.snap.ast +0 -4
  1217. package/test/snapshots/pfm/code_spans/pfm_328_3.snap.ast +0 -4
  1218. package/test/snapshots/pfm/code_spans/pfm_328_4.snap.ast +0 -4
  1219. package/test/snapshots/pfm/emphasis_and_strong_emphasis/350.snap.ast +0 -5
  1220. package/test/snapshots/pfm/emphasis_and_strong_emphasis/351.snap.ast +0 -6
  1221. package/test/snapshots/pfm/emphasis_and_strong_emphasis/352.snap.ast +0 -6
  1222. package/test/snapshots/pfm/emphasis_and_strong_emphasis/353.snap.ast +0 -5
  1223. package/test/snapshots/pfm/emphasis_and_strong_emphasis/354.snap.ast +0 -18
  1224. package/test/snapshots/pfm/emphasis_and_strong_emphasis/355.snap.ast +0 -6
  1225. package/test/snapshots/pfm/emphasis_and_strong_emphasis/356.snap.ast +0 -6
  1226. package/test/snapshots/pfm/emphasis_and_strong_emphasis/357.snap.ast +0 -5
  1227. package/test/snapshots/pfm/emphasis_and_strong_emphasis/358.snap.ast +0 -5
  1228. package/test/snapshots/pfm/emphasis_and_strong_emphasis/359.snap.ast +0 -6
  1229. package/test/snapshots/pfm/emphasis_and_strong_emphasis/360.snap.ast +0 -6
  1230. package/test/snapshots/pfm/emphasis_and_strong_emphasis/361.snap.ast +0 -6
  1231. package/test/snapshots/pfm/emphasis_and_strong_emphasis/362.snap.ast +0 -6
  1232. package/test/snapshots/pfm/emphasis_and_strong_emphasis/363.snap.ast +0 -6
  1233. package/test/snapshots/pfm/emphasis_and_strong_emphasis/364.snap.ast +0 -6
  1234. package/test/snapshots/pfm/emphasis_and_strong_emphasis/365.snap.ast +0 -6
  1235. package/test/snapshots/pfm/emphasis_and_strong_emphasis/366.snap.ast +0 -6
  1236. package/test/snapshots/pfm/emphasis_and_strong_emphasis/367.snap.ast +0 -7
  1237. package/test/snapshots/pfm/emphasis_and_strong_emphasis/368.snap.ast +0 -6
  1238. package/test/snapshots/pfm/emphasis_and_strong_emphasis/369.snap.ast +0 -8
  1239. package/test/snapshots/pfm/emphasis_and_strong_emphasis/370.snap.ast +0 -6
  1240. package/test/snapshots/pfm/emphasis_and_strong_emphasis/371.snap.ast +0 -6
  1241. package/test/snapshots/pfm/emphasis_and_strong_emphasis/372.snap.ast +0 -6
  1242. package/test/snapshots/pfm/emphasis_and_strong_emphasis/373.snap.ast +0 -8
  1243. package/test/snapshots/pfm/emphasis_and_strong_emphasis/374.snap.ast +0 -6
  1244. package/test/snapshots/pfm/emphasis_and_strong_emphasis/375.snap.ast +0 -6
  1245. package/test/snapshots/pfm/emphasis_and_strong_emphasis/376.snap.ast +0 -7
  1246. package/test/snapshots/pfm/emphasis_and_strong_emphasis/377.snap.ast +0 -6
  1247. package/test/snapshots/pfm/emphasis_and_strong_emphasis/378.snap.ast +0 -5
  1248. package/test/snapshots/pfm/emphasis_and_strong_emphasis/379.snap.ast +0 -6
  1249. package/test/snapshots/pfm/emphasis_and_strong_emphasis/380.snap.ast +0 -6
  1250. package/test/snapshots/pfm/emphasis_and_strong_emphasis/381.snap.ast +0 -6
  1251. package/test/snapshots/pfm/emphasis_and_strong_emphasis/382.snap.ast +0 -5
  1252. package/test/snapshots/pfm/emphasis_and_strong_emphasis/383.snap.ast +0 -5
  1253. package/test/snapshots/pfm/emphasis_and_strong_emphasis/384.snap.ast +0 -7
  1254. package/test/snapshots/pfm/emphasis_and_strong_emphasis/385.snap.ast +0 -6
  1255. package/test/snapshots/pfm/emphasis_and_strong_emphasis/386.snap.ast +0 -6
  1256. package/test/snapshots/pfm/emphasis_and_strong_emphasis/387.snap.ast +0 -6
  1257. package/test/snapshots/pfm/emphasis_and_strong_emphasis/388.snap.ast +0 -6
  1258. package/test/snapshots/pfm/emphasis_and_strong_emphasis/389.snap.ast +0 -8
  1259. package/test/snapshots/pfm/emphasis_and_strong_emphasis/390.snap.ast +0 -6
  1260. package/test/snapshots/pfm/emphasis_and_strong_emphasis/391.snap.ast +0 -6
  1261. package/test/snapshots/pfm/emphasis_and_strong_emphasis/392.snap.ast +0 -6
  1262. package/test/snapshots/pfm/emphasis_and_strong_emphasis/393.snap.ast +0 -8
  1263. package/test/snapshots/pfm/emphasis_and_strong_emphasis/394.snap.ast +0 -12
  1264. package/test/snapshots/pfm/emphasis_and_strong_emphasis/395.snap.ast +0 -8
  1265. package/test/snapshots/pfm/emphasis_and_strong_emphasis/396.snap.ast +0 -6
  1266. package/test/snapshots/pfm/emphasis_and_strong_emphasis/397.snap.ast +0 -6
  1267. package/test/snapshots/pfm/emphasis_and_strong_emphasis/398.snap.ast +0 -6
  1268. package/test/snapshots/pfm/emphasis_and_strong_emphasis/399.snap.ast +0 -8
  1269. package/test/snapshots/pfm/emphasis_and_strong_emphasis/400.snap.ast +0 -6
  1270. package/test/snapshots/pfm/emphasis_and_strong_emphasis/401.snap.ast +0 -6
  1271. package/test/snapshots/pfm/emphasis_and_strong_emphasis/402.snap.ast +0 -7
  1272. package/test/snapshots/pfm/emphasis_and_strong_emphasis/403.snap.ast +0 -6
  1273. package/test/snapshots/pfm/emphasis_and_strong_emphasis/404.snap.ast +0 -7
  1274. package/test/snapshots/pfm/emphasis_and_strong_emphasis/405.snap.ast +0 -7
  1275. package/test/snapshots/pfm/emphasis_and_strong_emphasis/406.snap.ast +0 -8
  1276. package/test/snapshots/pfm/emphasis_and_strong_emphasis/407.snap.ast +0 -8
  1277. package/test/snapshots/pfm/emphasis_and_strong_emphasis/408.snap.ast +0 -7
  1278. package/test/snapshots/pfm/emphasis_and_strong_emphasis/409.snap.ast +0 -8
  1279. package/test/snapshots/pfm/emphasis_and_strong_emphasis/410.snap.ast +0 -8
  1280. package/test/snapshots/pfm/emphasis_and_strong_emphasis/411.snap.ast +0 -7
  1281. package/test/snapshots/pfm/emphasis_and_strong_emphasis/412.snap.ast +0 -6
  1282. package/test/snapshots/pfm/emphasis_and_strong_emphasis/413.snap.ast +0 -7
  1283. package/test/snapshots/pfm/emphasis_and_strong_emphasis/414.snap.ast +0 -7
  1284. package/test/snapshots/pfm/emphasis_and_strong_emphasis/415.snap.ast +0 -7
  1285. package/test/snapshots/pfm/emphasis_and_strong_emphasis/416.snap.ast +0 -8
  1286. package/test/snapshots/pfm/emphasis_and_strong_emphasis/417.snap.ast +0 -15
  1287. package/test/snapshots/pfm/emphasis_and_strong_emphasis/418.snap.ast +0 -11
  1288. package/test/snapshots/pfm/emphasis_and_strong_emphasis/419.snap.ast +0 -8
  1289. package/test/snapshots/pfm/emphasis_and_strong_emphasis/420.snap.ast +0 -5
  1290. package/test/snapshots/pfm/emphasis_and_strong_emphasis/421.snap.ast +0 -5
  1291. package/test/snapshots/pfm/emphasis_and_strong_emphasis/422.snap.ast +0 -7
  1292. package/test/snapshots/pfm/emphasis_and_strong_emphasis/423.snap.ast +0 -7
  1293. package/test/snapshots/pfm/emphasis_and_strong_emphasis/424.snap.ast +0 -8
  1294. package/test/snapshots/pfm/emphasis_and_strong_emphasis/425.snap.ast +0 -8
  1295. package/test/snapshots/pfm/emphasis_and_strong_emphasis/426.snap.ast +0 -7
  1296. package/test/snapshots/pfm/emphasis_and_strong_emphasis/427.snap.ast +0 -7
  1297. package/test/snapshots/pfm/emphasis_and_strong_emphasis/428.snap.ast +0 -8
  1298. package/test/snapshots/pfm/emphasis_and_strong_emphasis/429.snap.ast +0 -7
  1299. package/test/snapshots/pfm/emphasis_and_strong_emphasis/430.snap.ast +0 -7
  1300. package/test/snapshots/pfm/emphasis_and_strong_emphasis/431.snap.ast +0 -7
  1301. package/test/snapshots/pfm/emphasis_and_strong_emphasis/432.snap.ast +0 -12
  1302. package/test/snapshots/pfm/emphasis_and_strong_emphasis/433.snap.ast +0 -8
  1303. package/test/snapshots/pfm/emphasis_and_strong_emphasis/434.snap.ast +0 -4
  1304. package/test/snapshots/pfm/emphasis_and_strong_emphasis/435.snap.ast +0 -5
  1305. package/test/snapshots/pfm/emphasis_and_strong_emphasis/436.snap.ast +0 -7
  1306. package/test/snapshots/pfm/emphasis_and_strong_emphasis/437.snap.ast +0 -6
  1307. package/test/snapshots/pfm/emphasis_and_strong_emphasis/438.snap.ast +0 -6
  1308. package/test/snapshots/pfm/emphasis_and_strong_emphasis/439.snap.ast +0 -9
  1309. package/test/snapshots/pfm/emphasis_and_strong_emphasis/440.snap.ast +0 -6
  1310. package/test/snapshots/pfm/emphasis_and_strong_emphasis/441.snap.ast +0 -6
  1311. package/test/snapshots/pfm/emphasis_and_strong_emphasis/442.snap.ast +0 -6
  1312. package/test/snapshots/pfm/emphasis_and_strong_emphasis/443.snap.ast +0 -6
  1313. package/test/snapshots/pfm/emphasis_and_strong_emphasis/444.snap.ast +0 -6
  1314. package/test/snapshots/pfm/emphasis_and_strong_emphasis/445.snap.ast +0 -8
  1315. package/test/snapshots/pfm/emphasis_and_strong_emphasis/446.snap.ast +0 -6
  1316. package/test/snapshots/pfm/emphasis_and_strong_emphasis/447.snap.ast +0 -8
  1317. package/test/snapshots/pfm/emphasis_and_strong_emphasis/448.snap.ast +0 -7
  1318. package/test/snapshots/pfm/emphasis_and_strong_emphasis/449.snap.ast +0 -6
  1319. package/test/snapshots/pfm/emphasis_and_strong_emphasis/450.snap.ast +0 -6
  1320. package/test/snapshots/pfm/emphasis_and_strong_emphasis/451.snap.ast +0 -9
  1321. package/test/snapshots/pfm/emphasis_and_strong_emphasis/452.snap.ast +0 -6
  1322. package/test/snapshots/pfm/emphasis_and_strong_emphasis/453.snap.ast +0 -6
  1323. package/test/snapshots/pfm/emphasis_and_strong_emphasis/454.snap.ast +0 -6
  1324. package/test/snapshots/pfm/emphasis_and_strong_emphasis/455.snap.ast +0 -6
  1325. package/test/snapshots/pfm/emphasis_and_strong_emphasis/456.snap.ast +0 -6
  1326. package/test/snapshots/pfm/emphasis_and_strong_emphasis/457.snap.ast +0 -6
  1327. package/test/snapshots/pfm/emphasis_and_strong_emphasis/458.snap.ast +0 -6
  1328. package/test/snapshots/pfm/emphasis_and_strong_emphasis/459.snap.ast +0 -6
  1329. package/test/snapshots/pfm/emphasis_and_strong_emphasis/460.snap.ast +0 -5
  1330. package/test/snapshots/pfm/emphasis_and_strong_emphasis/461.snap.ast +0 -6
  1331. package/test/snapshots/pfm/emphasis_and_strong_emphasis/462.snap.ast +0 -5
  1332. package/test/snapshots/pfm/emphasis_and_strong_emphasis/463.snap.ast +0 -6
  1333. package/test/snapshots/pfm/emphasis_and_strong_emphasis/464.snap.ast +0 -6
  1334. package/test/snapshots/pfm/emphasis_and_strong_emphasis/465.snap.ast +0 -6
  1335. package/test/snapshots/pfm/emphasis_and_strong_emphasis/466.snap.ast +0 -8
  1336. package/test/snapshots/pfm/emphasis_and_strong_emphasis/467.snap.ast +0 -6
  1337. package/test/snapshots/pfm/emphasis_and_strong_emphasis/468.snap.ast +0 -12
  1338. package/test/snapshots/pfm/emphasis_and_strong_emphasis/469.snap.ast +0 -8
  1339. package/test/snapshots/pfm/emphasis_and_strong_emphasis/470.snap.ast +0 -10
  1340. package/test/snapshots/pfm/emphasis_and_strong_emphasis/471.snap.ast +0 -7
  1341. package/test/snapshots/pfm/emphasis_and_strong_emphasis/472.snap.ast +0 -7
  1342. package/test/snapshots/pfm/emphasis_and_strong_emphasis/473.snap.ast +0 -7
  1343. package/test/snapshots/pfm/emphasis_and_strong_emphasis/474.snap.ast +0 -8
  1344. package/test/snapshots/pfm/emphasis_and_strong_emphasis/475.snap.ast +0 -5
  1345. package/test/snapshots/pfm/emphasis_and_strong_emphasis/476.snap.ast +0 -5
  1346. package/test/snapshots/pfm/emphasis_and_strong_emphasis/477.snap.ast +0 -5
  1347. package/test/snapshots/pfm/emphasis_and_strong_emphasis/478.snap.ast +0 -7
  1348. package/test/snapshots/pfm/emphasis_and_strong_emphasis/479.snap.ast +0 -7
  1349. package/test/snapshots/pfm/emphasis_and_strong_emphasis/480.snap.ast +0 -7
  1350. package/test/snapshots/pfm/emphasis_and_strong_emphasis/481.snap.ast +0 -7
  1351. package/test/snapshots/pfm/fenced_code_blocks/119.snap.ast +0 -2
  1352. package/test/snapshots/pfm/fenced_code_blocks/121.snap.ast +0 -4
  1353. package/test/snapshots/pfm/fenced_code_blocks/122.snap.ast +0 -2
  1354. package/test/snapshots/pfm/fenced_code_blocks/124.snap.ast +0 -2
  1355. package/test/snapshots/pfm/fenced_code_blocks/126.snap.ast +0 -3
  1356. package/test/snapshots/pfm/fenced_code_blocks/127.snap.ast +0 -2
  1357. package/test/snapshots/pfm/fenced_code_blocks/128.snap.ast +0 -11
  1358. package/test/snapshots/pfm/fenced_code_blocks/130.snap.ast +0 -2
  1359. package/test/snapshots/pfm/fenced_code_blocks/131.snap.ast +0 -2
  1360. package/test/snapshots/pfm/fenced_code_blocks/132.snap.ast +0 -2
  1361. package/test/snapshots/pfm/fenced_code_blocks/133.snap.ast +0 -2
  1362. package/test/snapshots/pfm/fenced_code_blocks/134.snap.ast +0 -2
  1363. package/test/snapshots/pfm/fenced_code_blocks/135.snap.ast +0 -2
  1364. package/test/snapshots/pfm/fenced_code_blocks/136.snap.ast +0 -2
  1365. package/test/snapshots/pfm/fenced_code_blocks/137.snap.ast +0 -2
  1366. package/test/snapshots/pfm/fenced_code_blocks/138.snap.ast +0 -2
  1367. package/test/snapshots/pfm/fenced_code_blocks/140.snap.ast +0 -8
  1368. package/test/snapshots/pfm/fenced_code_blocks/142.snap.ast +0 -2
  1369. package/test/snapshots/pfm/fenced_code_blocks/144.snap.ast +0 -3
  1370. package/test/snapshots/pfm/fenced_code_blocks/145.snap.ast +0 -2
  1371. package/test/snapshots/pfm/fenced_code_blocks/pfm_119_2.snap.ast +0 -6
  1372. package/test/snapshots/pfm/fenced_code_blocks/pfm_119_3.snap.ast +0 -2
  1373. package/test/snapshots/pfm/frontmatter/1.snap.ast +0 -6
  1374. package/test/snapshots/pfm/frontmatter/10.snap.ast +0 -4
  1375. package/test/snapshots/pfm/frontmatter/2.snap.ast +0 -2
  1376. package/test/snapshots/pfm/frontmatter/3.snap.ast +0 -2
  1377. package/test/snapshots/pfm/frontmatter/4.snap.ast +0 -2
  1378. package/test/snapshots/pfm/frontmatter/5.snap.ast +0 -7
  1379. package/test/snapshots/pfm/frontmatter/6.snap.ast +0 -9
  1380. package/test/snapshots/pfm/frontmatter/7.snap.ast +0 -2
  1381. package/test/snapshots/pfm/frontmatter/8.snap.ast +0 -6
  1382. package/test/snapshots/pfm/frontmatter/9.snap.ast +0 -7
  1383. package/test/snapshots/pfm/generic_directives/001.snap.ast +0 -5
  1384. package/test/snapshots/pfm/generic_directives/002.snap.ast +0 -4
  1385. package/test/snapshots/pfm/generic_directives/003.snap.ast +0 -5
  1386. package/test/snapshots/pfm/generic_directives/004.snap.ast +0 -5
  1387. package/test/snapshots/pfm/generic_directives/005.snap.ast +0 -5
  1388. package/test/snapshots/pfm/generic_directives/006.snap.ast +0 -7
  1389. package/test/snapshots/pfm/generic_directives/007.snap.ast +0 -8
  1390. package/test/snapshots/pfm/generic_directives/008.snap.ast +0 -4
  1391. package/test/snapshots/pfm/generic_directives/009.snap.ast +0 -5
  1392. package/test/snapshots/pfm/generic_directives/010.snap.ast +0 -6
  1393. package/test/snapshots/pfm/generic_directives/011.snap.ast +0 -2
  1394. package/test/snapshots/pfm/generic_directives/012.snap.ast +0 -5
  1395. package/test/snapshots/pfm/generic_directives/013.snap.ast +0 -2
  1396. package/test/snapshots/pfm/generic_directives/014.snap.ast +0 -7
  1397. package/test/snapshots/pfm/generic_directives/015.snap.ast +0 -6
  1398. package/test/snapshots/pfm/generic_directives/016.snap.ast +0 -2
  1399. package/test/snapshots/pfm/generic_directives/017.snap.ast +0 -3
  1400. package/test/snapshots/pfm/generic_directives/018.snap.ast +0 -4
  1401. package/test/snapshots/pfm/generic_directives/019.snap.ast +0 -5
  1402. package/test/snapshots/pfm/generic_directives/020.snap.ast +0 -5
  1403. package/test/snapshots/pfm/generic_directives/021.snap.ast +0 -5
  1404. package/test/snapshots/pfm/generic_directives/022.snap.ast +0 -9
  1405. package/test/snapshots/pfm/generic_directives/023.snap.ast +0 -5
  1406. package/test/snapshots/pfm/generic_directives/024.snap.ast +0 -6
  1407. package/test/snapshots/pfm/generic_directives/025.snap.ast +0 -2
  1408. package/test/snapshots/pfm/generic_directives/026.snap.ast +0 -5
  1409. package/test/snapshots/pfm/generic_directives/027.snap.ast +0 -10
  1410. package/test/snapshots/pfm/generic_directives/028.snap.ast +0 -3
  1411. package/test/snapshots/pfm/generic_directives/029.snap.ast +0 -12
  1412. package/test/snapshots/pfm/generic_directives/030.snap.ast +0 -9
  1413. package/test/snapshots/pfm/generic_directives/031.snap.ast +0 -8
  1414. package/test/snapshots/pfm/generic_directives/032.snap.ast +0 -8
  1415. package/test/snapshots/pfm/generic_directives/033.snap.ast +0 -3
  1416. package/test/snapshots/pfm/generic_directives/034.snap.ast +0 -6
  1417. package/test/snapshots/pfm/generic_directives/035.snap.ast +0 -6
  1418. package/test/snapshots/pfm/generic_directives/036.snap.ast +0 -2
  1419. package/test/snapshots/pfm/generic_directives/037.snap.ast +0 -10
  1420. package/test/snapshots/pfm/generic_directives/038.snap.ast +0 -4
  1421. package/test/snapshots/pfm/generic_directives/039.snap.ast +0 -9
  1422. package/test/snapshots/pfm/generic_directives/040.snap.ast +0 -15
  1423. package/test/snapshots/pfm/generic_directives/041.snap.ast +0 -4
  1424. package/test/snapshots/pfm/generic_directives/042.snap.ast +0 -5
  1425. package/test/snapshots/pfm/generic_directives/043.snap.ast +0 -5
  1426. package/test/snapshots/pfm/generic_directives/044.snap.ast +0 -2
  1427. package/test/snapshots/pfm/generic_directives/045.snap.ast +0 -2
  1428. package/test/snapshots/pfm/generic_directives/046.snap.ast +0 -5
  1429. package/test/snapshots/pfm/generic_directives/047.snap.ast +0 -6
  1430. package/test/snapshots/pfm/generic_directives/048.snap.ast +0 -5
  1431. package/test/snapshots/pfm/generic_directives/049.snap.ast +0 -5
  1432. package/test/snapshots/pfm/generic_directives/050.snap.ast +0 -5
  1433. package/test/snapshots/pfm/generic_directives/051.snap.ast +0 -5
  1434. package/test/snapshots/pfm/generic_directives/052.snap.ast +0 -5
  1435. package/test/snapshots/pfm/generic_directives/053.snap.ast +0 -6
  1436. package/test/snapshots/pfm/generic_directives/054.snap.ast +0 -6
  1437. package/test/snapshots/pfm/generic_directives/055.snap.ast +0 -6
  1438. package/test/snapshots/pfm/generic_directives/056.snap.ast +0 -6
  1439. package/test/snapshots/pfm/generic_directives/057.snap.ast +0 -6
  1440. package/test/snapshots/pfm/generic_directives/058.snap.ast +0 -6
  1441. package/test/snapshots/pfm/generic_directives/059.snap.ast +0 -6
  1442. package/test/snapshots/pfm/generic_directives/060.snap.ast +0 -7
  1443. package/test/snapshots/pfm/generic_directives/061.snap.ast +0 -7
  1444. package/test/snapshots/pfm/generic_directives/062.snap.ast +0 -7
  1445. package/test/snapshots/pfm/generic_directives/063.snap.ast +0 -6
  1446. package/test/snapshots/pfm/generic_directives/064.snap.ast +0 -7
  1447. package/test/snapshots/pfm/generic_directives/065.snap.ast +0 -8
  1448. package/test/snapshots/pfm/generic_directives/066.snap.ast +0 -9
  1449. package/test/snapshots/pfm/generic_directives/067.snap.ast +0 -16
  1450. package/test/snapshots/pfm/generic_directives/068.snap.ast +0 -7
  1451. package/test/snapshots/pfm/generic_directives/069.snap.ast +0 -6
  1452. package/test/snapshots/pfm/generic_directives/070.snap.ast +0 -9
  1453. package/test/snapshots/pfm/generic_directives/071.snap.ast +0 -7
  1454. package/test/snapshots/pfm/generic_directives/072.snap.ast +0 -8
  1455. package/test/snapshots/pfm/generic_directives/073.snap.ast +0 -6
  1456. package/test/snapshots/pfm/generic_directives/074.snap.ast +0 -10
  1457. package/test/snapshots/pfm/generic_directives/075.snap.ast +0 -8
  1458. package/test/snapshots/pfm/generic_directives/076.snap.ast +0 -8
  1459. package/test/snapshots/pfm/generic_directives/077.snap.ast +0 -7
  1460. package/test/snapshots/pfm/generic_directives/078.snap.ast +0 -8
  1461. package/test/snapshots/pfm/generic_directives/079.snap.ast +0 -5
  1462. package/test/snapshots/pfm/generic_directives/080.snap.ast +0 -5
  1463. package/test/snapshots/pfm/generic_directives/081.snap.ast +0 -6
  1464. package/test/snapshots/pfm/generic_directives/082.snap.ast +0 -11
  1465. package/test/snapshots/pfm/generic_directives/083.snap.ast +0 -9
  1466. package/test/snapshots/pfm/generic_directives/084.snap.ast +0 -8
  1467. package/test/snapshots/pfm/generic_directives/085.snap.ast +0 -7
  1468. package/test/snapshots/pfm/generic_directives/086.snap.ast +0 -4
  1469. package/test/snapshots/pfm/generic_directives/087.snap.ast +0 -6
  1470. package/test/snapshots/pfm/generic_directives/088.snap.ast +0 -10
  1471. package/test/snapshots/pfm/generic_directives/089.snap.ast +0 -8
  1472. package/test/snapshots/pfm/generic_directives/090.snap.ast +0 -5
  1473. package/test/snapshots/pfm/generic_directives/091.snap.ast +0 -5
  1474. package/test/snapshots/pfm/generic_directives/092.snap.ast +0 -16
  1475. package/test/snapshots/pfm/generic_directives/093.snap.ast +0 -6
  1476. package/test/snapshots/pfm/generic_directives/094.snap.ast +0 -8
  1477. package/test/snapshots/pfm/generic_directives/095.snap.ast +0 -7
  1478. package/test/snapshots/pfm/generic_directives/096.snap.ast +0 -5
  1479. package/test/snapshots/pfm/generic_directives/097.snap.ast +0 -5
  1480. package/test/snapshots/pfm/generic_directives/098.snap.ast +0 -5
  1481. package/test/snapshots/pfm/generic_directives/099.snap.ast +0 -8
  1482. package/test/snapshots/pfm/generic_directives/100.snap.ast +0 -9
  1483. package/test/snapshots/pfm/generic_directives/101.snap.ast +0 -7
  1484. package/test/snapshots/pfm/generic_directives/102.snap.ast +0 -8
  1485. package/test/snapshots/pfm/generic_directives/103.snap.ast +0 -9
  1486. package/test/snapshots/pfm/generic_directives/104.snap.ast +0 -6
  1487. package/test/snapshots/pfm/generic_directives/105.snap.ast +0 -8
  1488. package/test/snapshots/pfm/hard_line_breaks/633.snap.ast +0 -6
  1489. package/test/snapshots/pfm/hard_line_breaks/634.snap.ast +0 -6
  1490. package/test/snapshots/pfm/hard_line_breaks/635.snap.ast +0 -6
  1491. package/test/snapshots/pfm/hard_line_breaks/636.snap.ast +0 -6
  1492. package/test/snapshots/pfm/hard_line_breaks/637.snap.ast +0 -6
  1493. package/test/snapshots/pfm/hard_line_breaks/638.snap.ast +0 -7
  1494. package/test/snapshots/pfm/hard_line_breaks/639.snap.ast +0 -7
  1495. package/test/snapshots/pfm/hard_line_breaks/640.snap.ast +0 -4
  1496. package/test/snapshots/pfm/hard_line_breaks/641.snap.ast +0 -4
  1497. package/test/snapshots/pfm/hard_line_breaks/642.snap.ast +0 -4
  1498. package/test/snapshots/pfm/hard_line_breaks/643.snap.ast +0 -4
  1499. package/test/snapshots/pfm/hard_line_breaks/644.snap.ast +0 -4
  1500. package/test/snapshots/pfm/hard_line_breaks/645.snap.ast +0 -4
  1501. package/test/snapshots/pfm/hard_line_breaks/646.snap.ast +0 -4
  1502. package/test/snapshots/pfm/hard_line_breaks/647.snap.ast +0 -4
  1503. package/test/snapshots/pfm/html/148.snap.ast +0 -21
  1504. package/test/snapshots/pfm/html/149.snap.ast +0 -17
  1505. package/test/snapshots/pfm/html/150.snap.ast +0 -11
  1506. package/test/snapshots/pfm/html/151.snap.ast +0 -7
  1507. package/test/snapshots/pfm/html/152.snap.ast +0 -10
  1508. package/test/snapshots/pfm/html/153.snap.ast +0 -4
  1509. package/test/snapshots/pfm/html/154.snap.ast +0 -4
  1510. package/test/snapshots/pfm/html/155.snap.ast +0 -13
  1511. package/test/snapshots/pfm/html/156.snap.ast +0 -7
  1512. package/test/snapshots/pfm/html/157.snap.ast +0 -6
  1513. package/test/snapshots/pfm/html/158.snap.ast +0 -10
  1514. package/test/snapshots/pfm/html/159.snap.ast +0 -7
  1515. package/test/snapshots/pfm/html/160.snap.ast +0 -9
  1516. package/test/snapshots/pfm/html/161.snap.ast +0 -4
  1517. package/test/snapshots/pfm/html/162.snap.ast +0 -8
  1518. package/test/snapshots/pfm/html/163.snap.ast +0 -8
  1519. package/test/snapshots/pfm/html/164.snap.ast +0 -8
  1520. package/test/snapshots/pfm/html/165.snap.ast +0 -7
  1521. package/test/snapshots/pfm/html/166.snap.ast +0 -8
  1522. package/test/snapshots/pfm/html/167.snap.ast +0 -10
  1523. package/test/snapshots/pfm/html/168.snap.ast +0 -6
  1524. package/test/snapshots/pfm/html/169.snap.ast +0 -17
  1525. package/test/snapshots/pfm/html/170.snap.ast +0 -6
  1526. package/test/snapshots/pfm/html/171.snap.ast +0 -15
  1527. package/test/snapshots/pfm/html/172.snap.ast +0 -6
  1528. package/test/snapshots/pfm/html/173.snap.ast +0 -2
  1529. package/test/snapshots/pfm/html/174.snap.ast +0 -11
  1530. package/test/snapshots/pfm/html/175.snap.ast +0 -7
  1531. package/test/snapshots/pfm/html/176.snap.ast +0 -7
  1532. package/test/snapshots/pfm/html/177.snap.ast +0 -9
  1533. package/test/snapshots/pfm/html/178.snap.ast +0 -7
  1534. package/test/snapshots/pfm/html/179.snap.ast +0 -6
  1535. package/test/snapshots/pfm/html/180.snap.ast +0 -14
  1536. package/test/snapshots/pfm/html/181.snap.ast +0 -5
  1537. package/test/snapshots/pfm/html/182.snap.ast +0 -16
  1538. package/test/snapshots/pfm/html/183.snap.ast +0 -6
  1539. package/test/snapshots/pfm/html/184.snap.ast +0 -8
  1540. package/test/snapshots/pfm/html/185.snap.ast +0 -10
  1541. package/test/snapshots/pfm/html/186.snap.ast +0 -11
  1542. package/test/snapshots/pfm/html/187.snap.ast +0 -8
  1543. package/test/snapshots/pfm/html/188.snap.ast +0 -11
  1544. package/test/snapshots/pfm/html/189.snap.ast +0 -9
  1545. package/test/snapshots/pfm/html/190.snap.ast +0 -17
  1546. package/test/snapshots/pfm/html/191.snap.ast +0 -17
  1547. package/test/snapshots/pfm/html/613.snap.ast +0 -8
  1548. package/test/snapshots/pfm/html/614.snap.ast +0 -4
  1549. package/test/snapshots/pfm/html/615.snap.ast +0 -5
  1550. package/test/snapshots/pfm/html/616.snap.ast +0 -3
  1551. package/test/snapshots/pfm/html/617.snap.ast +0 -5
  1552. package/test/snapshots/pfm/html/618.snap.ast +0 -5
  1553. package/test/snapshots/pfm/html/619.snap.ast +0 -4
  1554. package/test/snapshots/pfm/html/620.snap.ast +0 -5
  1555. package/test/snapshots/pfm/html/621.snap.ast +0 -10
  1556. package/test/snapshots/pfm/html/622.snap.ast +0 -4
  1557. package/test/snapshots/pfm/html/623.snap.ast +0 -5
  1558. package/test/snapshots/pfm/html/624.snap.ast +0 -4
  1559. package/test/snapshots/pfm/html/625.snap.ast +0 -5
  1560. package/test/snapshots/pfm/html/626.snap.ast +0 -10
  1561. package/test/snapshots/pfm/html/627.snap.ast +0 -5
  1562. package/test/snapshots/pfm/html/628.snap.ast +0 -6
  1563. package/test/snapshots/pfm/html/629.snap.ast +0 -12
  1564. package/test/snapshots/pfm/html/630.snap.ast +0 -5
  1565. package/test/snapshots/pfm/html/631.snap.ast +0 -5
  1566. package/test/snapshots/pfm/html/632.snap.ast +0 -4
  1567. package/test/snapshots/pfm/images/572.snap.ast +0 -5
  1568. package/test/snapshots/pfm/images/573.snap.ast +0 -9
  1569. package/test/snapshots/pfm/images/574.snap.ast +0 -7
  1570. package/test/snapshots/pfm/images/575.snap.ast +0 -7
  1571. package/test/snapshots/pfm/images/576.snap.ast +0 -11
  1572. package/test/snapshots/pfm/images/577.snap.ast +0 -11
  1573. package/test/snapshots/pfm/images/578.snap.ast +0 -5
  1574. package/test/snapshots/pfm/images/579.snap.ast +0 -6
  1575. package/test/snapshots/pfm/images/580.snap.ast +0 -5
  1576. package/test/snapshots/pfm/images/581.snap.ast +0 -4
  1577. package/test/snapshots/pfm/images/582.snap.ast +0 -8
  1578. package/test/snapshots/pfm/images/583.snap.ast +0 -8
  1579. package/test/snapshots/pfm/images/584.snap.ast +0 -8
  1580. package/test/snapshots/pfm/images/585.snap.ast +0 -11
  1581. package/test/snapshots/pfm/images/586.snap.ast +0 -8
  1582. package/test/snapshots/pfm/images/587.snap.ast +0 -9
  1583. package/test/snapshots/pfm/images/588.snap.ast +0 -6
  1584. package/test/snapshots/pfm/images/589.snap.ast +0 -9
  1585. package/test/snapshots/pfm/images/590.snap.ast +0 -12
  1586. package/test/snapshots/pfm/images/591.snap.ast +0 -6
  1587. package/test/snapshots/pfm/images/592.snap.ast +0 -7
  1588. package/test/snapshots/pfm/images/593.snap.ast +0 -7
  1589. package/test/snapshots/pfm/imports/1.snap.ast +0 -6
  1590. package/test/snapshots/pfm/imports/10.snap.ast +0 -4
  1591. package/test/snapshots/pfm/imports/11.snap.ast +0 -6
  1592. package/test/snapshots/pfm/imports/2.snap.ast +0 -7
  1593. package/test/snapshots/pfm/imports/3.snap.ast +0 -7
  1594. package/test/snapshots/pfm/imports/4.snap.ast +0 -6
  1595. package/test/snapshots/pfm/imports/5.snap.ast +0 -6
  1596. package/test/snapshots/pfm/imports/6.snap.ast +0 -8
  1597. package/test/snapshots/pfm/imports/7.snap.ast +0 -6
  1598. package/test/snapshots/pfm/imports/8.snap.ast +0 -8
  1599. package/test/snapshots/pfm/imports/9.snap.ast +0 -2
  1600. package/test/snapshots/pfm/inlines/327.snap.ast +0 -6
  1601. package/test/snapshots/pfm/link_reference_definitions/192.snap.ast +0 -6
  1602. package/test/snapshots/pfm/link_reference_definitions/193.snap.ast +0 -6
  1603. package/test/snapshots/pfm/link_reference_definitions/194.snap.ast +0 -8
  1604. package/test/snapshots/pfm/link_reference_definitions/195.snap.ast +0 -6
  1605. package/test/snapshots/pfm/link_reference_definitions/196.snap.ast +0 -6
  1606. package/test/snapshots/pfm/link_reference_definitions/197.snap.ast +0 -16
  1607. package/test/snapshots/pfm/link_reference_definitions/198.snap.ast +0 -6
  1608. package/test/snapshots/pfm/link_reference_definitions/199.snap.ast +0 -12
  1609. package/test/snapshots/pfm/link_reference_definitions/200.snap.ast +0 -6
  1610. package/test/snapshots/pfm/link_reference_definitions/201.snap.ast +0 -14
  1611. package/test/snapshots/pfm/link_reference_definitions/202.snap.ast +0 -6
  1612. package/test/snapshots/pfm/link_reference_definitions/203.snap.ast +0 -6
  1613. package/test/snapshots/pfm/link_reference_definitions/204.snap.ast +0 -8
  1614. package/test/snapshots/pfm/link_reference_definitions/205.snap.ast +0 -6
  1615. package/test/snapshots/pfm/link_reference_definitions/206.snap.ast +0 -6
  1616. package/test/snapshots/pfm/link_reference_definitions/207.snap.ast +0 -1
  1617. package/test/snapshots/pfm/link_reference_definitions/208.snap.ast +0 -12
  1618. package/test/snapshots/pfm/link_reference_definitions/209.snap.ast +0 -5
  1619. package/test/snapshots/pfm/link_reference_definitions/210.snap.ast +0 -7
  1620. package/test/snapshots/pfm/link_reference_definitions/211.snap.ast +0 -6
  1621. package/test/snapshots/pfm/link_reference_definitions/212.snap.ast +0 -9
  1622. package/test/snapshots/pfm/link_reference_definitions/213.snap.ast +0 -14
  1623. package/test/snapshots/pfm/link_reference_definitions/214.snap.ast +0 -11
  1624. package/test/snapshots/pfm/link_reference_definitions/215.snap.ast +0 -9
  1625. package/test/snapshots/pfm/link_reference_definitions/216.snap.ast +0 -7
  1626. package/test/snapshots/pfm/link_reference_definitions/217.snap.ast +0 -14
  1627. package/test/snapshots/pfm/link_reference_definitions/218.snap.ast +0 -13
  1628. package/test/snapshots/pfm/links/482.snap.ast +0 -5
  1629. package/test/snapshots/pfm/links/483.snap.ast +0 -5
  1630. package/test/snapshots/pfm/links/484.snap.ast +0 -4
  1631. package/test/snapshots/pfm/links/485.snap.ast +0 -5
  1632. package/test/snapshots/pfm/links/486.snap.ast +0 -5
  1633. package/test/snapshots/pfm/links/487.snap.ast +0 -4
  1634. package/test/snapshots/pfm/links/488.snap.ast +0 -5
  1635. package/test/snapshots/pfm/links/489.snap.ast +0 -5
  1636. package/test/snapshots/pfm/links/490.snap.ast +0 -7
  1637. package/test/snapshots/pfm/links/491.snap.ast +0 -7
  1638. package/test/snapshots/pfm/links/492.snap.ast +0 -5
  1639. package/test/snapshots/pfm/links/493.snap.ast +0 -5
  1640. package/test/snapshots/pfm/links/494.snap.ast +0 -11
  1641. package/test/snapshots/pfm/links/495.snap.ast +0 -5
  1642. package/test/snapshots/pfm/links/496.snap.ast +0 -5
  1643. package/test/snapshots/pfm/links/497.snap.ast +0 -5
  1644. package/test/snapshots/pfm/links/498.snap.ast +0 -5
  1645. package/test/snapshots/pfm/links/499.snap.ast +0 -5
  1646. package/test/snapshots/pfm/links/500.snap.ast +0 -5
  1647. package/test/snapshots/pfm/links/501.snap.ast +0 -15
  1648. package/test/snapshots/pfm/links/502.snap.ast +0 -5
  1649. package/test/snapshots/pfm/links/503.snap.ast +0 -5
  1650. package/test/snapshots/pfm/links/504.snap.ast +0 -5
  1651. package/test/snapshots/pfm/links/505.snap.ast +0 -11
  1652. package/test/snapshots/pfm/links/506.snap.ast +0 -5
  1653. package/test/snapshots/pfm/links/507.snap.ast +0 -5
  1654. package/test/snapshots/pfm/links/508.snap.ast +0 -5
  1655. package/test/snapshots/pfm/links/509.snap.ast +0 -5
  1656. package/test/snapshots/pfm/links/510.snap.ast +0 -7
  1657. package/test/snapshots/pfm/links/511.snap.ast +0 -5
  1658. package/test/snapshots/pfm/links/512.snap.ast +0 -11
  1659. package/test/snapshots/pfm/links/513.snap.ast +0 -6
  1660. package/test/snapshots/pfm/links/514.snap.ast +0 -7
  1661. package/test/snapshots/pfm/links/515.snap.ast +0 -6
  1662. package/test/snapshots/pfm/links/516.snap.ast +0 -13
  1663. package/test/snapshots/pfm/links/517.snap.ast +0 -6
  1664. package/test/snapshots/pfm/links/518.snap.ast +0 -7
  1665. package/test/snapshots/pfm/links/519.snap.ast +0 -10
  1666. package/test/snapshots/pfm/links/520.snap.ast +0 -7
  1667. package/test/snapshots/pfm/links/521.snap.ast +0 -7
  1668. package/test/snapshots/pfm/links/522.snap.ast +0 -9
  1669. package/test/snapshots/pfm/links/523.snap.ast +0 -9
  1670. package/test/snapshots/pfm/links/524.snap.ast +0 -6
  1671. package/test/snapshots/pfm/links/525.snap.ast +0 -6
  1672. package/test/snapshots/pfm/links/526.snap.ast +0 -7
  1673. package/test/snapshots/pfm/links/527.snap.ast +0 -6
  1674. package/test/snapshots/pfm/links/528.snap.ast +0 -14
  1675. package/test/snapshots/pfm/links/529.snap.ast +0 -7
  1676. package/test/snapshots/pfm/links/530.snap.ast +0 -17
  1677. package/test/snapshots/pfm/links/531.snap.ast +0 -7
  1678. package/test/snapshots/pfm/links/532.snap.ast +0 -8
  1679. package/test/snapshots/pfm/links/533.snap.ast +0 -10
  1680. package/test/snapshots/pfm/links/534.snap.ast +0 -8
  1681. package/test/snapshots/pfm/links/535.snap.ast +0 -11
  1682. package/test/snapshots/pfm/links/536.snap.ast +0 -7
  1683. package/test/snapshots/pfm/links/537.snap.ast +0 -7
  1684. package/test/snapshots/pfm/links/538.snap.ast +0 -8
  1685. package/test/snapshots/pfm/links/539.snap.ast +0 -6
  1686. package/test/snapshots/pfm/links/540.snap.ast +0 -8
  1687. package/test/snapshots/pfm/links/541.snap.ast +0 -15
  1688. package/test/snapshots/pfm/links/542.snap.ast +0 -8
  1689. package/test/snapshots/pfm/links/543.snap.ast +0 -11
  1690. package/test/snapshots/pfm/links/544.snap.ast +0 -7
  1691. package/test/snapshots/pfm/links/545.snap.ast +0 -10
  1692. package/test/snapshots/pfm/links/546.snap.ast +0 -16
  1693. package/test/snapshots/pfm/links/547.snap.ast +0 -18
  1694. package/test/snapshots/pfm/links/548.snap.ast +0 -14
  1695. package/test/snapshots/pfm/links/549.snap.ast +0 -6
  1696. package/test/snapshots/pfm/links/550.snap.ast +0 -7
  1697. package/test/snapshots/pfm/links/551.snap.ast +0 -12
  1698. package/test/snapshots/pfm/links/552.snap.ast +0 -12
  1699. package/test/snapshots/pfm/links/553.snap.ast +0 -6
  1700. package/test/snapshots/pfm/links/554.snap.ast +0 -8
  1701. package/test/snapshots/pfm/links/555.snap.ast +0 -6
  1702. package/test/snapshots/pfm/links/556.snap.ast +0 -9
  1703. package/test/snapshots/pfm/links/557.snap.ast +0 -6
  1704. package/test/snapshots/pfm/links/558.snap.ast +0 -8
  1705. package/test/snapshots/pfm/links/559.snap.ast +0 -10
  1706. package/test/snapshots/pfm/links/560.snap.ast +0 -9
  1707. package/test/snapshots/pfm/links/561.snap.ast +0 -6
  1708. package/test/snapshots/pfm/links/562.snap.ast +0 -7
  1709. package/test/snapshots/pfm/links/563.snap.ast +0 -8
  1710. package/test/snapshots/pfm/links/564.snap.ast +0 -8
  1711. package/test/snapshots/pfm/links/565.snap.ast +0 -6
  1712. package/test/snapshots/pfm/links/566.snap.ast +0 -6
  1713. package/test/snapshots/pfm/links/567.snap.ast +0 -6
  1714. package/test/snapshots/pfm/links/568.snap.ast +0 -6
  1715. package/test/snapshots/pfm/links/569.snap.ast +0 -8
  1716. package/test/snapshots/pfm/links/570.snap.ast +0 -8
  1717. package/test/snapshots/pfm/links/571.snap.ast +0 -8
  1718. package/test/snapshots/pfm/list_items/253.snap.ast +0 -15
  1719. package/test/snapshots/pfm/list_items/254.snap.ast +0 -13
  1720. package/test/snapshots/pfm/list_items/255.snap.ast +0 -9
  1721. package/test/snapshots/pfm/list_items/256.snap.ast +0 -8
  1722. package/test/snapshots/pfm/list_items/257.snap.ast +0 -8
  1723. package/test/snapshots/pfm/list_items/258.snap.ast +0 -8
  1724. package/test/snapshots/pfm/list_items/259.snap.ast +0 -10
  1725. package/test/snapshots/pfm/list_items/260.snap.ast +0 -11
  1726. package/test/snapshots/pfm/list_items/261.snap.ast +0 -8
  1727. package/test/snapshots/pfm/list_items/262.snap.ast +0 -8
  1728. package/test/snapshots/pfm/list_items/263.snap.ast +0 -12
  1729. package/test/snapshots/pfm/list_items/264.snap.ast +0 -10
  1730. package/test/snapshots/pfm/list_items/265.snap.ast +0 -5
  1731. package/test/snapshots/pfm/list_items/266.snap.ast +0 -4
  1732. package/test/snapshots/pfm/list_items/267.snap.ast +0 -5
  1733. package/test/snapshots/pfm/list_items/268.snap.ast +0 -5
  1734. package/test/snapshots/pfm/list_items/269.snap.ast +0 -4
  1735. package/test/snapshots/pfm/list_items/270.snap.ast +0 -8
  1736. package/test/snapshots/pfm/list_items/271.snap.ast +0 -8
  1737. package/test/snapshots/pfm/list_items/272.snap.ast +0 -12
  1738. package/test/snapshots/pfm/list_items/273.snap.ast +0 -10
  1739. package/test/snapshots/pfm/list_items/274.snap.ast +0 -10
  1740. package/test/snapshots/pfm/list_items/275.snap.ast +0 -8
  1741. package/test/snapshots/pfm/list_items/276.snap.ast +0 -8
  1742. package/test/snapshots/pfm/list_items/277.snap.ast +0 -8
  1743. package/test/snapshots/pfm/list_items/278.snap.ast +0 -14
  1744. package/test/snapshots/pfm/list_items/279.snap.ast +0 -6
  1745. package/test/snapshots/pfm/list_items/280.snap.ast +0 -8
  1746. package/test/snapshots/pfm/list_items/281.snap.ast +0 -9
  1747. package/test/snapshots/pfm/list_items/282.snap.ast +0 -9
  1748. package/test/snapshots/pfm/list_items/283.snap.ast +0 -9
  1749. package/test/snapshots/pfm/list_items/284.snap.ast +0 -4
  1750. package/test/snapshots/pfm/list_items/285.snap.ast +0 -12
  1751. package/test/snapshots/pfm/list_items/286.snap.ast +0 -13
  1752. package/test/snapshots/pfm/list_items/287.snap.ast +0 -13
  1753. package/test/snapshots/pfm/list_items/288.snap.ast +0 -13
  1754. package/test/snapshots/pfm/list_items/289.snap.ast +0 -13
  1755. package/test/snapshots/pfm/list_items/290.snap.ast +0 -13
  1756. package/test/snapshots/pfm/list_items/291.snap.ast +0 -7
  1757. package/test/snapshots/pfm/list_items/292.snap.ast +0 -11
  1758. package/test/snapshots/pfm/list_items/293.snap.ast +0 -10
  1759. package/test/snapshots/pfm/list_items/294.snap.ast +0 -14
  1760. package/test/snapshots/pfm/list_items/295.snap.ast +0 -11
  1761. package/test/snapshots/pfm/list_items/296.snap.ast +0 -8
  1762. package/test/snapshots/pfm/list_items/297.snap.ast +0 -9
  1763. package/test/snapshots/pfm/list_items/298.snap.ast +0 -6
  1764. package/test/snapshots/pfm/list_items/299.snap.ast +0 -9
  1765. package/test/snapshots/pfm/list_items/300.snap.ast +0 -12
  1766. package/test/snapshots/pfm/lists/301.snap.ast +0 -11
  1767. package/test/snapshots/pfm/lists/302.snap.ast +0 -11
  1768. package/test/snapshots/pfm/lists/303.snap.ast +0 -10
  1769. package/test/snapshots/pfm/lists/304.snap.ast +0 -6
  1770. package/test/snapshots/pfm/lists/305.snap.ast +0 -8
  1771. package/test/snapshots/pfm/lists/306.snap.ast +0 -12
  1772. package/test/snapshots/pfm/lists/307.snap.ast +0 -14
  1773. package/test/snapshots/pfm/lists/308.snap.ast +0 -17
  1774. package/test/snapshots/pfm/lists/309.snap.ast +0 -18
  1775. package/test/snapshots/pfm/lists/310.snap.ast +0 -17
  1776. package/test/snapshots/pfm/lists/311.snap.ast +0 -12
  1777. package/test/snapshots/pfm/lists/312.snap.ast +0 -13
  1778. package/test/snapshots/pfm/lists/313.snap.ast +0 -12
  1779. package/test/snapshots/pfm/lists/314.snap.ast +0 -12
  1780. package/test/snapshots/pfm/lists/315.snap.ast +0 -11
  1781. package/test/snapshots/pfm/lists/316.snap.ast +0 -14
  1782. package/test/snapshots/pfm/lists/317.snap.ast +0 -15
  1783. package/test/snapshots/pfm/lists/318.snap.ast +0 -9
  1784. package/test/snapshots/pfm/lists/319.snap.ast +0 -13
  1785. package/test/snapshots/pfm/lists/320.snap.ast +0 -11
  1786. package/test/snapshots/pfm/lists/321.snap.ast +0 -11
  1787. package/test/snapshots/pfm/lists/322.snap.ast +0 -5
  1788. package/test/snapshots/pfm/lists/323.snap.ast +0 -8
  1789. package/test/snapshots/pfm/lists/324.snap.ast +0 -7
  1790. package/test/snapshots/pfm/lists/325.snap.ast +0 -11
  1791. package/test/snapshots/pfm/lists/326.snap.ast +0 -19
  1792. package/test/snapshots/pfm/paragraphs/219.snap.ast +0 -8
  1793. package/test/snapshots/pfm/paragraphs/220.snap.ast +0 -12
  1794. package/test/snapshots/pfm/paragraphs/221.snap.ast +0 -9
  1795. package/test/snapshots/pfm/paragraphs/222.snap.ast +0 -6
  1796. package/test/snapshots/pfm/paragraphs/223.snap.ast +0 -8
  1797. package/test/snapshots/pfm/paragraphs/224.snap.ast +0 -6
  1798. package/test/snapshots/pfm/paragraphs/225.snap.ast +0 -6
  1799. package/test/snapshots/pfm/precedence/42.snap.ast +0 -5
  1800. package/test/snapshots/pfm/setext_headings/100.snap.ast +0 -5
  1801. package/test/snapshots/pfm/setext_headings/101.snap.ast +0 -6
  1802. package/test/snapshots/pfm/setext_headings/102.snap.ast +0 -5
  1803. package/test/snapshots/pfm/setext_headings/103.snap.ast +0 -12
  1804. package/test/snapshots/pfm/setext_headings/104.snap.ast +0 -12
  1805. package/test/snapshots/pfm/setext_headings/105.snap.ast +0 -10
  1806. package/test/snapshots/pfm/setext_headings/106.snap.ast +0 -10
  1807. package/test/snapshots/pfm/setext_headings/80.snap.ast +0 -15
  1808. package/test/snapshots/pfm/setext_headings/81.snap.ast +0 -10
  1809. package/test/snapshots/pfm/setext_headings/82.snap.ast +0 -11
  1810. package/test/snapshots/pfm/setext_headings/83.snap.ast +0 -11
  1811. package/test/snapshots/pfm/setext_headings/84.snap.ast +0 -16
  1812. package/test/snapshots/pfm/setext_headings/85.snap.ast +0 -11
  1813. package/test/snapshots/pfm/setext_headings/86.snap.ast +0 -5
  1814. package/test/snapshots/pfm/setext_headings/87.snap.ast +0 -6
  1815. package/test/snapshots/pfm/setext_headings/88.snap.ast +0 -11
  1816. package/test/snapshots/pfm/setext_headings/89.snap.ast +0 -5
  1817. package/test/snapshots/pfm/setext_headings/90.snap.ast +0 -6
  1818. package/test/snapshots/pfm/setext_headings/91.snap.ast +0 -7
  1819. package/test/snapshots/pfm/setext_headings/92.snap.ast +0 -6
  1820. package/test/snapshots/pfm/setext_headings/93.snap.ast +0 -10
  1821. package/test/snapshots/pfm/setext_headings/94.snap.ast +0 -6
  1822. package/test/snapshots/pfm/setext_headings/95.snap.ast +0 -7
  1823. package/test/snapshots/pfm/setext_headings/96.snap.ast +0 -9
  1824. package/test/snapshots/pfm/setext_headings/97.snap.ast +0 -5
  1825. package/test/snapshots/pfm/setext_headings/98.snap.ast +0 -2
  1826. package/test/snapshots/pfm/setext_headings/99.snap.ast +0 -6
  1827. package/test/snapshots/pfm/soft_line_breaks/648.snap.ast +0 -6
  1828. package/test/snapshots/pfm/soft_line_breaks/649.snap.ast +0 -6
  1829. package/test/snapshots/pfm/tabs/1.snap.ast +0 -4
  1830. package/test/snapshots/pfm/tabs/10.snap.ast +0 -4
  1831. package/test/snapshots/pfm/tabs/11.snap.ast +0 -2
  1832. package/test/snapshots/pfm/tabs/12.snap.ast +0 -7
  1833. package/test/snapshots/pfm/tabs/13.snap.ast +0 -8
  1834. package/test/snapshots/pfm/tabs/14.snap.ast +0 -8
  1835. package/test/snapshots/pfm/tabs/15.snap.ast +0 -7
  1836. package/test/snapshots/pfm/tabs/16.snap.ast +0 -8
  1837. package/test/snapshots/pfm/tabs/17.snap.ast +0 -11
  1838. package/test/snapshots/pfm/tabs/2.snap.ast +0 -4
  1839. package/test/snapshots/pfm/tabs/3.snap.ast +0 -6
  1840. package/test/snapshots/pfm/tabs/4.snap.ast +0 -8
  1841. package/test/snapshots/pfm/tabs/5.snap.ast +0 -8
  1842. package/test/snapshots/pfm/tabs/6.snap.ast +0 -5
  1843. package/test/snapshots/pfm/tabs/7.snap.ast +0 -5
  1844. package/test/snapshots/pfm/tabs/8.snap.ast +0 -6
  1845. package/test/snapshots/pfm/tabs/9.snap.ast +0 -10
  1846. package/test/snapshots/pfm/textual_content/650.snap.ast +0 -4
  1847. package/test/snapshots/pfm/textual_content/651.snap.ast +0 -4
  1848. package/test/snapshots/pfm/textual_content/652.snap.ast +0 -4
  1849. package/test/snapshots/pfm/thematic_breaks/43.snap.ast +0 -4
  1850. package/test/snapshots/pfm/thematic_breaks/44.snap.ast +0 -4
  1851. package/test/snapshots/pfm/thematic_breaks/45.snap.ast +0 -4
  1852. package/test/snapshots/pfm/thematic_breaks/46.snap.ast +0 -10
  1853. package/test/snapshots/pfm/thematic_breaks/47.snap.ast +0 -4
  1854. package/test/snapshots/pfm/thematic_breaks/48.snap.ast +0 -2
  1855. package/test/snapshots/pfm/thematic_breaks/49.snap.ast +0 -8
  1856. package/test/snapshots/pfm/thematic_breaks/50.snap.ast +0 -2
  1857. package/test/snapshots/pfm/thematic_breaks/51.snap.ast +0 -2
  1858. package/test/snapshots/pfm/thematic_breaks/52.snap.ast +0 -2
  1859. package/test/snapshots/pfm/thematic_breaks/53.snap.ast +0 -2
  1860. package/test/snapshots/pfm/thematic_breaks/54.snap.ast +0 -2
  1861. package/test/snapshots/pfm/thematic_breaks/55.snap.ast +0 -15
  1862. package/test/snapshots/pfm/thematic_breaks/56.snap.ast +0 -5
  1863. package/test/snapshots/pfm/thematic_breaks/57.snap.ast +0 -10
  1864. package/test/snapshots/pfm/thematic_breaks/58.snap.ast +0 -8
  1865. package/test/snapshots/pfm/thematic_breaks/59.snap.ast +0 -8
  1866. package/test/snapshots/pfm/thematic_breaks/60.snap.ast +0 -10
  1867. package/test/snapshots/pfm/thematic_breaks/61.snap.ast +0 -6
  1868. package/test/snapshots/svelte/00-introduction/00-hello-world/App.snap.ast +0 -9
  1869. package/test/snapshots/svelte/00-introduction/01-dynamic-attributes/App.snap.ast +0 -7
  1870. package/test/snapshots/svelte/00-introduction/02-styling/App.snap.ast +0 -8
  1871. package/test/snapshots/svelte/00-introduction/03-nested-components/App.snap.ast +0 -12
  1872. package/test/snapshots/svelte/00-introduction/03-nested-components/Nested.snap.ast +0 -4
  1873. package/test/snapshots/svelte/00-introduction/04-html-tags/App.snap.ast +0 -7
  1874. package/test/snapshots/svelte/01-reactivity/00-reactive-assignments/App.snap.ast +0 -12
  1875. package/test/snapshots/svelte/01-reactivity/01-reactive-declarations/App.snap.ast +0 -25
  1876. package/test/snapshots/svelte/01-reactivity/02-reactive-statements/App.snap.ast +0 -12
  1877. package/test/snapshots/svelte/02-props/00-declaring-props/App.snap.ast +0 -5
  1878. package/test/snapshots/svelte/02-props/00-declaring-props/Nested.snap.ast +0 -8
  1879. package/test/snapshots/svelte/02-props/01-default-values/App.snap.ast +0 -7
  1880. package/test/snapshots/svelte/02-props/01-default-values/Nested.snap.ast +0 -8
  1881. package/test/snapshots/svelte/02-props/02-spread-props/App.snap.ast +0 -5
  1882. package/test/snapshots/svelte/02-props/02-spread-props/Info.snap.ast +0 -24
  1883. package/test/snapshots/svelte/03-logic/00-if-blocks/App.snap.ast +0 -26
  1884. package/test/snapshots/svelte/03-logic/01-else-blocks/App.snap.ast +0 -23
  1885. package/test/snapshots/svelte/03-logic/02-else-if-blocks/App.snap.ast +0 -26
  1886. package/test/snapshots/svelte/03-logic/03-each-blocks/App.snap.ast +0 -25
  1887. package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/App.snap.ast +0 -40
  1888. package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/Thing.snap.ast +0 -17
  1889. package/test/snapshots/svelte/04-events/00-dom-events/App.snap.ast +0 -15
  1890. package/test/snapshots/svelte/04-events/01-inline-handlers/App.snap.ast +0 -15
  1891. package/test/snapshots/svelte/04-events/02-event-modifiers/App.snap.ast +0 -9
  1892. package/test/snapshots/svelte/04-events/03-component-events/App.snap.ast +0 -5
  1893. package/test/snapshots/svelte/04-events/03-component-events/Inner.snap.ast +0 -9
  1894. package/test/snapshots/svelte/04-events/04-event-forwarding/App.snap.ast +0 -5
  1895. package/test/snapshots/svelte/04-events/04-event-forwarding/Inner.snap.ast +0 -9
  1896. package/test/snapshots/svelte/04-events/04-event-forwarding/Outer.snap.ast +0 -5
  1897. package/test/snapshots/svelte/04-events/05-dom-event-forwarding/App.snap.ast +0 -5
  1898. package/test/snapshots/svelte/04-events/05-dom-event-forwarding/FancyButton.snap.ast +0 -9
  1899. package/test/snapshots/svelte/05-bindings/00-text-inputs/App.snap.ast +0 -11
  1900. package/test/snapshots/svelte/05-bindings/01-numeric-inputs/App.snap.ast +0 -27
  1901. package/test/snapshots/svelte/05-bindings/02-checkbox-inputs/App.snap.ast +0 -34
  1902. package/test/snapshots/svelte/05-bindings/03-group-inputs/App.snap.ast +0 -84
  1903. package/test/snapshots/svelte/05-bindings/04-textarea-inputs/App.snap.ast +0 -12
  1904. package/test/snapshots/svelte/05-bindings/05-select-bindings/App.snap.ast +0 -44
  1905. package/test/snapshots/svelte/05-bindings/06-multiple-select-bindings/App.snap.ast +0 -84
  1906. package/test/snapshots/svelte/05-bindings/07-each-block-bindings/App.snap.ast +0 -44
  1907. package/test/snapshots/svelte/05-bindings/08-media-elements/App.snap.ast +0 -53
  1908. package/test/snapshots/svelte/05-bindings/09-dimensions/App.snap.ast +0 -27
  1909. package/test/snapshots/svelte/05-bindings/10-bind-this/App.snap.ast +0 -9
  1910. package/test/snapshots/svelte/05-bindings/11-component-bindings/App.snap.ast +0 -10
  1911. package/test/snapshots/svelte/05-bindings/11-component-bindings/Keypad.snap.ast +0 -58
  1912. package/test/snapshots/svelte/06-lifecycle/00-onmount/App.snap.ast +0 -36
  1913. package/test/snapshots/svelte/06-lifecycle/01-ondestroy/App.snap.ast +0 -14
  1914. package/test/snapshots/svelte/06-lifecycle/02-update/App.snap.ast +0 -31
  1915. package/test/snapshots/svelte/06-lifecycle/03-tick/App.snap.ast +0 -8
  1916. package/test/snapshots/svelte/07-stores/00-writable-stores/App.snap.ast +0 -15
  1917. package/test/snapshots/svelte/07-stores/00-writable-stores/Decrementer.snap.ast +0 -9
  1918. package/test/snapshots/svelte/07-stores/00-writable-stores/Incrementer.snap.ast +0 -9
  1919. package/test/snapshots/svelte/07-stores/00-writable-stores/Resetter.snap.ast +0 -9
  1920. package/test/snapshots/svelte/07-stores/01-auto-subscriptions/App.snap.ast +0 -15
  1921. package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Decrementer.snap.ast +0 -9
  1922. package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Incrementer.snap.ast +0 -9
  1923. package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Resetter.snap.ast +0 -9
  1924. package/test/snapshots/svelte/07-stores/02-readable-stores/App.snap.ast +0 -8
  1925. package/test/snapshots/svelte/07-stores/03-derived-stores/App.snap.ast +0 -20
  1926. package/test/snapshots/svelte/07-stores/04-custom-stores/App.snap.ast +0 -21
  1927. package/test/snapshots/svelte/08-motion/00-tweened/App.snap.ast +0 -43
  1928. package/test/snapshots/svelte/08-motion/01-spring/App.snap.ast +0 -38
  1929. package/test/snapshots/svelte/09-transitions/00-transition/App.snap.ast +0 -22
  1930. package/test/snapshots/svelte/09-transitions/01-adding-parameters-to-transitions/App.snap.ast +0 -22
  1931. package/test/snapshots/svelte/09-transitions/02-in-and-out/App.snap.ast +0 -22
  1932. package/test/snapshots/svelte/09-transitions/03-custom-css-transitions/App.snap.ast +0 -27
  1933. package/test/snapshots/svelte/09-transitions/04-custom-js-transitions/App.snap.ast +0 -22
  1934. package/test/snapshots/svelte/09-transitions/05-transition-events/App.snap.ast +0 -28
  1935. package/test/snapshots/svelte/10-animations/00-animate/App.snap.ast +0 -62
  1936. package/test/snapshots/svelte/11-easing/00-easing/App.snap.ast +0 -31
  1937. package/test/snapshots/svelte/11-easing/00-easing/Controls.snap.ast +0 -113
  1938. package/test/snapshots/svelte/11-easing/00-easing/Grid.snap.ast +0 -31
  1939. package/test/snapshots/svelte/12-svg/01-clock/App.snap.ast +0 -47
  1940. package/test/snapshots/svelte/12-svg/02-bar-chart/App.snap.ast +0 -65
  1941. package/test/snapshots/svelte/12-svg/03-area-chart/App.snap.ast +0 -71
  1942. package/test/snapshots/svelte/12-svg/04-scatterplot/App.snap.ast +0 -22
  1943. package/test/snapshots/svelte/12-svg/04-scatterplot/Scatterplot.snap.ast +0 -59
  1944. package/test/snapshots/svelte/12-svg/05-svg-transitions/App.snap.ast +0 -44
  1945. package/test/snapshots/svelte/13-actions/00-actions/App.snap.ast +0 -8
  1946. package/test/snapshots/svelte/13-actions/01-adding-parameters-to-actions/App.snap.ast +0 -9
  1947. package/test/snapshots/svelte/14-classes/00-classes/App.snap.ast +0 -20
  1948. package/test/snapshots/svelte/14-classes/01-class-shorthand/App.snap.ast +0 -23
  1949. package/test/snapshots/svelte/15-composition/00-slots/App.snap.ast +0 -15
  1950. package/test/snapshots/svelte/15-composition/00-slots/Box.snap.ast +0 -8
  1951. package/test/snapshots/svelte/15-composition/01-slot-fallbacks/App.snap.ast +0 -18
  1952. package/test/snapshots/svelte/15-composition/01-slot-fallbacks/Box.snap.ast +0 -13
  1953. package/test/snapshots/svelte/15-composition/02-named-slots/App.snap.ast +0 -24
  1954. package/test/snapshots/svelte/15-composition/02-named-slots/ContactCard.snap.ast +0 -38
  1955. package/test/snapshots/svelte/15-composition/03-slot-props/App.snap.ast +0 -71
  1956. package/test/snapshots/svelte/15-composition/03-slot-props/Hoverable.snap.ast +0 -8
  1957. package/test/snapshots/svelte/15-composition/04-modal/App.snap.ast +0 -75
  1958. package/test/snapshots/svelte/15-composition/04-modal/Modal.snap.ast +0 -26
  1959. package/test/snapshots/svelte/16-context/00-context-api/App.snap.ast +0 -18
  1960. package/test/snapshots/svelte/16-context/00-context-api/Map.snap.ast +0 -15
  1961. package/test/snapshots/svelte/16-context/00-context-api/MapMarker.snap.ast +0 -2
  1962. package/test/snapshots/svelte/17-special-elements/00-svelte-self/App.snap.ast +0 -5
  1963. package/test/snapshots/svelte/17-special-elements/00-svelte-self/File.snap.ast +0 -10
  1964. package/test/snapshots/svelte/17-special-elements/00-svelte-self/Folder.snap.ast +0 -35
  1965. package/test/snapshots/svelte/17-special-elements/01-svelte-component/App.snap.ast +0 -17
  1966. package/test/snapshots/svelte/17-special-elements/01-svelte-component/BlueThing.snap.ast +0 -7
  1967. package/test/snapshots/svelte/17-special-elements/01-svelte-component/GreenThing.snap.ast +0 -7
  1968. package/test/snapshots/svelte/17-special-elements/01-svelte-component/RedThing.snap.ast +0 -7
  1969. package/test/snapshots/svelte/17-special-elements/02-svelte-window/App.snap.ast +0 -30
  1970. package/test/snapshots/svelte/17-special-elements/03-svelte-window-bindings/App.snap.ast +0 -39
  1971. package/test/snapshots/svelte/17-special-elements/04-svelte-body/App.snap.ast +0 -12
  1972. package/test/snapshots/svelte/17-special-elements/05-svelte-head/App.snap.ast +0 -16
  1973. package/test/snapshots/svelte/18-module-context/01-module-exports/App.snap.ast +0 -35
  1974. package/test/snapshots/svelte/18-module-context/01-module-exports/AudioPlayer.snap.ast +0 -27
  1975. package/test/snapshots/svelte/19-debugging/00-debug/App.snap.ast +0 -28
  1976. package/test/snapshots/svelte/19-debugging/00-debug/Test.snap.ast +0 -359
  1977. package/test/snapshots/svelte/20-7guis/01-7guis-counter/App.snap.ast +0 -11
  1978. package/test/snapshots/svelte/20-7guis/02-7guis-temperature/App.snap.ast +0 -16
  1979. package/test/snapshots/svelte/20-7guis/03-7guis-flight-booker/App.snap.ast +0 -30
  1980. package/test/snapshots/svelte/20-7guis/04-7guis-timer/App.snap.ast +0 -36
  1981. package/test/snapshots/svelte/20-7guis/05-7guis-crud/App.snap.ast +0 -49
  1982. package/test/snapshots/svelte/20-7guis/06-7guis-circles/App.snap.ast +0 -47
  1983. package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/App.snap.ast +0 -22
  1984. package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Comment.snap.ast +0 -29
  1985. package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Item.snap.ast +0 -44
  1986. package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/List.snap.ast +0 -28
  1987. package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Summary.snap.ast +0 -28
  1988. package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/App.snap.ast +0 -28
  1989. package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/ImmutableTodo.snap.ast +0 -20
  1990. package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/MutableTodo.snap.ast +0 -17
  1991. package/test/snapshots/svelte/22-bugs/CSS/App.snap.ast +0 -3
  1992. package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/App.snap.ast +0 -18
  1993. package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.snap.ast +0 -25
  1994. package/test/snapshots/svelte/99-embeds/20190420-blog-write-less-code/App.snap.ast +0 -16
  1995. package/test/strikethrough.spec.ts +0 -114
  1996. package/test/subscript.spec.ts +0 -132
  1997. package/test/superscript.spec.ts +0 -139
  1998. package/test/svelte_blocks.spec.ts +0 -208
  1999. package/test/svelte_expressions.spec.ts +0 -175
  2000. package/test/svelte_tags.spec.ts +0 -125
  2001. package/test/tables.spec.ts +0 -663
  2002. package/test/thematic_breaks.spec.ts +0 -274
  2003. package/test/tree_builder.spec.ts +0 -342
  2004. package/test/utils.ts +0 -58
  2005. package/test/wire_emitter.spec.ts +0 -487
  2006. package/tsc/buf_utils.d.ts +0 -13
  2007. package/tsc/buf_utils.js +0 -49
  2008. package/tsc/constants.d.ts +0 -68
  2009. package/tsc/constants.js +0 -68
  2010. package/tsc/cursor.d.ts +0 -79
  2011. package/tsc/cursor.js +0 -160
  2012. package/tsc/main.d.ts +0 -472
  2013. package/tsc/main.js +0 -6351
  2014. package/tsc/node_view.d.ts +0 -116
  2015. package/tsc/node_view.js +0 -342
  2016. package/tsc/opcodes.d.ts +0 -75
  2017. package/tsc/opcodes.js +0 -1
  2018. package/tsc/plugin_dispatch.d.ts +0 -68
  2019. package/tsc/plugin_dispatch.js +0 -501
  2020. package/tsc/plugin_types.d.ts +0 -31
  2021. package/tsc/plugin_types.js +0 -1
  2022. package/tsc/tree_builder.d.ts +0 -31
  2023. package/tsc/tree_builder.js +0 -173
  2024. package/tsc/types.d.ts +0 -25
  2025. package/tsc/types.js +0 -1
  2026. package/tsc/undo_log.d.ts +0 -103
  2027. package/tsc/undo_log.js +0 -194
  2028. package/tsc/utils.d.ts +0 -242
  2029. package/tsc/utils.js +0 -792
  2030. package/tsc/utils.spec.d.ts +0 -1
  2031. package/tsc/utils.spec.js +0 -280
  2032. package/tsc/wire_emitter.d.ts +0 -66
  2033. package/tsc/wire_emitter.js +0 -385
  2034. package/tsc/wire_tree_builder.d.ts +0 -58
  2035. package/tsc/wire_tree_builder.js +0 -276
  2036. package/tsconfig.json +0 -15
  2037. package/vite.config.build.ts +0 -28
package/src/utils.ts DELETED
@@ -1,992 +0,0 @@
1
- /** default number of token entries to preallocate. */
2
- const DEFAULT_TOKEN_CAPACITY = 128;
3
-
4
- /** default number of error entries to preallocate. */
5
- const DEFAULT_ERROR_CAPACITY = 32;
6
-
7
- export const enum NodeKind {
8
- root = 0,
9
- text = 1,
10
- html = 2,
11
- heading = 3,
12
- mustache = 4,
13
- code_fence = 5,
14
- line_break = 6,
15
- paragraph = 7,
16
- code_span = 8,
17
- emphasis = 9,
18
- strong_emphasis = 10,
19
- thematic_break = 11,
20
- link = 12,
21
- image = 13,
22
- block_quote = 14,
23
- list = 15,
24
- list_item = 16,
25
- hard_break = 17,
26
- soft_break = 18,
27
- strikethrough = 19,
28
- superscript = 20,
29
- subscript = 21,
30
- table = 22,
31
- table_header = 23,
32
- table_row = 24,
33
- table_cell = 25,
34
- html_comment = 26,
35
- svelte_tag = 27,
36
- svelte_block = 28,
37
- svelte_branch = 29,
38
- directive_inline = 30,
39
- directive_leaf = 31,
40
- directive_container = 32,
41
- frontmatter = 33,
42
- import_statement = 34,
43
- }
44
-
45
- /**
46
- * calculate the next power-of-two capacity for typed array storage.
47
- * @param value minimum desired capacity.
48
- * @returns smallest power of two greater than or equal to `value`.
49
- */
50
- function next_power_of_two(value: number): number {
51
- let result = 1;
52
- while (result < value) {
53
- result <<= 1;
54
- }
55
- return result;
56
- }
57
-
58
- /**
59
- * convert a node kind to a string
60
- * @param kind node kind
61
- * @returns string
62
- */
63
- export const kind_to_string = (kind: NodeKind): string => {
64
- switch (kind) {
65
- case NodeKind.root:
66
- return "root";
67
- case NodeKind.text:
68
- return "text";
69
- case NodeKind.html:
70
- return "html";
71
- case NodeKind.heading:
72
- return "heading";
73
- case NodeKind.mustache:
74
- return "mustache";
75
- case NodeKind.code_fence:
76
- return "code_fence";
77
- case NodeKind.line_break:
78
- return "line_break";
79
- case NodeKind.paragraph:
80
- return "paragraph";
81
- case NodeKind.code_span:
82
- return "code_span";
83
- case NodeKind.emphasis:
84
- return "emphasis";
85
- case NodeKind.strong_emphasis:
86
- return "strong_emphasis";
87
- case NodeKind.thematic_break:
88
- return "thematic_break";
89
- case NodeKind.link:
90
- return "link";
91
- case NodeKind.image:
92
- return "image";
93
- case NodeKind.block_quote:
94
- return "block_quote";
95
- case NodeKind.list:
96
- return "list";
97
- case NodeKind.list_item:
98
- return "list_item";
99
- case NodeKind.hard_break:
100
- return "hard_break";
101
- case NodeKind.soft_break:
102
- return "soft_break";
103
- case NodeKind.strikethrough:
104
- return "strikethrough";
105
- case NodeKind.superscript:
106
- return "superscript";
107
- case NodeKind.subscript:
108
- return "subscript";
109
- case NodeKind.table:
110
- return "table";
111
- case NodeKind.table_header:
112
- return "table_header";
113
- case NodeKind.table_row:
114
- return "table_row";
115
- case NodeKind.table_cell:
116
- return "table_cell";
117
- case NodeKind.html_comment:
118
- return "html_comment";
119
- case NodeKind.svelte_tag:
120
- return "svelte_tag";
121
- case NodeKind.svelte_block:
122
- return "svelte_block";
123
- case NodeKind.svelte_branch:
124
- return "svelte_branch";
125
- case NodeKind.directive_inline:
126
- return "directive_inline";
127
- case NodeKind.directive_leaf:
128
- return "directive_leaf";
129
- case NodeKind.directive_container:
130
- return "directive_container";
131
- case NodeKind.frontmatter:
132
- return "frontmatter";
133
- case NodeKind.import_statement:
134
- return "import_statement";
135
- }
136
- };
137
-
138
- /** reverse mapping from string name to numeric NodeKind. built once at module load. */
139
- const _string_to_kind = new Map<string, NodeKind>();
140
- for (let i = 0; i <= 34; i++) {
141
- _string_to_kind.set(kind_to_string(i as NodeKind), i as NodeKind);
142
- }
143
-
144
- /**
145
- * convert a string name to a NodeKind value.
146
- * @param name node kind name (e.g. 'heading', 'paragraph').
147
- * @returns the numeric kind, or undefined if unknown.
148
- */
149
- export const string_to_kind = (name: string): NodeKind | undefined => {
150
- return _string_to_kind.get(name);
151
- };
152
-
153
- /**
154
- * convert a node extra to a string
155
- * @param kind node extra
156
- * @returns string
157
- */
158
- const extra_to_string = (kind: NodeKind): string | undefined => {
159
- switch (kind) {
160
- case NodeKind.heading:
161
- return "depth";
162
- }
163
- };
164
-
165
- /**
166
- * buffer that stores node metadata with typed arrays.
167
- */
168
- export class NodeBuffer {
169
- private capacity: number;
170
- /** @internal exposed for cursor access. do not mutate externally. */
171
- _kinds: Uint8Array;
172
- /** @internal exposed for cursor access. do not mutate externally. */
173
- _starts: Uint32Array;
174
- /** @internal */
175
- _ends: Uint32Array;
176
- /** @internal */
177
- _extras: Uint16Array;
178
- /** @internal */
179
- _value_starts: Uint32Array;
180
- /** @internal */
181
- _value_ends: Uint32Array;
182
- private has_metadata: Uint8Array;
183
- private metadata: Map<number, any>;
184
- /** @internal pre-materialized text strings (used by wiretreebuilder). index -> string. */
185
- _strings: (string | undefined)[];
186
- /** @internal */
187
- _parents: Uint32Array;
188
- /** @internal */
189
- _next_siblings: Uint32Array;
190
- /** @internal */
191
- _prev_siblings: Uint32Array;
192
- /** @internal */
193
- _children_starts: Uint32Array;
194
- /** @internal */
195
- _children_ends: Uint32Array;
196
- /** @internal */
197
- _pending_nodes: Uint32Array;
198
-
199
- private _size: number;
200
-
201
- /**
202
- * create a buffer that stores token metadata with typed arrays.
203
- * @param initial_capacity requested starting capacity for tokens.
204
- */
205
- constructor(initial_capacity = DEFAULT_TOKEN_CAPACITY) {
206
- const capacity = next_power_of_two(initial_capacity);
207
- this.capacity = capacity;
208
- this._kinds = new Uint8Array(capacity);
209
- this._starts = new Uint32Array(capacity);
210
- this._ends = new Uint32Array(capacity);
211
- this._extras = new Uint16Array(capacity);
212
- this._value_starts = new Uint32Array(capacity);
213
- this._value_ends = new Uint32Array(capacity);
214
- this.has_metadata = new Uint8Array(Math.max(1, capacity >> 3));
215
- this.metadata = new Map();
216
- this._strings = [];
217
- this._parents = new Uint32Array(capacity);
218
- this._next_siblings = new Uint32Array(capacity);
219
- this._prev_siblings = new Uint32Array(capacity);
220
- this._children_starts = new Uint32Array(capacity);
221
- this._children_ends = new Uint32Array(capacity);
222
- this._pending_nodes = new Uint32Array(capacity);
223
-
224
- this._size = 0;
225
-
226
- this.push(NodeKind.root, 0);
227
- }
228
-
229
- /** clear previously pushed tokens without reallocating storage. */
230
- reset(): void {
231
- this._size = 0;
232
- }
233
-
234
- /** number of tokens currently stored. */
235
- get size(): number {
236
- return this._size;
237
- }
238
-
239
- /**
240
- * push a token descriptor into the buffer.
241
- * @param kind token category.
242
- * @param cursor cursor position
243
- * @param parent index of the parent node, or -1 for root.
244
- * @param extra extra metadata stored alongside the token.
245
- * @param metadata optional metadata associated with the node.
246
- */
247
- push(
248
- kind: NodeKind,
249
- cursor: number,
250
- parent = 0xffffffff,
251
- extra = 0,
252
- metadata?: any,
253
- ): number {
254
- const index = this._size;
255
- if (index >= this.capacity) {
256
- this.grow();
257
- }
258
-
259
- this._kinds[index] = kind;
260
- this._starts[index] = cursor >>> 0;
261
- this._ends[index] = 0xffffffff;
262
- this._extras[index] = extra & 0xffff;
263
- this._size = index + 1;
264
- this._parents[index] = parent;
265
- this._next_siblings[index] = 0xffffffff;
266
- this._prev_siblings[index] = 0xffffffff;
267
- this._children_starts[index] = 0xffffffff;
268
- this._children_ends[index] = 0xffffffff;
269
-
270
- if (parent !== 0xffffffff) {
271
- const last = this._children_ends[parent];
272
- if (last === 0xffffffff) {
273
- // first child
274
- this._children_starts[parent] = index;
275
- } else {
276
- // append after last child, o(1)
277
- this._next_siblings[last] = index;
278
- this._prev_siblings[index] = last;
279
- }
280
- this._children_ends[parent] = index;
281
- }
282
-
283
- if (metadata !== undefined) {
284
- this.metadata.set(index, metadata);
285
- // bitmask for metadata
286
- this.has_metadata[index >> 3] |= 1 << (index & 7);
287
- }
288
-
289
- return index;
290
- }
291
-
292
- push_pending(
293
- kind: NodeKind,
294
- cursor: number,
295
- parent = 0xffffffff,
296
- extra = 0,
297
- metadata?: any,
298
- ): number {
299
- const index = this.push(kind, cursor, parent, extra, metadata);
300
- this._pending_nodes[index] = 1;
301
- return index;
302
- }
303
-
304
- /**
305
- * allocate a node slot without linking it into any parent's child list.
306
- * the caller is responsible for setting _parents and linking into the
307
- * sibling chain manually. used by plugin structural mutations (prepend).
308
- * @param kind node kind.
309
- * @param cursor source position.
310
- * @param extra kind-specific extra value.
311
- * @param metadata optional metadata.
312
- * @returns buffer index of the new node.
313
- */
314
- push_unlinked(
315
- kind: NodeKind,
316
- cursor: number,
317
- extra = 0,
318
- metadata?: any,
319
- ): number {
320
- const index = this._size;
321
- if (index >= this.capacity) {
322
- this.grow();
323
- }
324
-
325
- this._kinds[index] = kind;
326
- this._starts[index] = cursor >>> 0;
327
- this._ends[index] = 0xffffffff;
328
- this._extras[index] = extra & 0xffff;
329
- this._size = index + 1;
330
- this._parents[index] = 0xffffffff;
331
- this._next_siblings[index] = 0xffffffff;
332
- this._prev_siblings[index] = 0xffffffff;
333
- this._children_starts[index] = 0xffffffff;
334
- this._children_ends[index] = 0xffffffff;
335
-
336
- if (metadata !== undefined) {
337
- this.metadata.set(index, metadata);
338
- this.has_metadata[index >> 3] |= 1 << (index & 7);
339
- }
340
-
341
- return index;
342
- }
343
-
344
- /**
345
- * insert a new wrapper node between a parent and all its current children.
346
- * the new node becomes the sole child of parent, and all prior children
347
- * become children of the new wrapper.
348
- *
349
- * @param parent_idx buffer index of the parent node.
350
- * @param new_kind kind for the wrapper node.
351
- * @param extra kind-specific extra value for the wrapper.
352
- * @param metadata optional metadata for the wrapper.
353
- * @returns buffer index of the new wrapper node.
354
- */
355
- wrap_children(
356
- parent_idx: number,
357
- new_kind: NodeKind,
358
- extra = 0,
359
- metadata?: any,
360
- ): number {
361
- const first_child = this._children_starts[parent_idx];
362
- const last_child = this._children_ends[parent_idx];
363
-
364
- // detach children from parent
365
- this._children_starts[parent_idx] = 0xffffffff;
366
- this._children_ends[parent_idx] = 0xffffffff;
367
-
368
- // push wrapper as sole child of parent (auto-links via push)
369
- const wrapper_idx = this.push(new_kind, 0, parent_idx, extra, metadata);
370
-
371
- // reattach old children to wrapper
372
- if (first_child !== 0xffffffff) {
373
- this._children_starts[wrapper_idx] = first_child;
374
- this._children_ends[wrapper_idx] = last_child;
375
-
376
- // update parent pointers on all moved children
377
- let child = first_child;
378
- while (child !== 0xffffffff && this._parents[child] === parent_idx) {
379
- this._parents[child] = wrapper_idx;
380
- child = this._next_siblings[child];
381
- }
382
- }
383
-
384
- return wrapper_idx;
385
- }
386
-
387
- commit_node(index: number): void {
388
- this._pending_nodes[index] = 0;
389
- }
390
-
391
- get_pending(): number[] {
392
- const result: number[] = [];
393
- for (let i = 0; i < this._size; i++) {
394
- if (this._pending_nodes[i] !== 0) {
395
- result.push(i);
396
- }
397
- }
398
- return result;
399
- }
400
-
401
- /**
402
- * repair a revoked (pending) node.
403
- *
404
- * all repair logic lives here, treebuilder and wiretreebuilder
405
- * both delegate to this method. the strategy depends on context:
406
- *
407
- * **inline revocation** (parent is paragraph, emphasis, link, etc.):
408
- * convert the node to text (the delimiter), reparent children to grandparent.
409
- *
410
- * **block-level revocation** (parent is root, block_quote, list_item):
411
- * convert the node to a paragraph, create a text child with the raw source.
412
- * existing children (e.g. line_breaks from html block parsing) are discarded.
413
- *
414
- * @param index buffer index of the node to repair.
415
- * @param delimiter_text optional pre-resolved delimiter string (wire path).
416
- * if provided, stored in _strings. if absent, value range is set from
417
- * the node's start position.
418
- */
419
- handle_repair(index: number, delimiter_text?: string): void {
420
- const parent = this._parents[index];
421
- const kind = this._kinds[index] as NodeKind;
422
- const parent_kind =
423
- parent !== 0xffffffff ? (this._kinds[parent] as NodeKind) : undefined;
424
-
425
- // tight-list speculation repair
426
- // a pending paragraph inside a list_item represents the "loose"
427
- // wrapper that tight lists don't need. revoking it simply drops
428
- // the wrapper and reparents children to the list_item.
429
- if (kind === NodeKind.paragraph && parent_kind === NodeKind.list_item) {
430
- this.unwrap_node(index);
431
- return;
432
- }
433
-
434
- // block-level repair
435
- // if the parent is a block container, the revoked node (typically an
436
- // unclosed html block) is replaced by a paragraph containing the literal
437
- // open-tag text. children that were parsed inside are reparented to the
438
- // grandparent so already-recognized structure is preserved.
439
- if (
440
- parent_kind === NodeKind.root ||
441
- parent_kind === NodeKind.block_quote ||
442
- parent_kind === NodeKind.list_item
443
- ) {
444
- const start = this._starts[index];
445
- let end: number;
446
-
447
- if (delimiter_text !== undefined) {
448
- // wire path: delimiter_text is the literal open-tag source
449
- end = start + delimiter_text.length;
450
- } else {
451
- // source path: prefer the node's recorded end; fall back to the
452
- // nearest meaningful child position so we never collapse to start.
453
- end = this._ends[index];
454
- if (end === 0xffffffff) {
455
- let child = this._children_starts[index];
456
- while (child !== 0xffffffff && this._parents[child] === index) {
457
- if (this._kinds[child] === NodeKind.line_break) {
458
- const lb_start = this._starts[child];
459
- if (lb_start > 0 && (end === 0xffffffff || lb_start > end)) {
460
- end = lb_start;
461
- }
462
- } else {
463
- const child_end = this._ends[child];
464
- if (
465
- child_end !== 0xffffffff &&
466
- (end === 0xffffffff || child_end > end)
467
- ) {
468
- end = child_end;
469
- }
470
- }
471
- child = this._next_siblings[child];
472
- }
473
- }
474
- if (end === 0xffffffff || end <= start) {
475
- this.unwrap_node(index);
476
- return;
477
- }
478
- }
479
-
480
- // reparent children to the grandparent so trailing parsed content
481
- // (e.g. block elements that followed the unclosed open tag) is kept.
482
- const child_chain = this._children_starts[index];
483
- this._children_starts[index] = 0xffffffff;
484
- this._children_ends[index] = 0xffffffff;
485
-
486
- // convert this node into a paragraph holding the literal open-tag text.
487
- this.set_kind(index, NodeKind.paragraph);
488
- this.metadata.delete(index);
489
- this._ends[index] = end;
490
-
491
- const text_idx = this.push(NodeKind.text, start, index);
492
- this._value_starts[text_idx] = start;
493
- this._value_ends[text_idx] = end;
494
- this._ends[text_idx] = end;
495
- if (delimiter_text !== undefined) {
496
- this._strings[text_idx] = delimiter_text;
497
- }
498
-
499
- // splice the original children in after the rewritten node so they
500
- // appear as siblings under the parent.
501
- if (child_chain !== 0xffffffff) {
502
- const original_next = this._next_siblings[index];
503
- let last_child = child_chain;
504
- let scan = child_chain;
505
- while (scan !== 0xffffffff && this._parents[scan] === index) {
506
- this._parents[scan] = parent;
507
- last_child = scan;
508
- scan = this._next_siblings[scan];
509
- }
510
- this._next_siblings[last_child] = original_next;
511
- if (original_next !== 0xffffffff) {
512
- this._prev_siblings[original_next] = last_child;
513
- } else if (parent !== 0xffffffff && this._children_ends[parent] === index) {
514
- this._children_ends[parent] = last_child;
515
- }
516
- this._next_siblings[index] = child_chain;
517
- this._prev_siblings[child_chain] = index;
518
- }
519
- return;
520
- }
521
-
522
- // inline repair
523
- const first_child = this._children_starts[index];
524
-
525
- // convert the wrapper to a plain text node whose value is the
526
- // literal delimiter (e.g. "~" for subscript, "<div>" for an
527
- // inline html open tag). any children stay in the document,
528
- // they are reparented to the grandparent so the streamed
529
- // content is preserved after revocation.
530
- this.set_kind(index, NodeKind.text);
531
-
532
- if (delimiter_text !== undefined) {
533
- this._strings[index] = delimiter_text;
534
- const start = this._starts[index];
535
- const end = start + delimiter_text.length;
536
- this._value_starts[index] = start;
537
- this._value_ends[index] = end;
538
- this._ends[index] = end;
539
-
540
- if (first_child === 0xffffffff) {
541
- this._children_starts[index] = 0xffffffff;
542
- this._children_ends[index] = 0xffffffff;
543
- return;
544
- }
545
-
546
- // reparent children and splice them in after this text node.
547
- let child = first_child;
548
- let last_child = first_child;
549
- while (child !== 0xffffffff && this._parents[child] === index) {
550
- this._parents[child] = parent;
551
- last_child = child;
552
- child = this._next_siblings[child];
553
- }
554
- const node_next = this._next_siblings[index];
555
- this._next_siblings[index] = first_child;
556
- this._prev_siblings[first_child] = index;
557
- if (node_next !== 0xffffffff && this._parents[node_next] === parent) {
558
- this._next_siblings[last_child] = node_next;
559
- this._prev_siblings[node_next] = last_child;
560
- } else {
561
- this._next_siblings[last_child] = 0xffffffff;
562
- }
563
- if (this._children_ends[parent] === index) {
564
- this._children_ends[parent] = last_child;
565
- }
566
- this._children_starts[index] = 0xffffffff;
567
- this._children_ends[index] = 0xffffffff;
568
- return;
569
- }
570
-
571
- // source-based fallback, derive the delimiter byte range from
572
- // the node's own start offset.
573
- if (first_child === 0xffffffff) {
574
- this._children_starts[index] = 0xffffffff;
575
- this._children_ends[index] = 0xffffffff;
576
- this._value_starts[index] = this._starts[index];
577
- if (this._ends[index] === 0xffffffff) {
578
- this._value_ends[index] = this._starts[index] + 1;
579
- this._ends[index] = this._starts[index] + 1;
580
- } else {
581
- this._value_ends[index] = this._ends[index];
582
- }
583
- return;
584
- }
585
-
586
- // walk sibling chain and reparent only direct children
587
- let child = first_child;
588
- let last_child = first_child;
589
-
590
- while (child !== 0xffffffff && this._parents[child] === index) {
591
- this._parents[child] = parent;
592
- last_child = child;
593
- child = this._next_siblings[child];
594
- }
595
-
596
- // if exactly one child and it's text, merge the delimiter into it
597
- if (
598
- last_child === first_child &&
599
- this._kinds[first_child] === NodeKind.text
600
- ) {
601
- this._value_starts[index] = this._starts[index];
602
- this._value_ends[index] = this._ends[first_child];
603
- this._ends[index] = this._ends[first_child];
604
-
605
- // skip the child in the sibling chain
606
- this._next_siblings[index] = this._next_siblings[first_child];
607
- if (this._next_siblings[first_child] !== 0xffffffff) {
608
- this._prev_siblings[this._next_siblings[first_child]] = index;
609
- }
610
-
611
- this._children_starts[index] = 0xffffffff;
612
- this._children_ends[index] = 0xffffffff;
613
- return;
614
- }
615
-
616
- // insert converted node as sibling before first_child, reparent rest
617
- const first_child_prev = this._prev_siblings[first_child];
618
-
619
- this._next_siblings[index] = first_child;
620
- this._prev_siblings[first_child] = index;
621
-
622
- if (first_child_prev !== 0xffffffff) {
623
- this._next_siblings[first_child_prev] = index;
624
- this._prev_siblings[index] = first_child_prev;
625
- }
626
-
627
- if (this._children_ends[parent] === index) {
628
- this._children_ends[parent] = last_child;
629
- }
630
-
631
- // clear children references
632
- this._children_starts[index] = 0xffffffff;
633
- this._children_ends[index] = 0xffffffff;
634
-
635
- this._value_starts[index] = this._starts[index];
636
- this._value_ends[index] = this._value_starts[first_child];
637
- this._ends[index] = this._value_ends[index];
638
- }
639
-
640
- repair(): void {
641
- const pending_nodes = this._pending_nodes.forEach((node, index) => {
642
- if (node !== 0) {
643
- this.handle_repair(index);
644
- }
645
- });
646
- }
647
-
648
- pop(): void {
649
- this._size -= 1;
650
- }
651
-
652
- /**
653
- * remove a node from the tree and reparent its children to its parent.
654
- * the node is effectively "unwrapped", its children take its place
655
- * in the parent's child list.
656
- */
657
- unwrap_node(index: number): void {
658
- const parent = this._parents[index];
659
- const first_child = this._children_starts[index];
660
-
661
- if (first_child === 0xffffffff) {
662
- // no children, remove from sibling chain
663
- const prev_sib = this._prev_siblings[index];
664
- const next_sib = this._next_siblings[index];
665
- if (prev_sib !== 0xffffffff) {
666
- this._next_siblings[prev_sib] = next_sib;
667
- } else if (parent !== 0xffffffff) {
668
- this._children_starts[parent] = next_sib;
669
- }
670
- if (next_sib !== 0xffffffff) {
671
- this._prev_siblings[next_sib] = prev_sib;
672
- }
673
- // update parent's last child if we removed the tail
674
- if (parent !== 0xffffffff && this._children_ends[parent] === index) {
675
- this._children_ends[parent] = prev_sib; // 0xffffffff if was only child
676
- }
677
- return;
678
- }
679
-
680
- // reparent all children and find last child
681
- let child = first_child;
682
- let last_child = first_child;
683
- while (child !== 0xffffffff && this._parents[child] === index) {
684
- this._parents[child] = parent;
685
- last_child = child;
686
- child = this._next_siblings[child];
687
- }
688
-
689
- // splice children into parent's child list where this node was
690
- const prev_sib = this._prev_siblings[index];
691
- const next_sib =
692
- this._next_siblings[last_child] !== 0xffffffff &&
693
- this._parents[this._next_siblings[last_child]] === index
694
- ? 0xffffffff
695
- : this._next_siblings[last_child];
696
-
697
- // the actual next sibling of the unwrapped node (not of last_child)
698
- const node_next = this._next_siblings[index];
699
-
700
- if (prev_sib !== 0xffffffff) {
701
- this._next_siblings[prev_sib] = first_child;
702
- this._prev_siblings[first_child] = prev_sib;
703
- } else if (parent !== 0xffffffff) {
704
- this._children_starts[parent] = first_child;
705
- this._prev_siblings[first_child] = 0xffffffff;
706
- }
707
-
708
- // link last child to the unwrapped node's next sibling
709
- if (node_next !== 0xffffffff && node_next !== first_child) {
710
- this._next_siblings[last_child] = node_next;
711
- this._prev_siblings[node_next] = last_child;
712
- } else {
713
- this._next_siblings[last_child] = 0xffffffff;
714
- }
715
-
716
- // update parent's last child if we replaced the tail
717
- if (parent !== 0xffffffff && this._children_ends[parent] === index) {
718
- this._children_ends[parent] = last_child;
719
- }
720
-
721
- // clear the unwrapped node's links
722
- this._children_starts[index] = 0xffffffff;
723
- this._children_ends[index] = 0xffffffff;
724
- }
725
-
726
- set_parent_kind(index: number, kind: NodeKind): void {
727
- const parent_index = this._parents[index];
728
- if (parent_index !== 0xffffffff) {
729
- this._kinds[parent_index] = kind;
730
- }
731
- }
732
-
733
- /** return indices of all nodes matching the given kind (lazy scan). */
734
- get_kinds(kind: NodeKind): number[] {
735
- const result: number[] = [];
736
- for (let i = 0; i < this._size; i++) {
737
- if (this._kinds[i] === kind) result.push(i);
738
- }
739
- return result;
740
- }
741
-
742
- /**
743
- * get the token kind recorded at the supplied index.
744
- * @param index token index.
745
- */
746
- kind_at(index: number): NodeKind {
747
- return this._kinds[index] as NodeKind;
748
- }
749
-
750
- /**
751
- * set the kind of the node at the given index
752
- * @param index index of the node whose kind to update
753
- * @param kind new kind
754
- */
755
- set_kind(index: number, kind: NodeKind): void {
756
- this._kinds[index] = kind;
757
- }
758
-
759
- /** @internal set prev_siblings for wiretreebuilder revoke. */
760
- prev_siblings_set(index: number, value: number): void {
761
- this._prev_siblings[index] = value;
762
- }
763
-
764
- /** @internal set children_ends for wiretreebuilder revoke. */
765
- children_ends_set(index: number, value: number): void {
766
- this._children_ends[index] = value;
767
- }
768
-
769
- /**
770
- * set the extra of the node at the given index
771
- * @param index index of the node whose extra to update
772
- * @param extra new extra
773
- */
774
- set_extra(index: number, extra: number): void {
775
- this._extras[index] = extra & 0xffff;
776
- }
777
-
778
- /**
779
- * set the end position of the node at the given index
780
- * @param index index of the node whose end position to update
781
- * @param end new end position
782
- */
783
- set_end(index: number, end: number): void {
784
- this._ends[index] = end >>> 0;
785
- }
786
-
787
- gently_set_end(index: number, end: number): void {
788
- if (this._ends[index] !== 0xffffffff) return;
789
- this._ends[index] = end >>> 0;
790
- }
791
-
792
- gently_set_value_end(index: number, end: number): void {
793
- if (this._value_ends[index] !== 0xffffffff) return;
794
- this._value_ends[index] = end >>> 0;
795
- }
796
-
797
- /** pre-grow to avoid repeated resizes when the final size is estimable. */
798
- ensure_capacity(needed: number): void {
799
- while (this.capacity < needed) this.grow();
800
- }
801
-
802
- /** double the backing storage when capacity is exhausted. */
803
- private grow(): void {
804
- const next = this.capacity << 1;
805
- const next_kinds = new Uint8Array(next);
806
- const next_starts = new Uint32Array(next);
807
- const next_ends = new Uint32Array(next);
808
- const next_extras = new Uint16Array(next);
809
- const next_value_starts = new Uint32Array(next);
810
- const next_value_ends = new Uint32Array(next);
811
- const next_parents = new Uint32Array(next);
812
- const next_next_siblings = new Uint32Array(next);
813
- const next_prev_siblings = new Uint32Array(next);
814
- const next_children_starts = new Uint32Array(next);
815
- const next_children_ends = new Uint32Array(next);
816
- const next_pending_nodes = new Uint32Array(next);
817
- const next_has_metadata = new Uint8Array(Math.max(1, next >> 3));
818
-
819
- next_kinds.set(this._kinds);
820
- next_starts.set(this._starts);
821
- next_ends.set(this._ends);
822
- next_extras.set(this._extras);
823
- next_value_starts.set(this._value_starts);
824
- next_value_ends.set(this._value_ends);
825
- next_parents.set(this._parents);
826
- next_next_siblings.set(this._next_siblings);
827
- next_prev_siblings.set(this._prev_siblings);
828
- next_children_starts.set(this._children_starts);
829
- next_children_ends.set(this._children_ends);
830
- next_pending_nodes.set(this._pending_nodes);
831
- next_has_metadata.set(this.has_metadata);
832
-
833
- this.capacity = next;
834
- this._kinds = next_kinds;
835
- this._starts = next_starts;
836
- this._ends = next_ends;
837
- this._extras = next_extras;
838
- this._value_starts = next_value_starts;
839
- this._value_ends = next_value_ends;
840
- this._parents = next_parents;
841
- this._next_siblings = next_next_siblings;
842
- this._prev_siblings = next_prev_siblings;
843
- this._children_starts = next_children_starts;
844
- this._children_ends = next_children_ends;
845
- this._pending_nodes = next_pending_nodes;
846
- this.has_metadata = next_has_metadata;
847
- }
848
-
849
- set_metadata(index: number, metadata: any): void {
850
- this.metadata.set(index, metadata);
851
- this.has_metadata[index >> 3] |= 1 << (index & 7);
852
- }
853
-
854
- metadata_at(index: number): any | undefined {
855
- // check bit first
856
- if (!(this.has_metadata[index >> 3] & (1 << (index & 7)))) {
857
- return undefined; // fast path: no map lookup
858
- }
859
- return this.metadata.get(index);
860
- }
861
-
862
- set_value(index: number, value_start: number, value_end: number): void {
863
- this._value_starts[index] = value_start;
864
- this._value_ends[index] = value_end;
865
- }
866
-
867
- set_value_start(index: number, value_start: number): void {
868
- this._value_starts[index] = value_start;
869
- }
870
-
871
- set_value_end(index: number, value_end: number): void {
872
- this._value_ends[index] = value_end;
873
- }
874
-
875
- /**
876
- * get the node at the given index or the root node if no index is provided
877
- * @param index index of the node to get
878
- * @returns node
879
- */
880
- get_node(index: number = 0): {
881
- kind: string;
882
- start: number;
883
- end: number;
884
- metadata: any;
885
- parent: number | null;
886
- next: number | null;
887
- prev: number | null;
888
- children: number[];
889
- value: [number, number];
890
- index: number;
891
- } {
892
- const extra_string = extra_to_string(this._kinds[index]);
893
- const extras_object = extra_string
894
- ? { [extra_string]: this._extras[index] }
895
- : {};
896
-
897
- const _children = [];
898
-
899
- // walk sibling chain to get all direct children
900
- let child = this._children_starts[index];
901
- while (child !== 0xffffffff && this._parents[child] === index) {
902
- _children.push(child);
903
- child = this._next_siblings[child];
904
- }
905
-
906
- return {
907
- kind: kind_to_string(this._kinds[index]),
908
- start: this._starts[index],
909
- end: this._ends[index],
910
- metadata: {
911
- ...this.metadata_at(index),
912
- ...extras_object,
913
- },
914
- parent: this._parents[index] === 0xffffffff ? null : this._parents[index],
915
- next:
916
- this._next_siblings[index] === 0xffffffff
917
- ? null
918
- : this._next_siblings[index],
919
- prev:
920
- this._prev_siblings[index] === 0xffffffff
921
- ? null
922
- : this._prev_siblings[index],
923
- value: [this._value_starts[index], this._value_ends[index]],
924
- children: _children,
925
- index: index,
926
- };
927
- }
928
- }
929
-
930
- /** collects indices for parse errors encountered during tokenization. */
931
- export class ErrorCollector {
932
- private capacity: number;
933
- private indices: Uint32Array;
934
- private _size: number;
935
-
936
- /**
937
- * create a collector that records error indices encountered while parsing.
938
- * @param initial_capacity requested starting capacity for error indices.
939
- */
940
- constructor(initial_capacity = DEFAULT_ERROR_CAPACITY) {
941
- const capacity = next_power_of_two(initial_capacity);
942
- this.capacity = capacity;
943
- this.indices = new Uint32Array(capacity);
944
- this._size = 0;
945
- }
946
-
947
- /** clear previously stored errors. */
948
- reset(): void {
949
- this._size = 0;
950
- }
951
-
952
- /** number of errors recorded so far. */
953
- get size(): number {
954
- return this._size;
955
- }
956
-
957
- /**
958
- * append an error position to the collector, growing storage as needed.
959
- * @param index offset in the source string where the error occurred.
960
- */
961
- push(index: number): void {
962
- const next_index = this._size;
963
- if (next_index >= this.capacity) {
964
- this.grow();
965
- }
966
-
967
- this.indices[next_index] = index >>> 0;
968
- this._size = next_index + 1;
969
- }
970
-
971
- /**
972
- * get the stored error index at the given position.
973
- * @param position position within the collector.
974
- */
975
- at(position: number): number {
976
- return this.indices[position];
977
- }
978
-
979
- /** create a view over the recorded errors. */
980
- slice(): Uint32Array {
981
- return this.indices.subarray(0, this._size);
982
- }
983
-
984
- /** double the backing storage when capacity is exhausted. */
985
- private grow(): void {
986
- const next = this.capacity << 1;
987
- const next_indices = new Uint32Array(next);
988
- next_indices.set(this.indices);
989
- this.capacity = next;
990
- this.indices = next_indices;
991
- }
992
- }