@mdsvex/parse 0.0.0 → 1.0.0-next.1

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