0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/test/parser/samples
Henrik Giesel 4b0b471ee1
feat: add back <svelte:document> (#7149)
Closes #3310

---------

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-03-15 16:38:03 +01:00
..
action always add raw property to text nodes 2019-05-26 14:48:10 +02:00
action-duplicate allow duplicates of the same action on an element (#5875) 2021-01-25 15:55:12 -05:00
action-with-call update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
action-with-identifier fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
action-with-literal Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
animation update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
attribute-class-directive [feat] Style directives (#5923) 2022-01-08 11:09:11 -05:00
attribute-containing-solidus always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-curly-bracket fix AST .end index for expressions in attributes (#6542) 2021-07-21 15:54:47 -04:00
attribute-dynamic fix AST .end index for expressions in attributes (#6542) 2021-07-21 15:54:47 -04:00
attribute-dynamic-boolean fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
attribute-empty [feat] improve parser errors (#6612) 2021-08-04 12:03:34 -04:00
attribute-empty-error [feat] improve parser errors (#6612) 2021-08-04 12:03:34 -04:00
attribute-escaped Fix parsing ambiguous HTML entities (#3071) 2019-06-23 08:41:56 -04:00
attribute-multiple always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-shorthand always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-static always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-static-boolean always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-style [feat] Style directives (#5923) 2022-01-08 11:09:11 -05:00
attribute-style-directive [feat] |important modifier for style directive (#7489) 2022-10-13 21:52:06 +08:00
attribute-style-directive-modifiers [feat] |important modifier for style directive (#7489) 2022-10-13 21:52:06 +08:00
attribute-style-directive-shorthand [feat] |important modifier for style directive (#7489) 2022-10-13 21:52:06 +08:00
attribute-style-directive-string [feat] |important modifier for style directive (#7489) 2022-10-13 21:52:06 +08:00
attribute-unique-binding-error disallow simultaneous foo / {foo} / bind:foo (#4343) 2020-01-30 09:25:16 -05:00
attribute-unique-error rename .html files to .svelte 2019-02-08 08:48:10 -05:00
attribute-unique-shorthand-error disallow simultaneous foo / {foo} / bind:foo (#4343) 2020-01-30 09:25:16 -05:00
attribute-unquoted always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-with-whitespace fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
await-catch update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
await-then-catch update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
binding fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
binding-shorthand Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
comment [fix] be able to silence more warnings (#6504) 2021-07-14 09:54:15 +02:00
comment-with-ignores [fix] be able to silence more warnings (#6504) 2021-07-14 09:54:15 +02:00
component-dynamic Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
convert-entities always add raw property to text nodes 2019-05-26 14:48:10 +02:00
convert-entities-in-element always add raw property to text nodes 2019-05-26 14:48:10 +02:00
css update css-tree@^1.1.2 (#5958) 2021-02-08 12:05:39 -05:00
css-option-none [feat] Compiler option css: 'none' support (#7914) 2022-11-09 10:21:38 -08:00
dynamic-element-string [feature] Dynamic elements implementation <svelte:element> (#6898) 2022-04-08 16:54:55 +02:00
dynamic-element-variable [feature] Dynamic elements implementation <svelte:element> (#6898) 2022-04-08 16:54:55 +02:00
dynamic-import update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
each-block update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
each-block-destructured dry {#each}/{#await} destructuring (#4596) 2020-05-11 11:37:27 -04:00
each-block-else update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
each-block-indexed update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
each-block-keyed update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
element-with-attribute [fix] create AST node of empty string for empty attribute values (#6539) 2021-07-23 14:57:47 -04:00
element-with-attribute-empty-string [fix] create AST node of empty string for empty attribute values (#6539) 2021-07-23 14:57:47 -04:00
element-with-mustache fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
element-with-text always add raw property to text nodes 2019-05-26 14:48:10 +02:00
elements always add raw property to text nodes 2019-05-26 14:48:10 +02:00
error-catch-before-closing better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-catch-without-await then and catch block expect await, optional then block 2019-10-18 17:59:50 +08:00
error-comment-unclosed [feat] centralise parse errors (#6519) 2021-07-13 19:33:55 +02:00
error-css [chore] Upgrade css-tree version to 2.1.0 (#7572) 2022-10-16 16:58:34 +08:00
error-css-global-without-selector throw parser error when :global() appears without a selector (#4936) 2020-06-08 11:20:34 -04:00
error-else-before-closing better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-else-before-closing-2 better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-else-before-closing-3 better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-else-if-before-closing better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-else-if-before-closing-2 better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-else-if-without-if better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-empty-attribute-shorthand Add a more descriptive message for the error generated by an empty shorthand attribute (#6217) 2021-06-22 15:33:50 +02:00
error-empty-classname-binding #6299 - Throw a compile error when passing an empty directive name (#6300) 2021-06-28 18:13:02 +08:00
error-empty-directive-name #6299 - Throw a compile error when passing an empty directive name (#6300) 2021-06-28 18:13:02 +08:00
error-illegal-expression rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-multiple-styles rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-script-unclosed rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-script-unclosed-eof [fix] script style end parsing (#6511) 2021-07-12 22:57:27 +08:00
error-self-reference allow <svelte:self> to be part of a slot (#4532) 2020-03-12 07:51:59 -04:00
error-style-unclosed [fix] script style end parsing (#6511) 2021-07-12 22:57:27 +08:00
error-style-unclosed-eof [fix] script style end parsing (#6511) 2021-07-12 22:57:27 +08:00
error-svelte-selfdestructive feat: add back <svelte:document> (#7149) 2023-03-15 16:38:03 +01:00
error-then-before-closing better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-then-without-await then and catch block expect await, optional then block 2019-10-18 17:59:50 +08:00
error-unclosed-attribute-self-close-tag [feat] improve parser errors (#6612) 2021-08-04 12:03:34 -04:00
error-unexpected-end-of-input rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-unexpected-end-of-input-b rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-unexpected-end-of-input-c rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-unexpected-end-of-input-d rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-unmatched-closing-tag rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-unmatched-closing-tag-autoclose better error message for mismatched tags due to autoclosing (#5060) 2020-07-24 14:48:43 -04:00
error-unmatched-closing-tag-autoclose-2 better error message for mismatched tags due to autoclosing (#5060) 2020-07-24 14:48:43 -04:00
error-void-closing rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-window-children rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-window-duplicate rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-window-inside-block rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-window-inside-element rename .html files to .svelte 2019-02-08 08:48:10 -05:00
event-handler fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
if-block fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
if-block-else fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
if-block-elseif Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
implicitly-closed-li always add raw property to text nodes 2019-05-26 14:48:10 +02:00
implicitly-closed-li-block fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
nbsp always add raw property to text nodes 2019-05-26 14:48:10 +02:00
no-error-if-before-closing update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
raw-mustaches Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
raw-mustaches-whitespace-error require whitespace after {@html (#2154) 2019-03-06 12:42:40 -05:00
refs fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
script fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
script-comment-only preserve js comments where possible (#4293) 2020-01-20 21:17:24 -05:00
script-comment-trailing fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
script-comment-trailing-multiline fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
self-closing-element always add raw property to text nodes 2019-05-26 14:48:10 +02:00
self-reference Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
slotted-element fix missing slotted elements in AST (#6148) 2021-03-29 22:55:52 -04:00
space-between-mustaches fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
spread fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
style-inside-head add missing end AST property to non-top-level <style> tags (#5487) 2020-10-02 09:30:17 -04:00
textarea-children fix AST .end index for expressions in attributes (#6542) 2021-07-21 15:54:47 -04:00
textarea-end-tag fix AST .end index for expressions in attributes (#6542) 2021-07-21 15:54:47 -04:00
transition-intro Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
transition-intro-no-params always add raw property to text nodes 2019-05-26 14:48:10 +02:00
unusual-identifier update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
whitespace-after-script-tag [fix] script style end parsing (#6511) 2021-07-12 22:57:27 +08:00
whitespace-after-style-tag [fix] script style end parsing (#6511) 2021-07-12 22:57:27 +08:00
whitespace-leading-trailing always add raw property to text nodes 2019-05-26 14:48:10 +02:00
whitespace-normal fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00