@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.
- package/CHANGELOG.md +234 -0
- package/LICENSE +21 -0
- package/PLUGINS.md +296 -0
- package/WIRE_FORMAT.md +690 -0
- package/dist/buf-utils.js +38 -0
- package/dist/buf_utils.d.ts +13 -0
- package/dist/constants.d.ts +68 -0
- package/dist/cursor.d.ts +83 -0
- package/dist/cursor.js +185 -0
- package/dist/main.d.ts +808 -0
- package/dist/main.js +7120 -0
- package/dist/node_view-bvM0i0-p.js +407 -0
- package/dist/node_view.d.ts +115 -0
- package/dist/opcodes.d.ts +92 -0
- package/dist/opcodes.js +1 -0
- package/dist/plugin_dispatch.d.ts +82 -0
- package/dist/plugin_types.d.ts +31 -0
- package/dist/tree-builder.js +219 -0
- package/dist/tree_builder.d.ts +62 -0
- package/dist/types.d.ts +25 -0
- package/dist/undo_log.d.ts +113 -0
- package/dist/utils.d.ts +268 -0
- package/dist/utils.js +931 -0
- package/dist/utils.spec.d.ts +1 -0
- package/dist/wire-tree-builder.js +168 -0
- package/dist/wire_emitter.d.ts +66 -0
- package/dist/wire_tree_builder.d.ts +55 -0
- package/package.json +57 -8
- package/src/buf_utils.ts +54 -0
- package/src/constants.ts +101 -0
- package/src/cursor.ts +212 -0
- package/src/main.ts +11991 -0
- package/src/node_view.ts +460 -0
- package/src/opcodes.ts +123 -0
- package/src/plugin_dispatch.ts +744 -0
- package/src/plugin_types.ts +36 -0
- package/src/tree_builder.ts +394 -0
- package/src/types.ts +30 -0
- package/src/undo_log.ts +336 -0
- package/src/utils.spec.ts +424 -0
- package/src/utils.ts +1369 -0
- package/src/wire_emitter.ts +475 -0
- package/src/wire_tree_builder.ts +324 -0
- package/test/ast_snapshots.spec.ts +155 -0
- package/test/atx_headings.spec.ts +260 -0
- package/test/autolinks.spec.ts +306 -0
- package/test/backslash_escapes.spec.ts +266 -0
- package/test/blank_lines.spec.ts +113 -0
- package/test/block_quotes.spec.ts +533 -0
- package/test/code_spans.spec.ts +862 -0
- package/test/crlf.spec.ts +173 -0
- package/test/directives.spec.ts +1305 -0
- package/test/emphasis.spec.ts +1892 -0
- package/test/fenced_code_blocks.spec.ts +375 -0
- package/test/fixtures/hybrid/code-escaping.svx +10 -0
- package/test/fixtures/hybrid/code-highlight-nesting.svx +6 -0
- package/test/fixtures/hybrid/component-children.svx +24 -0
- package/test/fixtures/hybrid/component-simple-00.svx +9 -0
- package/test/fixtures/hybrid/component-simple-01.svx +7 -0
- package/test/fixtures/hybrid/component-simple-02.svx +1 -0
- package/test/fixtures/hybrid/component-simple-03.svx +7 -0
- package/test/fixtures/hybrid/component-simple-04.svx +9 -0
- package/test/fixtures/hybrid/dollar-one-in-frontmatter.svx +5 -0
- package/test/fixtures/hybrid/error.svx +37 -0
- package/test/fixtures/hybrid/link-curlies.svx +22 -0
- package/test/fixtures/hybrid/tags-in-frontmatter.svx +3 -0
- package/test/fixtures/markdown/anchors-by-reference.md +11 -0
- package/test/fixtures/markdown/anchors-followed-by-brakets.md +7 -0
- package/test/fixtures/markdown/automatic-anchors.md +2 -0
- package/test/fixtures/markdown/blockquote-followed-by-code.md +10 -0
- package/test/fixtures/markdown/blockquote-inside-code.md +11 -0
- package/test/fixtures/markdown/blockquote-nested-markdown.md +10 -0
- package/test/fixtures/markdown/blockquote.md +4 -0
- package/test/fixtures/markdown/code-block-html-escape.md +6 -0
- package/test/fixtures/markdown/code-block-with-special-chars.md +8 -0
- package/test/fixtures/markdown/code-block.md +6 -0
- package/test/fixtures/markdown/double-emphasis.md +7 -0
- package/test/fixtures/markdown/doubline-list.md +4 -0
- package/test/fixtures/markdown/ellipsis.md +24 -0
- package/test/fixtures/markdown/emphasis-inside-inline-code.md +1 -0
- package/test/fixtures/markdown/emphasis.md +88 -0
- package/test/fixtures/markdown/encodeHTMLCodeTags.md +5 -0
- package/test/fixtures/markdown/escaped-html-taglikes.md +7 -0
- package/test/fixtures/markdown/escaped-number-period.md +1 -0
- package/test/fixtures/markdown/escaping.md +32 -0
- package/test/fixtures/markdown/github-style-at-start.md +7 -0
- package/test/fixtures/markdown/github-style-codeblock-inside-quote.md +13 -0
- package/test/fixtures/markdown/github-style-codeblock.md +34 -0
- package/test/fixtures/markdown/github-style-linebreaks.md +4 -0
- package/test/fixtures/markdown/h1-with-double-hash.md +1 -0
- package/test/fixtures/markdown/h1-with-equals.md +2 -0
- package/test/fixtures/markdown/h1-with-single-hash.md +1 -0
- package/test/fixtures/markdown/h2-with-dashes.md +2 -0
- package/test/fixtures/markdown/h2-with-double-hash.md +1 -0
- package/test/fixtures/markdown/h2-with-single-hash.md +1 -0
- package/test/fixtures/markdown/h3-with-double-hash.md +1 -0
- package/test/fixtures/markdown/h3-with-single-hash.md +1 -0
- package/test/fixtures/markdown/h4-with-single-hash.md +1 -0
- package/test/fixtures/markdown/h5-with-single-hash.md +1 -0
- package/test/fixtures/markdown/h6-with-single-hash.md +1 -0
- package/test/fixtures/markdown/horizontal-rules.md +10 -0
- package/test/fixtures/markdown/html-comments.md +8 -0
- package/test/fixtures/markdown/html-inside-listed-code.md +8 -0
- package/test/fixtures/markdown/html5-strutural-tags.md +68 -0
- package/test/fixtures/markdown/images-followed-by-brackets.md +3 -0
- package/test/fixtures/markdown/images.md +14 -0
- package/test/fixtures/markdown/implicit-anchors.md +7 -0
- package/test/fixtures/markdown/inline-anchors.md +3 -0
- package/test/fixtures/markdown/inline-code.md +13 -0
- package/test/fixtures/markdown/inline-escaped-chars.md +2 -0
- package/test/fixtures/markdown/inline-style-tag.md +5 -0
- package/test/fixtures/markdown/lazy-blockquote.md +3 -0
- package/test/fixtures/markdown/line-starts-with-html.md +3 -0
- package/test/fixtures/markdown/list-followed-by-blockquote.md +9 -0
- package/test/fixtures/markdown/list-followed-by-ghcode.md +13 -0
- package/test/fixtures/markdown/list-with-blockquote.md +4 -0
- package/test/fixtures/markdown/literal-html-tags.md +9 -0
- package/test/fixtures/markdown/multi-paragraph-list.md +5 -0
- package/test/fixtures/markdown/multiline-unordered-list.md +3 -0
- package/test/fixtures/markdown/nested-blockquote.md +5 -0
- package/test/fixtures/markdown/nested-gh-codeblocks.md +9 -0
- package/test/fixtures/markdown/obfuscated-emails.md +0 -0
- package/test/fixtures/markdown/ordered-list-same-number.md +3 -0
- package/test/fixtures/markdown/ordered-list-starting-number.md +10 -0
- package/test/fixtures/markdown/ordered-list-wrong-numbers.md +3 -0
- package/test/fixtures/markdown/ordered-list.md +3 -0
- package/test/fixtures/markdown/paragraphed-list-with-sublists.md +13 -0
- package/test/fixtures/markdown/pre-code-tags-inside-code-block.md +7 -0
- package/test/fixtures/markdown/pre-code-tags.md +19 -0
- package/test/fixtures/markdown/relative-anchors.md +1 -0
- package/test/fixtures/markdown/repeated-headers.md +5 -0
- package/test/fixtures/markdown/simple-paragraph.md +1 -0
- package/test/fixtures/markdown/strip-references.md +13 -0
- package/test/fixtures/markdown/strong.md +5 -0
- package/test/fixtures/markdown/unordered-list-asterisk.md +3 -0
- package/test/fixtures/markdown/unordered-list-minus.md +3 -0
- package/test/fixtures/markdown/unordered-list-plus.md +3 -0
- package/test/fixtures/markdown/url-with-parenthesis.md +1 -0
- package/test/fixtures/pfm/atx_headings/62.md +6 -0
- package/test/fixtures/pfm/atx_headings/63.md +1 -0
- package/test/fixtures/pfm/atx_headings/64.md +3 -0
- package/test/fixtures/pfm/atx_headings/65.md +1 -0
- package/test/fixtures/pfm/atx_headings/66.md +1 -0
- package/test/fixtures/pfm/atx_headings/67.md +1 -0
- package/test/fixtures/pfm/atx_headings/68.md +3 -0
- package/test/fixtures/pfm/atx_headings/69.md +1 -0
- package/test/fixtures/pfm/atx_headings/70.md +2 -0
- package/test/fixtures/pfm/atx_headings/71.md +2 -0
- package/test/fixtures/pfm/atx_headings/72.md +2 -0
- package/test/fixtures/pfm/atx_headings/73.md +1 -0
- package/test/fixtures/pfm/atx_headings/74.md +1 -0
- package/test/fixtures/pfm/atx_headings/75.md +1 -0
- package/test/fixtures/pfm/atx_headings/76.md +3 -0
- package/test/fixtures/pfm/atx_headings/77.md +3 -0
- package/test/fixtures/pfm/atx_headings/78.md +3 -0
- package/test/fixtures/pfm/atx_headings/79.md +3 -0
- package/test/fixtures/pfm/autolinks/594.md +1 -0
- package/test/fixtures/pfm/autolinks/595.md +1 -0
- package/test/fixtures/pfm/autolinks/596.md +1 -0
- package/test/fixtures/pfm/autolinks/597.md +1 -0
- package/test/fixtures/pfm/autolinks/598.md +1 -0
- package/test/fixtures/pfm/autolinks/599.md +1 -0
- package/test/fixtures/pfm/autolinks/600.md +1 -0
- package/test/fixtures/pfm/autolinks/601.md +1 -0
- package/test/fixtures/pfm/autolinks/602.md +1 -0
- package/test/fixtures/pfm/autolinks/603.md +1 -0
- package/test/fixtures/pfm/autolinks/604.md +1 -0
- package/test/fixtures/pfm/autolinks/605.md +1 -0
- package/test/fixtures/pfm/autolinks/606.md +1 -0
- package/test/fixtures/pfm/autolinks/607.md +1 -0
- package/test/fixtures/pfm/autolinks/608.md +1 -0
- package/test/fixtures/pfm/autolinks/609.md +1 -0
- package/test/fixtures/pfm/autolinks/610.md +1 -0
- package/test/fixtures/pfm/autolinks/611.md +1 -0
- package/test/fixtures/pfm/autolinks/612.md +1 -0
- package/test/fixtures/pfm/backslash_escapes/12.md +1 -0
- package/test/fixtures/pfm/backslash_escapes/13.md +1 -0
- package/test/fixtures/pfm/backslash_escapes/14.md +9 -0
- package/test/fixtures/pfm/backslash_escapes/15.md +1 -0
- package/test/fixtures/pfm/backslash_escapes/16.md +2 -0
- package/test/fixtures/pfm/backslash_escapes/17.md +1 -0
- package/test/fixtures/pfm/backslash_escapes/18.md +1 -0
- package/test/fixtures/pfm/backslash_escapes/19.md +3 -0
- package/test/fixtures/pfm/backslash_escapes/20.md +1 -0
- package/test/fixtures/pfm/backslash_escapes/21.md +1 -0
- package/test/fixtures/pfm/backslash_escapes/22.md +1 -0
- package/test/fixtures/pfm/backslash_escapes/23.md +3 -0
- package/test/fixtures/pfm/backslash_escapes/24.md +3 -0
- package/test/fixtures/pfm/blank_lines/227.md +8 -0
- package/test/fixtures/pfm/block_quotes/228.md +3 -0
- package/test/fixtures/pfm/block_quotes/229.md +3 -0
- package/test/fixtures/pfm/block_quotes/230.md +3 -0
- package/test/fixtures/pfm/block_quotes/231.md +3 -0
- package/test/fixtures/pfm/block_quotes/232.md +3 -0
- package/test/fixtures/pfm/block_quotes/233.md +3 -0
- package/test/fixtures/pfm/block_quotes/234.md +2 -0
- package/test/fixtures/pfm/block_quotes/235.md +2 -0
- package/test/fixtures/pfm/block_quotes/236.md +2 -0
- package/test/fixtures/pfm/block_quotes/237.md +3 -0
- package/test/fixtures/pfm/block_quotes/238.md +2 -0
- package/test/fixtures/pfm/block_quotes/239.md +1 -0
- package/test/fixtures/pfm/block_quotes/240.md +3 -0
- package/test/fixtures/pfm/block_quotes/241.md +3 -0
- package/test/fixtures/pfm/block_quotes/242.md +3 -0
- package/test/fixtures/pfm/block_quotes/243.md +2 -0
- package/test/fixtures/pfm/block_quotes/244.md +3 -0
- package/test/fixtures/pfm/block_quotes/245.md +2 -0
- package/test/fixtures/pfm/block_quotes/246.md +3 -0
- package/test/fixtures/pfm/block_quotes/247.md +2 -0
- package/test/fixtures/pfm/block_quotes/248.md +3 -0
- package/test/fixtures/pfm/block_quotes/249.md +3 -0
- package/test/fixtures/pfm/block_quotes/250.md +2 -0
- package/test/fixtures/pfm/block_quotes/251.md +3 -0
- package/test/fixtures/pfm/block_quotes/252.md +3 -0
- package/test/fixtures/pfm/block_quotes/pfm_fence_close.md +4 -0
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_compact.md +4 -0
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_end_quote.md +5 -0
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_info.md +5 -0
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_longer.md +4 -0
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_nested.md +3 -0
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_twice.md +6 -0
- package/test/fixtures/pfm/block_quotes/pfm_fence_info_eof.md +1 -0
- package/test/fixtures/pfm/block_quotes/pfm_fence_unclosed.md +2 -0
- package/test/fixtures/pfm/code_spans/328.md +1 -0
- package/test/fixtures/pfm/code_spans/329.md +1 -0
- package/test/fixtures/pfm/code_spans/330.md +1 -0
- package/test/fixtures/pfm/code_spans/331.md +1 -0
- package/test/fixtures/pfm/code_spans/332.md +1 -0
- package/test/fixtures/pfm/code_spans/333.md +1 -0
- package/test/fixtures/pfm/code_spans/334.md +2 -0
- package/test/fixtures/pfm/code_spans/335.md +5 -0
- package/test/fixtures/pfm/code_spans/336.md +3 -0
- package/test/fixtures/pfm/code_spans/337.md +2 -0
- package/test/fixtures/pfm/code_spans/338.md +1 -0
- package/test/fixtures/pfm/code_spans/339.md +1 -0
- package/test/fixtures/pfm/code_spans/340.md +1 -0
- package/test/fixtures/pfm/code_spans/341.md +1 -0
- package/test/fixtures/pfm/code_spans/342.md +1 -0
- package/test/fixtures/pfm/code_spans/343.md +1 -0
- package/test/fixtures/pfm/code_spans/344.md +1 -0
- package/test/fixtures/pfm/code_spans/345.md +1 -0
- package/test/fixtures/pfm/code_spans/346.md +1 -0
- package/test/fixtures/pfm/code_spans/347.md +1 -0
- package/test/fixtures/pfm/code_spans/348.md +1 -0
- package/test/fixtures/pfm/code_spans/349.md +1 -0
- package/test/fixtures/pfm/code_spans/pfm_328_1.md +1 -0
- package/test/fixtures/pfm/code_spans/pfm_328_2.md +1 -0
- package/test/fixtures/pfm/code_spans/pfm_328_3.md +1 -0
- package/test/fixtures/pfm/code_spans/pfm_328_4.md +1 -0
- package/test/fixtures/pfm/code_spans/pfm_328_5.md +1 -0
- package/test/fixtures/pfm/code_spans/pfm_328_6.md +1 -0
- package/test/fixtures/pfm/code_spans/pfm_328_7.md +1 -0
- package/test/fixtures/pfm/code_spans/pfm_328_8.md +1 -0
- package/test/fixtures/pfm/code_spans/pfm_328_9.md +2 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/350.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/351.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/352.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/353.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/354.md +5 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/355.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/356.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/357.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/358.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/359.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/360.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/361.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/362.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/363.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/364.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/365.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/366.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/367.md +2 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/368.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/369.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/370.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/371.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/372.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/373.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/374.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/375.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/376.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/377.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/378.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/379.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/380.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/381.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/382.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/383.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/384.md +2 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/385.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/386.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/387.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/388.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/389.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/390.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/391.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/392.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/393.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/394.md +2 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/395.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/396.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/397.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/398.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/399.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/400.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/401.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/402.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/403.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/404.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/405.md +2 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/406.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/407.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/408.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/409.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/410.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/411.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/412.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/413.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/414.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/415.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/416.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/417.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/418.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/419.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/420.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/421.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/422.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/423.md +2 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/424.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/425.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/426.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/427.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/428.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/429.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/430.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/431.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/432.md +2 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/433.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/434.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/435.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/436.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/437.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/438.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/439.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/440.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/441.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/442.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/443.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/444.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/445.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/446.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/447.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/448.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/449.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/450.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/451.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/452.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/453.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/454.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/455.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/456.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/457.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/458.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/459.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/460.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/461.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/462.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/463.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/464.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/465.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/466.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/467.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/468.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/469.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/470.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/471.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/472.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/473.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/474.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/475.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/476.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/477.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/478.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/479.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/480.md +1 -0
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/481.md +1 -0
- package/test/fixtures/pfm/fenced_code_blocks/119.md +4 -0
- package/test/fixtures/pfm/fenced_code_blocks/121.md +3 -0
- package/test/fixtures/pfm/fenced_code_blocks/122.md +4 -0
- package/test/fixtures/pfm/fenced_code_blocks/124.md +4 -0
- package/test/fixtures/pfm/fenced_code_blocks/126.md +1 -0
- package/test/fixtures/pfm/fenced_code_blocks/127.md +4 -0
- package/test/fixtures/pfm/fenced_code_blocks/128.md +4 -0
- package/test/fixtures/pfm/fenced_code_blocks/130.md +2 -0
- package/test/fixtures/pfm/fenced_code_blocks/131.md +4 -0
- package/test/fixtures/pfm/fenced_code_blocks/132.md +5 -0
- package/test/fixtures/pfm/fenced_code_blocks/133.md +5 -0
- package/test/fixtures/pfm/fenced_code_blocks/134.md +3 -0
- package/test/fixtures/pfm/fenced_code_blocks/135.md +3 -0
- package/test/fixtures/pfm/fenced_code_blocks/136.md +3 -0
- package/test/fixtures/pfm/fenced_code_blocks/137.md +3 -0
- package/test/fixtures/pfm/fenced_code_blocks/138.md +2 -0
- package/test/fixtures/pfm/fenced_code_blocks/140.md +5 -0
- package/test/fixtures/pfm/fenced_code_blocks/142.md +5 -0
- package/test/fixtures/pfm/fenced_code_blocks/144.md +2 -0
- package/test/fixtures/pfm/fenced_code_blocks/145.md +2 -0
- package/test/fixtures/pfm/fenced_code_blocks/pfm_119_2.md +8 -0
- package/test/fixtures/pfm/fenced_code_blocks/pfm_119_3.md +5 -0
- package/test/fixtures/pfm/fenced_code_blocks/pfm_info_eof.md +1 -0
- package/test/fixtures/pfm/fenced_code_blocks/pfm_info_eof_no_lf.md +1 -0
- package/test/fixtures/pfm/frontmatter/1.md +5 -0
- package/test/fixtures/pfm/frontmatter/10.md +1 -0
- package/test/fixtures/pfm/frontmatter/2.md +2 -0
- package/test/fixtures/pfm/frontmatter/3.md +4 -0
- package/test/fixtures/pfm/frontmatter/4.md +5 -0
- package/test/fixtures/pfm/frontmatter/5.md +6 -0
- package/test/fixtures/pfm/frontmatter/6.md +8 -0
- package/test/fixtures/pfm/frontmatter/7.md +4 -0
- package/test/fixtures/pfm/frontmatter/8.md +5 -0
- package/test/fixtures/pfm/frontmatter/9.md +4 -0
- package/test/fixtures/pfm/generic_directives/001.md +1 -0
- package/test/fixtures/pfm/generic_directives/002.md +1 -0
- package/test/fixtures/pfm/generic_directives/003.md +1 -0
- package/test/fixtures/pfm/generic_directives/004.md +1 -0
- package/test/fixtures/pfm/generic_directives/005.md +1 -0
- package/test/fixtures/pfm/generic_directives/006.md +1 -0
- package/test/fixtures/pfm/generic_directives/007.md +1 -0
- package/test/fixtures/pfm/generic_directives/008.md +1 -0
- package/test/fixtures/pfm/generic_directives/009.md +1 -0
- package/test/fixtures/pfm/generic_directives/010.md +1 -0
- package/test/fixtures/pfm/generic_directives/011.md +1 -0
- package/test/fixtures/pfm/generic_directives/012.md +1 -0
- package/test/fixtures/pfm/generic_directives/013.md +1 -0
- package/test/fixtures/pfm/generic_directives/014.md +1 -0
- package/test/fixtures/pfm/generic_directives/015.md +3 -0
- package/test/fixtures/pfm/generic_directives/016.md +1 -0
- package/test/fixtures/pfm/generic_directives/017.md +1 -0
- package/test/fixtures/pfm/generic_directives/018.md +1 -0
- package/test/fixtures/pfm/generic_directives/019.md +2 -0
- package/test/fixtures/pfm/generic_directives/020.md +3 -0
- package/test/fixtures/pfm/generic_directives/021.md +3 -0
- package/test/fixtures/pfm/generic_directives/022.md +5 -0
- package/test/fixtures/pfm/generic_directives/023.md +2 -0
- package/test/fixtures/pfm/generic_directives/024.md +5 -0
- package/test/fixtures/pfm/generic_directives/025.md +2 -0
- package/test/fixtures/pfm/generic_directives/026.md +3 -0
- package/test/fixtures/pfm/generic_directives/027.md +5 -0
- package/test/fixtures/pfm/generic_directives/028.md +5 -0
- package/test/fixtures/pfm/generic_directives/029.md +7 -0
- package/test/fixtures/pfm/generic_directives/030.md +3 -0
- package/test/fixtures/pfm/generic_directives/031.md +4 -0
- package/test/fixtures/pfm/generic_directives/032.md +3 -0
- package/test/fixtures/pfm/generic_directives/033.md +3 -0
- package/test/fixtures/pfm/generic_directives/034.md +5 -0
- package/test/fixtures/pfm/generic_directives/035.md +3 -0
- package/test/fixtures/pfm/generic_directives/036.md +1 -0
- package/test/fixtures/pfm/generic_directives/037.md +1 -0
- package/test/fixtures/pfm/generic_directives/038.md +3 -0
- package/test/fixtures/pfm/generic_directives/039.md +5 -0
- package/test/fixtures/pfm/generic_directives/040.md +9 -0
- package/test/fixtures/pfm/generic_directives/041.md +1 -0
- package/test/fixtures/pfm/generic_directives/042.md +1 -0
- package/test/fixtures/pfm/generic_directives/043.md +1 -0
- package/test/fixtures/pfm/generic_directives/044.md +1 -0
- package/test/fixtures/pfm/generic_directives/045.md +1 -0
- package/test/fixtures/pfm/generic_directives/046.md +3 -0
- package/test/fixtures/pfm/generic_directives/047.md +5 -0
- package/test/fixtures/pfm/generic_directives/048.md +1 -0
- package/test/fixtures/pfm/generic_directives/049.md +1 -0
- package/test/fixtures/pfm/generic_directives/050.md +1 -0
- package/test/fixtures/pfm/generic_directives/051.md +1 -0
- package/test/fixtures/pfm/generic_directives/052.md +1 -0
- package/test/fixtures/pfm/generic_directives/053.md +1 -0
- package/test/fixtures/pfm/generic_directives/054.md +1 -0
- package/test/fixtures/pfm/generic_directives/055.md +1 -0
- package/test/fixtures/pfm/generic_directives/056.md +1 -0
- package/test/fixtures/pfm/generic_directives/057.md +1 -0
- package/test/fixtures/pfm/generic_directives/058.md +1 -0
- package/test/fixtures/pfm/generic_directives/059.md +1 -0
- package/test/fixtures/pfm/generic_directives/060.md +1 -0
- package/test/fixtures/pfm/generic_directives/061.md +1 -0
- package/test/fixtures/pfm/generic_directives/062.md +1 -0
- package/test/fixtures/pfm/generic_directives/063.md +1 -0
- package/test/fixtures/pfm/generic_directives/064.md +1 -0
- package/test/fixtures/pfm/generic_directives/065.md +2 -0
- package/test/fixtures/pfm/generic_directives/066.md +1 -0
- package/test/fixtures/pfm/generic_directives/067.md +1 -0
- package/test/fixtures/pfm/generic_directives/068.md +1 -0
- package/test/fixtures/pfm/generic_directives/069.md +1 -0
- package/test/fixtures/pfm/generic_directives/070.md +1 -0
- package/test/fixtures/pfm/generic_directives/071.md +1 -0
- package/test/fixtures/pfm/generic_directives/072.md +1 -0
- package/test/fixtures/pfm/generic_directives/073.md +1 -0
- package/test/fixtures/pfm/generic_directives/074.md +3 -0
- package/test/fixtures/pfm/generic_directives/075.md +1 -0
- package/test/fixtures/pfm/generic_directives/076.md +1 -0
- package/test/fixtures/pfm/generic_directives/077.md +1 -0
- package/test/fixtures/pfm/generic_directives/078.md +1 -0
- package/test/fixtures/pfm/generic_directives/079.md +1 -0
- package/test/fixtures/pfm/generic_directives/080.md +1 -0
- package/test/fixtures/pfm/generic_directives/081.md +1 -0
- package/test/fixtures/pfm/generic_directives/082.md +1 -0
- package/test/fixtures/pfm/generic_directives/083.md +1 -0
- package/test/fixtures/pfm/generic_directives/084.md +1 -0
- package/test/fixtures/pfm/generic_directives/085.md +1 -0
- package/test/fixtures/pfm/generic_directives/086.md +1 -0
- package/test/fixtures/pfm/generic_directives/087.md +1 -0
- package/test/fixtures/pfm/generic_directives/088.md +3 -0
- package/test/fixtures/pfm/generic_directives/089.md +1 -0
- package/test/fixtures/pfm/generic_directives/090.md +1 -0
- package/test/fixtures/pfm/generic_directives/091.md +1 -0
- package/test/fixtures/pfm/generic_directives/092.md +3 -0
- package/test/fixtures/pfm/generic_directives/093.md +1 -0
- package/test/fixtures/pfm/generic_directives/094.md +1 -0
- package/test/fixtures/pfm/generic_directives/095.md +2 -0
- package/test/fixtures/pfm/generic_directives/096.md +1 -0
- package/test/fixtures/pfm/generic_directives/097.md +1 -0
- package/test/fixtures/pfm/generic_directives/098.md +1 -0
- package/test/fixtures/pfm/generic_directives/099.md +1 -0
- package/test/fixtures/pfm/generic_directives/100.md +1 -0
- package/test/fixtures/pfm/generic_directives/101.md +1 -0
- package/test/fixtures/pfm/generic_directives/102.md +1 -0
- package/test/fixtures/pfm/generic_directives/103.md +5 -0
- package/test/fixtures/pfm/generic_directives/104.md +1 -0
- package/test/fixtures/pfm/generic_directives/105.md +1 -0
- package/test/fixtures/pfm/generic_directives/106.md +1 -0
- package/test/fixtures/pfm/generic_directives/107.md +3 -0
- package/test/fixtures/pfm/generic_directives/108.md +1 -0
- package/test/fixtures/pfm/generic_directives/109.md +1 -0
- package/test/fixtures/pfm/generic_directives/110.md +1 -0
- package/test/fixtures/pfm/generic_directives/111.md +1 -0
- package/test/fixtures/pfm/generic_directives/112.md +1 -0
- package/test/fixtures/pfm/generic_directives/113.md +1 -0
- package/test/fixtures/pfm/generic_directives/114.md +2 -0
- package/test/fixtures/pfm/generic_directives/115.md +1 -0
- package/test/fixtures/pfm/generic_directives/116.md +6 -0
- package/test/fixtures/pfm/generic_directives/117.md +3 -0
- package/test/fixtures/pfm/generic_directives/118.md +6 -0
- package/test/fixtures/pfm/generic_directives/119.md +3 -0
- package/test/fixtures/pfm/generic_directives/120.md +5 -0
- package/test/fixtures/pfm/generic_directives/121.md +3 -0
- package/test/fixtures/pfm/generic_directives/122.md +4 -0
- package/test/fixtures/pfm/generic_directives/123.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/633.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/634.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/635.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/636.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/637.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/638.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/639.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/640.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/641.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/642.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/643.md +2 -0
- package/test/fixtures/pfm/hard_line_breaks/644.md +1 -0
- package/test/fixtures/pfm/hard_line_breaks/645.md +1 -0
- package/test/fixtures/pfm/hard_line_breaks/646.md +1 -0
- package/test/fixtures/pfm/hard_line_breaks/647.md +1 -0
- package/test/fixtures/pfm/html/148.md +7 -0
- package/test/fixtures/pfm/html/149.md +9 -0
- package/test/fixtures/pfm/html/150.md +3 -0
- package/test/fixtures/pfm/html/151.md +2 -0
- package/test/fixtures/pfm/html/152.md +5 -0
- package/test/fixtures/pfm/html/153.md +3 -0
- package/test/fixtures/pfm/html/154.md +3 -0
- package/test/fixtures/pfm/html/155.md +4 -0
- package/test/fixtures/pfm/html/156.md +2 -0
- package/test/fixtures/pfm/html/157.md +2 -0
- package/test/fixtures/pfm/html/158.md +2 -0
- package/test/fixtures/pfm/html/159.md +1 -0
- package/test/fixtures/pfm/html/160.md +3 -0
- package/test/fixtures/pfm/html/161.md +4 -0
- package/test/fixtures/pfm/html/162.md +3 -0
- package/test/fixtures/pfm/html/163.md +3 -0
- package/test/fixtures/pfm/html/164.md +3 -0
- package/test/fixtures/pfm/html/165.md +2 -0
- package/test/fixtures/pfm/html/166.md +3 -0
- package/test/fixtures/pfm/html/167.md +5 -0
- package/test/fixtures/pfm/html/168.md +1 -0
- package/test/fixtures/pfm/html/169.md +7 -0
- package/test/fixtures/pfm/html/170.md +6 -0
- package/test/fixtures/pfm/html/171.md +7 -0
- package/test/fixtures/pfm/html/172.md +7 -0
- package/test/fixtures/pfm/html/173.md +4 -0
- package/test/fixtures/pfm/html/174.md +4 -0
- package/test/fixtures/pfm/html/175.md +2 -0
- package/test/fixtures/pfm/html/176.md +2 -0
- package/test/fixtures/pfm/html/177.md +2 -0
- package/test/fixtures/pfm/html/178.md +3 -0
- package/test/fixtures/pfm/html/179.md +5 -0
- package/test/fixtures/pfm/html/180.md +6 -0
- package/test/fixtures/pfm/html/181.md +1 -0
- package/test/fixtures/pfm/html/182.md +13 -0
- package/test/fixtures/pfm/html/183.md +3 -0
- package/test/fixtures/pfm/html/184.md +3 -0
- package/test/fixtures/pfm/html/185.md +4 -0
- package/test/fixtures/pfm/html/186.md +4 -0
- package/test/fixtures/pfm/html/187.md +3 -0
- package/test/fixtures/pfm/html/188.md +5 -0
- package/test/fixtures/pfm/html/189.md +3 -0
- package/test/fixtures/pfm/html/190.md +11 -0
- package/test/fixtures/pfm/html/191.md +11 -0
- package/test/fixtures/pfm/html/613.md +1 -0
- package/test/fixtures/pfm/html/614.md +1 -0
- package/test/fixtures/pfm/html/615.md +2 -0
- package/test/fixtures/pfm/html/616.md +2 -0
- package/test/fixtures/pfm/html/617.md +1 -0
- package/test/fixtures/pfm/html/618.md +1 -0
- package/test/fixtures/pfm/html/619.md +1 -0
- package/test/fixtures/pfm/html/620.md +1 -0
- package/test/fixtures/pfm/html/621.md +4 -0
- package/test/fixtures/pfm/html/622.md +1 -0
- package/test/fixtures/pfm/html/623.md +1 -0
- package/test/fixtures/pfm/html/624.md +1 -0
- package/test/fixtures/pfm/html/625.md +2 -0
- package/test/fixtures/pfm/html/626.md +3 -0
- package/test/fixtures/pfm/html/627.md +1 -0
- package/test/fixtures/pfm/html/628.md +1 -0
- package/test/fixtures/pfm/html/629.md +1 -0
- package/test/fixtures/pfm/html/630.md +1 -0
- package/test/fixtures/pfm/html/631.md +1 -0
- package/test/fixtures/pfm/html/632.md +1 -0
- package/test/fixtures/pfm/images/572.md +1 -0
- package/test/fixtures/pfm/images/573.md +3 -0
- package/test/fixtures/pfm/images/574.md +1 -0
- package/test/fixtures/pfm/images/575.md +1 -0
- package/test/fixtures/pfm/images/576.md +3 -0
- package/test/fixtures/pfm/images/577.md +3 -0
- package/test/fixtures/pfm/images/578.md +1 -0
- package/test/fixtures/pfm/images/579.md +1 -0
- package/test/fixtures/pfm/images/580.md +1 -0
- package/test/fixtures/pfm/images/581.md +1 -0
- package/test/fixtures/pfm/images/582.md +3 -0
- package/test/fixtures/pfm/images/583.md +3 -0
- package/test/fixtures/pfm/images/584.md +3 -0
- package/test/fixtures/pfm/images/585.md +3 -0
- package/test/fixtures/pfm/images/586.md +3 -0
- package/test/fixtures/pfm/images/587.md +4 -0
- package/test/fixtures/pfm/images/588.md +3 -0
- package/test/fixtures/pfm/images/589.md +3 -0
- package/test/fixtures/pfm/images/590.md +3 -0
- package/test/fixtures/pfm/images/591.md +3 -0
- package/test/fixtures/pfm/images/592.md +3 -0
- package/test/fixtures/pfm/images/593.md +3 -0
- package/test/fixtures/pfm/imports/1.md +3 -0
- package/test/fixtures/pfm/imports/10.md +1 -0
- package/test/fixtures/pfm/imports/11.md +3 -0
- package/test/fixtures/pfm/imports/2.md +4 -0
- package/test/fixtures/pfm/imports/3.md +4 -0
- package/test/fixtures/pfm/imports/4.md +3 -0
- package/test/fixtures/pfm/imports/5.md +3 -0
- package/test/fixtures/pfm/imports/6.md +5 -0
- package/test/fixtures/pfm/imports/7.md +3 -0
- package/test/fixtures/pfm/imports/8.md +3 -0
- package/test/fixtures/pfm/imports/9.md +1 -0
- package/test/fixtures/pfm/inlines/327.md +1 -0
- package/test/fixtures/pfm/link_reference_definitions/192.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/193.md +5 -0
- package/test/fixtures/pfm/link_reference_definitions/194.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/195.md +5 -0
- package/test/fixtures/pfm/link_reference_definitions/196.md +7 -0
- package/test/fixtures/pfm/link_reference_definitions/197.md +5 -0
- package/test/fixtures/pfm/link_reference_definitions/198.md +4 -0
- package/test/fixtures/pfm/link_reference_definitions/199.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/200.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/201.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/202.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/203.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/204.md +4 -0
- package/test/fixtures/pfm/link_reference_definitions/205.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/206.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/207.md +1 -0
- package/test/fixtures/pfm/link_reference_definitions/208.md +5 -0
- package/test/fixtures/pfm/link_reference_definitions/209.md +1 -0
- package/test/fixtures/pfm/link_reference_definitions/210.md +2 -0
- package/test/fixtures/pfm/link_reference_definitions/211.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/212.md +5 -0
- package/test/fixtures/pfm/link_reference_definitions/213.md +4 -0
- package/test/fixtures/pfm/link_reference_definitions/214.md +5 -0
- package/test/fixtures/pfm/link_reference_definitions/215.md +4 -0
- package/test/fixtures/pfm/link_reference_definitions/216.md +3 -0
- package/test/fixtures/pfm/link_reference_definitions/217.md +8 -0
- package/test/fixtures/pfm/link_reference_definitions/218.md +3 -0
- package/test/fixtures/pfm/links/482.md +1 -0
- package/test/fixtures/pfm/links/483.md +1 -0
- package/test/fixtures/pfm/links/484.md +1 -0
- package/test/fixtures/pfm/links/485.md +1 -0
- package/test/fixtures/pfm/links/486.md +1 -0
- package/test/fixtures/pfm/links/487.md +1 -0
- package/test/fixtures/pfm/links/488.md +1 -0
- package/test/fixtures/pfm/links/489.md +1 -0
- package/test/fixtures/pfm/links/490.md +2 -0
- package/test/fixtures/pfm/links/491.md +2 -0
- package/test/fixtures/pfm/links/492.md +1 -0
- package/test/fixtures/pfm/links/493.md +1 -0
- package/test/fixtures/pfm/links/494.md +3 -0
- package/test/fixtures/pfm/links/495.md +1 -0
- package/test/fixtures/pfm/links/496.md +1 -0
- package/test/fixtures/pfm/links/497.md +1 -0
- package/test/fixtures/pfm/links/498.md +1 -0
- package/test/fixtures/pfm/links/499.md +1 -0
- package/test/fixtures/pfm/links/500.md +1 -0
- package/test/fixtures/pfm/links/501.md +5 -0
- package/test/fixtures/pfm/links/502.md +1 -0
- package/test/fixtures/pfm/links/503.md +1 -0
- package/test/fixtures/pfm/links/504.md +1 -0
- package/test/fixtures/pfm/links/505.md +3 -0
- package/test/fixtures/pfm/links/506.md +1 -0
- package/test/fixtures/pfm/links/507.md +1 -0
- package/test/fixtures/pfm/links/508.md +1 -0
- package/test/fixtures/pfm/links/509.md +1 -0
- package/test/fixtures/pfm/links/510.md +2 -0
- package/test/fixtures/pfm/links/511.md +1 -0
- package/test/fixtures/pfm/links/512.md +1 -0
- package/test/fixtures/pfm/links/513.md +1 -0
- package/test/fixtures/pfm/links/514.md +1 -0
- package/test/fixtures/pfm/links/515.md +1 -0
- package/test/fixtures/pfm/links/516.md +1 -0
- package/test/fixtures/pfm/links/517.md +1 -0
- package/test/fixtures/pfm/links/518.md +1 -0
- package/test/fixtures/pfm/links/519.md +1 -0
- package/test/fixtures/pfm/links/520.md +1 -0
- package/test/fixtures/pfm/links/521.md +1 -0
- package/test/fixtures/pfm/links/522.md +1 -0
- package/test/fixtures/pfm/links/523.md +1 -0
- package/test/fixtures/pfm/links/524.md +1 -0
- package/test/fixtures/pfm/links/525.md +1 -0
- package/test/fixtures/pfm/links/526.md +1 -0
- package/test/fixtures/pfm/links/527.md +3 -0
- package/test/fixtures/pfm/links/528.md +3 -0
- package/test/fixtures/pfm/links/529.md +3 -0
- package/test/fixtures/pfm/links/530.md +3 -0
- package/test/fixtures/pfm/links/531.md +3 -0
- package/test/fixtures/pfm/links/532.md +3 -0
- package/test/fixtures/pfm/links/533.md +3 -0
- package/test/fixtures/pfm/links/534.md +3 -0
- package/test/fixtures/pfm/links/535.md +3 -0
- package/test/fixtures/pfm/links/536.md +3 -0
- package/test/fixtures/pfm/links/537.md +3 -0
- package/test/fixtures/pfm/links/538.md +3 -0
- package/test/fixtures/pfm/links/539.md +3 -0
- package/test/fixtures/pfm/links/540.md +3 -0
- package/test/fixtures/pfm/links/541.md +4 -0
- package/test/fixtures/pfm/links/542.md +3 -0
- package/test/fixtures/pfm/links/543.md +4 -0
- package/test/fixtures/pfm/links/544.md +5 -0
- package/test/fixtures/pfm/links/545.md +3 -0
- package/test/fixtures/pfm/links/546.md +3 -0
- package/test/fixtures/pfm/links/547.md +3 -0
- package/test/fixtures/pfm/links/548.md +3 -0
- package/test/fixtures/pfm/links/549.md +3 -0
- package/test/fixtures/pfm/links/550.md +3 -0
- package/test/fixtures/pfm/links/551.md +3 -0
- package/test/fixtures/pfm/links/552.md +5 -0
- package/test/fixtures/pfm/links/553.md +3 -0
- package/test/fixtures/pfm/links/554.md +3 -0
- package/test/fixtures/pfm/links/555.md +3 -0
- package/test/fixtures/pfm/links/556.md +4 -0
- package/test/fixtures/pfm/links/557.md +3 -0
- package/test/fixtures/pfm/links/558.md +3 -0
- package/test/fixtures/pfm/links/559.md +3 -0
- package/test/fixtures/pfm/links/560.md +3 -0
- package/test/fixtures/pfm/links/561.md +3 -0
- package/test/fixtures/pfm/links/562.md +3 -0
- package/test/fixtures/pfm/links/563.md +3 -0
- package/test/fixtures/pfm/links/564.md +3 -0
- package/test/fixtures/pfm/links/565.md +4 -0
- package/test/fixtures/pfm/links/566.md +3 -0
- package/test/fixtures/pfm/links/567.md +3 -0
- package/test/fixtures/pfm/links/568.md +3 -0
- package/test/fixtures/pfm/links/569.md +3 -0
- package/test/fixtures/pfm/links/570.md +4 -0
- package/test/fixtures/pfm/links/571.md +4 -0
- package/test/fixtures/pfm/list_items/253.md +6 -0
- package/test/fixtures/pfm/list_items/254.md +6 -0
- package/test/fixtures/pfm/list_items/255.md +3 -0
- package/test/fixtures/pfm/list_items/256.md +3 -0
- package/test/fixtures/pfm/list_items/257.md +3 -0
- package/test/fixtures/pfm/list_items/258.md +3 -0
- package/test/fixtures/pfm/list_items/259.md +3 -0
- package/test/fixtures/pfm/list_items/260.md +3 -0
- package/test/fixtures/pfm/list_items/261.md +3 -0
- package/test/fixtures/pfm/list_items/262.md +4 -0
- package/test/fixtures/pfm/list_items/263.md +9 -0
- package/test/fixtures/pfm/list_items/264.md +6 -0
- package/test/fixtures/pfm/list_items/265.md +1 -0
- package/test/fixtures/pfm/list_items/266.md +1 -0
- package/test/fixtures/pfm/list_items/267.md +1 -0
- package/test/fixtures/pfm/list_items/268.md +1 -0
- package/test/fixtures/pfm/list_items/269.md +1 -0
- package/test/fixtures/pfm/list_items/270.md +3 -0
- package/test/fixtures/pfm/list_items/271.md +3 -0
- package/test/fixtures/pfm/list_items/272.md +5 -0
- package/test/fixtures/pfm/list_items/273.md +5 -0
- package/test/fixtures/pfm/list_items/274.md +5 -0
- package/test/fixtures/pfm/list_items/275.md +3 -0
- package/test/fixtures/pfm/list_items/276.md +3 -0
- package/test/fixtures/pfm/list_items/277.md +3 -0
- package/test/fixtures/pfm/list_items/278.md +8 -0
- package/test/fixtures/pfm/list_items/279.md +2 -0
- package/test/fixtures/pfm/list_items/280.md +3 -0
- package/test/fixtures/pfm/list_items/281.md +3 -0
- package/test/fixtures/pfm/list_items/282.md +3 -0
- package/test/fixtures/pfm/list_items/283.md +3 -0
- package/test/fixtures/pfm/list_items/284.md +1 -0
- package/test/fixtures/pfm/list_items/285.md +5 -0
- package/test/fixtures/pfm/list_items/286.md +6 -0
- package/test/fixtures/pfm/list_items/287.md +6 -0
- package/test/fixtures/pfm/list_items/288.md +6 -0
- package/test/fixtures/pfm/list_items/289.md +6 -0
- package/test/fixtures/pfm/list_items/290.md +6 -0
- package/test/fixtures/pfm/list_items/291.md +2 -0
- package/test/fixtures/pfm/list_items/292.md +2 -0
- package/test/fixtures/pfm/list_items/293.md +2 -0
- package/test/fixtures/pfm/list_items/294.md +4 -0
- package/test/fixtures/pfm/list_items/295.md +4 -0
- package/test/fixtures/pfm/list_items/296.md +2 -0
- package/test/fixtures/pfm/list_items/297.md +2 -0
- package/test/fixtures/pfm/list_items/298.md +1 -0
- package/test/fixtures/pfm/list_items/299.md +1 -0
- package/test/fixtures/pfm/list_items/300.md +4 -0
- package/test/fixtures/pfm/lists/301.md +3 -0
- package/test/fixtures/pfm/lists/302.md +3 -0
- package/test/fixtures/pfm/lists/303.md +3 -0
- package/test/fixtures/pfm/lists/304.md +2 -0
- package/test/fixtures/pfm/lists/305.md +2 -0
- package/test/fixtures/pfm/lists/306.md +6 -0
- package/test/fixtures/pfm/lists/307.md +6 -0
- package/test/fixtures/pfm/lists/308.md +7 -0
- package/test/fixtures/pfm/lists/309.md +9 -0
- package/test/fixtures/pfm/lists/310.md +7 -0
- package/test/fixtures/pfm/lists/311.md +5 -0
- package/test/fixtures/pfm/lists/312.md +5 -0
- package/test/fixtures/pfm/lists/313.md +5 -0
- package/test/fixtures/pfm/lists/314.md +4 -0
- package/test/fixtures/pfm/lists/315.md +4 -0
- package/test/fixtures/pfm/lists/316.md +5 -0
- package/test/fixtures/pfm/lists/317.md +5 -0
- package/test/fixtures/pfm/lists/318.md +7 -0
- package/test/fixtures/pfm/lists/319.md +5 -0
- package/test/fixtures/pfm/lists/320.md +4 -0
- package/test/fixtures/pfm/lists/321.md +6 -0
- package/test/fixtures/pfm/lists/322.md +1 -0
- package/test/fixtures/pfm/lists/323.md +2 -0
- package/test/fixtures/pfm/lists/324.md +5 -0
- package/test/fixtures/pfm/lists/325.md +4 -0
- package/test/fixtures/pfm/lists/326.md +7 -0
- package/test/fixtures/pfm/paragraphs/219.md +3 -0
- package/test/fixtures/pfm/paragraphs/220.md +5 -0
- package/test/fixtures/pfm/paragraphs/221.md +4 -0
- package/test/fixtures/pfm/paragraphs/222.md +2 -0
- package/test/fixtures/pfm/paragraphs/223.md +3 -0
- package/test/fixtures/pfm/paragraphs/224.md +2 -0
- package/test/fixtures/pfm/paragraphs/225.md +2 -0
- package/test/fixtures/pfm/precedence/42.md +2 -0
- package/test/fixtures/pfm/setext_headings/100.md +2 -0
- package/test/fixtures/pfm/setext_headings/101.md +2 -0
- package/test/fixtures/pfm/setext_headings/102.md +2 -0
- package/test/fixtures/pfm/setext_headings/103.md +5 -0
- package/test/fixtures/pfm/setext_headings/104.md +6 -0
- package/test/fixtures/pfm/setext_headings/105.md +4 -0
- package/test/fixtures/pfm/setext_headings/106.md +4 -0
- package/test/fixtures/pfm/setext_headings/80.md +5 -0
- package/test/fixtures/pfm/setext_headings/81.md +3 -0
- package/test/fixtures/pfm/setext_headings/82.md +3 -0
- package/test/fixtures/pfm/setext_headings/83.md +5 -0
- package/test/fixtures/pfm/setext_headings/84.md +8 -0
- package/test/fixtures/pfm/setext_headings/85.md +5 -0
- package/test/fixtures/pfm/setext_headings/86.md +2 -0
- package/test/fixtures/pfm/setext_headings/87.md +2 -0
- package/test/fixtures/pfm/setext_headings/88.md +5 -0
- package/test/fixtures/pfm/setext_headings/89.md +2 -0
- package/test/fixtures/pfm/setext_headings/90.md +2 -0
- package/test/fixtures/pfm/setext_headings/91.md +7 -0
- package/test/fixtures/pfm/setext_headings/92.md +2 -0
- package/test/fixtures/pfm/setext_headings/93.md +3 -0
- package/test/fixtures/pfm/setext_headings/94.md +2 -0
- package/test/fixtures/pfm/setext_headings/95.md +3 -0
- package/test/fixtures/pfm/setext_headings/96.md +6 -0
- package/test/fixtures/pfm/setext_headings/97.md +2 -0
- package/test/fixtures/pfm/setext_headings/98.md +2 -0
- package/test/fixtures/pfm/setext_headings/99.md +2 -0
- package/test/fixtures/pfm/soft_line_breaks/648.md +2 -0
- package/test/fixtures/pfm/soft_line_breaks/649.md +2 -0
- package/test/fixtures/pfm/tabs/1.md +1 -0
- package/test/fixtures/pfm/tabs/10.md +1 -0
- package/test/fixtures/pfm/tabs/11.md +1 -0
- package/test/fixtures/pfm/tabs/12.md +2 -0
- package/test/fixtures/pfm/tabs/13.md +2 -0
- package/test/fixtures/pfm/tabs/14.md +3 -0
- package/test/fixtures/pfm/tabs/15.md +2 -0
- package/test/fixtures/pfm/tabs/16.md +2 -0
- package/test/fixtures/pfm/tabs/17.md +3 -0
- package/test/fixtures/pfm/tabs/2.md +1 -0
- package/test/fixtures/pfm/tabs/3.md +2 -0
- package/test/fixtures/pfm/tabs/4.md +3 -0
- package/test/fixtures/pfm/tabs/5.md +3 -0
- package/test/fixtures/pfm/tabs/6.md +1 -0
- package/test/fixtures/pfm/tabs/7.md +1 -0
- package/test/fixtures/pfm/tabs/8.md +2 -0
- package/test/fixtures/pfm/tabs/9.md +3 -0
- package/test/fixtures/pfm/textual_content/650.md +1 -0
- package/test/fixtures/pfm/textual_content/651.md +1 -0
- package/test/fixtures/pfm/textual_content/652.md +1 -0
- package/test/fixtures/pfm/thematic_breaks/43.md +3 -0
- package/test/fixtures/pfm/thematic_breaks/44.md +1 -0
- package/test/fixtures/pfm/thematic_breaks/45.md +1 -0
- package/test/fixtures/pfm/thematic_breaks/46.md +3 -0
- package/test/fixtures/pfm/thematic_breaks/47.md +3 -0
- package/test/fixtures/pfm/thematic_breaks/48.md +1 -0
- package/test/fixtures/pfm/thematic_breaks/49.md +2 -0
- package/test/fixtures/pfm/thematic_breaks/50.md +1 -0
- package/test/fixtures/pfm/thematic_breaks/51.md +1 -0
- package/test/fixtures/pfm/thematic_breaks/52.md +1 -0
- package/test/fixtures/pfm/thematic_breaks/53.md +1 -0
- package/test/fixtures/pfm/thematic_breaks/54.md +1 -0
- package/test/fixtures/pfm/thematic_breaks/55.md +5 -0
- package/test/fixtures/pfm/thematic_breaks/56.md +1 -0
- package/test/fixtures/pfm/thematic_breaks/57.md +3 -0
- package/test/fixtures/pfm/thematic_breaks/58.md +3 -0
- package/test/fixtures/pfm/thematic_breaks/59.md +3 -0
- package/test/fixtures/pfm/thematic_breaks/60.md +3 -0
- package/test/fixtures/pfm/thematic_breaks/61.md +2 -0
- package/test/fixtures/svelte/00-introduction/00-hello-world/App.svelte +5 -0
- package/test/fixtures/svelte/00-introduction/01-dynamic-attributes/App.svelte +7 -0
- package/test/fixtures/svelte/00-introduction/02-styling/App.svelte +9 -0
- package/test/fixtures/svelte/00-introduction/03-nested-components/App.svelte +14 -0
- package/test/fixtures/svelte/00-introduction/03-nested-components/Nested.svelte +1 -0
- package/test/fixtures/svelte/00-introduction/04-html-tags/App.svelte +5 -0
- package/test/fixtures/svelte/01-reactivity/00-reactive-assignments/App.svelte +11 -0
- package/test/fixtures/svelte/01-reactivity/01-reactive-declarations/App.svelte +18 -0
- package/test/fixtures/svelte/01-reactivity/02-reactive-statements/App.svelte +16 -0
- package/test/fixtures/svelte/02-props/00-declaring-props/App.svelte +5 -0
- package/test/fixtures/svelte/02-props/00-declaring-props/Nested.svelte +5 -0
- package/test/fixtures/svelte/02-props/01-default-values/App.svelte +6 -0
- package/test/fixtures/svelte/02-props/01-default-values/Nested.svelte +5 -0
- package/test/fixtures/svelte/02-props/02-spread-props/App.svelte +12 -0
- package/test/fixtures/svelte/02-props/02-spread-props/Info.svelte +12 -0
- package/test/fixtures/svelte/03-logic/00-if-blocks/App.svelte +19 -0
- package/test/fixtures/svelte/03-logic/01-else-blocks/App.svelte +17 -0
- package/test/fixtures/svelte/03-logic/02-else-if-blocks/App.svelte +11 -0
- package/test/fixtures/svelte/03-logic/03-each-blocks/App.svelte +17 -0
- package/test/fixtures/svelte/03-logic/04-keyed-each-blocks/App.svelte +35 -0
- package/test/fixtures/svelte/03-logic/04-keyed-each-blocks/Thing.svelte +24 -0
- package/test/fixtures/svelte/04-events/00-dom-events/App.svelte +16 -0
- package/test/fixtures/svelte/04-events/01-inline-handlers/App.svelte +11 -0
- package/test/fixtures/svelte/04-events/02-event-modifiers/App.svelte +9 -0
- package/test/fixtures/svelte/04-events/03-component-events/App.svelte +9 -0
- package/test/fixtures/svelte/04-events/03-component-events/Inner.svelte +15 -0
- package/test/fixtures/svelte/04-events/04-event-forwarding/App.svelte +9 -0
- package/test/fixtures/svelte/04-events/04-event-forwarding/Inner.svelte +15 -0
- package/test/fixtures/svelte/04-events/04-event-forwarding/Outer.svelte +5 -0
- package/test/fixtures/svelte/04-events/05-dom-event-forwarding/App.svelte +9 -0
- package/test/fixtures/svelte/04-events/05-dom-event-forwarding/FancyButton.svelte +15 -0
- package/test/fixtures/svelte/05-bindings/00-text-inputs/App.svelte +6 -0
- package/test/fixtures/svelte/05-bindings/01-numeric-inputs/App.svelte +16 -0
- package/test/fixtures/svelte/05-bindings/02-checkbox-inputs/App.svelte +18 -0
- package/test/fixtures/svelte/05-bindings/03-group-inputs/App.svelte +48 -0
- package/test/fixtures/svelte/05-bindings/04-textarea-inputs/App.svelte +12 -0
- package/test/fixtures/svelte/05-bindings/05-select-bindings/App.svelte +42 -0
- package/test/fixtures/svelte/05-bindings/06-multiple-select-bindings/App.svelte +49 -0
- package/test/fixtures/svelte/05-bindings/07-each-block-bindings/App.svelte +49 -0
- package/test/fixtures/svelte/05-bindings/08-media-elements/App.svelte +136 -0
- package/test/fixtures/svelte/05-bindings/09-dimensions/App.svelte +20 -0
- package/test/fixtures/svelte/05-bindings/10-bind-this/App.svelte +55 -0
- package/test/fixtures/svelte/05-bindings/11-component-bindings/App.svelte +14 -0
- package/test/fixtures/svelte/05-bindings/11-component-bindings/Keypad.svelte +40 -0
- package/test/fixtures/svelte/06-lifecycle/00-onmount/App.svelte +40 -0
- package/test/fixtures/svelte/06-lifecycle/01-ondestroy/App.svelte +11 -0
- package/test/fixtures/svelte/06-lifecycle/02-update/App.svelte +112 -0
- package/test/fixtures/svelte/06-lifecycle/03-tick/App.svelte +34 -0
- package/test/fixtures/svelte/07-stores/00-writable-stores/App.svelte +18 -0
- package/test/fixtures/svelte/07-stores/00-writable-stores/Decrementer.svelte +11 -0
- package/test/fixtures/svelte/07-stores/00-writable-stores/Incrementer.svelte +11 -0
- package/test/fixtures/svelte/07-stores/00-writable-stores/Resetter.svelte +11 -0
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/App.svelte +12 -0
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Decrementer.svelte +11 -0
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Incrementer.svelte +11 -0
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Resetter.svelte +11 -0
- package/test/fixtures/svelte/07-stores/02-readable-stores/App.svelte +12 -0
- package/test/fixtures/svelte/07-stores/03-derived-stores/App.svelte +17 -0
- package/test/fixtures/svelte/07-stores/04-custom-stores/App.svelte +9 -0
- package/test/fixtures/svelte/08-motion/00-tweened/App.svelte +38 -0
- package/test/fixtures/svelte/08-motion/01-spring/App.svelte +38 -0
- package/test/fixtures/svelte/09-transitions/00-transition/App.svelte +15 -0
- package/test/fixtures/svelte/09-transitions/01-adding-parameters-to-transitions/App.svelte +15 -0
- package/test/fixtures/svelte/09-transitions/02-in-and-out/App.svelte +15 -0
- package/test/fixtures/svelte/09-transitions/03-custom-css-transitions/App.svelte +49 -0
- package/test/fixtures/svelte/09-transitions/04-custom-js-transitions/App.svelte +36 -0
- package/test/fixtures/svelte/09-transitions/05-transition-events/App.svelte +25 -0
- package/test/fixtures/svelte/10-animations/00-animate/App.svelte +147 -0
- package/test/fixtures/svelte/11-easing/00-easing/App.svelte +106 -0
- package/test/fixtures/svelte/11-easing/00-easing/Controls.svelte +186 -0
- package/test/fixtures/svelte/11-easing/00-easing/Grid.svelte +62 -0
- package/test/fixtures/svelte/12-svg/01-clock/App.svelte +104 -0
- package/test/fixtures/svelte/12-svg/02-bar-chart/App.svelte +118 -0
- package/test/fixtures/svelte/12-svg/03-area-chart/App.svelte +111 -0
- package/test/fixtures/svelte/12-svg/04-scatterplot/App.svelte +24 -0
- package/test/fixtures/svelte/12-svg/04-scatterplot/Scatterplot.svelte +91 -0
- package/test/fixtures/svelte/12-svg/05-svg-transitions/App.svelte +74 -0
- package/test/fixtures/svelte/13-actions/00-actions/App.svelte +54 -0
- package/test/fixtures/svelte/13-actions/01-adding-parameters-to-actions/App.svelte +70 -0
- package/test/fixtures/svelte/14-classes/00-classes/App.svelte +29 -0
- package/test/fixtures/svelte/14-classes/01-class-shorthand/App.svelte +18 -0
- package/test/fixtures/svelte/15-composition/00-slots/App.svelte +8 -0
- package/test/fixtures/svelte/15-composition/00-slots/Box.svelte +14 -0
- package/test/fixtures/svelte/15-composition/01-slot-fallbacks/App.svelte +10 -0
- package/test/fixtures/svelte/15-composition/01-slot-fallbacks/Box.svelte +16 -0
- package/test/fixtures/svelte/15-composition/02-named-slots/App.svelte +14 -0
- package/test/fixtures/svelte/15-composition/02-named-slots/ContactCard.svelte +47 -0
- package/test/fixtures/svelte/15-composition/03-slot-props/App.svelte +46 -0
- package/test/fixtures/svelte/15-composition/03-slot-props/Hoverable.svelte +15 -0
- package/test/fixtures/svelte/15-composition/04-modal/App.svelte +35 -0
- package/test/fixtures/svelte/15-composition/04-modal/Modal.svelte +45 -0
- package/test/fixtures/svelte/16-context/00-context-api/App.svelte +13 -0
- package/test/fixtures/svelte/16-context/00-context-api/Map.svelte +50 -0
- package/test/fixtures/svelte/16-context/00-context-api/MapMarker.svelte +18 -0
- package/test/fixtures/svelte/17-special-elements/00-svelte-self/App.svelte +39 -0
- package/test/fixtures/svelte/17-special-elements/00-svelte-self/File.svelte +14 -0
- package/test/fixtures/svelte/17-special-elements/00-svelte-self/Folder.svelte +52 -0
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/App.svelte +21 -0
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/BlueThing.svelte +5 -0
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/GreenThing.svelte +5 -0
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/RedThing.svelte +5 -0
- package/test/fixtures/svelte/17-special-elements/02-svelte-window/App.svelte +42 -0
- package/test/fixtures/svelte/17-special-elements/03-svelte-window-bindings/App.svelte +88 -0
- package/test/fixtures/svelte/17-special-elements/04-svelte-body/App.svelte +34 -0
- package/test/fixtures/svelte/17-special-elements/05-svelte-head/App.svelte +5 -0
- package/test/fixtures/svelte/18-module-context/01-module-exports/App.svelte +47 -0
- package/test/fixtures/svelte/18-module-context/01-module-exports/AudioPlayer.svelte +52 -0
- package/test/fixtures/svelte/19-debugging/00-debug/App.svelte +18 -0
- package/test/fixtures/svelte/19-debugging/00-debug/Test.svelte +250 -0
- package/test/fixtures/svelte/20-7guis/01-7guis-counter/App.svelte +7 -0
- package/test/fixtures/svelte/20-7guis/02-7guis-temperature/App.svelte +24 -0
- package/test/fixtures/svelte/20-7guis/03-7guis-flight-booker/App.svelte +59 -0
- package/test/fixtures/svelte/20-7guis/04-7guis-timer/App.svelte +38 -0
- package/test/fixtures/svelte/20-7guis/05-7guis-crud/App.svelte +97 -0
- package/test/fixtures/svelte/20-7guis/06-7guis-circles/App.svelte +125 -0
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/App.svelte +59 -0
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Comment.svelte +32 -0
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Item.svelte +39 -0
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/List.svelte +46 -0
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Summary.svelte +38 -0
- package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/App.svelte +38 -0
- package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/ImmutableTodo.svelte +28 -0
- package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/MutableTodo.svelte +26 -0
- package/test/fixtures/svelte/22-bugs/CSS/App.svelte +45 -0
- package/test/fixtures/svelte/99-embeds/20181225-blog-svelte-css-in-js/App.svelte +10 -0
- package/test/fixtures/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.svelte +15 -0
- package/test/fixtures/svelte/99-embeds/20190420-blog-write-less-code/App.svelte +9 -0
- package/test/frontmatter.spec.ts +133 -0
- package/test/html.spec.ts +829 -0
- package/test/html_block_containers.spec.ts +445 -0
- package/test/images.spec.ts +106 -0
- package/test/imports.spec.ts +166 -0
- package/test/incremental.spec.ts +750 -0
- package/test/line_breaks.spec.ts +166 -0
- package/test/link_reference_definitions.spec.ts +422 -0
- package/test/links.spec.ts +234 -0
- package/test/lists.spec.ts +694 -0
- package/test/opcodes.spec.ts +325 -0
- package/test/paragraphs.spec.ts +211 -0
- package/test/parser_reuse.spec.ts +40 -0
- package/test/plugins.spec.ts +879 -0
- package/test/print.ts +108 -0
- package/test/run_bytecode.spec.ts +36 -0
- package/test/snapshots/hybrid/code-escaping.snap.ast +13 -0
- package/test/snapshots/hybrid/code-highlight-nesting.snap.ast +2 -0
- package/test/snapshots/hybrid/component-children.snap.ast +37 -0
- package/test/snapshots/hybrid/component-simple-00.snap.ast +18 -0
- package/test/snapshots/hybrid/component-simple-01.snap.ast +15 -0
- package/test/snapshots/hybrid/component-simple-02.snap.ast +3 -0
- package/test/snapshots/hybrid/component-simple-03.snap.ast +16 -0
- package/test/snapshots/hybrid/component-simple-04.snap.ast +23 -0
- package/test/snapshots/hybrid/dollar-one-in-frontmatter.snap.ast +3 -0
- package/test/snapshots/hybrid/error.snap.ast +24 -0
- package/test/snapshots/hybrid/link-curlies.snap.ast +56 -0
- package/test/snapshots/hybrid/tags-in-frontmatter.snap.ast +2 -0
- package/test/snapshots/markdown/anchors-by-reference.snap.ast +28 -0
- package/test/snapshots/markdown/anchors-followed-by-brakets.snap.ast +28 -0
- package/test/snapshots/markdown/automatic-anchors.snap.ast +6 -0
- package/test/snapshots/markdown/blockquote-followed-by-code.snap.ast +19 -0
- package/test/snapshots/markdown/blockquote-inside-code.snap.ast +8 -0
- package/test/snapshots/markdown/blockquote-nested-markdown.snap.ast +16 -0
- package/test/snapshots/markdown/blockquote.snap.ast +9 -0
- package/test/snapshots/markdown/code-block-html-escape.snap.ast +7 -0
- package/test/snapshots/markdown/code-block-with-special-chars.snap.ast +2 -0
- package/test/snapshots/markdown/code-block.snap.ast +7 -0
- package/test/snapshots/markdown/double-emphasis.snap.ast +32 -0
- package/test/snapshots/markdown/doubline-list.snap.ast +10 -0
- package/test/snapshots/markdown/ellipsis.snap.ast +41 -0
- package/test/snapshots/markdown/emphasis-inside-inline-code.snap.ast +5 -0
- package/test/snapshots/markdown/emphasis.snap.ast +296 -0
- package/test/snapshots/markdown/encodeHTMLCodeTags.snap.ast +18 -0
- package/test/snapshots/markdown/escaped-html-taglikes.snap.ast +21 -0
- package/test/snapshots/markdown/escaped-number-period.snap.ast +5 -0
- package/test/snapshots/markdown/escaping.snap.ast +65 -0
- package/test/snapshots/markdown/github-style-at-start.snap.ast +7 -0
- package/test/snapshots/markdown/github-style-codeblock-inside-quote.snap.ast +13 -0
- package/test/snapshots/markdown/github-style-codeblock.snap.ast +38 -0
- package/test/snapshots/markdown/github-style-linebreaks.snap.ast +2 -0
- package/test/snapshots/markdown/h1-with-double-hash.snap.ast +4 -0
- package/test/snapshots/markdown/h1-with-equals.snap.ast +6 -0
- package/test/snapshots/markdown/h1-with-single-hash.snap.ast +4 -0
- package/test/snapshots/markdown/h2-with-dashes.snap.ast +5 -0
- package/test/snapshots/markdown/h2-with-double-hash.snap.ast +4 -0
- package/test/snapshots/markdown/h2-with-single-hash.snap.ast +4 -0
- package/test/snapshots/markdown/h3-with-double-hash.snap.ast +4 -0
- package/test/snapshots/markdown/h3-with-single-hash.snap.ast +4 -0
- package/test/snapshots/markdown/h4-with-single-hash.snap.ast +4 -0
- package/test/snapshots/markdown/h5-with-single-hash.snap.ast +4 -0
- package/test/snapshots/markdown/h6-with-single-hash.snap.ast +4 -0
- package/test/snapshots/markdown/horizontal-rules.snap.ast +11 -0
- package/test/snapshots/markdown/html-comments.snap.ast +19 -0
- package/test/snapshots/markdown/html-inside-listed-code.snap.ast +6 -0
- package/test/snapshots/markdown/html5-strutural-tags.snap.ast +132 -0
- package/test/snapshots/markdown/images-followed-by-brackets.snap.ast +12 -0
- package/test/snapshots/markdown/images.snap.ast +35 -0
- package/test/snapshots/markdown/implicit-anchors.snap.ast +22 -0
- package/test/snapshots/markdown/inline-anchors.snap.ast +13 -0
- package/test/snapshots/markdown/inline-code.snap.ast +41 -0
- package/test/snapshots/markdown/inline-escaped-chars.snap.ast +10 -0
- package/test/snapshots/markdown/inline-style-tag.snap.ast +7 -0
- package/test/snapshots/markdown/lazy-blockquote.snap.ast +10 -0
- package/test/snapshots/markdown/line-starts-with-html.snap.ast +11 -0
- package/test/snapshots/markdown/list-followed-by-blockquote.snap.ast +23 -0
- package/test/snapshots/markdown/list-followed-by-ghcode.snap.ast +20 -0
- package/test/snapshots/markdown/list-with-blockquote.snap.ast +11 -0
- package/test/snapshots/markdown/literal-html-tags.snap.ast +44 -0
- package/test/snapshots/markdown/multi-paragraph-list.snap.ast +14 -0
- package/test/snapshots/markdown/multiline-unordered-list.snap.ast +9 -0
- package/test/snapshots/markdown/nested-blockquote.snap.ast +13 -0
- package/test/snapshots/markdown/nested-gh-codeblocks.snap.ast +6 -0
- package/test/snapshots/markdown/obfuscated-emails.snap.ast +1 -0
- package/test/snapshots/markdown/ordered-list-same-number.snap.ast +9 -0
- package/test/snapshots/markdown/ordered-list-starting-number.snap.ast +22 -0
- package/test/snapshots/markdown/ordered-list-wrong-numbers.snap.ast +9 -0
- package/test/snapshots/markdown/ordered-list.snap.ast +9 -0
- package/test/snapshots/markdown/paragraphed-list-with-sublists.snap.ast +26 -0
- package/test/snapshots/markdown/pre-code-tags-inside-code-block.snap.ast +6 -0
- package/test/snapshots/markdown/pre-code-tags.snap.ast +32 -0
- package/test/snapshots/markdown/relative-anchors.snap.ast +7 -0
- package/test/snapshots/markdown/repeated-headers.snap.ast +12 -0
- package/test/snapshots/markdown/simple-paragraph.snap.ast +5 -0
- package/test/snapshots/markdown/strip-references.snap.ast +9 -0
- package/test/snapshots/markdown/strong.snap.ast +17 -0
- package/test/snapshots/markdown/unordered-list-asterisk.snap.ast +9 -0
- package/test/snapshots/markdown/unordered-list-minus.snap.ast +9 -0
- package/test/snapshots/markdown/unordered-list-plus.snap.ast +9 -0
- package/test/snapshots/markdown/url-with-parenthesis.snap.ast +7 -0
- package/test/snapshots/pfm/atx_headings/62.snap.ast +19 -0
- package/test/snapshots/pfm/atx_headings/63.snap.ast +4 -0
- package/test/snapshots/pfm/atx_headings/64.snap.ast +8 -0
- package/test/snapshots/pfm/atx_headings/65.snap.ast +4 -0
- package/test/snapshots/pfm/atx_headings/66.snap.ast +9 -0
- package/test/snapshots/pfm/atx_headings/67.snap.ast +4 -0
- package/test/snapshots/pfm/atx_headings/68.snap.ast +10 -0
- package/test/snapshots/pfm/atx_headings/69.snap.ast +4 -0
- package/test/snapshots/pfm/atx_headings/70.snap.ast +7 -0
- package/test/snapshots/pfm/atx_headings/71.snap.ast +7 -0
- package/test/snapshots/pfm/atx_headings/72.snap.ast +7 -0
- package/test/snapshots/pfm/atx_headings/73.snap.ast +4 -0
- package/test/snapshots/pfm/atx_headings/74.snap.ast +4 -0
- package/test/snapshots/pfm/atx_headings/75.snap.ast +4 -0
- package/test/snapshots/pfm/atx_headings/76.snap.ast +13 -0
- package/test/snapshots/pfm/atx_headings/77.snap.ast +6 -0
- package/test/snapshots/pfm/atx_headings/78.snap.ast +10 -0
- package/test/snapshots/pfm/atx_headings/79.snap.ast +8 -0
- package/test/snapshots/pfm/autolinks/594.snap.ast +5 -0
- package/test/snapshots/pfm/autolinks/595.snap.ast +5 -0
- package/test/snapshots/pfm/autolinks/596.snap.ast +5 -0
- package/test/snapshots/pfm/autolinks/597.snap.ast +5 -0
- package/test/snapshots/pfm/autolinks/598.snap.ast +5 -0
- package/test/snapshots/pfm/autolinks/599.snap.ast +5 -0
- package/test/snapshots/pfm/autolinks/600.snap.ast +5 -0
- package/test/snapshots/pfm/autolinks/601.snap.ast +5 -0
- package/test/snapshots/pfm/autolinks/602.snap.ast +4 -0
- package/test/snapshots/pfm/autolinks/603.snap.ast +5 -0
- package/test/snapshots/pfm/autolinks/604.snap.ast +4 -0
- package/test/snapshots/pfm/autolinks/605.snap.ast +4 -0
- package/test/snapshots/pfm/autolinks/606.snap.ast +4 -0
- package/test/snapshots/pfm/autolinks/607.snap.ast +4 -0
- package/test/snapshots/pfm/autolinks/608.snap.ast +4 -0
- package/test/snapshots/pfm/autolinks/609.snap.ast +4 -0
- package/test/snapshots/pfm/autolinks/610.snap.ast +4 -0
- package/test/snapshots/pfm/autolinks/611.snap.ast +4 -0
- package/test/snapshots/pfm/autolinks/612.snap.ast +4 -0
- package/test/snapshots/pfm/backslash_escapes/12.snap.ast +35 -0
- package/test/snapshots/pfm/backslash_escapes/13.snap.ast +4 -0
- package/test/snapshots/pfm/backslash_escapes/14.snap.ast +25 -0
- package/test/snapshots/pfm/backslash_escapes/15.snap.ast +6 -0
- package/test/snapshots/pfm/backslash_escapes/16.snap.ast +6 -0
- package/test/snapshots/pfm/backslash_escapes/17.snap.ast +4 -0
- package/test/snapshots/pfm/backslash_escapes/18.snap.ast +5 -0
- package/test/snapshots/pfm/backslash_escapes/19.snap.ast +10 -0
- package/test/snapshots/pfm/backslash_escapes/20.snap.ast +5 -0
- package/test/snapshots/pfm/backslash_escapes/21.snap.ast +4 -0
- package/test/snapshots/pfm/backslash_escapes/22.snap.ast +5 -0
- package/test/snapshots/pfm/backslash_escapes/23.snap.ast +6 -0
- package/test/snapshots/pfm/backslash_escapes/24.snap.ast +2 -0
- package/test/snapshots/pfm/blank_lines/227.snap.ast +13 -0
- package/test/snapshots/pfm/block_quotes/228.snap.ast +9 -0
- package/test/snapshots/pfm/block_quotes/229.snap.ast +9 -0
- package/test/snapshots/pfm/block_quotes/230.snap.ast +9 -0
- package/test/snapshots/pfm/block_quotes/231.snap.ast +9 -0
- package/test/snapshots/pfm/block_quotes/232.snap.ast +10 -0
- package/test/snapshots/pfm/block_quotes/233.snap.ast +12 -0
- package/test/snapshots/pfm/block_quotes/234.snap.ast +6 -0
- package/test/snapshots/pfm/block_quotes/235.snap.ast +10 -0
- package/test/snapshots/pfm/block_quotes/236.snap.ast +8 -0
- package/test/snapshots/pfm/block_quotes/237.snap.ast +9 -0
- package/test/snapshots/pfm/block_quotes/238.snap.ast +9 -0
- package/test/snapshots/pfm/block_quotes/239.snap.ast +3 -0
- package/test/snapshots/pfm/block_quotes/240.snap.ast +5 -0
- package/test/snapshots/pfm/block_quotes/241.snap.ast +6 -0
- package/test/snapshots/pfm/block_quotes/242.snap.ast +10 -0
- package/test/snapshots/pfm/block_quotes/243.snap.ast +7 -0
- package/test/snapshots/pfm/block_quotes/244.snap.ast +8 -0
- package/test/snapshots/pfm/block_quotes/245.snap.ast +8 -0
- package/test/snapshots/pfm/block_quotes/246.snap.ast +10 -0
- package/test/snapshots/pfm/block_quotes/247.snap.ast +8 -0
- package/test/snapshots/pfm/block_quotes/248.snap.ast +9 -0
- package/test/snapshots/pfm/block_quotes/249.snap.ast +9 -0
- package/test/snapshots/pfm/block_quotes/250.snap.ast +10 -0
- package/test/snapshots/pfm/block_quotes/251.snap.ast +12 -0
- package/test/snapshots/pfm/block_quotes/252.snap.ast +10 -0
- package/test/snapshots/pfm/block_quotes/pfm_fence_close.snap.ast +6 -0
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_compact.snap.ast +6 -0
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_end_quote.snap.ast +8 -0
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_info.snap.ast +4 -0
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_longer.snap.ast +6 -0
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_nested.snap.ast +5 -0
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_twice.snap.ast +5 -0
- package/test/snapshots/pfm/block_quotes/pfm_fence_info_eof.snap.ast +3 -0
- package/test/snapshots/pfm/block_quotes/pfm_fence_unclosed.snap.ast +3 -0
- package/test/snapshots/pfm/code_spans/328.snap.ast +3 -0
- package/test/snapshots/pfm/code_spans/329.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/330.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/331.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/332.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/333.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/334.snap.ast +6 -0
- package/test/snapshots/pfm/code_spans/335.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/336.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/337.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/338.snap.ast +6 -0
- package/test/snapshots/pfm/code_spans/339.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/340.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/341.snap.ast +6 -0
- package/test/snapshots/pfm/code_spans/342.snap.ast +7 -0
- package/test/snapshots/pfm/code_spans/343.snap.ast +6 -0
- package/test/snapshots/pfm/code_spans/344.snap.ast +5 -0
- package/test/snapshots/pfm/code_spans/345.snap.ast +6 -0
- package/test/snapshots/pfm/code_spans/346.snap.ast +6 -0
- package/test/snapshots/pfm/code_spans/347.snap.ast +2 -0
- package/test/snapshots/pfm/code_spans/348.snap.ast +5 -0
- package/test/snapshots/pfm/code_spans/349.snap.ast +6 -0
- package/test/snapshots/pfm/code_spans/pfm_328_1.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/pfm_328_2.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/pfm_328_3.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/pfm_328_4.snap.ast +4 -0
- package/test/snapshots/pfm/code_spans/pfm_328_5.snap.ast +6 -0
- package/test/snapshots/pfm/code_spans/pfm_328_6.snap.ast +6 -0
- package/test/snapshots/pfm/code_spans/pfm_328_7.snap.ast +6 -0
- package/test/snapshots/pfm/code_spans/pfm_328_8.snap.ast +8 -0
- package/test/snapshots/pfm/code_spans/pfm_328_9.snap.ast +10 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/350.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/351.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/352.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/353.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/354.snap.ast +18 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/355.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/356.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/357.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/358.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/359.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/360.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/361.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/362.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/363.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/364.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/365.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/366.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/367.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/368.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/369.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/370.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/371.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/372.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/373.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/374.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/375.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/376.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/377.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/378.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/379.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/380.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/381.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/382.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/383.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/384.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/385.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/386.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/387.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/388.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/389.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/390.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/391.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/392.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/393.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/394.snap.ast +12 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/395.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/396.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/397.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/398.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/399.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/400.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/401.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/402.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/403.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/404.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/405.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/406.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/407.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/408.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/409.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/410.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/411.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/412.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/413.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/414.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/415.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/416.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/417.snap.ast +15 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/418.snap.ast +11 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/419.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/420.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/421.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/422.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/423.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/424.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/425.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/426.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/427.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/428.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/429.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/430.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/431.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/432.snap.ast +12 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/433.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/434.snap.ast +4 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/435.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/436.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/437.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/438.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/439.snap.ast +9 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/440.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/441.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/442.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/443.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/444.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/445.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/446.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/447.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/448.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/449.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/450.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/451.snap.ast +9 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/452.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/453.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/454.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/455.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/456.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/457.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/458.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/459.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/460.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/461.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/462.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/463.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/464.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/465.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/466.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/467.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/468.snap.ast +12 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/469.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/470.snap.ast +10 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/471.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/472.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/473.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/474.snap.ast +8 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/475.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/476.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/477.snap.ast +5 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/478.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/479.snap.ast +6 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/480.snap.ast +7 -0
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/481.snap.ast +7 -0
- package/test/snapshots/pfm/fenced_code_blocks/119.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/121.snap.ast +4 -0
- package/test/snapshots/pfm/fenced_code_blocks/122.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/124.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/126.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/127.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/128.snap.ast +11 -0
- package/test/snapshots/pfm/fenced_code_blocks/130.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/131.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/132.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/133.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/134.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/135.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/136.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/137.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/138.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/140.snap.ast +8 -0
- package/test/snapshots/pfm/fenced_code_blocks/142.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/144.snap.ast +3 -0
- package/test/snapshots/pfm/fenced_code_blocks/145.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/pfm_119_2.snap.ast +6 -0
- package/test/snapshots/pfm/fenced_code_blocks/pfm_119_3.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/pfm_info_eof.snap.ast +2 -0
- package/test/snapshots/pfm/fenced_code_blocks/pfm_info_eof_no_lf.snap.ast +2 -0
- package/test/snapshots/pfm/frontmatter/1.snap.ast +6 -0
- package/test/snapshots/pfm/frontmatter/10.snap.ast +4 -0
- package/test/snapshots/pfm/frontmatter/2.snap.ast +2 -0
- package/test/snapshots/pfm/frontmatter/3.snap.ast +2 -0
- package/test/snapshots/pfm/frontmatter/4.snap.ast +2 -0
- package/test/snapshots/pfm/frontmatter/5.snap.ast +7 -0
- package/test/snapshots/pfm/frontmatter/6.snap.ast +9 -0
- package/test/snapshots/pfm/frontmatter/7.snap.ast +2 -0
- package/test/snapshots/pfm/frontmatter/8.snap.ast +6 -0
- package/test/snapshots/pfm/frontmatter/9.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/001.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/002.snap.ast +4 -0
- package/test/snapshots/pfm/generic_directives/003.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/004.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/005.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/006.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/007.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/008.snap.ast +4 -0
- package/test/snapshots/pfm/generic_directives/009.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/010.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/011.snap.ast +4 -0
- package/test/snapshots/pfm/generic_directives/012.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/013.snap.ast +2 -0
- package/test/snapshots/pfm/generic_directives/014.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/015.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/016.snap.ast +4 -0
- package/test/snapshots/pfm/generic_directives/017.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/018.snap.ast +4 -0
- package/test/snapshots/pfm/generic_directives/019.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/020.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/021.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/022.snap.ast +9 -0
- package/test/snapshots/pfm/generic_directives/023.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/024.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/025.snap.ast +2 -0
- package/test/snapshots/pfm/generic_directives/026.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/027.snap.ast +10 -0
- package/test/snapshots/pfm/generic_directives/028.snap.ast +3 -0
- package/test/snapshots/pfm/generic_directives/029.snap.ast +12 -0
- package/test/snapshots/pfm/generic_directives/030.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/031.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/032.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/033.snap.ast +3 -0
- package/test/snapshots/pfm/generic_directives/034.snap.ast +10 -0
- package/test/snapshots/pfm/generic_directives/035.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/036.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/037.snap.ast +10 -0
- package/test/snapshots/pfm/generic_directives/038.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/039.snap.ast +11 -0
- package/test/snapshots/pfm/generic_directives/040.snap.ast +17 -0
- package/test/snapshots/pfm/generic_directives/041.snap.ast +4 -0
- package/test/snapshots/pfm/generic_directives/042.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/043.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/044.snap.ast +4 -0
- package/test/snapshots/pfm/generic_directives/045.snap.ast +2 -0
- package/test/snapshots/pfm/generic_directives/046.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/047.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/048.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/049.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/050.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/051.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/052.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/053.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/054.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/055.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/056.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/057.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/058.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/059.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/060.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/061.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/062.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/063.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/064.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/065.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/066.snap.ast +9 -0
- package/test/snapshots/pfm/generic_directives/067.snap.ast +16 -0
- package/test/snapshots/pfm/generic_directives/068.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/069.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/070.snap.ast +9 -0
- package/test/snapshots/pfm/generic_directives/071.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/072.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/073.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/074.snap.ast +10 -0
- package/test/snapshots/pfm/generic_directives/075.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/076.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/077.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/078.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/079.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/080.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/081.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/082.snap.ast +11 -0
- package/test/snapshots/pfm/generic_directives/083.snap.ast +9 -0
- package/test/snapshots/pfm/generic_directives/084.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/085.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/086.snap.ast +4 -0
- package/test/snapshots/pfm/generic_directives/087.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/088.snap.ast +10 -0
- package/test/snapshots/pfm/generic_directives/089.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/090.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/091.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/092.snap.ast +16 -0
- package/test/snapshots/pfm/generic_directives/093.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/094.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/095.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/096.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/097.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/098.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/099.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/100.snap.ast +9 -0
- package/test/snapshots/pfm/generic_directives/101.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/102.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/103.snap.ast +13 -0
- package/test/snapshots/pfm/generic_directives/104.snap.ast +6 -0
- package/test/snapshots/pfm/generic_directives/105.snap.ast +8 -0
- package/test/snapshots/pfm/generic_directives/106.snap.ast +9 -0
- package/test/snapshots/pfm/generic_directives/107.snap.ast +9 -0
- package/test/snapshots/pfm/generic_directives/108.snap.ast +5 -0
- package/test/snapshots/pfm/generic_directives/109.snap.ast +4 -0
- package/test/snapshots/pfm/generic_directives/110.snap.ast +10 -0
- package/test/snapshots/pfm/generic_directives/111.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/112.snap.ast +18 -0
- package/test/snapshots/pfm/generic_directives/113.snap.ast +7 -0
- package/test/snapshots/pfm/generic_directives/114.snap.ast +12 -0
- package/test/snapshots/pfm/generic_directives/115.snap.ast +10 -0
- package/test/snapshots/pfm/generic_directives/116.snap.ast +13 -0
- package/test/snapshots/pfm/generic_directives/117.snap.ast +9 -0
- package/test/snapshots/pfm/generic_directives/118.snap.ast +10 -0
- package/test/snapshots/pfm/generic_directives/119.snap.ast +9 -0
- package/test/snapshots/pfm/generic_directives/120.snap.ast +12 -0
- package/test/snapshots/pfm/generic_directives/121.snap.ast +3 -0
- package/test/snapshots/pfm/generic_directives/122.snap.ast +3 -0
- package/test/snapshots/pfm/generic_directives/123.snap.ast +3 -0
- package/test/snapshots/pfm/hard_line_breaks/633.snap.ast +6 -0
- package/test/snapshots/pfm/hard_line_breaks/634.snap.ast +6 -0
- package/test/snapshots/pfm/hard_line_breaks/635.snap.ast +6 -0
- package/test/snapshots/pfm/hard_line_breaks/636.snap.ast +6 -0
- package/test/snapshots/pfm/hard_line_breaks/637.snap.ast +6 -0
- package/test/snapshots/pfm/hard_line_breaks/638.snap.ast +7 -0
- package/test/snapshots/pfm/hard_line_breaks/639.snap.ast +7 -0
- package/test/snapshots/pfm/hard_line_breaks/640.snap.ast +4 -0
- package/test/snapshots/pfm/hard_line_breaks/641.snap.ast +4 -0
- package/test/snapshots/pfm/hard_line_breaks/642.snap.ast +4 -0
- package/test/snapshots/pfm/hard_line_breaks/643.snap.ast +4 -0
- package/test/snapshots/pfm/hard_line_breaks/644.snap.ast +4 -0
- package/test/snapshots/pfm/hard_line_breaks/645.snap.ast +4 -0
- package/test/snapshots/pfm/hard_line_breaks/646.snap.ast +4 -0
- package/test/snapshots/pfm/hard_line_breaks/647.snap.ast +4 -0
- package/test/snapshots/pfm/html/148.snap.ast +21 -0
- package/test/snapshots/pfm/html/149.snap.ast +17 -0
- package/test/snapshots/pfm/html/150.snap.ast +11 -0
- package/test/snapshots/pfm/html/151.snap.ast +7 -0
- package/test/snapshots/pfm/html/152.snap.ast +10 -0
- package/test/snapshots/pfm/html/153.snap.ast +4 -0
- package/test/snapshots/pfm/html/154.snap.ast +4 -0
- package/test/snapshots/pfm/html/155.snap.ast +13 -0
- package/test/snapshots/pfm/html/156.snap.ast +7 -0
- package/test/snapshots/pfm/html/157.snap.ast +6 -0
- package/test/snapshots/pfm/html/158.snap.ast +10 -0
- package/test/snapshots/pfm/html/159.snap.ast +6 -0
- package/test/snapshots/pfm/html/160.snap.ast +9 -0
- package/test/snapshots/pfm/html/161.snap.ast +4 -0
- package/test/snapshots/pfm/html/162.snap.ast +7 -0
- package/test/snapshots/pfm/html/163.snap.ast +8 -0
- package/test/snapshots/pfm/html/164.snap.ast +7 -0
- package/test/snapshots/pfm/html/165.snap.ast +7 -0
- package/test/snapshots/pfm/html/166.snap.ast +8 -0
- package/test/snapshots/pfm/html/167.snap.ast +10 -0
- package/test/snapshots/pfm/html/168.snap.ast +5 -0
- package/test/snapshots/pfm/html/169.snap.ast +15 -0
- package/test/snapshots/pfm/html/170.snap.ast +6 -0
- package/test/snapshots/pfm/html/171.snap.ast +15 -0
- package/test/snapshots/pfm/html/172.snap.ast +6 -0
- package/test/snapshots/pfm/html/173.snap.ast +2 -0
- package/test/snapshots/pfm/html/174.snap.ast +11 -0
- package/test/snapshots/pfm/html/175.snap.ast +7 -0
- package/test/snapshots/pfm/html/176.snap.ast +7 -0
- package/test/snapshots/pfm/html/177.snap.ast +9 -0
- package/test/snapshots/pfm/html/178.snap.ast +7 -0
- package/test/snapshots/pfm/html/179.snap.ast +6 -0
- package/test/snapshots/pfm/html/180.snap.ast +14 -0
- package/test/snapshots/pfm/html/181.snap.ast +5 -0
- package/test/snapshots/pfm/html/182.snap.ast +16 -0
- package/test/snapshots/pfm/html/183.snap.ast +6 -0
- package/test/snapshots/pfm/html/184.snap.ast +8 -0
- package/test/snapshots/pfm/html/185.snap.ast +10 -0
- package/test/snapshots/pfm/html/186.snap.ast +11 -0
- package/test/snapshots/pfm/html/187.snap.ast +8 -0
- package/test/snapshots/pfm/html/188.snap.ast +11 -0
- package/test/snapshots/pfm/html/189.snap.ast +9 -0
- package/test/snapshots/pfm/html/190.snap.ast +17 -0
- package/test/snapshots/pfm/html/191.snap.ast +17 -0
- package/test/snapshots/pfm/html/613.snap.ast +8 -0
- package/test/snapshots/pfm/html/614.snap.ast +4 -0
- package/test/snapshots/pfm/html/615.snap.ast +5 -0
- package/test/snapshots/pfm/html/616.snap.ast +3 -0
- package/test/snapshots/pfm/html/617.snap.ast +5 -0
- package/test/snapshots/pfm/html/618.snap.ast +5 -0
- package/test/snapshots/pfm/html/619.snap.ast +4 -0
- package/test/snapshots/pfm/html/620.snap.ast +5 -0
- package/test/snapshots/pfm/html/621.snap.ast +10 -0
- package/test/snapshots/pfm/html/622.snap.ast +4 -0
- package/test/snapshots/pfm/html/623.snap.ast +5 -0
- package/test/snapshots/pfm/html/624.snap.ast +4 -0
- package/test/snapshots/pfm/html/625.snap.ast +5 -0
- package/test/snapshots/pfm/html/626.snap.ast +10 -0
- package/test/snapshots/pfm/html/627.snap.ast +5 -0
- package/test/snapshots/pfm/html/628.snap.ast +6 -0
- package/test/snapshots/pfm/html/629.snap.ast +12 -0
- package/test/snapshots/pfm/html/630.snap.ast +5 -0
- package/test/snapshots/pfm/html/631.snap.ast +5 -0
- package/test/snapshots/pfm/html/632.snap.ast +4 -0
- package/test/snapshots/pfm/images/572.snap.ast +5 -0
- package/test/snapshots/pfm/images/573.snap.ast +9 -0
- package/test/snapshots/pfm/images/574.snap.ast +7 -0
- package/test/snapshots/pfm/images/575.snap.ast +7 -0
- package/test/snapshots/pfm/images/576.snap.ast +11 -0
- package/test/snapshots/pfm/images/577.snap.ast +11 -0
- package/test/snapshots/pfm/images/578.snap.ast +5 -0
- package/test/snapshots/pfm/images/579.snap.ast +6 -0
- package/test/snapshots/pfm/images/580.snap.ast +5 -0
- package/test/snapshots/pfm/images/581.snap.ast +4 -0
- package/test/snapshots/pfm/images/582.snap.ast +8 -0
- package/test/snapshots/pfm/images/583.snap.ast +8 -0
- package/test/snapshots/pfm/images/584.snap.ast +8 -0
- package/test/snapshots/pfm/images/585.snap.ast +11 -0
- package/test/snapshots/pfm/images/586.snap.ast +8 -0
- package/test/snapshots/pfm/images/587.snap.ast +9 -0
- package/test/snapshots/pfm/images/588.snap.ast +6 -0
- package/test/snapshots/pfm/images/589.snap.ast +9 -0
- package/test/snapshots/pfm/images/590.snap.ast +12 -0
- package/test/snapshots/pfm/images/591.snap.ast +6 -0
- package/test/snapshots/pfm/images/592.snap.ast +7 -0
- package/test/snapshots/pfm/images/593.snap.ast +7 -0
- package/test/snapshots/pfm/imports/1.snap.ast +6 -0
- package/test/snapshots/pfm/imports/10.snap.ast +4 -0
- package/test/snapshots/pfm/imports/11.snap.ast +6 -0
- package/test/snapshots/pfm/imports/2.snap.ast +7 -0
- package/test/snapshots/pfm/imports/3.snap.ast +7 -0
- package/test/snapshots/pfm/imports/4.snap.ast +6 -0
- package/test/snapshots/pfm/imports/5.snap.ast +6 -0
- package/test/snapshots/pfm/imports/6.snap.ast +8 -0
- package/test/snapshots/pfm/imports/7.snap.ast +6 -0
- package/test/snapshots/pfm/imports/8.snap.ast +8 -0
- package/test/snapshots/pfm/imports/9.snap.ast +2 -0
- package/test/snapshots/pfm/inlines/327.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/192.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/193.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/194.snap.ast +8 -0
- package/test/snapshots/pfm/link_reference_definitions/195.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/196.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/197.snap.ast +16 -0
- package/test/snapshots/pfm/link_reference_definitions/198.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/199.snap.ast +12 -0
- package/test/snapshots/pfm/link_reference_definitions/200.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/201.snap.ast +14 -0
- package/test/snapshots/pfm/link_reference_definitions/202.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/203.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/204.snap.ast +8 -0
- package/test/snapshots/pfm/link_reference_definitions/205.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/206.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/207.snap.ast +1 -0
- package/test/snapshots/pfm/link_reference_definitions/208.snap.ast +12 -0
- package/test/snapshots/pfm/link_reference_definitions/209.snap.ast +5 -0
- package/test/snapshots/pfm/link_reference_definitions/210.snap.ast +7 -0
- package/test/snapshots/pfm/link_reference_definitions/211.snap.ast +6 -0
- package/test/snapshots/pfm/link_reference_definitions/212.snap.ast +9 -0
- package/test/snapshots/pfm/link_reference_definitions/213.snap.ast +14 -0
- package/test/snapshots/pfm/link_reference_definitions/214.snap.ast +11 -0
- package/test/snapshots/pfm/link_reference_definitions/215.snap.ast +9 -0
- package/test/snapshots/pfm/link_reference_definitions/216.snap.ast +7 -0
- package/test/snapshots/pfm/link_reference_definitions/217.snap.ast +14 -0
- package/test/snapshots/pfm/link_reference_definitions/218.snap.ast +13 -0
- package/test/snapshots/pfm/links/482.snap.ast +5 -0
- package/test/snapshots/pfm/links/483.snap.ast +5 -0
- package/test/snapshots/pfm/links/484.snap.ast +4 -0
- package/test/snapshots/pfm/links/485.snap.ast +5 -0
- package/test/snapshots/pfm/links/486.snap.ast +5 -0
- package/test/snapshots/pfm/links/487.snap.ast +4 -0
- package/test/snapshots/pfm/links/488.snap.ast +5 -0
- package/test/snapshots/pfm/links/489.snap.ast +5 -0
- package/test/snapshots/pfm/links/490.snap.ast +7 -0
- package/test/snapshots/pfm/links/491.snap.ast +7 -0
- package/test/snapshots/pfm/links/492.snap.ast +5 -0
- package/test/snapshots/pfm/links/493.snap.ast +5 -0
- package/test/snapshots/pfm/links/494.snap.ast +11 -0
- package/test/snapshots/pfm/links/495.snap.ast +5 -0
- package/test/snapshots/pfm/links/496.snap.ast +5 -0
- package/test/snapshots/pfm/links/497.snap.ast +5 -0
- package/test/snapshots/pfm/links/498.snap.ast +5 -0
- package/test/snapshots/pfm/links/499.snap.ast +5 -0
- package/test/snapshots/pfm/links/500.snap.ast +5 -0
- package/test/snapshots/pfm/links/501.snap.ast +15 -0
- package/test/snapshots/pfm/links/502.snap.ast +5 -0
- package/test/snapshots/pfm/links/503.snap.ast +5 -0
- package/test/snapshots/pfm/links/504.snap.ast +5 -0
- package/test/snapshots/pfm/links/505.snap.ast +11 -0
- package/test/snapshots/pfm/links/506.snap.ast +5 -0
- package/test/snapshots/pfm/links/507.snap.ast +5 -0
- package/test/snapshots/pfm/links/508.snap.ast +5 -0
- package/test/snapshots/pfm/links/509.snap.ast +5 -0
- package/test/snapshots/pfm/links/510.snap.ast +7 -0
- package/test/snapshots/pfm/links/511.snap.ast +5 -0
- package/test/snapshots/pfm/links/512.snap.ast +11 -0
- package/test/snapshots/pfm/links/513.snap.ast +6 -0
- package/test/snapshots/pfm/links/514.snap.ast +7 -0
- package/test/snapshots/pfm/links/515.snap.ast +6 -0
- package/test/snapshots/pfm/links/516.snap.ast +12 -0
- package/test/snapshots/pfm/links/517.snap.ast +6 -0
- package/test/snapshots/pfm/links/518.snap.ast +7 -0
- package/test/snapshots/pfm/links/519.snap.ast +10 -0
- package/test/snapshots/pfm/links/520.snap.ast +7 -0
- package/test/snapshots/pfm/links/521.snap.ast +7 -0
- package/test/snapshots/pfm/links/522.snap.ast +9 -0
- package/test/snapshots/pfm/links/523.snap.ast +9 -0
- package/test/snapshots/pfm/links/524.snap.ast +6 -0
- package/test/snapshots/pfm/links/525.snap.ast +6 -0
- package/test/snapshots/pfm/links/526.snap.ast +7 -0
- package/test/snapshots/pfm/links/527.snap.ast +6 -0
- package/test/snapshots/pfm/links/528.snap.ast +14 -0
- package/test/snapshots/pfm/links/529.snap.ast +7 -0
- package/test/snapshots/pfm/links/530.snap.ast +13 -0
- package/test/snapshots/pfm/links/531.snap.ast +7 -0
- package/test/snapshots/pfm/links/532.snap.ast +8 -0
- package/test/snapshots/pfm/links/533.snap.ast +10 -0
- package/test/snapshots/pfm/links/534.snap.ast +8 -0
- package/test/snapshots/pfm/links/535.snap.ast +11 -0
- package/test/snapshots/pfm/links/536.snap.ast +7 -0
- package/test/snapshots/pfm/links/537.snap.ast +7 -0
- package/test/snapshots/pfm/links/538.snap.ast +8 -0
- package/test/snapshots/pfm/links/539.snap.ast +6 -0
- package/test/snapshots/pfm/links/540.snap.ast +8 -0
- package/test/snapshots/pfm/links/541.snap.ast +15 -0
- package/test/snapshots/pfm/links/542.snap.ast +8 -0
- package/test/snapshots/pfm/links/543.snap.ast +11 -0
- package/test/snapshots/pfm/links/544.snap.ast +7 -0
- package/test/snapshots/pfm/links/545.snap.ast +10 -0
- package/test/snapshots/pfm/links/546.snap.ast +16 -0
- package/test/snapshots/pfm/links/547.snap.ast +18 -0
- package/test/snapshots/pfm/links/548.snap.ast +14 -0
- package/test/snapshots/pfm/links/549.snap.ast +6 -0
- package/test/snapshots/pfm/links/550.snap.ast +7 -0
- package/test/snapshots/pfm/links/551.snap.ast +12 -0
- package/test/snapshots/pfm/links/552.snap.ast +12 -0
- package/test/snapshots/pfm/links/553.snap.ast +6 -0
- package/test/snapshots/pfm/links/554.snap.ast +8 -0
- package/test/snapshots/pfm/links/555.snap.ast +6 -0
- package/test/snapshots/pfm/links/556.snap.ast +9 -0
- package/test/snapshots/pfm/links/557.snap.ast +6 -0
- package/test/snapshots/pfm/links/558.snap.ast +8 -0
- package/test/snapshots/pfm/links/559.snap.ast +10 -0
- package/test/snapshots/pfm/links/560.snap.ast +9 -0
- package/test/snapshots/pfm/links/561.snap.ast +6 -0
- package/test/snapshots/pfm/links/562.snap.ast +7 -0
- package/test/snapshots/pfm/links/563.snap.ast +8 -0
- package/test/snapshots/pfm/links/564.snap.ast +8 -0
- package/test/snapshots/pfm/links/565.snap.ast +6 -0
- package/test/snapshots/pfm/links/566.snap.ast +6 -0
- package/test/snapshots/pfm/links/567.snap.ast +6 -0
- package/test/snapshots/pfm/links/568.snap.ast +6 -0
- package/test/snapshots/pfm/links/569.snap.ast +8 -0
- package/test/snapshots/pfm/links/570.snap.ast +8 -0
- package/test/snapshots/pfm/links/571.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/253.snap.ast +15 -0
- package/test/snapshots/pfm/list_items/254.snap.ast +13 -0
- package/test/snapshots/pfm/list_items/255.snap.ast +9 -0
- package/test/snapshots/pfm/list_items/256.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/257.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/258.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/259.snap.ast +10 -0
- package/test/snapshots/pfm/list_items/260.snap.ast +10 -0
- package/test/snapshots/pfm/list_items/261.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/262.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/263.snap.ast +12 -0
- package/test/snapshots/pfm/list_items/264.snap.ast +10 -0
- package/test/snapshots/pfm/list_items/265.snap.ast +5 -0
- package/test/snapshots/pfm/list_items/266.snap.ast +4 -0
- package/test/snapshots/pfm/list_items/267.snap.ast +5 -0
- package/test/snapshots/pfm/list_items/268.snap.ast +5 -0
- package/test/snapshots/pfm/list_items/269.snap.ast +4 -0
- package/test/snapshots/pfm/list_items/270.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/271.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/272.snap.ast +12 -0
- package/test/snapshots/pfm/list_items/273.snap.ast +10 -0
- package/test/snapshots/pfm/list_items/274.snap.ast +10 -0
- package/test/snapshots/pfm/list_items/275.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/276.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/277.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/278.snap.ast +14 -0
- package/test/snapshots/pfm/list_items/279.snap.ast +6 -0
- package/test/snapshots/pfm/list_items/280.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/281.snap.ast +9 -0
- package/test/snapshots/pfm/list_items/282.snap.ast +9 -0
- package/test/snapshots/pfm/list_items/283.snap.ast +9 -0
- package/test/snapshots/pfm/list_items/284.snap.ast +4 -0
- package/test/snapshots/pfm/list_items/285.snap.ast +12 -0
- package/test/snapshots/pfm/list_items/286.snap.ast +13 -0
- package/test/snapshots/pfm/list_items/287.snap.ast +13 -0
- package/test/snapshots/pfm/list_items/288.snap.ast +13 -0
- package/test/snapshots/pfm/list_items/289.snap.ast +13 -0
- package/test/snapshots/pfm/list_items/290.snap.ast +13 -0
- package/test/snapshots/pfm/list_items/291.snap.ast +7 -0
- package/test/snapshots/pfm/list_items/292.snap.ast +11 -0
- package/test/snapshots/pfm/list_items/293.snap.ast +10 -0
- package/test/snapshots/pfm/list_items/294.snap.ast +14 -0
- package/test/snapshots/pfm/list_items/295.snap.ast +11 -0
- package/test/snapshots/pfm/list_items/296.snap.ast +8 -0
- package/test/snapshots/pfm/list_items/297.snap.ast +9 -0
- package/test/snapshots/pfm/list_items/298.snap.ast +6 -0
- package/test/snapshots/pfm/list_items/299.snap.ast +9 -0
- package/test/snapshots/pfm/list_items/300.snap.ast +12 -0
- package/test/snapshots/pfm/lists/301.snap.ast +11 -0
- package/test/snapshots/pfm/lists/302.snap.ast +11 -0
- package/test/snapshots/pfm/lists/303.snap.ast +10 -0
- package/test/snapshots/pfm/lists/304.snap.ast +6 -0
- package/test/snapshots/pfm/lists/305.snap.ast +8 -0
- package/test/snapshots/pfm/lists/306.snap.ast +12 -0
- package/test/snapshots/pfm/lists/307.snap.ast +14 -0
- package/test/snapshots/pfm/lists/308.snap.ast +17 -0
- package/test/snapshots/pfm/lists/309.snap.ast +18 -0
- package/test/snapshots/pfm/lists/310.snap.ast +17 -0
- package/test/snapshots/pfm/lists/311.snap.ast +12 -0
- package/test/snapshots/pfm/lists/312.snap.ast +13 -0
- package/test/snapshots/pfm/lists/313.snap.ast +12 -0
- package/test/snapshots/pfm/lists/314.snap.ast +12 -0
- package/test/snapshots/pfm/lists/315.snap.ast +11 -0
- package/test/snapshots/pfm/lists/316.snap.ast +14 -0
- package/test/snapshots/pfm/lists/317.snap.ast +15 -0
- package/test/snapshots/pfm/lists/318.snap.ast +9 -0
- package/test/snapshots/pfm/lists/319.snap.ast +13 -0
- package/test/snapshots/pfm/lists/320.snap.ast +11 -0
- package/test/snapshots/pfm/lists/321.snap.ast +11 -0
- package/test/snapshots/pfm/lists/322.snap.ast +5 -0
- package/test/snapshots/pfm/lists/323.snap.ast +8 -0
- package/test/snapshots/pfm/lists/324.snap.ast +7 -0
- package/test/snapshots/pfm/lists/325.snap.ast +11 -0
- package/test/snapshots/pfm/lists/326.snap.ast +19 -0
- package/test/snapshots/pfm/paragraphs/219.snap.ast +8 -0
- package/test/snapshots/pfm/paragraphs/220.snap.ast +12 -0
- package/test/snapshots/pfm/paragraphs/221.snap.ast +9 -0
- package/test/snapshots/pfm/paragraphs/222.snap.ast +6 -0
- package/test/snapshots/pfm/paragraphs/223.snap.ast +8 -0
- package/test/snapshots/pfm/paragraphs/224.snap.ast +6 -0
- package/test/snapshots/pfm/paragraphs/225.snap.ast +6 -0
- package/test/snapshots/pfm/precedence/42.snap.ast +5 -0
- package/test/snapshots/pfm/setext_headings/100.snap.ast +5 -0
- package/test/snapshots/pfm/setext_headings/101.snap.ast +6 -0
- package/test/snapshots/pfm/setext_headings/102.snap.ast +5 -0
- package/test/snapshots/pfm/setext_headings/103.snap.ast +12 -0
- package/test/snapshots/pfm/setext_headings/104.snap.ast +12 -0
- package/test/snapshots/pfm/setext_headings/105.snap.ast +10 -0
- package/test/snapshots/pfm/setext_headings/106.snap.ast +10 -0
- package/test/snapshots/pfm/setext_headings/80.snap.ast +15 -0
- package/test/snapshots/pfm/setext_headings/81.snap.ast +10 -0
- package/test/snapshots/pfm/setext_headings/82.snap.ast +11 -0
- package/test/snapshots/pfm/setext_headings/83.snap.ast +11 -0
- package/test/snapshots/pfm/setext_headings/84.snap.ast +16 -0
- package/test/snapshots/pfm/setext_headings/85.snap.ast +11 -0
- package/test/snapshots/pfm/setext_headings/86.snap.ast +5 -0
- package/test/snapshots/pfm/setext_headings/87.snap.ast +6 -0
- package/test/snapshots/pfm/setext_headings/88.snap.ast +11 -0
- package/test/snapshots/pfm/setext_headings/89.snap.ast +5 -0
- package/test/snapshots/pfm/setext_headings/90.snap.ast +6 -0
- package/test/snapshots/pfm/setext_headings/91.snap.ast +7 -0
- package/test/snapshots/pfm/setext_headings/92.snap.ast +6 -0
- package/test/snapshots/pfm/setext_headings/93.snap.ast +10 -0
- package/test/snapshots/pfm/setext_headings/94.snap.ast +6 -0
- package/test/snapshots/pfm/setext_headings/95.snap.ast +7 -0
- package/test/snapshots/pfm/setext_headings/96.snap.ast +9 -0
- package/test/snapshots/pfm/setext_headings/97.snap.ast +5 -0
- package/test/snapshots/pfm/setext_headings/98.snap.ast +2 -0
- package/test/snapshots/pfm/setext_headings/99.snap.ast +6 -0
- package/test/snapshots/pfm/soft_line_breaks/648.snap.ast +6 -0
- package/test/snapshots/pfm/soft_line_breaks/649.snap.ast +6 -0
- package/test/snapshots/pfm/tabs/1.snap.ast +4 -0
- package/test/snapshots/pfm/tabs/10.snap.ast +4 -0
- package/test/snapshots/pfm/tabs/11.snap.ast +2 -0
- package/test/snapshots/pfm/tabs/12.snap.ast +7 -0
- package/test/snapshots/pfm/tabs/13.snap.ast +8 -0
- package/test/snapshots/pfm/tabs/14.snap.ast +8 -0
- package/test/snapshots/pfm/tabs/15.snap.ast +7 -0
- package/test/snapshots/pfm/tabs/16.snap.ast +7 -0
- package/test/snapshots/pfm/tabs/17.snap.ast +11 -0
- package/test/snapshots/pfm/tabs/2.snap.ast +4 -0
- package/test/snapshots/pfm/tabs/3.snap.ast +6 -0
- package/test/snapshots/pfm/tabs/4.snap.ast +9 -0
- package/test/snapshots/pfm/tabs/5.snap.ast +8 -0
- package/test/snapshots/pfm/tabs/6.snap.ast +5 -0
- package/test/snapshots/pfm/tabs/7.snap.ast +5 -0
- package/test/snapshots/pfm/tabs/8.snap.ast +6 -0
- package/test/snapshots/pfm/tabs/9.snap.ast +10 -0
- package/test/snapshots/pfm/textual_content/650.snap.ast +4 -0
- package/test/snapshots/pfm/textual_content/651.snap.ast +4 -0
- package/test/snapshots/pfm/textual_content/652.snap.ast +4 -0
- package/test/snapshots/pfm/thematic_breaks/43.snap.ast +4 -0
- package/test/snapshots/pfm/thematic_breaks/44.snap.ast +4 -0
- package/test/snapshots/pfm/thematic_breaks/45.snap.ast +4 -0
- package/test/snapshots/pfm/thematic_breaks/46.snap.ast +10 -0
- package/test/snapshots/pfm/thematic_breaks/47.snap.ast +4 -0
- package/test/snapshots/pfm/thematic_breaks/48.snap.ast +2 -0
- package/test/snapshots/pfm/thematic_breaks/49.snap.ast +8 -0
- package/test/snapshots/pfm/thematic_breaks/50.snap.ast +2 -0
- package/test/snapshots/pfm/thematic_breaks/51.snap.ast +2 -0
- package/test/snapshots/pfm/thematic_breaks/52.snap.ast +2 -0
- package/test/snapshots/pfm/thematic_breaks/53.snap.ast +2 -0
- package/test/snapshots/pfm/thematic_breaks/54.snap.ast +2 -0
- package/test/snapshots/pfm/thematic_breaks/55.snap.ast +15 -0
- package/test/snapshots/pfm/thematic_breaks/56.snap.ast +5 -0
- package/test/snapshots/pfm/thematic_breaks/57.snap.ast +10 -0
- package/test/snapshots/pfm/thematic_breaks/58.snap.ast +8 -0
- package/test/snapshots/pfm/thematic_breaks/59.snap.ast +8 -0
- package/test/snapshots/pfm/thematic_breaks/60.snap.ast +10 -0
- package/test/snapshots/pfm/thematic_breaks/61.snap.ast +6 -0
- package/test/snapshots/svelte/00-introduction/00-hello-world/App.snap.ast +8 -0
- package/test/snapshots/svelte/00-introduction/01-dynamic-attributes/App.snap.ast +7 -0
- package/test/snapshots/svelte/00-introduction/02-styling/App.snap.ast +7 -0
- package/test/snapshots/svelte/00-introduction/03-nested-components/App.snap.ast +11 -0
- package/test/snapshots/svelte/00-introduction/03-nested-components/Nested.snap.ast +3 -0
- package/test/snapshots/svelte/00-introduction/04-html-tags/App.snap.ast +6 -0
- package/test/snapshots/svelte/01-reactivity/00-reactive-assignments/App.snap.ast +11 -0
- package/test/snapshots/svelte/01-reactivity/01-reactive-declarations/App.snap.ast +22 -0
- package/test/snapshots/svelte/01-reactivity/02-reactive-statements/App.snap.ast +11 -0
- package/test/snapshots/svelte/02-props/00-declaring-props/App.snap.ast +5 -0
- package/test/snapshots/svelte/02-props/00-declaring-props/Nested.snap.ast +7 -0
- package/test/snapshots/svelte/02-props/01-default-values/App.snap.ast +7 -0
- package/test/snapshots/svelte/02-props/01-default-values/Nested.snap.ast +7 -0
- package/test/snapshots/svelte/02-props/02-spread-props/App.snap.ast +5 -0
- package/test/snapshots/svelte/02-props/02-spread-props/Info.snap.ast +23 -0
- package/test/snapshots/svelte/03-logic/00-if-blocks/App.snap.ast +22 -0
- package/test/snapshots/svelte/03-logic/01-else-blocks/App.snap.ast +19 -0
- package/test/snapshots/svelte/03-logic/02-else-if-blocks/App.snap.ast +23 -0
- package/test/snapshots/svelte/03-logic/03-each-blocks/App.snap.ast +22 -0
- package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/App.snap.ast +37 -0
- package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/Thing.snap.ast +16 -0
- package/test/snapshots/svelte/04-events/00-dom-events/App.snap.ast +15 -0
- package/test/snapshots/svelte/04-events/01-inline-handlers/App.snap.ast +15 -0
- package/test/snapshots/svelte/04-events/02-event-modifiers/App.snap.ast +8 -0
- package/test/snapshots/svelte/04-events/03-component-events/App.snap.ast +5 -0
- package/test/snapshots/svelte/04-events/03-component-events/Inner.snap.ast +8 -0
- package/test/snapshots/svelte/04-events/04-event-forwarding/App.snap.ast +5 -0
- package/test/snapshots/svelte/04-events/04-event-forwarding/Inner.snap.ast +8 -0
- package/test/snapshots/svelte/04-events/04-event-forwarding/Outer.snap.ast +5 -0
- package/test/snapshots/svelte/04-events/05-dom-event-forwarding/App.snap.ast +5 -0
- package/test/snapshots/svelte/04-events/05-dom-event-forwarding/FancyButton.snap.ast +8 -0
- package/test/snapshots/svelte/05-bindings/00-text-inputs/App.snap.ast +10 -0
- package/test/snapshots/svelte/05-bindings/01-numeric-inputs/App.snap.ast +28 -0
- package/test/snapshots/svelte/05-bindings/02-checkbox-inputs/App.snap.ast +30 -0
- package/test/snapshots/svelte/05-bindings/03-group-inputs/App.snap.ast +75 -0
- package/test/snapshots/svelte/05-bindings/04-textarea-inputs/App.snap.ast +11 -0
- package/test/snapshots/svelte/05-bindings/05-select-bindings/App.snap.ast +40 -0
- package/test/snapshots/svelte/05-bindings/06-multiple-select-bindings/App.snap.ast +76 -0
- package/test/snapshots/svelte/05-bindings/07-each-block-bindings/App.snap.ast +40 -0
- package/test/snapshots/svelte/05-bindings/08-media-elements/App.snap.ast +49 -0
- package/test/snapshots/svelte/05-bindings/09-dimensions/App.snap.ast +25 -0
- package/test/snapshots/svelte/05-bindings/10-bind-this/App.snap.ast +9 -0
- package/test/snapshots/svelte/05-bindings/11-component-bindings/App.snap.ast +9 -0
- package/test/snapshots/svelte/05-bindings/11-component-bindings/Keypad.snap.ast +56 -0
- package/test/snapshots/svelte/06-lifecycle/00-onmount/App.snap.ast +33 -0
- package/test/snapshots/svelte/06-lifecycle/01-ondestroy/App.snap.ast +13 -0
- package/test/snapshots/svelte/06-lifecycle/02-update/App.snap.ast +29 -0
- package/test/snapshots/svelte/06-lifecycle/03-tick/App.snap.ast +8 -0
- package/test/snapshots/svelte/07-stores/00-writable-stores/App.snap.ast +14 -0
- package/test/snapshots/svelte/07-stores/00-writable-stores/Decrementer.snap.ast +8 -0
- package/test/snapshots/svelte/07-stores/00-writable-stores/Incrementer.snap.ast +8 -0
- package/test/snapshots/svelte/07-stores/00-writable-stores/Resetter.snap.ast +8 -0
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/App.snap.ast +14 -0
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Decrementer.snap.ast +8 -0
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Incrementer.snap.ast +8 -0
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Resetter.snap.ast +8 -0
- package/test/snapshots/svelte/07-stores/02-readable-stores/App.snap.ast +7 -0
- package/test/snapshots/svelte/07-stores/03-derived-stores/App.snap.ast +18 -0
- package/test/snapshots/svelte/07-stores/04-custom-stores/App.snap.ast +17 -0
- package/test/snapshots/svelte/08-motion/00-tweened/App.snap.ast +38 -0
- package/test/snapshots/svelte/08-motion/01-spring/App.snap.ast +38 -0
- package/test/snapshots/svelte/09-transitions/00-transition/App.snap.ast +20 -0
- package/test/snapshots/svelte/09-transitions/01-adding-parameters-to-transitions/App.snap.ast +20 -0
- package/test/snapshots/svelte/09-transitions/02-in-and-out/App.snap.ast +20 -0
- package/test/snapshots/svelte/09-transitions/03-custom-css-transitions/App.snap.ast +25 -0
- package/test/snapshots/svelte/09-transitions/04-custom-js-transitions/App.snap.ast +20 -0
- package/test/snapshots/svelte/09-transitions/05-transition-events/App.snap.ast +25 -0
- package/test/snapshots/svelte/10-animations/00-animate/App.snap.ast +58 -0
- package/test/snapshots/svelte/11-easing/00-easing/App.snap.ast +36 -0
- package/test/snapshots/svelte/11-easing/00-easing/Controls.snap.ast +108 -0
- package/test/snapshots/svelte/11-easing/00-easing/Grid.snap.ast +31 -0
- package/test/snapshots/svelte/12-svg/01-clock/App.snap.ast +48 -0
- package/test/snapshots/svelte/12-svg/02-bar-chart/App.snap.ast +63 -0
- package/test/snapshots/svelte/12-svg/03-area-chart/App.snap.ast +70 -0
- package/test/snapshots/svelte/12-svg/04-scatterplot/App.snap.ast +24 -0
- package/test/snapshots/svelte/12-svg/04-scatterplot/Scatterplot.snap.ast +59 -0
- package/test/snapshots/svelte/12-svg/05-svg-transitions/App.snap.ast +43 -0
- package/test/snapshots/svelte/13-actions/00-actions/App.snap.ast +8 -0
- package/test/snapshots/svelte/13-actions/01-adding-parameters-to-actions/App.snap.ast +8 -0
- package/test/snapshots/svelte/14-classes/00-classes/App.snap.ast +17 -0
- package/test/snapshots/svelte/14-classes/01-class-shorthand/App.snap.ast +22 -0
- package/test/snapshots/svelte/15-composition/00-slots/App.snap.ast +13 -0
- package/test/snapshots/svelte/15-composition/00-slots/Box.snap.ast +8 -0
- package/test/snapshots/svelte/15-composition/01-slot-fallbacks/App.snap.ast +16 -0
- package/test/snapshots/svelte/15-composition/01-slot-fallbacks/Box.snap.ast +12 -0
- package/test/snapshots/svelte/15-composition/02-named-slots/App.snap.ast +20 -0
- package/test/snapshots/svelte/15-composition/02-named-slots/ContactCard.snap.ast +35 -0
- package/test/snapshots/svelte/15-composition/03-slot-props/App.snap.ast +65 -0
- package/test/snapshots/svelte/15-composition/03-slot-props/Hoverable.snap.ast +8 -0
- package/test/snapshots/svelte/15-composition/04-modal/App.snap.ast +66 -0
- package/test/snapshots/svelte/15-composition/04-modal/Modal.snap.ast +26 -0
- package/test/snapshots/svelte/16-context/00-context-api/App.snap.ast +23 -0
- package/test/snapshots/svelte/16-context/00-context-api/Map.snap.ast +15 -0
- package/test/snapshots/svelte/16-context/00-context-api/MapMarker.snap.ast +2 -0
- package/test/snapshots/svelte/17-special-elements/00-svelte-self/App.snap.ast +5 -0
- package/test/snapshots/svelte/17-special-elements/00-svelte-self/File.snap.ast +9 -0
- package/test/snapshots/svelte/17-special-elements/00-svelte-self/Folder.snap.ast +34 -0
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/App.snap.ast +16 -0
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/BlueThing.snap.ast +6 -0
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/GreenThing.snap.ast +6 -0
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/RedThing.snap.ast +6 -0
- package/test/snapshots/svelte/17-special-elements/02-svelte-window/App.snap.ast +27 -0
- package/test/snapshots/svelte/17-special-elements/03-svelte-window-bindings/App.snap.ast +37 -0
- package/test/snapshots/svelte/17-special-elements/04-svelte-body/App.snap.ast +12 -0
- package/test/snapshots/svelte/17-special-elements/05-svelte-head/App.snap.ast +10 -0
- package/test/snapshots/svelte/18-module-context/01-module-exports/App.snap.ast +34 -0
- package/test/snapshots/svelte/18-module-context/01-module-exports/AudioPlayer.snap.ast +24 -0
- package/test/snapshots/svelte/19-debugging/00-debug/App.snap.ast +26 -0
- package/test/snapshots/svelte/19-debugging/00-debug/Test.snap.ast +355 -0
- package/test/snapshots/svelte/20-7guis/01-7guis-counter/App.snap.ast +10 -0
- package/test/snapshots/svelte/20-7guis/02-7guis-temperature/App.snap.ast +16 -0
- package/test/snapshots/svelte/20-7guis/03-7guis-flight-booker/App.snap.ast +27 -0
- package/test/snapshots/svelte/20-7guis/04-7guis-timer/App.snap.ast +32 -0
- package/test/snapshots/svelte/20-7guis/05-7guis-crud/App.snap.ast +47 -0
- package/test/snapshots/svelte/20-7guis/06-7guis-circles/App.snap.ast +46 -0
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/App.snap.ast +22 -0
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Comment.snap.ast +27 -0
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Item.snap.ast +40 -0
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/List.snap.ast +26 -0
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Summary.snap.ast +24 -0
- package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/App.snap.ast +26 -0
- package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/ImmutableTodo.snap.ast +20 -0
- package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/MutableTodo.snap.ast +17 -0
- package/test/snapshots/svelte/22-bugs/CSS/App.snap.ast +3 -0
- package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/App.snap.ast +17 -0
- package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.snap.ast +23 -0
- package/test/snapshots/svelte/99-embeds/20190420-blog-write-less-code/App.snap.ast +15 -0
- package/test/strikethrough.spec.ts +114 -0
- package/test/subscript.spec.ts +132 -0
- package/test/superscript.spec.ts +139 -0
- package/test/svelte_blocks.spec.ts +208 -0
- package/test/svelte_expressions.spec.ts +264 -0
- package/test/svelte_tags.spec.ts +140 -0
- package/test/tables.spec.ts +1010 -0
- package/test/thematic_breaks.spec.ts +274 -0
- package/test/tree_builder.spec.ts +627 -0
- package/test/unclosed_delimiters.spec.ts +529 -0
- package/test/utils.ts +58 -0
- package/test/wire_emitter.spec.ts +487 -0
- package/tsc/buf_utils.d.ts +13 -0
- package/tsc/buf_utils.js +49 -0
- package/tsc/constants.d.ts +68 -0
- package/tsc/constants.js +68 -0
- package/tsc/cursor.d.ts +83 -0
- package/tsc/cursor.js +177 -0
- package/tsc/main.d.ts +808 -0
- package/tsc/main.js +10415 -0
- package/tsc/node_view.d.ts +115 -0
- package/tsc/node_view.js +374 -0
- package/tsc/opcodes.d.ts +92 -0
- package/tsc/opcodes.js +1 -0
- package/tsc/plugin_dispatch.d.ts +82 -0
- package/tsc/plugin_dispatch.js +623 -0
- package/tsc/plugin_types.d.ts +31 -0
- package/tsc/plugin_types.js +1 -0
- package/tsc/tree_builder.d.ts +62 -0
- package/tsc/tree_builder.js +328 -0
- package/tsc/types.d.ts +25 -0
- package/tsc/types.js +1 -0
- package/tsc/undo_log.d.ts +113 -0
- package/tsc/undo_log.js +229 -0
- package/tsc/utils.d.ts +268 -0
- package/tsc/utils.js +1135 -0
- package/tsc/utils.spec.d.ts +1 -0
- package/tsc/utils.spec.js +354 -0
- package/tsc/wire_emitter.d.ts +66 -0
- package/tsc/wire_emitter.js +391 -0
- package/tsc/wire_tree_builder.d.ts +55 -0
- package/tsc/wire_tree_builder.js +273 -0
- package/tsconfig.json +15 -0
- package/vite.config.build.ts +28 -0
- package/README.md +0 -3
package/dist/utils.js
ADDED
|
@@ -0,0 +1,931 @@
|
|
|
1
|
+
const U = new Uint32Array(0), S = Object.freeze([]), k = 12 * 4, v = [], T = globalThis.Buffer, O = T !== void 0 && typeof T.allocUnsafeSlow == "function";
|
|
2
|
+
function C(n) {
|
|
3
|
+
return O ? T.allocUnsafeSlow(n).buffer : new ArrayBuffer(n);
|
|
4
|
+
}
|
|
5
|
+
const y = 512;
|
|
6
|
+
function z(n, t, s) {
|
|
7
|
+
const e = s - t <= 64 ? s : t + 64;
|
|
8
|
+
for (let i = t * 12; i < e * 12; )
|
|
9
|
+
n[
|
|
10
|
+
i + 2
|
|
11
|
+
/* NodeField.end */
|
|
12
|
+
] = 4294967295, n[
|
|
13
|
+
i + 3
|
|
14
|
+
/* NodeField.value_start */
|
|
15
|
+
] = 0, n[
|
|
16
|
+
i + 4
|
|
17
|
+
/* NodeField.value_end */
|
|
18
|
+
] = 0, n[
|
|
19
|
+
i + 6
|
|
20
|
+
/* NodeField.next */
|
|
21
|
+
] = 4294967295, n[
|
|
22
|
+
i + 7
|
|
23
|
+
/* NodeField.prev */
|
|
24
|
+
] = 4294967295, n[
|
|
25
|
+
i + 8
|
|
26
|
+
/* NodeField.first_child */
|
|
27
|
+
] = 4294967295, n[
|
|
28
|
+
i + 9
|
|
29
|
+
/* NodeField.last_child */
|
|
30
|
+
] = 4294967295, n[
|
|
31
|
+
i + 10
|
|
32
|
+
/* NodeField.pending */
|
|
33
|
+
] = 0, n[
|
|
34
|
+
i + 11
|
|
35
|
+
/* NodeField.meta */
|
|
36
|
+
] = 0, i += 12;
|
|
37
|
+
let f = e;
|
|
38
|
+
for (; f < s; ) {
|
|
39
|
+
let i = f - t;
|
|
40
|
+
i > y && (i = y), i > s - f && (i = s - f), n.copyWithin(
|
|
41
|
+
f * 12,
|
|
42
|
+
t * 12,
|
|
43
|
+
(t + i) * 12
|
|
44
|
+
/* NodeField.stride */
|
|
45
|
+
), f += i;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
const I = 1048576 / k | 0, L = 4096;
|
|
49
|
+
let x = new ArrayBuffer(0), w = 1048576, E = null;
|
|
50
|
+
const M = 32;
|
|
51
|
+
function m(n) {
|
|
52
|
+
let t = 1;
|
|
53
|
+
for (; t < n; )
|
|
54
|
+
t <<= 1;
|
|
55
|
+
return t;
|
|
56
|
+
}
|
|
57
|
+
const N = (n) => {
|
|
58
|
+
switch (n) {
|
|
59
|
+
case 0:
|
|
60
|
+
return "root";
|
|
61
|
+
case 1:
|
|
62
|
+
return "text";
|
|
63
|
+
case 2:
|
|
64
|
+
return "html";
|
|
65
|
+
case 3:
|
|
66
|
+
return "heading";
|
|
67
|
+
case 4:
|
|
68
|
+
return "mustache";
|
|
69
|
+
case 5:
|
|
70
|
+
return "code_fence";
|
|
71
|
+
case 6:
|
|
72
|
+
return "line_break";
|
|
73
|
+
case 7:
|
|
74
|
+
return "paragraph";
|
|
75
|
+
case 8:
|
|
76
|
+
return "code_span";
|
|
77
|
+
case 9:
|
|
78
|
+
return "emphasis";
|
|
79
|
+
case 10:
|
|
80
|
+
return "strong_emphasis";
|
|
81
|
+
case 11:
|
|
82
|
+
return "thematic_break";
|
|
83
|
+
case 12:
|
|
84
|
+
return "link";
|
|
85
|
+
case 13:
|
|
86
|
+
return "image";
|
|
87
|
+
case 14:
|
|
88
|
+
return "block_quote";
|
|
89
|
+
case 15:
|
|
90
|
+
return "list";
|
|
91
|
+
case 16:
|
|
92
|
+
return "list_item";
|
|
93
|
+
case 17:
|
|
94
|
+
return "hard_break";
|
|
95
|
+
case 18:
|
|
96
|
+
return "soft_break";
|
|
97
|
+
case 19:
|
|
98
|
+
return "strikethrough";
|
|
99
|
+
case 20:
|
|
100
|
+
return "superscript";
|
|
101
|
+
case 21:
|
|
102
|
+
return "subscript";
|
|
103
|
+
case 22:
|
|
104
|
+
return "table";
|
|
105
|
+
case 23:
|
|
106
|
+
return "table_header";
|
|
107
|
+
case 24:
|
|
108
|
+
return "table_row";
|
|
109
|
+
case 25:
|
|
110
|
+
return "table_cell";
|
|
111
|
+
case 26:
|
|
112
|
+
return "html_comment";
|
|
113
|
+
case 27:
|
|
114
|
+
return "svelte_tag";
|
|
115
|
+
case 28:
|
|
116
|
+
return "svelte_block";
|
|
117
|
+
case 29:
|
|
118
|
+
return "svelte_branch";
|
|
119
|
+
case 30:
|
|
120
|
+
return "directive_inline";
|
|
121
|
+
case 31:
|
|
122
|
+
return "directive_leaf";
|
|
123
|
+
case 32:
|
|
124
|
+
return "directive_container";
|
|
125
|
+
case 33:
|
|
126
|
+
return "frontmatter";
|
|
127
|
+
case 34:
|
|
128
|
+
return "import_statement";
|
|
129
|
+
case 35:
|
|
130
|
+
return "directive_label";
|
|
131
|
+
}
|
|
132
|
+
}, Y = /* @__PURE__ */ new Map();
|
|
133
|
+
for (let n = 0; n <= 35; n++)
|
|
134
|
+
Y.set(N(n), n);
|
|
135
|
+
const P = (n) => Y.get(n), D = (n) => {
|
|
136
|
+
switch (n) {
|
|
137
|
+
case 3:
|
|
138
|
+
return "depth";
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
function R(n, t) {
|
|
142
|
+
switch (n) {
|
|
143
|
+
case "tag":
|
|
144
|
+
return { tag: t };
|
|
145
|
+
case "href":
|
|
146
|
+
return { href: t };
|
|
147
|
+
case "src":
|
|
148
|
+
return { src: t };
|
|
149
|
+
case "ordered":
|
|
150
|
+
return { ordered: t };
|
|
151
|
+
case "info_start":
|
|
152
|
+
return { info_start: t };
|
|
153
|
+
case "name":
|
|
154
|
+
return { name: t };
|
|
155
|
+
case "alignments":
|
|
156
|
+
return { alignments: t };
|
|
157
|
+
case "attributes":
|
|
158
|
+
return { attributes: t };
|
|
159
|
+
case "self_closing":
|
|
160
|
+
return { self_closing: t };
|
|
161
|
+
case "title":
|
|
162
|
+
return { title: t };
|
|
163
|
+
case "start":
|
|
164
|
+
return { start: t };
|
|
165
|
+
case "tight":
|
|
166
|
+
return { tight: t };
|
|
167
|
+
case "info_end":
|
|
168
|
+
return { info_end: t };
|
|
169
|
+
case "args":
|
|
170
|
+
return { args: t };
|
|
171
|
+
case "col_count":
|
|
172
|
+
return { col_count: t };
|
|
173
|
+
default: {
|
|
174
|
+
if (n === "__proto__")
|
|
175
|
+
return { [n]: t };
|
|
176
|
+
const s = {};
|
|
177
|
+
return s[n] = t, s;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function F(n, t, s) {
|
|
182
|
+
switch (t) {
|
|
183
|
+
case "attributes":
|
|
184
|
+
n.attributes = s;
|
|
185
|
+
return;
|
|
186
|
+
case "start":
|
|
187
|
+
n.start = s;
|
|
188
|
+
return;
|
|
189
|
+
case "tight":
|
|
190
|
+
n.tight = s;
|
|
191
|
+
return;
|
|
192
|
+
case "title":
|
|
193
|
+
n.title = s;
|
|
194
|
+
return;
|
|
195
|
+
case "self_closing":
|
|
196
|
+
n.self_closing = s;
|
|
197
|
+
return;
|
|
198
|
+
case "info_end":
|
|
199
|
+
n.info_end = s;
|
|
200
|
+
return;
|
|
201
|
+
case "col_count":
|
|
202
|
+
n.col_count = s;
|
|
203
|
+
return;
|
|
204
|
+
case "args":
|
|
205
|
+
n.args = s;
|
|
206
|
+
return;
|
|
207
|
+
case "tag":
|
|
208
|
+
n.tag = s;
|
|
209
|
+
return;
|
|
210
|
+
case "href":
|
|
211
|
+
n.href = s;
|
|
212
|
+
return;
|
|
213
|
+
case "src":
|
|
214
|
+
n.src = s;
|
|
215
|
+
return;
|
|
216
|
+
case "ordered":
|
|
217
|
+
n.ordered = s;
|
|
218
|
+
return;
|
|
219
|
+
case "info_start":
|
|
220
|
+
n.info_start = s;
|
|
221
|
+
return;
|
|
222
|
+
case "name":
|
|
223
|
+
n.name = s;
|
|
224
|
+
return;
|
|
225
|
+
case "alignments":
|
|
226
|
+
n.alignments = s;
|
|
227
|
+
return;
|
|
228
|
+
default:
|
|
229
|
+
n[t] = s;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
class K {
|
|
233
|
+
constructor(t = 128) {
|
|
234
|
+
this._capacity = 0, this._n = U, this._meta = S, this._strings = v, this._size = 0, this._filled = 0;
|
|
235
|
+
let s = this.alloc(m(t > 32 ? t : 32));
|
|
236
|
+
this._filled === 0 && (s = this.fill(0)), s[0] = 0, s[
|
|
237
|
+
1
|
|
238
|
+
/* NodeField.start */
|
|
239
|
+
] = 0, s[
|
|
240
|
+
5
|
|
241
|
+
/* NodeField.parent */
|
|
242
|
+
] = 4294967295, this._size = 1;
|
|
243
|
+
}
|
|
244
|
+
alloc(t) {
|
|
245
|
+
const s = t * k;
|
|
246
|
+
let e, f = 0;
|
|
247
|
+
s <= 262144 ? (w + s > 1048576 && (x = C(1048576), w = 0, z(new Uint32Array(x), 0, I)), e = x, f = w, w = f + s) : e = C(s);
|
|
248
|
+
const i = new Uint32Array(
|
|
249
|
+
e,
|
|
250
|
+
f,
|
|
251
|
+
t * 12
|
|
252
|
+
/* NodeField.stride */
|
|
253
|
+
);
|
|
254
|
+
return e === x ? (E = i, this._filled = t) : this._filled = 0, this._capacity = t, this._n = i, i;
|
|
255
|
+
}
|
|
256
|
+
/** @internal */
|
|
257
|
+
own_strings() {
|
|
258
|
+
const t = this._strings;
|
|
259
|
+
return t === v ? this._strings = [] : t;
|
|
260
|
+
}
|
|
261
|
+
/** gives the unused tail of the last slab carve back, a later push resizes */
|
|
262
|
+
trim() {
|
|
263
|
+
this._n === E && (w -= (this._capacity - this._size) * k, this._capacity = this._size, this._filled = this._size);
|
|
264
|
+
}
|
|
265
|
+
/** clear nodes without reallocating storage */
|
|
266
|
+
reset() {
|
|
267
|
+
this._meta.length !== 0 && (this._meta.length = 0), this._strings.length !== 0 && (this._strings.length = 0);
|
|
268
|
+
const t = this._size;
|
|
269
|
+
if (t !== 0) {
|
|
270
|
+
if (t > 8 && t << 1 <= this._filled) {
|
|
271
|
+
const s = this._n;
|
|
272
|
+
for (let e = 0; e < t; ) {
|
|
273
|
+
let f = t - e;
|
|
274
|
+
f > y && (f = y), s.copyWithin(
|
|
275
|
+
e * 12,
|
|
276
|
+
t * 12,
|
|
277
|
+
(t + f) * 12
|
|
278
|
+
/* NodeField.stride */
|
|
279
|
+
), e += f;
|
|
280
|
+
}
|
|
281
|
+
} else
|
|
282
|
+
z(this._n, 0, t);
|
|
283
|
+
this._size = 0;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
get size() {
|
|
287
|
+
return this._size;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* push a node as the last child of parent
|
|
291
|
+
* @param kind node category.
|
|
292
|
+
* @param cursor cursor position
|
|
293
|
+
* @param parent index of the parent node, or 0xffffffff for none.
|
|
294
|
+
* @param extra extra metadata stored alongside the node.
|
|
295
|
+
* @param metadata optional metadata associated with the node.
|
|
296
|
+
*/
|
|
297
|
+
push(t, s, e = 4294967295, f = 0, i) {
|
|
298
|
+
const _ = this.push_node(t, s, e, f, !1);
|
|
299
|
+
return i !== void 0 && this.set_metadata(_, i), _;
|
|
300
|
+
}
|
|
301
|
+
push_pending(t, s, e = 4294967295, f = 0, i) {
|
|
302
|
+
const _ = this.push_node(t, s, e, f, !0);
|
|
303
|
+
return i !== void 0 && this.set_metadata(_, i), _;
|
|
304
|
+
}
|
|
305
|
+
/** one body for every open so the builder inlines a single copy */
|
|
306
|
+
push_node(t, s, e, f, i) {
|
|
307
|
+
const _ = this._size;
|
|
308
|
+
let r = this._n;
|
|
309
|
+
_ >= this._filled && (r = this.fill(_));
|
|
310
|
+
const h = _ * 12;
|
|
311
|
+
if (r[h] = t & 255 | (f & 65535) << 8, r[
|
|
312
|
+
h + 1
|
|
313
|
+
/* NodeField.start */
|
|
314
|
+
] = s, r[
|
|
315
|
+
h + 5
|
|
316
|
+
/* NodeField.parent */
|
|
317
|
+
] = e, i && (r[
|
|
318
|
+
h + 10
|
|
319
|
+
/* NodeField.pending */
|
|
320
|
+
] = 1), this._size = _ + 1, e !== 4294967295) {
|
|
321
|
+
const a = e * 12, p = r[
|
|
322
|
+
a + 9
|
|
323
|
+
/* NodeField.last_child */
|
|
324
|
+
];
|
|
325
|
+
p === 4294967295 ? r[
|
|
326
|
+
a + 8
|
|
327
|
+
/* NodeField.first_child */
|
|
328
|
+
] = _ : (r[
|
|
329
|
+
p * 12 + 6
|
|
330
|
+
/* NodeField.next */
|
|
331
|
+
] = _, r[
|
|
332
|
+
h + 7
|
|
333
|
+
/* NodeField.prev */
|
|
334
|
+
] = p), r[
|
|
335
|
+
a + 9
|
|
336
|
+
/* NodeField.last_child */
|
|
337
|
+
] = _;
|
|
338
|
+
}
|
|
339
|
+
return _;
|
|
340
|
+
}
|
|
341
|
+
/** parent must be a node, not 0xffffffff */
|
|
342
|
+
push_text(t, s, e) {
|
|
343
|
+
const f = this._size;
|
|
344
|
+
let i = this._n;
|
|
345
|
+
f >= this._filled && (i = this.fill(f));
|
|
346
|
+
const _ = f * 12;
|
|
347
|
+
i[_] = 1, i[
|
|
348
|
+
_ + 1
|
|
349
|
+
/* NodeField.start */
|
|
350
|
+
] = t, i[
|
|
351
|
+
_ + 2
|
|
352
|
+
/* NodeField.end */
|
|
353
|
+
] = s, i[
|
|
354
|
+
_ + 3
|
|
355
|
+
/* NodeField.value_start */
|
|
356
|
+
] = t, i[
|
|
357
|
+
_ + 4
|
|
358
|
+
/* NodeField.value_end */
|
|
359
|
+
] = s, i[
|
|
360
|
+
_ + 5
|
|
361
|
+
/* NodeField.parent */
|
|
362
|
+
] = e, this._size = f + 1;
|
|
363
|
+
const r = e * 12, h = i[
|
|
364
|
+
r + 9
|
|
365
|
+
/* NodeField.last_child */
|
|
366
|
+
];
|
|
367
|
+
return h === 4294967295 ? i[
|
|
368
|
+
r + 8
|
|
369
|
+
/* NodeField.first_child */
|
|
370
|
+
] = f : (i[
|
|
371
|
+
h * 12 + 6
|
|
372
|
+
/* NodeField.next */
|
|
373
|
+
] = f, i[
|
|
374
|
+
_ + 7
|
|
375
|
+
/* NodeField.prev */
|
|
376
|
+
] = h), i[
|
|
377
|
+
r + 9
|
|
378
|
+
/* NodeField.last_child */
|
|
379
|
+
] = f, f;
|
|
380
|
+
}
|
|
381
|
+
/** a closed node with no extra and a value range, as open, value and close would leave it */
|
|
382
|
+
push_leaf(t, s, e, f, i, _) {
|
|
383
|
+
const r = this._size;
|
|
384
|
+
let h = this._n;
|
|
385
|
+
r >= this._filled && (h = this.fill(r));
|
|
386
|
+
const a = r * 12;
|
|
387
|
+
h[a] = t, h[
|
|
388
|
+
a + 1
|
|
389
|
+
/* NodeField.start */
|
|
390
|
+
] = s, h[
|
|
391
|
+
a + 2
|
|
392
|
+
/* NodeField.end */
|
|
393
|
+
] = i, h[
|
|
394
|
+
a + 3
|
|
395
|
+
/* NodeField.value_start */
|
|
396
|
+
] = e, h[
|
|
397
|
+
a + 4
|
|
398
|
+
/* NodeField.value_end */
|
|
399
|
+
] = f, h[
|
|
400
|
+
a + 5
|
|
401
|
+
/* NodeField.parent */
|
|
402
|
+
] = _, this._size = r + 1;
|
|
403
|
+
const p = _ * 12, A = h[
|
|
404
|
+
p + 9
|
|
405
|
+
/* NodeField.last_child */
|
|
406
|
+
];
|
|
407
|
+
return A === 4294967295 ? h[
|
|
408
|
+
p + 8
|
|
409
|
+
/* NodeField.first_child */
|
|
410
|
+
] = r : (h[
|
|
411
|
+
A * 12 + 6
|
|
412
|
+
/* NodeField.next */
|
|
413
|
+
] = r, h[
|
|
414
|
+
a + 7
|
|
415
|
+
/* NodeField.prev */
|
|
416
|
+
] = A), h[
|
|
417
|
+
p + 9
|
|
418
|
+
/* NodeField.last_child */
|
|
419
|
+
] = r, r;
|
|
420
|
+
}
|
|
421
|
+
fill(t) {
|
|
422
|
+
let s = this._n;
|
|
423
|
+
t >= this._capacity && (s = this.grow());
|
|
424
|
+
let e = this._filled;
|
|
425
|
+
if (t >= e) {
|
|
426
|
+
let f = e + (e > L ? e : L);
|
|
427
|
+
f > this._capacity && (f = this._capacity), z(s, e, f), this._filled = e = f;
|
|
428
|
+
}
|
|
429
|
+
return s;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* allocate a node slot without linking it into any parent's child list.
|
|
433
|
+
* the caller is responsible for setting the parent and linking into the
|
|
434
|
+
* sibling chain manually. used by plugin structural mutations (prepend).
|
|
435
|
+
* @param kind node kind.
|
|
436
|
+
* @param cursor source position.
|
|
437
|
+
* @param extra kind-specific extra value.
|
|
438
|
+
* @param metadata optional metadata.
|
|
439
|
+
* @returns buffer index of the new node.
|
|
440
|
+
*/
|
|
441
|
+
push_unlinked(t, s, e = 0, f) {
|
|
442
|
+
return this.push(t, s, 4294967295, e, f);
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* insert a new wrapper node between a parent and all its current children.
|
|
446
|
+
* the new node becomes the sole child of parent, and all prior children
|
|
447
|
+
* become children of the new wrapper.
|
|
448
|
+
*
|
|
449
|
+
* @param parent_idx buffer index of the parent node.
|
|
450
|
+
* @param new_kind kind for the wrapper node.
|
|
451
|
+
* @param extra kind-specific extra value for the wrapper.
|
|
452
|
+
* @param metadata optional metadata for the wrapper.
|
|
453
|
+
* @returns buffer index of the new wrapper node.
|
|
454
|
+
*/
|
|
455
|
+
wrap_children(t, s, e = 0, f) {
|
|
456
|
+
const i = this.first_child_at(t), _ = this.last_child_at(t);
|
|
457
|
+
this.set_first_child(t, 4294967295), this.set_last_child(t, 4294967295);
|
|
458
|
+
const r = this.push(s, 0, t, e, f);
|
|
459
|
+
if (i !== 4294967295) {
|
|
460
|
+
this.set_first_child(r, i), this.set_last_child(r, _);
|
|
461
|
+
let h = i;
|
|
462
|
+
for (; h !== 4294967295 && this.parent_at(h) === t; )
|
|
463
|
+
this.set_parent(h, r), h = this.next_at(h);
|
|
464
|
+
}
|
|
465
|
+
return r;
|
|
466
|
+
}
|
|
467
|
+
commit_node(t) {
|
|
468
|
+
this._n[
|
|
469
|
+
t * 12 + 10
|
|
470
|
+
/* NodeField.pending */
|
|
471
|
+
] = 0;
|
|
472
|
+
}
|
|
473
|
+
get_pending() {
|
|
474
|
+
const t = [], s = this._n;
|
|
475
|
+
for (let e = 0; e < this._size; e++)
|
|
476
|
+
s[
|
|
477
|
+
e * 12 + 10
|
|
478
|
+
/* NodeField.pending */
|
|
479
|
+
] !== 0 && t.push(e);
|
|
480
|
+
return t;
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* repair a revoked (pending) node.
|
|
484
|
+
*
|
|
485
|
+
* all repair logic lives here, treebuilder and wiretreebuilder
|
|
486
|
+
* both delegate to this method. the strategy depends on context:
|
|
487
|
+
*
|
|
488
|
+
* **inline revocation** (parent is paragraph, emphasis, link, etc.):
|
|
489
|
+
* convert the node to text (the delimiter), reparent children to grandparent.
|
|
490
|
+
*
|
|
491
|
+
* **block-level revocation** (parent is root, block_quote, list_item):
|
|
492
|
+
* convert the node to a paragraph, create a text child with the raw source.
|
|
493
|
+
* existing children (e.g. line_breaks from html block parsing) are discarded.
|
|
494
|
+
*
|
|
495
|
+
* @param index buffer index of the node to repair.
|
|
496
|
+
* @param delimiter_text optional pre-resolved delimiter string (wire path).
|
|
497
|
+
* if provided, stored in _strings. if absent, value range is set from
|
|
498
|
+
* the node's start position.
|
|
499
|
+
* @param text_start source offset of delimiter_text, at the node start the
|
|
500
|
+
* repaired range slices the same text so it is not stored
|
|
501
|
+
*/
|
|
502
|
+
handle_repair(t, s, e) {
|
|
503
|
+
const f = this.parent_at(t), i = this.kind_at(t), _ = f !== 4294967295 ? this.kind_at(f) : void 0;
|
|
504
|
+
if (i === 7 || i === 25) {
|
|
505
|
+
this.unwrap_node(t);
|
|
506
|
+
return;
|
|
507
|
+
}
|
|
508
|
+
if (_ === 0 || _ === 14 || _ === 16) {
|
|
509
|
+
const l = this.start_at(t);
|
|
510
|
+
let c;
|
|
511
|
+
if (s !== void 0)
|
|
512
|
+
c = l + s.length;
|
|
513
|
+
else {
|
|
514
|
+
if (c = this.end_at(t), c === 4294967295) {
|
|
515
|
+
let o = this.first_child_at(t);
|
|
516
|
+
for (; o !== 4294967295 && this.parent_at(o) === t; ) {
|
|
517
|
+
if (this.kind_at(o) === 6) {
|
|
518
|
+
const d = this.start_at(o);
|
|
519
|
+
d > 0 && (c === 4294967295 || d > c) && (c = d);
|
|
520
|
+
} else {
|
|
521
|
+
const d = this.end_at(o);
|
|
522
|
+
d !== 4294967295 && (c === 4294967295 || d > c) && (c = d);
|
|
523
|
+
}
|
|
524
|
+
o = this.next_at(o);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
if (c === 4294967295 || c <= l) {
|
|
528
|
+
this.unwrap_node(t);
|
|
529
|
+
return;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
const u = this.first_child_at(t);
|
|
533
|
+
this.set_first_child(t, 4294967295), this.set_last_child(t, 4294967295), this.set_kind(
|
|
534
|
+
t,
|
|
535
|
+
7
|
|
536
|
+
/* NodeKind.paragraph */
|
|
537
|
+
), this.delete_metadata(t), this.set_end(t, c);
|
|
538
|
+
const g = this.push(1, l, t);
|
|
539
|
+
if (this.set_value(g, l, c), this.set_end(g, c), s !== void 0 && e !== l && (this.own_strings()[g] = s), u !== 4294967295) {
|
|
540
|
+
const o = this.next_at(t);
|
|
541
|
+
let d = u, b = u;
|
|
542
|
+
for (; b !== 4294967295 && this.parent_at(b) === t; )
|
|
543
|
+
this.set_parent(b, f), d = b, b = this.next_at(b);
|
|
544
|
+
this.set_next(d, o), o !== 4294967295 ? this.set_prev(o, d) : f !== 4294967295 && this.last_child_at(f) === t && this.set_last_child(f, d), this.set_next(t, u), this.set_prev(u, t);
|
|
545
|
+
}
|
|
546
|
+
return;
|
|
547
|
+
}
|
|
548
|
+
const r = this.first_child_at(t);
|
|
549
|
+
if (this.set_kind(
|
|
550
|
+
t,
|
|
551
|
+
1
|
|
552
|
+
/* NodeKind.text */
|
|
553
|
+
), s !== void 0) {
|
|
554
|
+
const l = this.start_at(t);
|
|
555
|
+
e !== l && (this.own_strings()[t] = s);
|
|
556
|
+
const c = l + s.length;
|
|
557
|
+
if (this.set_value(t, l, c), this.set_end(t, c), r === 4294967295) {
|
|
558
|
+
this.set_first_child(t, 4294967295), this.set_last_child(t, 4294967295);
|
|
559
|
+
return;
|
|
560
|
+
}
|
|
561
|
+
let u = r, g = r;
|
|
562
|
+
for (; u !== 4294967295 && this.parent_at(u) === t; )
|
|
563
|
+
this.set_parent(u, f), g = u, u = this.next_at(u);
|
|
564
|
+
const o = this.next_at(t);
|
|
565
|
+
this.set_next(t, r), this.set_prev(r, t), o !== 4294967295 && this.parent_at(o) === f ? (this.set_next(g, o), this.set_prev(o, g)) : this.set_next(g, 4294967295), this.last_child_at(f) === t && this.set_last_child(f, g), this.set_first_child(t, 4294967295), this.set_last_child(t, 4294967295);
|
|
566
|
+
return;
|
|
567
|
+
}
|
|
568
|
+
if (r === 4294967295) {
|
|
569
|
+
this.set_first_child(t, 4294967295), this.set_last_child(t, 4294967295);
|
|
570
|
+
const l = this.start_at(t);
|
|
571
|
+
if (this.end_at(t) === 4294967295) {
|
|
572
|
+
const c = this.value_start_at(t), u = c > l ? c : l + 1;
|
|
573
|
+
this.set_value(t, l, u), this.set_end(t, u);
|
|
574
|
+
} else
|
|
575
|
+
this.set_value_start(t, l), this.set_value_end(t, this.end_at(t));
|
|
576
|
+
return;
|
|
577
|
+
}
|
|
578
|
+
let h = r, a = r;
|
|
579
|
+
for (; h !== 4294967295 && this.parent_at(h) === t; )
|
|
580
|
+
this.set_parent(h, f), a = h, h = this.next_at(h);
|
|
581
|
+
if (a === r && this.kind_at(r) === 1) {
|
|
582
|
+
this.set_value(t, this.start_at(t), this.value_end_at(r)), this.set_end(t, this.end_at(r));
|
|
583
|
+
const l = this.next_at(r);
|
|
584
|
+
this.set_next(t, l), l !== 4294967295 && this.set_prev(l, t), this.set_first_child(t, 4294967295), this.set_last_child(t, 4294967295);
|
|
585
|
+
return;
|
|
586
|
+
}
|
|
587
|
+
const p = this.prev_at(r);
|
|
588
|
+
this.set_next(t, r), this.set_prev(r, t), p !== 4294967295 && (this.set_next(p, t), this.set_prev(t, p)), this.last_child_at(f) === t && this.set_last_child(f, a), this.set_first_child(t, 4294967295), this.set_last_child(t, 4294967295);
|
|
589
|
+
const A = this.start_at(t), B = this.start_at(r);
|
|
590
|
+
this.set_value(t, A, B), this.set_end(t, B);
|
|
591
|
+
}
|
|
592
|
+
repair() {
|
|
593
|
+
const t = this._n;
|
|
594
|
+
for (let s = 0; s < this._size; s++)
|
|
595
|
+
t[
|
|
596
|
+
s * 12 + 10
|
|
597
|
+
/* NodeField.pending */
|
|
598
|
+
] !== 0 && this.handle_repair(s);
|
|
599
|
+
}
|
|
600
|
+
pop() {
|
|
601
|
+
const t = --this._size;
|
|
602
|
+
z(this._n, t, t + 1);
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* remove a node from the tree and reparent its children to its parent.
|
|
606
|
+
* the node is effectively "unwrapped", its children take its place
|
|
607
|
+
* in the parent's child list.
|
|
608
|
+
*/
|
|
609
|
+
unwrap_node(t) {
|
|
610
|
+
const s = this.parent_at(t), e = this.first_child_at(t);
|
|
611
|
+
if (e === 4294967295) {
|
|
612
|
+
const h = this.prev_at(t), a = this.next_at(t);
|
|
613
|
+
h !== 4294967295 ? this.set_next(h, a) : s !== 4294967295 && this.set_first_child(s, a), a !== 4294967295 && this.set_prev(a, h), s !== 4294967295 && this.last_child_at(s) === t && this.set_last_child(s, h);
|
|
614
|
+
return;
|
|
615
|
+
}
|
|
616
|
+
let f = e, i = e;
|
|
617
|
+
for (; f !== 4294967295 && this.parent_at(f) === t; )
|
|
618
|
+
this.set_parent(f, s), i = f, f = this.next_at(f);
|
|
619
|
+
const _ = this.prev_at(t), r = this.next_at(t);
|
|
620
|
+
_ !== 4294967295 ? (this.set_next(_, e), this.set_prev(e, _)) : s !== 4294967295 && (this.set_first_child(s, e), this.set_prev(e, 4294967295)), r !== 4294967295 && r !== e ? (this.set_next(i, r), this.set_prev(r, i)) : this.set_next(i, 4294967295), s !== 4294967295 && this.last_child_at(s) === t && this.set_last_child(s, i), this.set_first_child(t, 4294967295), this.set_last_child(t, 4294967295);
|
|
621
|
+
}
|
|
622
|
+
set_parent_kind(t, s) {
|
|
623
|
+
const e = this.parent_at(t);
|
|
624
|
+
e !== 4294967295 && this.set_kind(e, s);
|
|
625
|
+
}
|
|
626
|
+
/** return indices of all nodes matching the given kind (lazy scan). */
|
|
627
|
+
get_kinds(t) {
|
|
628
|
+
const s = [], e = this._n;
|
|
629
|
+
for (let f = 0; f < this._size; f++)
|
|
630
|
+
(e[
|
|
631
|
+
f * 12
|
|
632
|
+
/* NodeField.stride */
|
|
633
|
+
] & 255) === t && s.push(f);
|
|
634
|
+
return s;
|
|
635
|
+
}
|
|
636
|
+
kind_at(t) {
|
|
637
|
+
return this._n[
|
|
638
|
+
t * 12
|
|
639
|
+
/* NodeField.stride */
|
|
640
|
+
] & 255;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* set the kind of the node at the given index
|
|
644
|
+
* @param index index of the node whose kind to update
|
|
645
|
+
* @param kind new kind
|
|
646
|
+
*/
|
|
647
|
+
set_kind(t, s) {
|
|
648
|
+
const e = this._n, f = t * 12;
|
|
649
|
+
e[f] = e[f] & 16776960 | s & 255;
|
|
650
|
+
}
|
|
651
|
+
extra_at(t) {
|
|
652
|
+
return this._n[
|
|
653
|
+
t * 12
|
|
654
|
+
/* NodeField.stride */
|
|
655
|
+
] >>> 8;
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* set the extra of the node at the given index
|
|
659
|
+
* @param index index of the node whose extra to update
|
|
660
|
+
* @param extra new extra
|
|
661
|
+
*/
|
|
662
|
+
set_extra(t, s) {
|
|
663
|
+
const e = this._n, f = t * 12;
|
|
664
|
+
e[f] = e[f] & 255 | (s & 65535) << 8;
|
|
665
|
+
}
|
|
666
|
+
start_at(t) {
|
|
667
|
+
return this._n[
|
|
668
|
+
t * 12 + 1
|
|
669
|
+
/* NodeField.start */
|
|
670
|
+
];
|
|
671
|
+
}
|
|
672
|
+
/** 0xffffffff while open */
|
|
673
|
+
end_at(t) {
|
|
674
|
+
return this._n[
|
|
675
|
+
t * 12 + 2
|
|
676
|
+
/* NodeField.end */
|
|
677
|
+
];
|
|
678
|
+
}
|
|
679
|
+
/**
|
|
680
|
+
* set the end position of the node at the given index
|
|
681
|
+
* @param index index of the node whose end position to update
|
|
682
|
+
* @param end new end position
|
|
683
|
+
*/
|
|
684
|
+
set_end(t, s) {
|
|
685
|
+
this._n[
|
|
686
|
+
t * 12 + 2
|
|
687
|
+
/* NodeField.end */
|
|
688
|
+
] = s >>> 0;
|
|
689
|
+
}
|
|
690
|
+
gently_set_end(t, s) {
|
|
691
|
+
const e = t * 12 + 2;
|
|
692
|
+
this._n[e] === 4294967295 && (this._n[e] = s >>> 0);
|
|
693
|
+
}
|
|
694
|
+
value_start_at(t) {
|
|
695
|
+
return this._n[
|
|
696
|
+
t * 12 + 3
|
|
697
|
+
/* NodeField.value_start */
|
|
698
|
+
];
|
|
699
|
+
}
|
|
700
|
+
value_end_at(t) {
|
|
701
|
+
return this._n[
|
|
702
|
+
t * 12 + 4
|
|
703
|
+
/* NodeField.value_end */
|
|
704
|
+
];
|
|
705
|
+
}
|
|
706
|
+
set_value(t, s, e) {
|
|
707
|
+
const f = this._n, i = t * 12;
|
|
708
|
+
f[
|
|
709
|
+
i + 3
|
|
710
|
+
/* NodeField.value_start */
|
|
711
|
+
] = s, f[
|
|
712
|
+
i + 4
|
|
713
|
+
/* NodeField.value_end */
|
|
714
|
+
] = e;
|
|
715
|
+
}
|
|
716
|
+
set_value_start(t, s) {
|
|
717
|
+
this._n[
|
|
718
|
+
t * 12 + 3
|
|
719
|
+
/* NodeField.value_start */
|
|
720
|
+
] = s;
|
|
721
|
+
}
|
|
722
|
+
set_value_end(t, s) {
|
|
723
|
+
this._n[
|
|
724
|
+
t * 12 + 4
|
|
725
|
+
/* NodeField.value_end */
|
|
726
|
+
] = s;
|
|
727
|
+
}
|
|
728
|
+
gently_set_value_end(t, s) {
|
|
729
|
+
const e = t * 12 + 4;
|
|
730
|
+
this._n[e] === 4294967295 && (this._n[e] = s >>> 0);
|
|
731
|
+
}
|
|
732
|
+
parent_at(t) {
|
|
733
|
+
return this._n[
|
|
734
|
+
t * 12 + 5
|
|
735
|
+
/* NodeField.parent */
|
|
736
|
+
];
|
|
737
|
+
}
|
|
738
|
+
set_parent(t, s) {
|
|
739
|
+
this._n[
|
|
740
|
+
t * 12 + 5
|
|
741
|
+
/* NodeField.parent */
|
|
742
|
+
] = s;
|
|
743
|
+
}
|
|
744
|
+
next_at(t) {
|
|
745
|
+
return this._n[
|
|
746
|
+
t * 12 + 6
|
|
747
|
+
/* NodeField.next */
|
|
748
|
+
];
|
|
749
|
+
}
|
|
750
|
+
set_next(t, s) {
|
|
751
|
+
this._n[
|
|
752
|
+
t * 12 + 6
|
|
753
|
+
/* NodeField.next */
|
|
754
|
+
] = s;
|
|
755
|
+
}
|
|
756
|
+
prev_at(t) {
|
|
757
|
+
return this._n[
|
|
758
|
+
t * 12 + 7
|
|
759
|
+
/* NodeField.prev */
|
|
760
|
+
];
|
|
761
|
+
}
|
|
762
|
+
set_prev(t, s) {
|
|
763
|
+
this._n[
|
|
764
|
+
t * 12 + 7
|
|
765
|
+
/* NodeField.prev */
|
|
766
|
+
] = s;
|
|
767
|
+
}
|
|
768
|
+
first_child_at(t) {
|
|
769
|
+
return this._n[
|
|
770
|
+
t * 12 + 8
|
|
771
|
+
/* NodeField.first_child */
|
|
772
|
+
];
|
|
773
|
+
}
|
|
774
|
+
set_first_child(t, s) {
|
|
775
|
+
this._n[
|
|
776
|
+
t * 12 + 8
|
|
777
|
+
/* NodeField.first_child */
|
|
778
|
+
] = s;
|
|
779
|
+
}
|
|
780
|
+
last_child_at(t) {
|
|
781
|
+
return this._n[
|
|
782
|
+
t * 12 + 9
|
|
783
|
+
/* NodeField.last_child */
|
|
784
|
+
];
|
|
785
|
+
}
|
|
786
|
+
set_last_child(t, s) {
|
|
787
|
+
this._n[
|
|
788
|
+
t * 12 + 9
|
|
789
|
+
/* NodeField.last_child */
|
|
790
|
+
] = s;
|
|
791
|
+
}
|
|
792
|
+
pending_at(t) {
|
|
793
|
+
return this._n[
|
|
794
|
+
t * 12 + 10
|
|
795
|
+
/* NodeField.pending */
|
|
796
|
+
];
|
|
797
|
+
}
|
|
798
|
+
/** pre-grow to avoid repeated resizes when the final size is estimable. */
|
|
799
|
+
ensure_capacity(t) {
|
|
800
|
+
let s = this._capacity;
|
|
801
|
+
if (!(s >= t)) {
|
|
802
|
+
for (; s < t; )
|
|
803
|
+
s <<= 1;
|
|
804
|
+
this.resize(s);
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
/** double the backing storage when capacity is exhausted. */
|
|
808
|
+
grow() {
|
|
809
|
+
return this.resize(this._capacity << 1);
|
|
810
|
+
}
|
|
811
|
+
resize(t) {
|
|
812
|
+
const s = this._n, e = this._capacity * 12;
|
|
813
|
+
if (s === E) {
|
|
814
|
+
const _ = w - e * 4, r = t * k;
|
|
815
|
+
if (r <= 262144 && _ + r <= 1048576) {
|
|
816
|
+
const h = new Uint32Array(
|
|
817
|
+
x,
|
|
818
|
+
_,
|
|
819
|
+
t * 12
|
|
820
|
+
/* NodeField.stride */
|
|
821
|
+
);
|
|
822
|
+
return w = _ + r, E = h, this._capacity = t, this._filled = t, this._n = h, h;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
const f = this.alloc(t), i = this._size;
|
|
826
|
+
return f.set(s.length === i * 12 ? s : s.subarray(
|
|
827
|
+
0,
|
|
828
|
+
i * 12
|
|
829
|
+
/* NodeField.stride */
|
|
830
|
+
)), this._filled < i && (this._filled = i), f;
|
|
831
|
+
}
|
|
832
|
+
set_metadata(t, s) {
|
|
833
|
+
const e = this._n, f = t * 12 + 11, i = e[f];
|
|
834
|
+
if (i !== 0)
|
|
835
|
+
this._meta[i - 1] = s;
|
|
836
|
+
else {
|
|
837
|
+
const _ = this._meta;
|
|
838
|
+
_ === S ? (this._meta = [s], e[f] = 1) : e[f] = _.push(s);
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
metadata_at(t) {
|
|
842
|
+
const s = this._n[
|
|
843
|
+
t * 12 + 11
|
|
844
|
+
/* NodeField.meta */
|
|
845
|
+
];
|
|
846
|
+
return s === 0 ? void 0 : this._meta[s - 1];
|
|
847
|
+
}
|
|
848
|
+
delete_metadata(t) {
|
|
849
|
+
this._n[
|
|
850
|
+
t * 12 + 11
|
|
851
|
+
/* NodeField.meta */
|
|
852
|
+
] = 0;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* get the node at the given index or the root node if no index is provided
|
|
856
|
+
* @param index index of the node to get
|
|
857
|
+
* @returns node
|
|
858
|
+
*/
|
|
859
|
+
get_node(t = 0) {
|
|
860
|
+
const s = this.kind_at(t), e = D(s), f = e ? { [e]: this.extra_at(t) } : {}, i = [];
|
|
861
|
+
let _ = this.first_child_at(t);
|
|
862
|
+
for (; _ !== 4294967295 && this.parent_at(_) === t; )
|
|
863
|
+
i.push(_), _ = this.next_at(_);
|
|
864
|
+
const r = this.parent_at(t), h = this.next_at(t), a = this.prev_at(t);
|
|
865
|
+
return {
|
|
866
|
+
kind: N(s),
|
|
867
|
+
start: this.start_at(t),
|
|
868
|
+
end: this.end_at(t),
|
|
869
|
+
metadata: {
|
|
870
|
+
...this.metadata_at(t),
|
|
871
|
+
...f
|
|
872
|
+
},
|
|
873
|
+
parent: r === 4294967295 ? null : r,
|
|
874
|
+
next: h === 4294967295 ? null : h,
|
|
875
|
+
prev: a === 4294967295 ? null : a,
|
|
876
|
+
value: [this.value_start_at(t), this.value_end_at(t)],
|
|
877
|
+
children: i,
|
|
878
|
+
index: t
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
class V {
|
|
883
|
+
/**
|
|
884
|
+
* create a collector that records error indices encountered while parsing.
|
|
885
|
+
* @param initial_capacity requested starting capacity for error indices.
|
|
886
|
+
*/
|
|
887
|
+
constructor(t = M) {
|
|
888
|
+
const s = m(t);
|
|
889
|
+
this.capacity = s, this.indices = new Uint32Array(s), this._size = 0;
|
|
890
|
+
}
|
|
891
|
+
/** clear previously stored errors. */
|
|
892
|
+
reset() {
|
|
893
|
+
this._size = 0;
|
|
894
|
+
}
|
|
895
|
+
/** number of errors recorded so far. */
|
|
896
|
+
get size() {
|
|
897
|
+
return this._size;
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* append an error position to the collector, growing storage as needed.
|
|
901
|
+
* @param index offset in the source string where the error occurred.
|
|
902
|
+
*/
|
|
903
|
+
push(t) {
|
|
904
|
+
const s = this._size;
|
|
905
|
+
s >= this.capacity && this.grow(), this.indices[s] = t >>> 0, this._size = s + 1;
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* get the stored error index at the given position.
|
|
909
|
+
* @param position position within the collector.
|
|
910
|
+
*/
|
|
911
|
+
at(t) {
|
|
912
|
+
return this.indices[t];
|
|
913
|
+
}
|
|
914
|
+
/** create a view over the recorded errors. */
|
|
915
|
+
slice() {
|
|
916
|
+
return this.indices.subarray(0, this._size);
|
|
917
|
+
}
|
|
918
|
+
/** double the backing storage when capacity is exhausted. */
|
|
919
|
+
grow() {
|
|
920
|
+
const t = this.capacity << 1, s = new Uint32Array(t);
|
|
921
|
+
s.set(this.indices), this.capacity = t, this.indices = s;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
export {
|
|
925
|
+
V as ErrorCollector,
|
|
926
|
+
K as NodeBuffer,
|
|
927
|
+
N as kind_to_string,
|
|
928
|
+
R as make_meta,
|
|
929
|
+
F as merge_meta,
|
|
930
|
+
P as string_to_kind
|
|
931
|
+
};
|