From 544c925e7afc35560dfb6b7a338f3ce2e24d92e0 Mon Sep 17 00:00:00 2001 From: ota-meshi Date: Wed, 22 Nov 2023 10:24:02 +0900 Subject: [PATCH 1/2] fix: incorrect location for `{ #await expr then v }` --- src/parser/converts/block.ts | 4 +- .../parser/ast/space-in-blocks-input.svelte | 48 + ...space-in-blocks-no-unused-vars-result.json | 68 + .../parser/ast/space-in-blocks-output.json | 10773 ++++++++++++++++ .../ast/space-in-blocks-scope-output.json | 6522 ++++++++++ 5 files changed, 17413 insertions(+), 2 deletions(-) create mode 100644 tests/fixtures/parser/ast/space-in-blocks-input.svelte create mode 100644 tests/fixtures/parser/ast/space-in-blocks-no-unused-vars-result.json create mode 100644 tests/fixtures/parser/ast/space-in-blocks-output.json create mode 100644 tests/fixtures/parser/ast/space-in-blocks-scope-output.json diff --git a/src/parser/converts/block.ts b/src/parser/converts/block.ts index d9bb6fb1..04992201 100644 --- a/src/parser/converts/block.ts +++ b/src/parser/converts/block.ts @@ -286,7 +286,7 @@ export function convertAwaitBlock( (awaitBlock as SvelteAwaitBlockAwaitThen).kind = "await-then"; } - const thenStart = awaitBlock.pending ? node.then.start : node.start; + const thenStart = awaitBlock.pending ? node.then.start : nodeStart; const thenBlock: SvelteAwaitThenBlock = { type: "SvelteAwaitThenBlock", awaitThen, @@ -374,7 +374,7 @@ export function convertAwaitBlock( (awaitBlock as SvelteAwaitBlockAwaitCatch).kind = "await-catch"; } const catchStart = - awaitBlock.pending || awaitBlock.then ? node.catch.start : node.start; + awaitBlock.pending || awaitBlock.then ? node.catch.start : nodeStart; const catchBlock = { type: "SvelteAwaitCatchBlock", awaitCatch, diff --git a/tests/fixtures/parser/ast/space-in-blocks-input.svelte b/tests/fixtures/parser/ast/space-in-blocks-input.svelte new file mode 100644 index 00000000..e6d19dcd --- /dev/null +++ b/tests/fixtures/parser/ast/space-in-blocks-input.svelte @@ -0,0 +1,48 @@ + + + +
+{ foo } + + + +{ @html bar } +{ @debug o1 } +{ @debug o1, o2 } + +{ #if expression }...{ /if } +{ #if expression }...{ :else if expression }...{ /if } +{ #if expression }...{ :else }...{ /if } +{ #if expression }{ :else }{ /if } + +{ #each list as item }...{ /each } +{ #each list as item, index }...{ /each } +{ #each list as item (item.key) }...{ /each } +{ #each list as item, index (item.key) }...{ /each } +{ #each list as item }...{ :else }...{ /each } + +{ #await expression }...{ :then name }...{ :catch name }...{ /await } +{ #await expression }...{ :then name }...{ /await } +{ #await expression then name }...{ /await } +{ #await expression catch name }...{ /await } +{ #await expression then }...{ /await } +{ #await expression catch }...{ /await } +{ #await expression }...{ :then}...{ :catch}...{ /await } + +{ #key expression }...{ /key } +
diff --git a/tests/fixtures/parser/ast/space-in-blocks-no-unused-vars-result.json b/tests/fixtures/parser/ast/space-in-blocks-no-unused-vars-result.json new file mode 100644 index 00000000..0675e988 --- /dev/null +++ b/tests/fixtures/parser/ast/space-in-blocks-no-unused-vars-result.json @@ -0,0 +1,68 @@ +[ + { + "ruleId": "no-unused-vars", + "code": "A", + "line": 2, + "column": 9 + }, + { + "ruleId": "no-unused-vars", + "code": "item", + "line": 33, + "column": 17 + }, + { + "ruleId": "no-unused-vars", + "code": "item", + "line": 34, + "column": 17 + }, + { + "ruleId": "no-unused-vars", + "code": "index", + "line": 34, + "column": 23 + }, + { + "ruleId": "no-unused-vars", + "code": "index", + "line": 36, + "column": 23 + }, + { + "ruleId": "no-unused-vars", + "code": "item", + "line": 37, + "column": 17 + }, + { + "ruleId": "no-unused-vars", + "code": "name", + "line": 39, + "column": 33 + }, + { + "ruleId": "no-unused-vars", + "code": "name", + "line": 39, + "column": 51 + }, + { + "ruleId": "no-unused-vars", + "code": "name", + "line": 40, + "column": 33 + }, + { + "ruleId": "no-unused-vars", + "code": "name", + "line": 41, + "column": 26 + }, + { + "ruleId": "no-unused-vars", + "code": "name", + "line": 42, + "column": 27 + } +] \ No newline at end of file diff --git a/tests/fixtures/parser/ast/space-in-blocks-output.json b/tests/fixtures/parser/ast/space-in-blocks-output.json new file mode 100644 index 00000000..8eeccd06 --- /dev/null +++ b/tests/fixtures/parser/ast/space-in-blocks-output.json @@ -0,0 +1,10773 @@ +{ + "type": "Program", + "body": [ + { + "type": "SvelteScriptElement", + "name": { + "type": "SvelteName", + "name": "script", + "range": [ + 1, + 7 + ], + "loc": { + "start": { + "line": 1, + "column": 1 + }, + "end": { + "line": 1, + "column": 7 + } + } + }, + "startTag": { + "type": "SvelteStartTag", + "attributes": [], + "selfClosing": false, + "range": [ + 0, + 8 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + "body": [ + { + "type": "ImportDeclaration", + "source": { + "type": "Literal", + "raw": "'prettier-playground/a.svelte'", + "value": "prettier-playground/a.svelte", + "range": [ + 24, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "local": { + "type": "Identifier", + "name": "A", + "range": [ + 17, + 18 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 9 + } + } + }, + "range": [ + 17, + 18 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 9 + } + } + } + ], + "range": [ + 10, + 55 + ], + "loc": { + "start": { + "line": 2, + "column": 1 + }, + "end": { + "line": 2, + "column": 46 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "const", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "raw": "'foo'", + "value": "foo", + "range": [ + 70, + 75 + ], + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + "range": [ + 64, + 75 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 18 + } + } + } + ], + "range": [ + 58, + 76 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "let", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "raw": "''", + "value": "", + "range": [ + 89, + 91 + ], + "loc": { + "start": { + "line": 5, + "column": 12 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "range": [ + 82, + 91 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 14 + } + } + } + ], + "range": [ + 78, + 92 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 15 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "let", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "raw": "''", + "value": "", + "range": [ + 106, + 108 + ], + "loc": { + "start": { + "line": 6, + "column": 13 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "range": [ + 98, + 108 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 15 + } + } + } + ], + "range": [ + 94, + 109 + ], + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 16 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "let", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "input", + "range": [ + 115, + 120 + ], + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 10 + } + } + }, + "init": null, + "range": [ + 115, + 120 + ], + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 10 + } + } + } + ], + "range": [ + 111, + 121 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 11 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "const", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + "init": { + "type": "Literal", + "raw": "'my-class'", + "value": "my-class", + "range": [ + 139, + 149 + ], + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 27 + } + } + }, + "range": [ + 129, + 149 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 27 + } + } + } + ], + "range": [ + 123, + 150 + ], + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 28 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "const", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "raw": "'id'", + "value": "id", + "range": [ + 163, + 167 + ], + "loc": { + "start": { + "line": 9, + "column": 12 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + "range": [ + 158, + 167 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 16 + } + } + } + ], + "range": [ + 152, + 168 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "const", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + "init": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 184, + 186 + ], + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + "range": [ + 176, + 186 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 17 + } + } + } + ], + "range": [ + 170, + 187 + ], + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 10, + "column": 18 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "const", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "raw": "'
'", + "value": "
", + "range": [ + 201, + 214 + ], + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 26 + } + } + }, + "range": [ + 195, + 214 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 26 + } + } + } + ], + "range": [ + 189, + 215 + ], + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 11, + "column": 27 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "const", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "raw": "1", + "value": 1, + "range": [ + 228, + 229 + ], + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + "range": [ + 223, + 229 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + }, + "init": { + "type": "Literal", + "raw": "2", + "value": 2, + "range": [ + 238, + 239 + ], + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + "range": [ + 233, + 239 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 8 + } + } + } + ], + "range": [ + 217, + 240 + ], + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 13, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "const", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + }, + "init": { + "type": "Literal", + "raw": "true", + "value": true, + "range": [ + 261, + 265 + ], + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + "range": [ + 248, + 265 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 24 + } + } + } + ], + "range": [ + 242, + 266 + ], + "loc": { + "start": { + "line": 14, + "column": 1 + }, + "end": { + "line": 14, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "kind": "const", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 281, + 283 + ], + "loc": { + "start": { + "line": 15, + "column": 14 + }, + "end": { + "line": 15, + "column": 16 + } + } + }, + "range": [ + 274, + 283 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 16 + } + } + } + ], + "range": [ + 268, + 284 + ], + "loc": { + "start": { + "line": 15, + "column": 1 + }, + "end": { + "line": 15, + "column": 17 + } + } + } + ], + "endTag": { + "type": "SvelteEndTag", + "range": [ + 285, + 294 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 9 + } + } + }, + "range": [ + 0, + 294 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 16, + "column": 9 + } + } + }, + { + "type": "SvelteText", + "value": "\n\n", + "range": [ + 294, + 296 + ], + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 18, + "column": 0 + } + } + }, + { + "type": "SvelteHTMLComment", + "value": " prettier-ignore ", + "range": [ + 296, + 320 + ], + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 320, + 321 + ], + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 19, + "column": 0 + } + } + }, + { + "type": "SvelteElement", + "kind": "html", + "name": { + "type": "SvelteName", + "name": "div", + "range": [ + 322, + 325 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 4 + } + } + }, + "startTag": { + "type": "SvelteStartTag", + "attributes": [], + "selfClosing": false, + "range": [ + 321, + 326 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "\n", + "range": [ + 326, + 327 + ], + "loc": { + "start": { + "line": 19, + "column": 5 + }, + "end": { + "line": 20, + "column": 0 + } + } + }, + { + "type": "SvelteMustacheTag", + "kind": "text", + "expression": { + "type": "Identifier", + "name": "foo", + "range": [ + 329, + 332 + ], + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + "range": [ + 327, + 334 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 334, + 335 + ], + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 21, + "column": 0 + } + } + }, + { + "type": "SvelteElement", + "kind": "html", + "name": { + "type": "SvelteName", + "name": "input", + "range": [ + 336, + 341 + ], + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 21, + "column": 6 + } + } + }, + "startTag": { + "type": "SvelteStartTag", + "attributes": [ + { + "type": "SvelteDirective", + "kind": "Binding", + "key": { + "type": "SvelteDirectiveKey", + "name": { + "type": "SvelteName", + "name": "value", + "range": [ + 347, + 352 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 17 + } + } + }, + "modifiers": [], + "range": [ + 342, + 352 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 17 + } + } + }, + "expression": { + "type": "Identifier", + "name": "text", + "range": [ + 355, + 359 + ], + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 24 + } + } + }, + "shorthand": false, + "range": [ + 342, + 361 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 26 + } + } + }, + { + "type": "SvelteAttribute", + "key": { + "type": "SvelteName", + "name": "this", + "range": [ + 362, + 366 + ], + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 31 + } + } + }, + "boolean": false, + "value": [ + { + "type": "SvelteMustacheTag", + "kind": "text", + "expression": { + "type": "Identifier", + "name": "input", + "range": [ + 369, + 374 + ], + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 39 + } + } + }, + "range": [ + 367, + 376 + ], + "loc": { + "start": { + "line": 21, + "column": 32 + }, + "end": { + "line": 21, + "column": 41 + } + } + } + ], + "range": [ + 362, + 376 + ], + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 41 + } + } + }, + { + "type": "SvelteAttribute", + "key": { + "type": "SvelteName", + "name": "class", + "range": [ + 377, + 382 + ], + "loc": { + "start": { + "line": 21, + "column": 42 + }, + "end": { + "line": 21, + "column": 47 + } + } + }, + "boolean": false, + "value": [ + { + "type": "SvelteLiteral", + "value": "foo ", + "range": [ + 384, + 388 + ], + "loc": { + "start": { + "line": 21, + "column": 49 + }, + "end": { + "line": 21, + "column": 53 + } + } + }, + { + "type": "SvelteMustacheTag", + "kind": "text", + "expression": { + "type": "Identifier", + "name": "myClass", + "range": [ + 390, + 397 + ], + "loc": { + "start": { + "line": 21, + "column": 55 + }, + "end": { + "line": 21, + "column": 62 + } + } + }, + "range": [ + 388, + 399 + ], + "loc": { + "start": { + "line": 21, + "column": 53 + }, + "end": { + "line": 21, + "column": 64 + } + } + } + ], + "range": [ + 377, + 400 + ], + "loc": { + "start": { + "line": 21, + "column": 42 + }, + "end": { + "line": 21, + "column": 65 + } + } + } + ], + "selfClosing": true, + "range": [ + 335, + 403 + ], + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 68 + } + } + }, + "children": [], + "endTag": null, + "range": [ + 335, + 403 + ], + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 68 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 403, + 404 + ], + "loc": { + "start": { + "line": 21, + "column": 68 + }, + "end": { + "line": 22, + "column": 0 + } + } + }, + { + "type": "SvelteElement", + "kind": "html", + "name": { + "type": "SvelteName", + "name": "input", + "range": [ + 405, + 410 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + "startTag": { + "type": "SvelteStartTag", + "attributes": [ + { + "type": "SvelteDirective", + "kind": "Binding", + "key": { + "type": "SvelteDirectiveKey", + "name": { + "type": "SvelteName", + "name": "value", + "range": [ + 416, + 421 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + "modifiers": [], + "range": [ + 411, + 421 + ], + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + "expression": { + "type": "Identifier", + "name": "value", + "range": [ + 416, + 421 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + "shorthand": true, + "range": [ + 411, + 421 + ], + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + { + "type": "SvelteShorthandAttribute", + "key": { + "type": "Identifier", + "name": "id", + "range": [ + 424, + 426 + ], + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 22, + "column": 22 + } + } + }, + "value": { + "type": "Identifier", + "name": "id", + "range": [ + 424, + 426 + ], + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 22, + "column": 22 + } + } + }, + "range": [ + 422, + 428 + ], + "loc": { + "start": { + "line": 22, + "column": 18 + }, + "end": { + "line": 22, + "column": 24 + } + } + } + ], + "selfClosing": true, + "range": [ + 404, + 431 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + "children": [], + "endTag": null, + "range": [ + 404, + 431 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 431, + 432 + ], + "loc": { + "start": { + "line": 22, + "column": 27 + }, + "end": { + "line": 23, + "column": 0 + } + } + }, + { + "type": "SvelteElement", + "kind": "html", + "name": { + "type": "SvelteName", + "name": "input", + "range": [ + 433, + 438 + ], + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 6 + } + } + }, + "startTag": { + "type": "SvelteStartTag", + "attributes": [ + { + "type": "SvelteSpreadAttribute", + "argument": { + "type": "Identifier", + "name": "attrs", + "range": [ + 444, + 449 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + "range": [ + 439, + 451 + ], + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 19 + } + } + } + ], + "selfClosing": true, + "range": [ + 432, + 454 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 22 + } + } + }, + "children": [], + "endTag": null, + "range": [ + 432, + 454 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 22 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 454, + 455 + ], + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 24, + "column": 0 + } + } + }, + { + "type": "SvelteMustacheTag", + "kind": "raw", + "expression": { + "type": "Identifier", + "name": "bar", + "range": [ + 463, + 466 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 11 + } + } + }, + "range": [ + 455, + 468 + ], + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 468, + 469 + ], + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 25, + "column": 0 + } + } + }, + { + "type": "SvelteDebugTag", + "identifiers": [ + { + "type": "Identifier", + "name": "o1", + "range": [ + 478, + 480 + ], + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 11 + } + } + } + ], + "range": [ + 469, + 482 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 482, + 483 + ], + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 26, + "column": 0 + } + } + }, + { + "type": "SvelteDebugTag", + "identifiers": [ + { + "type": "Identifier", + "name": "o1", + "range": [ + 492, + 494 + ], + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 11 + } + } + }, + { + "type": "Identifier", + "name": "o2", + "range": [ + 496, + 498 + ], + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 15 + } + } + } + ], + "range": [ + 483, + 500 + ], + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 17 + } + } + }, + { + "type": "SvelteText", + "value": "\n\n", + "range": [ + 500, + 502 + ], + "loc": { + "start": { + "line": 26, + "column": 17 + }, + "end": { + "line": 28, + "column": 0 + } + } + }, + { + "type": "SvelteIfBlock", + "elseif": false, + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 508, + 518 + ], + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 520, + 523 + ], + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 21 + } + } + } + ], + "else": null, + "range": [ + 502, + 530 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 530, + 531 + ], + "loc": { + "start": { + "line": 28, + "column": 28 + }, + "end": { + "line": 29, + "column": 0 + } + } + }, + { + "type": "SvelteIfBlock", + "elseif": false, + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 537, + 547 + ], + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 16 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 549, + 552 + ], + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 21 + } + } + } + ], + "else": { + "type": "SvelteElseBlock", + "elseif": true, + "children": [ + { + "type": "SvelteIfBlock", + "elseif": true, + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 563, + 573 + ], + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 42 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 575, + 578 + ], + "loc": { + "start": { + "line": 29, + "column": 44 + }, + "end": { + "line": 29, + "column": 47 + } + } + } + ], + "else": null, + "range": [ + 552, + 585 + ], + "loc": { + "start": { + "line": 29, + "column": 21 + }, + "end": { + "line": 29, + "column": 54 + } + } + } + ], + "range": [ + 552, + 585 + ], + "loc": { + "start": { + "line": 29, + "column": 21 + }, + "end": { + "line": 29, + "column": 54 + } + } + }, + "range": [ + 531, + 585 + ], + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 54 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 585, + 586 + ], + "loc": { + "start": { + "line": 29, + "column": 54 + }, + "end": { + "line": 30, + "column": 0 + } + } + }, + { + "type": "SvelteIfBlock", + "elseif": false, + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 592, + 602 + ], + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 16 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 604, + 607 + ], + "loc": { + "start": { + "line": 30, + "column": 18 + }, + "end": { + "line": 30, + "column": 21 + } + } + } + ], + "else": { + "type": "SvelteElseBlock", + "elseif": false, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 616, + 619 + ], + "loc": { + "start": { + "line": 30, + "column": 30 + }, + "end": { + "line": 30, + "column": 33 + } + } + } + ], + "range": [ + 607, + 619 + ], + "loc": { + "start": { + "line": 30, + "column": 21 + }, + "end": { + "line": 30, + "column": 33 + } + } + }, + "range": [ + 586, + 626 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 40 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 626, + 627 + ], + "loc": { + "start": { + "line": 30, + "column": 40 + }, + "end": { + "line": 31, + "column": 0 + } + } + }, + { + "type": "SvelteIfBlock", + "elseif": false, + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 633, + 643 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + "children": [], + "else": { + "type": "SvelteElseBlock", + "elseif": false, + "children": [], + "range": [ + 645, + 654 + ], + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 27 + } + } + }, + "range": [ + 627, + 661 + ], + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 34 + } + } + }, + { + "type": "SvelteText", + "value": "\n\n", + "range": [ + 661, + 663 + ], + "loc": { + "start": { + "line": 31, + "column": 34 + }, + "end": { + "line": 33, + "column": 0 + } + } + }, + { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 671, + 675 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 679, + 683 + ], + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, + "index": null, + "key": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 685, + 688 + ], + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 25 + } + } + } + ], + "else": null, + "range": [ + 663, + 697 + ], + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 33, + "column": 34 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 697, + 698 + ], + "loc": { + "start": { + "line": 33, + "column": 34 + }, + "end": { + "line": 34, + "column": 0 + } + } + }, + { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 706, + 710 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 714, + 718 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + "index": { + "type": "Identifier", + "name": "index", + "range": [ + 720, + 725 + ], + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 27 + } + } + }, + "key": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 727, + 730 + ], + "loc": { + "start": { + "line": 34, + "column": 29 + }, + "end": { + "line": 34, + "column": 32 + } + } + } + ], + "else": null, + "range": [ + 698, + 739 + ], + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 41 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 739, + 740 + ], + "loc": { + "start": { + "line": 34, + "column": 41 + }, + "end": { + "line": 35, + "column": 0 + } + } + }, + { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 748, + 752 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 756, + 760 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + "index": null, + "key": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "item", + "range": [ + 762, + 766 + ], + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "optional": false, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 767, + 770 + ], + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + "range": [ + 762, + 770 + ], + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 773, + 776 + ], + "loc": { + "start": { + "line": 35, + "column": 33 + }, + "end": { + "line": 35, + "column": 36 + } + } + } + ], + "else": null, + "range": [ + 740, + 785 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 45 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 785, + 786 + ], + "loc": { + "start": { + "line": 35, + "column": 45 + }, + "end": { + "line": 36, + "column": 0 + } + } + }, + { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 794, + 798 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 802, + 806 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 20 + } + } + }, + "index": { + "type": "Identifier", + "name": "index", + "range": [ + 808, + 813 + ], + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 27 + } + } + }, + "key": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "item", + "range": [ + 815, + 819 + ], + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 33 + } + } + }, + "optional": false, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 820, + 823 + ], + "loc": { + "start": { + "line": 36, + "column": 34 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + "range": [ + 815, + 823 + ], + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 826, + 829 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 43 + } + } + } + ], + "else": null, + "range": [ + 786, + 838 + ], + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 52 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 838, + 839 + ], + "loc": { + "start": { + "line": 36, + "column": 52 + }, + "end": { + "line": 37, + "column": 0 + } + } + }, + { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 847, + 851 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 855, + 859 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 20 + } + } + }, + "index": null, + "key": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 861, + 864 + ], + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 25 + } + } + } + ], + "else": { + "type": "SvelteElseBlock", + "elseif": false, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 873, + 876 + ], + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 37 + } + } + } + ], + "range": [ + 864, + 876 + ], + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, + "range": [ + 839, + 885 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 46 + } + } + }, + { + "type": "SvelteText", + "value": "\n\n", + "range": [ + 885, + 887 + ], + "loc": { + "start": { + "line": 37, + "column": 46 + }, + "end": { + "line": 39, + "column": 0 + } + } + }, + { + "type": "SvelteAwaitBlock", + "kind": "await", + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 896, + 906 + ], + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 19 + } + } + }, + "pending": { + "type": "SvelteAwaitPendingBlock", + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 908, + 911 + ], + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 24 + } + } + } + ], + "range": [ + 887, + 911 + ], + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 24 + } + } + }, + "then": { + "type": "SvelteAwaitThenBlock", + "awaitThen": false, + "value": { + "type": "Identifier", + "name": "name", + "range": [ + 919, + 923 + ], + "loc": { + "start": { + "line": 39, + "column": 32 + }, + "end": { + "line": 39, + "column": 36 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 925, + 928 + ], + "loc": { + "start": { + "line": 39, + "column": 38 + }, + "end": { + "line": 39, + "column": 41 + } + } + } + ], + "range": [ + 911, + 928 + ], + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 41 + } + } + }, + "catch": { + "type": "SvelteAwaitCatchBlock", + "awaitCatch": false, + "error": { + "type": "Identifier", + "name": "name", + "range": [ + 937, + 941 + ], + "loc": { + "start": { + "line": 39, + "column": 50 + }, + "end": { + "line": 39, + "column": 54 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 943, + 946 + ], + "loc": { + "start": { + "line": 39, + "column": 56 + }, + "end": { + "line": 39, + "column": 59 + } + } + } + ], + "range": [ + 928, + 946 + ], + "loc": { + "start": { + "line": 39, + "column": 41 + }, + "end": { + "line": 39, + "column": 59 + } + } + }, + "range": [ + 887, + 956 + ], + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 69 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 956, + 957 + ], + "loc": { + "start": { + "line": 39, + "column": 69 + }, + "end": { + "line": 40, + "column": 0 + } + } + }, + { + "type": "SvelteAwaitBlock", + "kind": "await", + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 966, + 976 + ], + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 19 + } + } + }, + "pending": { + "type": "SvelteAwaitPendingBlock", + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 978, + 981 + ], + "loc": { + "start": { + "line": 40, + "column": 21 + }, + "end": { + "line": 40, + "column": 24 + } + } + } + ], + "range": [ + 957, + 981 + ], + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 24 + } + } + }, + "then": { + "type": "SvelteAwaitThenBlock", + "awaitThen": false, + "value": { + "type": "Identifier", + "name": "name", + "range": [ + 989, + 993 + ], + "loc": { + "start": { + "line": 40, + "column": 32 + }, + "end": { + "line": 40, + "column": 36 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 995, + 998 + ], + "loc": { + "start": { + "line": 40, + "column": 38 + }, + "end": { + "line": 40, + "column": 41 + } + } + } + ], + "range": [ + 981, + 998 + ], + "loc": { + "start": { + "line": 40, + "column": 24 + }, + "end": { + "line": 40, + "column": 41 + } + } + }, + "catch": null, + "range": [ + 957, + 1008 + ], + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 51 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 1008, + 1009 + ], + "loc": { + "start": { + "line": 40, + "column": 51 + }, + "end": { + "line": 41, + "column": 0 + } + } + }, + { + "type": "SvelteAwaitBlock", + "kind": "await-then", + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 1018, + 1028 + ], + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 19 + } + } + }, + "pending": null, + "then": { + "type": "SvelteAwaitThenBlock", + "awaitThen": true, + "value": { + "type": "Identifier", + "name": "name", + "range": [ + 1034, + 1038 + ], + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 29 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 1040, + 1043 + ], + "loc": { + "start": { + "line": 41, + "column": 31 + }, + "end": { + "line": 41, + "column": 34 + } + } + } + ], + "range": [ + 1009, + 1043 + ], + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 41, + "column": 34 + } + } + }, + "catch": null, + "range": [ + 1009, + 1053 + ], + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 41, + "column": 44 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 1053, + 1054 + ], + "loc": { + "start": { + "line": 41, + "column": 44 + }, + "end": { + "line": 42, + "column": 0 + } + } + }, + { + "type": "SvelteAwaitBlock", + "kind": "await-catch", + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 1063, + 1073 + ], + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + "pending": null, + "then": null, + "catch": { + "type": "SvelteAwaitCatchBlock", + "awaitCatch": true, + "error": { + "type": "Identifier", + "name": "name", + "range": [ + 1080, + 1084 + ], + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 30 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 1086, + 1089 + ], + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 35 + } + } + } + ], + "range": [ + 1054, + 1089 + ], + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 35 + } + } + }, + "range": [ + 1054, + 1099 + ], + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 45 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 1099, + 1100 + ], + "loc": { + "start": { + "line": 42, + "column": 45 + }, + "end": { + "line": 43, + "column": 0 + } + } + }, + { + "type": "SvelteAwaitBlock", + "kind": "await-then", + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 1109, + 1119 + ], + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + "pending": null, + "then": { + "type": "SvelteAwaitThenBlock", + "awaitThen": true, + "value": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 1126, + 1129 + ], + "loc": { + "start": { + "line": 43, + "column": 26 + }, + "end": { + "line": 43, + "column": 29 + } + } + } + ], + "range": [ + 1100, + 1129 + ], + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 29 + } + } + }, + "catch": null, + "range": [ + 1100, + 1139 + ], + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 39 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 1139, + 1140 + ], + "loc": { + "start": { + "line": 43, + "column": 39 + }, + "end": { + "line": 44, + "column": 0 + } + } + }, + { + "type": "SvelteAwaitBlock", + "kind": "await-catch", + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 1149, + 1159 + ], + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + "pending": null, + "then": null, + "catch": { + "type": "SvelteAwaitCatchBlock", + "awaitCatch": true, + "error": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 1167, + 1170 + ], + "loc": { + "start": { + "line": 44, + "column": 27 + }, + "end": { + "line": 44, + "column": 30 + } + } + } + ], + "range": [ + 1140, + 1170 + ], + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 44, + "column": 30 + } + } + }, + "range": [ + 1140, + 1180 + ], + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 44, + "column": 40 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 1180, + 1181 + ], + "loc": { + "start": { + "line": 44, + "column": 40 + }, + "end": { + "line": 45, + "column": 0 + } + } + }, + { + "type": "SvelteAwaitBlock", + "kind": "await", + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 1190, + 1200 + ], + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 19 + } + } + }, + "pending": { + "type": "SvelteAwaitPendingBlock", + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 1202, + 1205 + ], + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 24 + } + } + } + ], + "range": [ + 1181, + 1205 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 45, + "column": 24 + } + } + }, + "then": { + "type": "SvelteAwaitThenBlock", + "awaitThen": false, + "value": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 1213, + 1216 + ], + "loc": { + "start": { + "line": 45, + "column": 32 + }, + "end": { + "line": 45, + "column": 35 + } + } + } + ], + "range": [ + 1205, + 1216 + ], + "loc": { + "start": { + "line": 45, + "column": 24 + }, + "end": { + "line": 45, + "column": 35 + } + } + }, + "catch": { + "type": "SvelteAwaitCatchBlock", + "awaitCatch": false, + "error": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 1225, + 1228 + ], + "loc": { + "start": { + "line": 45, + "column": 44 + }, + "end": { + "line": 45, + "column": 47 + } + } + } + ], + "range": [ + 1216, + 1228 + ], + "loc": { + "start": { + "line": 45, + "column": 35 + }, + "end": { + "line": 45, + "column": 47 + } + } + }, + "range": [ + 1181, + 1238 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 45, + "column": 57 + } + } + }, + { + "type": "SvelteText", + "value": "\n\n", + "range": [ + 1238, + 1240 + ], + "loc": { + "start": { + "line": 45, + "column": 57 + }, + "end": { + "line": 47, + "column": 0 + } + } + }, + { + "type": "SvelteKeyBlock", + "expression": { + "type": "Identifier", + "name": "expression", + "range": [ + 1247, + 1257 + ], + "loc": { + "start": { + "line": 47, + "column": 7 + }, + "end": { + "line": 47, + "column": 17 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 1259, + 1262 + ], + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 22 + } + } + } + ], + "range": [ + 1240, + 1270 + ], + "loc": { + "start": { + "line": 47, + "column": 0 + }, + "end": { + "line": 47, + "column": 30 + } + } + }, + { + "type": "SvelteText", + "value": "\n", + "range": [ + 1270, + 1271 + ], + "loc": { + "start": { + "line": 47, + "column": 30 + }, + "end": { + "line": 48, + "column": 0 + } + } + } + ], + "endTag": { + "type": "SvelteEndTag", + "range": [ + 1271, + 1277 + ], + "loc": { + "start": { + "line": 48, + "column": 0 + }, + "end": { + "line": 48, + "column": 6 + } + } + }, + "range": [ + 321, + 1277 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 48, + "column": 6 + } + } + } + ], + "sourceType": "module", + "comments": [], + "tokens": [ + { + "type": "Punctuator", + "value": "<", + "range": [ + 0, + 1 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 1 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "script", + "range": [ + 1, + 7 + ], + "loc": { + "start": { + "line": 1, + "column": 1 + }, + "end": { + "line": 1, + "column": 7 + } + } + }, + { + "type": "Punctuator", + "value": ">", + "range": [ + 7, + 8 + ], + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": "Keyword", + "value": "import", + "range": [ + 10, + 16 + ], + "loc": { + "start": { + "line": 2, + "column": 1 + }, + "end": { + "line": 2, + "column": 7 + } + } + }, + { + "type": "Identifier", + "value": "A", + "range": [ + 17, + 18 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 9 + } + } + }, + { + "type": "Identifier", + "value": "from", + "range": [ + 19, + 23 + ], + "loc": { + "start": { + "line": 2, + "column": 10 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": "String", + "value": "'prettier-playground/a.svelte'", + "range": [ + 24, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 54, + 55 + ], + "loc": { + "start": { + "line": 2, + "column": 45 + }, + "end": { + "line": 2, + "column": 46 + } + } + }, + { + "type": "Keyword", + "value": "const", + "range": [ + 58, + 63 + ], + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": "Identifier", + "value": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 68, + 69 + ], + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + { + "type": "String", + "value": "'foo'", + "range": [ + 70, + 75 + ], + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 75, + 76 + ], + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": "Keyword", + "value": "let", + "range": [ + 78, + 81 + ], + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 4 + } + } + }, + { + "type": "Identifier", + "value": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 87, + 88 + ], + "loc": { + "start": { + "line": 5, + "column": 10 + }, + "end": { + "line": 5, + "column": 11 + } + } + }, + { + "type": "String", + "value": "''", + "range": [ + 89, + 91 + ], + "loc": { + "start": { + "line": 5, + "column": 12 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 91, + 92 + ], + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 15 + } + } + }, + { + "type": "Keyword", + "value": "let", + "range": [ + 94, + 97 + ], + "loc": { + "start": { + "line": 6, + "column": 1 + }, + "end": { + "line": 6, + "column": 4 + } + } + }, + { + "type": "Identifier", + "value": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 104, + 105 + ], + "loc": { + "start": { + "line": 6, + "column": 11 + }, + "end": { + "line": 6, + "column": 12 + } + } + }, + { + "type": "String", + "value": "''", + "range": [ + 106, + 108 + ], + "loc": { + "start": { + "line": 6, + "column": 13 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 108, + 109 + ], + "loc": { + "start": { + "line": 6, + "column": 15 + }, + "end": { + "line": 6, + "column": 16 + } + } + }, + { + "type": "Keyword", + "value": "let", + "range": [ + 111, + 114 + ], + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 4 + } + } + }, + { + "type": "Identifier", + "value": "input", + "range": [ + 115, + 120 + ], + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 10 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 120, + 121 + ], + "loc": { + "start": { + "line": 7, + "column": 10 + }, + "end": { + "line": 7, + "column": 11 + } + } + }, + { + "type": "Keyword", + "value": "const", + "range": [ + 123, + 128 + ], + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": "Identifier", + "value": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 137, + 138 + ], + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 16 + } + } + }, + { + "type": "String", + "value": "'my-class'", + "range": [ + 139, + 149 + ], + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 27 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 149, + 150 + ], + "loc": { + "start": { + "line": 8, + "column": 27 + }, + "end": { + "line": 8, + "column": 28 + } + } + }, + { + "type": "Keyword", + "value": "const", + "range": [ + 152, + 157 + ], + "loc": { + "start": { + "line": 9, + "column": 1 + }, + "end": { + "line": 9, + "column": 6 + } + } + }, + { + "type": "Identifier", + "value": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 161, + 162 + ], + "loc": { + "start": { + "line": 9, + "column": 10 + }, + "end": { + "line": 9, + "column": 11 + } + } + }, + { + "type": "String", + "value": "'id'", + "range": [ + 163, + 167 + ], + "loc": { + "start": { + "line": 9, + "column": 12 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 167, + 168 + ], + "loc": { + "start": { + "line": 9, + "column": 16 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": "Keyword", + "value": "const", + "range": [ + 170, + 175 + ], + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + { + "type": "Identifier", + "value": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 182, + 183 + ], + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 184, + 185 + ], + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 16 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 185, + 186 + ], + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 186, + 187 + ], + "loc": { + "start": { + "line": 10, + "column": 17 + }, + "end": { + "line": 10, + "column": 18 + } + } + }, + { + "type": "Keyword", + "value": "const", + "range": [ + 189, + 194 + ], + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + { + "type": "Identifier", + "value": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 199, + 200 + ], + "loc": { + "start": { + "line": 11, + "column": 11 + }, + "end": { + "line": 11, + "column": 12 + } + } + }, + { + "type": "String", + "value": "'
'", + "range": [ + 201, + 214 + ], + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 26 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 214, + 215 + ], + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 11, + "column": 27 + } + } + }, + { + "type": "Keyword", + "value": "const", + "range": [ + 217, + 222 + ], + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 12, + "column": 6 + } + } + }, + { + "type": "Identifier", + "value": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 226, + 227 + ], + "loc": { + "start": { + "line": 12, + "column": 10 + }, + "end": { + "line": 12, + "column": 11 + } + } + }, + { + "type": "Numeric", + "value": "1", + "range": [ + 228, + 229 + ], + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + { + "type": "Punctuator", + "value": ",", + "range": [ + 229, + 230 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + { + "type": "Identifier", + "value": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 236, + 237 + ], + "loc": { + "start": { + "line": 13, + "column": 5 + }, + "end": { + "line": 13, + "column": 6 + } + } + }, + { + "type": "Numeric", + "value": "2", + "range": [ + 238, + 239 + ], + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 239, + 240 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 9 + } + } + }, + { + "type": "Keyword", + "value": "const", + "range": [ + 242, + 247 + ], + "loc": { + "start": { + "line": 14, + "column": 1 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 259, + 260 + ], + "loc": { + "start": { + "line": 14, + "column": 18 + }, + "end": { + "line": 14, + "column": 19 + } + } + }, + { + "type": "Boolean", + "value": "true", + "range": [ + 261, + 265 + ], + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 265, + 266 + ], + "loc": { + "start": { + "line": 14, + "column": 24 + }, + "end": { + "line": 14, + "column": 25 + } + } + }, + { + "type": "Keyword", + "value": "const", + "range": [ + 268, + 273 + ], + "loc": { + "start": { + "line": 15, + "column": 1 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": "Identifier", + "value": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 279, + 280 + ], + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 13 + } + } + }, + { + "type": "Punctuator", + "value": "[", + "range": [ + 281, + 282 + ], + "loc": { + "start": { + "line": 15, + "column": 14 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + { + "type": "Punctuator", + "value": "]", + "range": [ + 282, + 283 + ], + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 16 + } + } + }, + { + "type": "Punctuator", + "value": ";", + "range": [ + 283, + 284 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 17 + } + } + }, + { + "type": "Punctuator", + "value": "<", + "range": [ + 285, + 286 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + } + }, + { + "type": "Punctuator", + "value": "/", + "range": [ + 286, + 287 + ], + "loc": { + "start": { + "line": 16, + "column": 1 + }, + "end": { + "line": 16, + "column": 2 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "script", + "range": [ + 287, + 293 + ], + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 8 + } + } + }, + { + "type": "Punctuator", + "value": ">", + "range": [ + 293, + 294 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 9 + } + } + }, + { + "type": "HTMLText", + "value": "\n\n", + "range": [ + 294, + 296 + ], + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 18, + "column": 0 + } + } + }, + { + "type": "HTMLComment", + "value": "", + "range": [ + 296, + 320 + ], + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 320, + 321 + ], + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 19, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "<", + "range": [ + 321, + 322 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 1 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "div", + "range": [ + 322, + 325 + ], + "loc": { + "start": { + "line": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 4 + } + } + }, + { + "type": "Punctuator", + "value": ">", + "range": [ + 325, + 326 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 326, + 327 + ], + "loc": { + "start": { + "line": 19, + "column": 5 + }, + "end": { + "line": 20, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 327, + 328 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 1 + } + } + }, + { + "type": "Identifier", + "value": "foo", + "range": [ + 329, + 332 + ], + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 333, + 334 + ], + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 334, + 335 + ], + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 21, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "<", + "range": [ + 335, + 336 + ], + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 1 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "input", + "range": [ + 336, + 341 + ], + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 21, + "column": 6 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "bind", + "range": [ + 342, + 346 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 11 + } + } + }, + { + "type": "Punctuator", + "value": ":", + "range": [ + 346, + 347 + ], + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 12 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "value", + "range": [ + 347, + 352 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 17 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 352, + 353 + ], + "loc": { + "start": { + "line": 21, + "column": 17 + }, + "end": { + "line": 21, + "column": 18 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 353, + 354 + ], + "loc": { + "start": { + "line": 21, + "column": 18 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + { + "type": "Identifier", + "value": "text", + "range": [ + 355, + 359 + ], + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 24 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 360, + 361 + ], + "loc": { + "start": { + "line": 21, + "column": 25 + }, + "end": { + "line": 21, + "column": 26 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "this", + "range": [ + 362, + 366 + ], + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 31 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 366, + 367 + ], + "loc": { + "start": { + "line": 21, + "column": 31 + }, + "end": { + "line": 21, + "column": 32 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 367, + 368 + ], + "loc": { + "start": { + "line": 21, + "column": 32 + }, + "end": { + "line": 21, + "column": 33 + } + } + }, + { + "type": "Identifier", + "value": "input", + "range": [ + 369, + 374 + ], + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 39 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 375, + 376 + ], + "loc": { + "start": { + "line": 21, + "column": 40 + }, + "end": { + "line": 21, + "column": 41 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "class", + "range": [ + 377, + 382 + ], + "loc": { + "start": { + "line": 21, + "column": 42 + }, + "end": { + "line": 21, + "column": 47 + } + } + }, + { + "type": "Punctuator", + "value": "=", + "range": [ + 382, + 383 + ], + "loc": { + "start": { + "line": 21, + "column": 47 + }, + "end": { + "line": 21, + "column": 48 + } + } + }, + { + "type": "Punctuator", + "value": "\"", + "range": [ + 383, + 384 + ], + "loc": { + "start": { + "line": 21, + "column": 48 + }, + "end": { + "line": 21, + "column": 49 + } + } + }, + { + "type": "HTMLText", + "value": "foo", + "range": [ + 384, + 387 + ], + "loc": { + "start": { + "line": 21, + "column": 49 + }, + "end": { + "line": 21, + "column": 52 + } + } + }, + { + "type": "HTMLText", + "value": " ", + "range": [ + 387, + 388 + ], + "loc": { + "start": { + "line": 21, + "column": 52 + }, + "end": { + "line": 21, + "column": 53 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 388, + 389 + ], + "loc": { + "start": { + "line": 21, + "column": 53 + }, + "end": { + "line": 21, + "column": 54 + } + } + }, + { + "type": "Identifier", + "value": "myClass", + "range": [ + 390, + 397 + ], + "loc": { + "start": { + "line": 21, + "column": 55 + }, + "end": { + "line": 21, + "column": 62 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 398, + 399 + ], + "loc": { + "start": { + "line": 21, + "column": 63 + }, + "end": { + "line": 21, + "column": 64 + } + } + }, + { + "type": "Punctuator", + "value": "\"", + "range": [ + 399, + 400 + ], + "loc": { + "start": { + "line": 21, + "column": 64 + }, + "end": { + "line": 21, + "column": 65 + } + } + }, + { + "type": "Punctuator", + "value": "/", + "range": [ + 401, + 402 + ], + "loc": { + "start": { + "line": 21, + "column": 66 + }, + "end": { + "line": 21, + "column": 67 + } + } + }, + { + "type": "Punctuator", + "value": ">", + "range": [ + 402, + 403 + ], + "loc": { + "start": { + "line": 21, + "column": 67 + }, + "end": { + "line": 21, + "column": 68 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 403, + 404 + ], + "loc": { + "start": { + "line": 21, + "column": 68 + }, + "end": { + "line": 22, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "<", + "range": [ + 404, + 405 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 1 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "input", + "range": [ + 405, + 410 + ], + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "bind", + "range": [ + 411, + 415 + ], + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + { + "type": "Punctuator", + "value": ":", + "range": [ + 415, + 416 + ], + "loc": { + "start": { + "line": 22, + "column": 11 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + { + "type": "Identifier", + "value": "value", + "range": [ + 416, + 421 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 422, + 423 + ], + "loc": { + "start": { + "line": 22, + "column": 18 + }, + "end": { + "line": 22, + "column": 19 + } + } + }, + { + "type": "Identifier", + "value": "id", + "range": [ + 424, + 426 + ], + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 22, + "column": 22 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 427, + 428 + ], + "loc": { + "start": { + "line": 22, + "column": 23 + }, + "end": { + "line": 22, + "column": 24 + } + } + }, + { + "type": "Punctuator", + "value": "/", + "range": [ + 429, + 430 + ], + "loc": { + "start": { + "line": 22, + "column": 25 + }, + "end": { + "line": 22, + "column": 26 + } + } + }, + { + "type": "Punctuator", + "value": ">", + "range": [ + 430, + 431 + ], + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 431, + 432 + ], + "loc": { + "start": { + "line": 22, + "column": 27 + }, + "end": { + "line": 23, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "<", + "range": [ + 432, + 433 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 1 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "input", + "range": [ + 433, + 438 + ], + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 6 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 439, + 440 + ], + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + { + "type": "Punctuator", + "value": "...", + "range": [ + 441, + 444 + ], + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + { + "type": "Identifier", + "value": "attrs", + "range": [ + 444, + 449 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 450, + 451 + ], + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + { + "type": "Punctuator", + "value": "/", + "range": [ + 452, + 453 + ], + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 21 + } + } + }, + { + "type": "Punctuator", + "value": ">", + "range": [ + 453, + 454 + ], + "loc": { + "start": { + "line": 23, + "column": 21 + }, + "end": { + "line": 23, + "column": 22 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 454, + 455 + ], + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 24, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 455, + 456 + ], + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "@html", + "range": [ + 457, + 462 + ], + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + { + "type": "Identifier", + "value": "bar", + "range": [ + 463, + 466 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 11 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 467, + 468 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 468, + 469 + ], + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 25, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 469, + 470 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "@debug", + "range": [ + 471, + 477 + ], + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 8 + } + } + }, + { + "type": "Identifier", + "value": "o1", + "range": [ + 478, + 480 + ], + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 11 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 481, + 482 + ], + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 482, + 483 + ], + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 26, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 483, + 484 + ], + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "@debug", + "range": [ + 485, + 491 + ], + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 8 + } + } + }, + { + "type": "Identifier", + "value": "o1", + "range": [ + 492, + 494 + ], + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 11 + } + } + }, + { + "type": "Punctuator", + "value": ",", + "range": [ + 494, + 495 + ], + "loc": { + "start": { + "line": 26, + "column": 11 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + { + "type": "Identifier", + "value": "o2", + "range": [ + 496, + 498 + ], + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 15 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 499, + 500 + ], + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 26, + "column": 17 + } + } + }, + { + "type": "HTMLText", + "value": "\n\n", + "range": [ + 500, + 502 + ], + "loc": { + "start": { + "line": 26, + "column": 17 + }, + "end": { + "line": 28, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 502, + 503 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#if", + "range": [ + 504, + 507 + ], + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 5 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 508, + 518 + ], + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 519, + 520 + ], + "loc": { + "start": { + "line": 28, + "column": 17 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 520, + 523 + ], + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 21 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 523, + 524 + ], + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 22 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/if", + "range": [ + 525, + 528 + ], + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 28, + "column": 26 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 529, + 530 + ], + "loc": { + "start": { + "line": 28, + "column": 27 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 530, + 531 + ], + "loc": { + "start": { + "line": 28, + "column": 28 + }, + "end": { + "line": 29, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 531, + 532 + ], + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#if", + "range": [ + 533, + 536 + ], + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 5 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 537, + 547 + ], + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 16 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 548, + 549 + ], + "loc": { + "start": { + "line": 29, + "column": 17 + }, + "end": { + "line": 29, + "column": 18 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 549, + 552 + ], + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 21 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 552, + 553 + ], + "loc": { + "start": { + "line": 29, + "column": 21 + }, + "end": { + "line": 29, + "column": 22 + } + } + }, + { + "type": "MustacheKeyword", + "value": ":else", + "range": [ + 554, + 559 + ], + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 28 + } + } + }, + { + "type": "MustacheKeyword", + "value": "if", + "range": [ + 560, + 562 + ], + "loc": { + "start": { + "line": 29, + "column": 29 + }, + "end": { + "line": 29, + "column": 31 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 563, + 573 + ], + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 42 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 574, + 575 + ], + "loc": { + "start": { + "line": 29, + "column": 43 + }, + "end": { + "line": 29, + "column": 44 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 575, + 578 + ], + "loc": { + "start": { + "line": 29, + "column": 44 + }, + "end": { + "line": 29, + "column": 47 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 578, + 579 + ], + "loc": { + "start": { + "line": 29, + "column": 47 + }, + "end": { + "line": 29, + "column": 48 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/if", + "range": [ + 580, + 583 + ], + "loc": { + "start": { + "line": 29, + "column": 49 + }, + "end": { + "line": 29, + "column": 52 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 584, + 585 + ], + "loc": { + "start": { + "line": 29, + "column": 53 + }, + "end": { + "line": 29, + "column": 54 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 585, + 586 + ], + "loc": { + "start": { + "line": 29, + "column": 54 + }, + "end": { + "line": 30, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 586, + 587 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#if", + "range": [ + 588, + 591 + ], + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 5 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 592, + 602 + ], + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 16 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 603, + 604 + ], + "loc": { + "start": { + "line": 30, + "column": 17 + }, + "end": { + "line": 30, + "column": 18 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 604, + 607 + ], + "loc": { + "start": { + "line": 30, + "column": 18 + }, + "end": { + "line": 30, + "column": 21 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 607, + 608 + ], + "loc": { + "start": { + "line": 30, + "column": 21 + }, + "end": { + "line": 30, + "column": 22 + } + } + }, + { + "type": "MustacheKeyword", + "value": ":else", + "range": [ + 609, + 614 + ], + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 28 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 615, + 616 + ], + "loc": { + "start": { + "line": 30, + "column": 29 + }, + "end": { + "line": 30, + "column": 30 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 616, + 619 + ], + "loc": { + "start": { + "line": 30, + "column": 30 + }, + "end": { + "line": 30, + "column": 33 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 619, + 620 + ], + "loc": { + "start": { + "line": 30, + "column": 33 + }, + "end": { + "line": 30, + "column": 34 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/if", + "range": [ + 621, + 624 + ], + "loc": { + "start": { + "line": 30, + "column": 35 + }, + "end": { + "line": 30, + "column": 38 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 625, + 626 + ], + "loc": { + "start": { + "line": 30, + "column": 39 + }, + "end": { + "line": 30, + "column": 40 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 626, + 627 + ], + "loc": { + "start": { + "line": 30, + "column": 40 + }, + "end": { + "line": 31, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 627, + 628 + ], + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#if", + "range": [ + 629, + 632 + ], + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 633, + 643 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 644, + 645 + ], + "loc": { + "start": { + "line": 31, + "column": 17 + }, + "end": { + "line": 31, + "column": 18 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 645, + 646 + ], + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 19 + } + } + }, + { + "type": "MustacheKeyword", + "value": ":else", + "range": [ + 647, + 652 + ], + "loc": { + "start": { + "line": 31, + "column": 20 + }, + "end": { + "line": 31, + "column": 25 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 653, + 654 + ], + "loc": { + "start": { + "line": 31, + "column": 26 + }, + "end": { + "line": 31, + "column": 27 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 654, + 655 + ], + "loc": { + "start": { + "line": 31, + "column": 27 + }, + "end": { + "line": 31, + "column": 28 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/if", + "range": [ + 656, + 659 + ], + "loc": { + "start": { + "line": 31, + "column": 29 + }, + "end": { + "line": 31, + "column": 32 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 660, + 661 + ], + "loc": { + "start": { + "line": 31, + "column": 33 + }, + "end": { + "line": 31, + "column": 34 + } + } + }, + { + "type": "HTMLText", + "value": "\n\n", + "range": [ + 661, + 663 + ], + "loc": { + "start": { + "line": 31, + "column": 34 + }, + "end": { + "line": 33, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 663, + 664 + ], + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 33, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#each", + "range": [ + 665, + 670 + ], + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + { + "type": "Identifier", + "value": "list", + "range": [ + 671, + 675 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 12 + } + } + }, + { + "type": "Keyword", + "value": "as", + "range": [ + 676, + 678 + ], + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 15 + } + } + }, + { + "type": "Identifier", + "value": "item", + "range": [ + 679, + 683 + ], + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 684, + 685 + ], + "loc": { + "start": { + "line": 33, + "column": 21 + }, + "end": { + "line": 33, + "column": 22 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 685, + 688 + ], + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 25 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 688, + 689 + ], + "loc": { + "start": { + "line": 33, + "column": 25 + }, + "end": { + "line": 33, + "column": 26 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/each", + "range": [ + 690, + 695 + ], + "loc": { + "start": { + "line": 33, + "column": 27 + }, + "end": { + "line": 33, + "column": 32 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 696, + 697 + ], + "loc": { + "start": { + "line": 33, + "column": 33 + }, + "end": { + "line": 33, + "column": 34 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 697, + 698 + ], + "loc": { + "start": { + "line": 33, + "column": 34 + }, + "end": { + "line": 34, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 698, + 699 + ], + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#each", + "range": [ + 700, + 705 + ], + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 7 + } + } + }, + { + "type": "Identifier", + "value": "list", + "range": [ + 706, + 710 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + { + "type": "Keyword", + "value": "as", + "range": [ + 711, + 713 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 15 + } + } + }, + { + "type": "Identifier", + "value": "item", + "range": [ + 714, + 718 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + { + "type": "Punctuator", + "value": ",", + "range": [ + 718, + 719 + ], + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 21 + } + } + }, + { + "type": "Identifier", + "value": "index", + "range": [ + 720, + 725 + ], + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 27 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 726, + 727 + ], + "loc": { + "start": { + "line": 34, + "column": 28 + }, + "end": { + "line": 34, + "column": 29 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 727, + 730 + ], + "loc": { + "start": { + "line": 34, + "column": 29 + }, + "end": { + "line": 34, + "column": 32 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 730, + 731 + ], + "loc": { + "start": { + "line": 34, + "column": 32 + }, + "end": { + "line": 34, + "column": 33 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/each", + "range": [ + 732, + 737 + ], + "loc": { + "start": { + "line": 34, + "column": 34 + }, + "end": { + "line": 34, + "column": 39 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 738, + 739 + ], + "loc": { + "start": { + "line": 34, + "column": 40 + }, + "end": { + "line": 34, + "column": 41 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 739, + 740 + ], + "loc": { + "start": { + "line": 34, + "column": 41 + }, + "end": { + "line": 35, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 740, + 741 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#each", + "range": [ + 742, + 747 + ], + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 7 + } + } + }, + { + "type": "Identifier", + "value": "list", + "range": [ + 748, + 752 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + { + "type": "Keyword", + "value": "as", + "range": [ + 753, + 755 + ], + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 15 + } + } + }, + { + "type": "Identifier", + "value": "item", + "range": [ + 756, + 760 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + { + "type": "Punctuator", + "value": "(", + "range": [ + 761, + 762 + ], + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 22 + } + } + }, + { + "type": "Identifier", + "value": "item", + "range": [ + 762, + 766 + ], + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + { + "type": "Punctuator", + "value": ".", + "range": [ + 766, + 767 + ], + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + { + "type": "Identifier", + "value": "key", + "range": [ + 767, + 770 + ], + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + { + "type": "Punctuator", + "value": ")", + "range": [ + 770, + 771 + ], + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 31 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 772, + 773 + ], + "loc": { + "start": { + "line": 35, + "column": 32 + }, + "end": { + "line": 35, + "column": 33 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 773, + 776 + ], + "loc": { + "start": { + "line": 35, + "column": 33 + }, + "end": { + "line": 35, + "column": 36 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 776, + 777 + ], + "loc": { + "start": { + "line": 35, + "column": 36 + }, + "end": { + "line": 35, + "column": 37 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/each", + "range": [ + 778, + 783 + ], + "loc": { + "start": { + "line": 35, + "column": 38 + }, + "end": { + "line": 35, + "column": 43 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 784, + 785 + ], + "loc": { + "start": { + "line": 35, + "column": 44 + }, + "end": { + "line": 35, + "column": 45 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 785, + 786 + ], + "loc": { + "start": { + "line": 35, + "column": 45 + }, + "end": { + "line": 36, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 786, + 787 + ], + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#each", + "range": [ + 788, + 793 + ], + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 7 + } + } + }, + { + "type": "Identifier", + "value": "list", + "range": [ + 794, + 798 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + { + "type": "Keyword", + "value": "as", + "range": [ + 799, + 801 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 15 + } + } + }, + { + "type": "Identifier", + "value": "item", + "range": [ + 802, + 806 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 20 + } + } + }, + { + "type": "Punctuator", + "value": ",", + "range": [ + 806, + 807 + ], + "loc": { + "start": { + "line": 36, + "column": 20 + }, + "end": { + "line": 36, + "column": 21 + } + } + }, + { + "type": "Identifier", + "value": "index", + "range": [ + 808, + 813 + ], + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 27 + } + } + }, + { + "type": "Punctuator", + "value": "(", + "range": [ + 814, + 815 + ], + "loc": { + "start": { + "line": 36, + "column": 28 + }, + "end": { + "line": 36, + "column": 29 + } + } + }, + { + "type": "Identifier", + "value": "item", + "range": [ + 815, + 819 + ], + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 33 + } + } + }, + { + "type": "Punctuator", + "value": ".", + "range": [ + 819, + 820 + ], + "loc": { + "start": { + "line": 36, + "column": 33 + }, + "end": { + "line": 36, + "column": 34 + } + } + }, + { + "type": "Identifier", + "value": "key", + "range": [ + 820, + 823 + ], + "loc": { + "start": { + "line": 36, + "column": 34 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + { + "type": "Punctuator", + "value": ")", + "range": [ + 823, + 824 + ], + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 36, + "column": 38 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 825, + 826 + ], + "loc": { + "start": { + "line": 36, + "column": 39 + }, + "end": { + "line": 36, + "column": 40 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 826, + 829 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 43 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 829, + 830 + ], + "loc": { + "start": { + "line": 36, + "column": 43 + }, + "end": { + "line": 36, + "column": 44 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/each", + "range": [ + 831, + 836 + ], + "loc": { + "start": { + "line": 36, + "column": 45 + }, + "end": { + "line": 36, + "column": 50 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 837, + 838 + ], + "loc": { + "start": { + "line": 36, + "column": 51 + }, + "end": { + "line": 36, + "column": 52 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 838, + 839 + ], + "loc": { + "start": { + "line": 36, + "column": 52 + }, + "end": { + "line": 37, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 839, + 840 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#each", + "range": [ + 841, + 846 + ], + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 7 + } + } + }, + { + "type": "Identifier", + "value": "list", + "range": [ + 847, + 851 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + { + "type": "Keyword", + "value": "as", + "range": [ + 852, + 854 + ], + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 15 + } + } + }, + { + "type": "Identifier", + "value": "item", + "range": [ + 855, + 859 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 20 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 860, + 861 + ], + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 861, + 864 + ], + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 25 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 864, + 865 + ], + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 26 + } + } + }, + { + "type": "MustacheKeyword", + "value": ":else", + "range": [ + 866, + 871 + ], + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 32 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 872, + 873 + ], + "loc": { + "start": { + "line": 37, + "column": 33 + }, + "end": { + "line": 37, + "column": 34 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 873, + 876 + ], + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 876, + 877 + ], + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 38 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/each", + "range": [ + 878, + 883 + ], + "loc": { + "start": { + "line": 37, + "column": 39 + }, + "end": { + "line": 37, + "column": 44 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 884, + 885 + ], + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "column": 46 + } + } + }, + { + "type": "HTMLText", + "value": "\n\n", + "range": [ + 885, + 887 + ], + "loc": { + "start": { + "line": 37, + "column": 46 + }, + "end": { + "line": 39, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 887, + 888 + ], + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#await", + "range": [ + 889, + 895 + ], + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 896, + 906 + ], + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 19 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 907, + 908 + ], + "loc": { + "start": { + "line": 39, + "column": 20 + }, + "end": { + "line": 39, + "column": 21 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 908, + 911 + ], + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 24 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 911, + 912 + ], + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + { + "type": "MustacheKeyword", + "value": ":then", + "range": [ + 913, + 918 + ], + "loc": { + "start": { + "line": 39, + "column": 26 + }, + "end": { + "line": 39, + "column": 31 + } + } + }, + { + "type": "Identifier", + "value": "name", + "range": [ + 919, + 923 + ], + "loc": { + "start": { + "line": 39, + "column": 32 + }, + "end": { + "line": 39, + "column": 36 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 924, + 925 + ], + "loc": { + "start": { + "line": 39, + "column": 37 + }, + "end": { + "line": 39, + "column": 38 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 925, + 928 + ], + "loc": { + "start": { + "line": 39, + "column": 38 + }, + "end": { + "line": 39, + "column": 41 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 928, + 929 + ], + "loc": { + "start": { + "line": 39, + "column": 41 + }, + "end": { + "line": 39, + "column": 42 + } + } + }, + { + "type": "MustacheKeyword", + "value": ":catch", + "range": [ + 930, + 936 + ], + "loc": { + "start": { + "line": 39, + "column": 43 + }, + "end": { + "line": 39, + "column": 49 + } + } + }, + { + "type": "Identifier", + "value": "name", + "range": [ + 937, + 941 + ], + "loc": { + "start": { + "line": 39, + "column": 50 + }, + "end": { + "line": 39, + "column": 54 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 942, + 943 + ], + "loc": { + "start": { + "line": 39, + "column": 55 + }, + "end": { + "line": 39, + "column": 56 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 943, + 946 + ], + "loc": { + "start": { + "line": 39, + "column": 56 + }, + "end": { + "line": 39, + "column": 59 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 946, + 947 + ], + "loc": { + "start": { + "line": 39, + "column": 59 + }, + "end": { + "line": 39, + "column": 60 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/await", + "range": [ + 948, + 954 + ], + "loc": { + "start": { + "line": 39, + "column": 61 + }, + "end": { + "line": 39, + "column": 67 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 955, + 956 + ], + "loc": { + "start": { + "line": 39, + "column": 68 + }, + "end": { + "line": 39, + "column": 69 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 956, + 957 + ], + "loc": { + "start": { + "line": 39, + "column": 69 + }, + "end": { + "line": 40, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 957, + 958 + ], + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#await", + "range": [ + 959, + 965 + ], + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 966, + 976 + ], + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 19 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 977, + 978 + ], + "loc": { + "start": { + "line": 40, + "column": 20 + }, + "end": { + "line": 40, + "column": 21 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 978, + 981 + ], + "loc": { + "start": { + "line": 40, + "column": 21 + }, + "end": { + "line": 40, + "column": 24 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 981, + 982 + ], + "loc": { + "start": { + "line": 40, + "column": 24 + }, + "end": { + "line": 40, + "column": 25 + } + } + }, + { + "type": "MustacheKeyword", + "value": ":then", + "range": [ + 983, + 988 + ], + "loc": { + "start": { + "line": 40, + "column": 26 + }, + "end": { + "line": 40, + "column": 31 + } + } + }, + { + "type": "Identifier", + "value": "name", + "range": [ + 989, + 993 + ], + "loc": { + "start": { + "line": 40, + "column": 32 + }, + "end": { + "line": 40, + "column": 36 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 994, + 995 + ], + "loc": { + "start": { + "line": 40, + "column": 37 + }, + "end": { + "line": 40, + "column": 38 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 995, + 998 + ], + "loc": { + "start": { + "line": 40, + "column": 38 + }, + "end": { + "line": 40, + "column": 41 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 998, + 999 + ], + "loc": { + "start": { + "line": 40, + "column": 41 + }, + "end": { + "line": 40, + "column": 42 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/await", + "range": [ + 1000, + 1006 + ], + "loc": { + "start": { + "line": 40, + "column": 43 + }, + "end": { + "line": 40, + "column": 49 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1007, + 1008 + ], + "loc": { + "start": { + "line": 40, + "column": 50 + }, + "end": { + "line": 40, + "column": 51 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 1008, + 1009 + ], + "loc": { + "start": { + "line": 40, + "column": 51 + }, + "end": { + "line": 41, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1009, + 1010 + ], + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 41, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#await", + "range": [ + 1011, + 1017 + ], + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 1018, + 1028 + ], + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 19 + } + } + }, + { + "type": "MustacheKeyword", + "value": "then", + "range": [ + 1029, + 1033 + ], + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 24 + } + } + }, + { + "type": "Identifier", + "value": "name", + "range": [ + 1034, + 1038 + ], + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 29 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1039, + 1040 + ], + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 31 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 1040, + 1043 + ], + "loc": { + "start": { + "line": 41, + "column": 31 + }, + "end": { + "line": 41, + "column": 34 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1043, + 1044 + ], + "loc": { + "start": { + "line": 41, + "column": 34 + }, + "end": { + "line": 41, + "column": 35 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/await", + "range": [ + 1045, + 1051 + ], + "loc": { + "start": { + "line": 41, + "column": 36 + }, + "end": { + "line": 41, + "column": 42 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1052, + 1053 + ], + "loc": { + "start": { + "line": 41, + "column": 43 + }, + "end": { + "line": 41, + "column": 44 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 1053, + 1054 + ], + "loc": { + "start": { + "line": 41, + "column": 44 + }, + "end": { + "line": 42, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1054, + 1055 + ], + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#await", + "range": [ + 1056, + 1062 + ], + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 1063, + 1073 + ], + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + { + "type": "MustacheKeyword", + "value": "catch", + "range": [ + 1074, + 1079 + ], + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, + { + "type": "Identifier", + "value": "name", + "range": [ + 1080, + 1084 + ], + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 30 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1085, + 1086 + ], + "loc": { + "start": { + "line": 42, + "column": 31 + }, + "end": { + "line": 42, + "column": 32 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 1086, + 1089 + ], + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 35 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1089, + 1090 + ], + "loc": { + "start": { + "line": 42, + "column": 35 + }, + "end": { + "line": 42, + "column": 36 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/await", + "range": [ + 1091, + 1097 + ], + "loc": { + "start": { + "line": 42, + "column": 37 + }, + "end": { + "line": 42, + "column": 43 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1098, + 1099 + ], + "loc": { + "start": { + "line": 42, + "column": 44 + }, + "end": { + "line": 42, + "column": 45 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 1099, + 1100 + ], + "loc": { + "start": { + "line": 42, + "column": 45 + }, + "end": { + "line": 43, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1100, + 1101 + ], + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#await", + "range": [ + 1102, + 1108 + ], + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 1109, + 1119 + ], + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + { + "type": "MustacheKeyword", + "value": "then", + "range": [ + 1120, + 1124 + ], + "loc": { + "start": { + "line": 43, + "column": 20 + }, + "end": { + "line": 43, + "column": 24 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1125, + 1126 + ], + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 26 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 1126, + 1129 + ], + "loc": { + "start": { + "line": 43, + "column": 26 + }, + "end": { + "line": 43, + "column": 29 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1129, + 1130 + ], + "loc": { + "start": { + "line": 43, + "column": 29 + }, + "end": { + "line": 43, + "column": 30 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/await", + "range": [ + 1131, + 1137 + ], + "loc": { + "start": { + "line": 43, + "column": 31 + }, + "end": { + "line": 43, + "column": 37 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1138, + 1139 + ], + "loc": { + "start": { + "line": 43, + "column": 38 + }, + "end": { + "line": 43, + "column": 39 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 1139, + 1140 + ], + "loc": { + "start": { + "line": 43, + "column": 39 + }, + "end": { + "line": 44, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1140, + 1141 + ], + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 44, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#await", + "range": [ + 1142, + 1148 + ], + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 1149, + 1159 + ], + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": "MustacheKeyword", + "value": "catch", + "range": [ + 1160, + 1165 + ], + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1166, + 1167 + ], + "loc": { + "start": { + "line": 44, + "column": 26 + }, + "end": { + "line": 44, + "column": 27 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 1167, + 1170 + ], + "loc": { + "start": { + "line": 44, + "column": 27 + }, + "end": { + "line": 44, + "column": 30 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1170, + 1171 + ], + "loc": { + "start": { + "line": 44, + "column": 30 + }, + "end": { + "line": 44, + "column": 31 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/await", + "range": [ + 1172, + 1178 + ], + "loc": { + "start": { + "line": 44, + "column": 32 + }, + "end": { + "line": 44, + "column": 38 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1179, + 1180 + ], + "loc": { + "start": { + "line": 44, + "column": 39 + }, + "end": { + "line": 44, + "column": 40 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 1180, + 1181 + ], + "loc": { + "start": { + "line": 44, + "column": 40 + }, + "end": { + "line": 45, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1181, + 1182 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 45, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#await", + "range": [ + 1183, + 1189 + ], + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 8 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 1190, + 1200 + ], + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 19 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1201, + 1202 + ], + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 21 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 1202, + 1205 + ], + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 24 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1205, + 1206 + ], + "loc": { + "start": { + "line": 45, + "column": 24 + }, + "end": { + "line": 45, + "column": 25 + } + } + }, + { + "type": "MustacheKeyword", + "value": ":then", + "range": [ + 1207, + 1212 + ], + "loc": { + "start": { + "line": 45, + "column": 26 + }, + "end": { + "line": 45, + "column": 31 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1212, + 1213 + ], + "loc": { + "start": { + "line": 45, + "column": 31 + }, + "end": { + "line": 45, + "column": 32 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 1213, + 1216 + ], + "loc": { + "start": { + "line": 45, + "column": 32 + }, + "end": { + "line": 45, + "column": 35 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1216, + 1217 + ], + "loc": { + "start": { + "line": 45, + "column": 35 + }, + "end": { + "line": 45, + "column": 36 + } + } + }, + { + "type": "MustacheKeyword", + "value": ":catch", + "range": [ + 1218, + 1224 + ], + "loc": { + "start": { + "line": 45, + "column": 37 + }, + "end": { + "line": 45, + "column": 43 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1224, + 1225 + ], + "loc": { + "start": { + "line": 45, + "column": 43 + }, + "end": { + "line": 45, + "column": 44 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 1225, + 1228 + ], + "loc": { + "start": { + "line": 45, + "column": 44 + }, + "end": { + "line": 45, + "column": 47 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1228, + 1229 + ], + "loc": { + "start": { + "line": 45, + "column": 47 + }, + "end": { + "line": 45, + "column": 48 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/await", + "range": [ + 1230, + 1236 + ], + "loc": { + "start": { + "line": 45, + "column": 49 + }, + "end": { + "line": 45, + "column": 55 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1237, + 1238 + ], + "loc": { + "start": { + "line": 45, + "column": 56 + }, + "end": { + "line": 45, + "column": 57 + } + } + }, + { + "type": "HTMLText", + "value": "\n\n", + "range": [ + 1238, + 1240 + ], + "loc": { + "start": { + "line": 45, + "column": 57 + }, + "end": { + "line": 47, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1240, + 1241 + ], + "loc": { + "start": { + "line": 47, + "column": 0 + }, + "end": { + "line": 47, + "column": 1 + } + } + }, + { + "type": "MustacheKeyword", + "value": "#key", + "range": [ + 1242, + 1246 + ], + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 6 + } + } + }, + { + "type": "Identifier", + "value": "expression", + "range": [ + 1247, + 1257 + ], + "loc": { + "start": { + "line": 47, + "column": 7 + }, + "end": { + "line": 47, + "column": 17 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1258, + 1259 + ], + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 19 + } + } + }, + { + "type": "HTMLText", + "value": "...", + "range": [ + 1259, + 1262 + ], + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 22 + } + } + }, + { + "type": "Punctuator", + "value": "{", + "range": [ + 1262, + 1263 + ], + "loc": { + "start": { + "line": 47, + "column": 22 + }, + "end": { + "line": 47, + "column": 23 + } + } + }, + { + "type": "MustacheKeyword", + "value": "/key", + "range": [ + 1264, + 1268 + ], + "loc": { + "start": { + "line": 47, + "column": 24 + }, + "end": { + "line": 47, + "column": 28 + } + } + }, + { + "type": "Punctuator", + "value": "}", + "range": [ + 1269, + 1270 + ], + "loc": { + "start": { + "line": 47, + "column": 29 + }, + "end": { + "line": 47, + "column": 30 + } + } + }, + { + "type": "HTMLText", + "value": "\n", + "range": [ + 1270, + 1271 + ], + "loc": { + "start": { + "line": 47, + "column": 30 + }, + "end": { + "line": 48, + "column": 0 + } + } + }, + { + "type": "Punctuator", + "value": "<", + "range": [ + 1271, + 1272 + ], + "loc": { + "start": { + "line": 48, + "column": 0 + }, + "end": { + "line": 48, + "column": 1 + } + } + }, + { + "type": "Punctuator", + "value": "/", + "range": [ + 1272, + 1273 + ], + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 48, + "column": 2 + } + } + }, + { + "type": "HTMLIdentifier", + "value": "div", + "range": [ + 1273, + 1276 + ], + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 5 + } + } + }, + { + "type": "Punctuator", + "value": ">", + "range": [ + 1276, + 1277 + ], + "loc": { + "start": { + "line": 48, + "column": 5 + }, + "end": { + "line": 48, + "column": 6 + } + } + } + ], + "range": [ + 0, + 1278 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 49, + "column": 0 + } + } +} \ No newline at end of file diff --git a/tests/fixtures/parser/ast/space-in-blocks-scope-output.json b/tests/fixtures/parser/ast/space-in-blocks-scope-output.json new file mode 100644 index 00000000..d5c81426 --- /dev/null +++ b/tests/fixtures/parser/ast/space-in-blocks-scope-output.json @@ -0,0 +1,6522 @@ +{ + "type": "global", + "variables": [ + { + "name": "$$slots", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "$$props", + "identifiers": [], + "defs": [], + "references": [] + }, + { + "name": "$$restProps", + "identifiers": [], + "defs": [], + "references": [] + } + ], + "references": [], + "childScopes": [ + { + "type": "module", + "variables": [ + { + "name": "A", + "identifiers": [ + { + "type": "Identifier", + "name": "A", + "range": [ + 17, + 18 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 9 + } + } + } + ], + "defs": [ + { + "type": "ImportBinding", + "name": { + "type": "Identifier", + "name": "A", + "range": [ + 17, + 18 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 9 + } + } + }, + "node": { + "type": "ImportDefaultSpecifier", + "local": { + "type": "Identifier", + "name": "A", + "range": [ + 17, + 18 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 9 + } + } + }, + "range": [ + 17, + 18 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 9 + } + } + } + } + ], + "references": [] + }, + { + "name": "foo", + "identifiers": [ + { + "type": "Identifier", + "name": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "raw": "'foo'", + "value": "foo", + "range": [ + 70, + 75 + ], + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + "range": [ + 64, + 75 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 18 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "foo", + "range": [ + 329, + 332 + ], + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + } + } + ] + }, + { + "name": "text", + "identifiers": [ + { + "type": "Identifier", + "name": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "raw": "''", + "value": "", + "range": [ + 89, + 91 + ], + "loc": { + "start": { + "line": 5, + "column": 12 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "range": [ + 82, + 91 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 14 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "text", + "range": [ + 355, + 359 + ], + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 24 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + } + } + ] + }, + { + "name": "value", + "identifiers": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "raw": "''", + "value": "", + "range": [ + 106, + 108 + ], + "loc": { + "start": { + "line": 6, + "column": 13 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "range": [ + 98, + 108 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 15 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "value", + "range": [ + 416, + 421 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + } + } + ] + }, + { + "name": "input", + "identifiers": [ + { + "type": "Identifier", + "name": "input", + "range": [ + 115, + 120 + ], + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 10 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "input", + "range": [ + 115, + 120 + ], + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 10 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "input", + "range": [ + 115, + 120 + ], + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 10 + } + } + }, + "init": null, + "range": [ + 115, + 120 + ], + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 10 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "input", + "range": [ + 369, + 374 + ], + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 39 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "input", + "range": [ + 115, + 120 + ], + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 10 + } + } + } + } + ] + }, + { + "name": "myClass", + "identifiers": [ + { + "type": "Identifier", + "name": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + "init": { + "type": "Literal", + "raw": "'my-class'", + "value": "my-class", + "range": [ + 139, + 149 + ], + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 27 + } + } + }, + "range": [ + 129, + 149 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 27 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "myClass", + "range": [ + 390, + 397 + ], + "loc": { + "start": { + "line": 21, + "column": 55 + }, + "end": { + "line": 21, + "column": 62 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + } + } + ] + }, + { + "name": "id", + "identifiers": [ + { + "type": "Identifier", + "name": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "raw": "'id'", + "value": "id", + "range": [ + 163, + 167 + ], + "loc": { + "start": { + "line": 9, + "column": 12 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + "range": [ + 158, + 167 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 16 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "id", + "range": [ + 424, + 426 + ], + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 22, + "column": 22 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + } + } + ] + }, + { + "name": "attrs", + "identifiers": [ + { + "type": "Identifier", + "name": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + "init": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 184, + 186 + ], + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + "range": [ + 176, + 186 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 17 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "attrs", + "range": [ + 444, + 449 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + } + } + ] + }, + { + "name": "bar", + "identifiers": [ + { + "type": "Identifier", + "name": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "raw": "'
'", + "value": "
", + "range": [ + 201, + 214 + ], + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 26 + } + } + }, + "range": [ + 195, + 214 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 26 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "bar", + "range": [ + 463, + 466 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 11 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + } + } + ] + }, + { + "name": "o1", + "identifiers": [ + { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "raw": "1", + "value": 1, + "range": [ + 228, + 229 + ], + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + "range": [ + 223, + 229 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 13 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "o1", + "range": [ + 478, + 480 + ], + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 11 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "o1", + "range": [ + 492, + 494 + ], + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 11 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + } + } + ] + }, + { + "name": "o2", + "identifiers": [ + { + "type": "Identifier", + "name": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + }, + "init": { + "type": "Literal", + "raw": "2", + "value": 2, + "range": [ + 238, + 239 + ], + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + "range": [ + 233, + 239 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 8 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "o2", + "range": [ + 496, + 498 + ], + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 15 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + } + } + ] + }, + { + "name": "expression", + "identifiers": [ + { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + }, + "init": { + "type": "Literal", + "raw": "true", + "value": true, + "range": [ + 261, + 265 + ], + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + "range": [ + 248, + 265 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 24 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 508, + 518 + ], + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 537, + 547 + ], + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 16 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 563, + 573 + ], + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 42 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 592, + 602 + ], + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 16 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 633, + 643 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 896, + 906 + ], + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 966, + 976 + ], + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1018, + 1028 + ], + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1063, + 1073 + ], + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1109, + 1119 + ], + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1149, + 1159 + ], + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1190, + 1200 + ], + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1247, + 1257 + ], + "loc": { + "start": { + "line": 47, + "column": 7 + }, + "end": { + "line": 47, + "column": 17 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + } + ] + }, + { + "name": "list", + "identifiers": [ + { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + ], + "defs": [ + { + "type": "Variable", + "name": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + "node": { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 281, + 283 + ], + "loc": { + "start": { + "line": 15, + "column": 14 + }, + "end": { + "line": 15, + "column": 16 + } + } + }, + "range": [ + 274, + 283 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 16 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 671, + 675 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 12 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 706, + 710 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 748, + 752 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 794, + 798 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 847, + 851 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + } + ] + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + "from": "module", + "init": true, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "foo", + "range": [ + 329, + 332 + ], + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "foo", + "range": [ + 64, + 67 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 10 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "text", + "range": [ + 355, + 359 + ], + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 24 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "text", + "range": [ + 82, + 86 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "input", + "range": [ + 369, + 374 + ], + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 39 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "input", + "range": [ + 115, + 120 + ], + "loc": { + "start": { + "line": 7, + "column": 5 + }, + "end": { + "line": 7, + "column": 10 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "myClass", + "range": [ + 390, + 397 + ], + "loc": { + "start": { + "line": 21, + "column": 55 + }, + "end": { + "line": 21, + "column": 62 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "myClass", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "value", + "range": [ + 416, + 421 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "value", + "range": [ + 98, + 103 + ], + "loc": { + "start": { + "line": 6, + "column": 5 + }, + "end": { + "line": 6, + "column": 10 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "id", + "range": [ + 424, + 426 + ], + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 22, + "column": 22 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "id", + "range": [ + 158, + 160 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "attrs", + "range": [ + 444, + 449 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "attrs", + "range": [ + 176, + 181 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "bar", + "range": [ + 463, + 466 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 11 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "bar", + "range": [ + 195, + 198 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 10 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "o1", + "range": [ + 478, + 480 + ], + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 11 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "o1", + "range": [ + 492, + 494 + ], + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 11 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "o1", + "range": [ + 223, + 225 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 9 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "o2", + "range": [ + 496, + 498 + ], + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 15 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "o2", + "range": [ + 233, + 235 + ], + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 4 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 508, + 518 + ], + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 537, + 547 + ], + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 16 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 563, + 573 + ], + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 42 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 592, + 602 + ], + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 16 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 633, + 643 + ], + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 671, + 675 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 12 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 706, + 710 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 748, + 752 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 794, + 798 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "list", + "range": [ + 847, + 851 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "list", + "range": [ + 274, + 278 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 11 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 896, + 906 + ], + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 966, + 976 + ], + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1018, + 1028 + ], + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1063, + 1073 + ], + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1109, + 1119 + ], + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1149, + 1159 + ], + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1190, + 1200 + ], + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 19 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + }, + { + "identifier": { + "type": "Identifier", + "name": "expression", + "range": [ + 1247, + 1257 + ], + "loc": { + "start": { + "line": 47, + "column": 7 + }, + "end": { + "line": 47, + "column": 17 + } + } + }, + "from": "module", + "init": null, + "resolved": { + "type": "Identifier", + "name": "expression", + "range": [ + 248, + 258 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 17 + } + } + } + } + ], + "childScopes": [ + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "function", + "variables": [ + { + "name": "item", + "identifiers": [ + { + "type": "Identifier", + "name": "item", + "range": [ + 679, + 683 + ], + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 20 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "item", + "range": [ + 679, + 683 + ], + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, + "node": { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 671, + 675 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 679, + 683 + ], + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, + "index": null, + "key": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 685, + 688 + ], + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 25 + } + } + } + ], + "else": null, + "range": [ + 663, + 697 + ], + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 33, + "column": 34 + } + } + } + } + ], + "references": [] + } + ], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "function", + "variables": [ + { + "name": "item", + "identifiers": [ + { + "type": "Identifier", + "name": "item", + "range": [ + 714, + 718 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 20 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "item", + "range": [ + 714, + 718 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + "node": { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 706, + 710 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 714, + 718 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + "index": { + "type": "Identifier", + "name": "index", + "range": [ + 720, + 725 + ], + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 27 + } + } + }, + "key": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 727, + 730 + ], + "loc": { + "start": { + "line": 34, + "column": 29 + }, + "end": { + "line": 34, + "column": 32 + } + } + } + ], + "else": null, + "range": [ + 698, + 739 + ], + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 41 + } + } + } + } + ], + "references": [] + }, + { + "name": "index", + "identifiers": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 720, + 725 + ], + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 27 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "index", + "range": [ + 720, + 725 + ], + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 27 + } + } + }, + "node": { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 706, + 710 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 714, + 718 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + "index": { + "type": "Identifier", + "name": "index", + "range": [ + 720, + 725 + ], + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 27 + } + } + }, + "key": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 727, + 730 + ], + "loc": { + "start": { + "line": 34, + "column": 29 + }, + "end": { + "line": 34, + "column": 32 + } + } + } + ], + "else": null, + "range": [ + 698, + 739 + ], + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 41 + } + } + } + } + ], + "references": [] + } + ], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "function", + "variables": [ + { + "name": "item", + "identifiers": [ + { + "type": "Identifier", + "name": "item", + "range": [ + 756, + 760 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 20 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "item", + "range": [ + 756, + 760 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + "node": { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 748, + 752 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 756, + 760 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + "index": null, + "key": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "item", + "range": [ + 762, + 766 + ], + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "optional": false, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 767, + 770 + ], + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + "range": [ + 762, + 770 + ], + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 773, + 776 + ], + "loc": { + "start": { + "line": 35, + "column": 33 + }, + "end": { + "line": 35, + "column": 36 + } + } + } + ], + "else": null, + "range": [ + 740, + 785 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 45 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "item", + "range": [ + 762, + 766 + ], + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "from": "function", + "init": null, + "resolved": { + "type": "Identifier", + "name": "item", + "range": [ + 756, + 760 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 20 + } + } + } + } + ] + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "item", + "range": [ + 762, + 766 + ], + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "from": "function", + "init": null, + "resolved": { + "type": "Identifier", + "name": "item", + "range": [ + 756, + 760 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 20 + } + } + } + } + ], + "childScopes": [], + "through": [] + }, + { + "type": "function", + "variables": [ + { + "name": "item", + "identifiers": [ + { + "type": "Identifier", + "name": "item", + "range": [ + 802, + 806 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 20 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "item", + "range": [ + 802, + 806 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 20 + } + } + }, + "node": { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 794, + 798 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 802, + 806 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 20 + } + } + }, + "index": { + "type": "Identifier", + "name": "index", + "range": [ + 808, + 813 + ], + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 27 + } + } + }, + "key": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "item", + "range": [ + 815, + 819 + ], + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 33 + } + } + }, + "optional": false, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 820, + 823 + ], + "loc": { + "start": { + "line": 36, + "column": 34 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + "range": [ + 815, + 823 + ], + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 826, + 829 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 43 + } + } + } + ], + "else": null, + "range": [ + 786, + 838 + ], + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 52 + } + } + } + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "item", + "range": [ + 815, + 819 + ], + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 33 + } + } + }, + "from": "function", + "init": null, + "resolved": { + "type": "Identifier", + "name": "item", + "range": [ + 802, + 806 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 20 + } + } + } + } + ] + }, + { + "name": "index", + "identifiers": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 808, + 813 + ], + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 27 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "index", + "range": [ + 808, + 813 + ], + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 27 + } + } + }, + "node": { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 794, + 798 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 802, + 806 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 20 + } + } + }, + "index": { + "type": "Identifier", + "name": "index", + "range": [ + 808, + 813 + ], + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 27 + } + } + }, + "key": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "item", + "range": [ + 815, + 819 + ], + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 33 + } + } + }, + "optional": false, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 820, + 823 + ], + "loc": { + "start": { + "line": 36, + "column": 34 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + "range": [ + 815, + 823 + ], + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 826, + 829 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 43 + } + } + } + ], + "else": null, + "range": [ + 786, + 838 + ], + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 52 + } + } + } + } + ], + "references": [] + } + ], + "references": [ + { + "identifier": { + "type": "Identifier", + "name": "item", + "range": [ + 815, + 819 + ], + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 33 + } + } + }, + "from": "function", + "init": null, + "resolved": { + "type": "Identifier", + "name": "item", + "range": [ + 802, + 806 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 20 + } + } + } + } + ], + "childScopes": [], + "through": [] + }, + { + "type": "function", + "variables": [ + { + "name": "item", + "identifiers": [ + { + "type": "Identifier", + "name": "item", + "range": [ + 855, + 859 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 20 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "item", + "range": [ + 855, + 859 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 20 + } + } + }, + "node": { + "type": "SvelteEachBlock", + "expression": { + "type": "Identifier", + "name": "list", + "range": [ + 847, + 851 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "context": { + "type": "Identifier", + "name": "item", + "range": [ + 855, + 859 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 20 + } + } + }, + "index": null, + "key": null, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 861, + 864 + ], + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 25 + } + } + } + ], + "else": { + "type": "SvelteElseBlock", + "elseif": false, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 873, + 876 + ], + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 37 + } + } + } + ], + "range": [ + 864, + 876 + ], + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, + "range": [ + 839, + 885 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 46 + } + } + } + } + ], + "references": [] + } + ], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "function", + "variables": [ + { + "name": "name", + "identifiers": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 919, + 923 + ], + "loc": { + "start": { + "line": 39, + "column": 32 + }, + "end": { + "line": 39, + "column": 36 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "name", + "range": [ + 919, + 923 + ], + "loc": { + "start": { + "line": 39, + "column": 32 + }, + "end": { + "line": 39, + "column": 36 + } + } + }, + "node": { + "type": "SvelteAwaitThenBlock", + "awaitThen": false, + "value": { + "type": "Identifier", + "name": "name", + "range": [ + 919, + 923 + ], + "loc": { + "start": { + "line": 39, + "column": 32 + }, + "end": { + "line": 39, + "column": 36 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 925, + 928 + ], + "loc": { + "start": { + "line": 39, + "column": 38 + }, + "end": { + "line": 39, + "column": 41 + } + } + } + ], + "range": [ + 911, + 928 + ], + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 41 + } + } + } + } + ], + "references": [] + } + ], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "function", + "variables": [ + { + "name": "name", + "identifiers": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 937, + 941 + ], + "loc": { + "start": { + "line": 39, + "column": 50 + }, + "end": { + "line": 39, + "column": 54 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "name", + "range": [ + 937, + 941 + ], + "loc": { + "start": { + "line": 39, + "column": 50 + }, + "end": { + "line": 39, + "column": 54 + } + } + }, + "node": { + "type": "SvelteAwaitCatchBlock", + "awaitCatch": false, + "error": { + "type": "Identifier", + "name": "name", + "range": [ + 937, + 941 + ], + "loc": { + "start": { + "line": 39, + "column": 50 + }, + "end": { + "line": 39, + "column": 54 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 943, + 946 + ], + "loc": { + "start": { + "line": 39, + "column": 56 + }, + "end": { + "line": 39, + "column": 59 + } + } + } + ], + "range": [ + 928, + 946 + ], + "loc": { + "start": { + "line": 39, + "column": 41 + }, + "end": { + "line": 39, + "column": 59 + } + } + } + } + ], + "references": [] + } + ], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "function", + "variables": [ + { + "name": "name", + "identifiers": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 989, + 993 + ], + "loc": { + "start": { + "line": 40, + "column": 32 + }, + "end": { + "line": 40, + "column": 36 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "name", + "range": [ + 989, + 993 + ], + "loc": { + "start": { + "line": 40, + "column": 32 + }, + "end": { + "line": 40, + "column": 36 + } + } + }, + "node": { + "type": "SvelteAwaitThenBlock", + "awaitThen": false, + "value": { + "type": "Identifier", + "name": "name", + "range": [ + 989, + 993 + ], + "loc": { + "start": { + "line": 40, + "column": 32 + }, + "end": { + "line": 40, + "column": 36 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 995, + 998 + ], + "loc": { + "start": { + "line": 40, + "column": 38 + }, + "end": { + "line": 40, + "column": 41 + } + } + } + ], + "range": [ + 981, + 998 + ], + "loc": { + "start": { + "line": 40, + "column": 24 + }, + "end": { + "line": 40, + "column": 41 + } + } + } + } + ], + "references": [] + } + ], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "function", + "variables": [ + { + "name": "name", + "identifiers": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 1034, + 1038 + ], + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 29 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "name", + "range": [ + 1034, + 1038 + ], + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 29 + } + } + }, + "node": { + "type": "SvelteAwaitThenBlock", + "awaitThen": true, + "value": { + "type": "Identifier", + "name": "name", + "range": [ + 1034, + 1038 + ], + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 29 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 1040, + 1043 + ], + "loc": { + "start": { + "line": 41, + "column": 31 + }, + "end": { + "line": 41, + "column": 34 + } + } + } + ], + "range": [ + 1009, + 1043 + ], + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 41, + "column": 34 + } + } + } + } + ], + "references": [] + } + ], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "function", + "variables": [ + { + "name": "name", + "identifiers": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 1080, + 1084 + ], + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 30 + } + } + } + ], + "defs": [ + { + "type": "Parameter", + "name": { + "type": "Identifier", + "name": "name", + "range": [ + 1080, + 1084 + ], + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 30 + } + } + }, + "node": { + "type": "SvelteAwaitCatchBlock", + "awaitCatch": true, + "error": { + "type": "Identifier", + "name": "name", + "range": [ + 1080, + 1084 + ], + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 30 + } + } + }, + "children": [ + { + "type": "SvelteText", + "value": "...", + "range": [ + 1086, + 1089 + ], + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 35 + } + } + } + ], + "range": [ + 1054, + 1089 + ], + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 35 + } + } + } + } + ], + "references": [] + } + ], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + }, + { + "type": "block", + "variables": [], + "references": [], + "childScopes": [], + "through": [] + } + ], + "through": [] + } + ], + "through": [] +} \ No newline at end of file From d7755c465a535e3fd1406e3900047f370414b872 Mon Sep 17 00:00:00 2001 From: ota-meshi Date: Wed, 22 Nov 2023 10:30:14 +0900 Subject: [PATCH 2/2] update --- .changeset/tasty-ants-ring.md | 5 + .../parser/ast/space-in-blocks-input.svelte | 2 - ...space-in-blocks-no-unused-vars-result.json | 26 +- .../parser/ast/space-in-blocks-output.json | 4821 ++++++++--------- .../ast/space-in-blocks-scope-output.json | 2554 +++++---- 5 files changed, 3580 insertions(+), 3828 deletions(-) create mode 100644 .changeset/tasty-ants-ring.md diff --git a/.changeset/tasty-ants-ring.md b/.changeset/tasty-ants-ring.md new file mode 100644 index 00000000..cec9870a --- /dev/null +++ b/.changeset/tasty-ants-ring.md @@ -0,0 +1,5 @@ +--- +"svelte-eslint-parser": patch +--- + +fix: incorrect location for `{ #await expr then v }` with spaces diff --git a/tests/fixtures/parser/ast/space-in-blocks-input.svelte b/tests/fixtures/parser/ast/space-in-blocks-input.svelte index e6d19dcd..6ed8d752 100644 --- a/tests/fixtures/parser/ast/space-in-blocks-input.svelte +++ b/tests/fixtures/parser/ast/space-in-blocks-input.svelte @@ -1,6 +1,4 @@