UNPKG

svelte-parse

Version:

An increidbly relaxed svelte-parser

89 lines (88 loc) 1.28 kB
{ "type": "root", "children": [ { "type": "svelteScript", "tagName": "script", "properties": [], "selfClosing": false, "children": [ { "type": "text", "value": "\n import Switch from '@sveltekit/ui/Switch';\n", "position": { "start": { "line": 1, "column": 9, "offset": 8 }, "end": { "line": 3, "column": 1, "offset": 54 } } } ], "position": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 3, "column": 10, "offset": 63 } } }, { "type": "text", "value": "\n\n", "position": { "start": { "line": 3, "column": 10, "offset": 63 }, "end": { "line": 5, "column": 1, "offset": 65 } } }, { "type": "svelteComponent", "tagName": "Switch", "properties": [], "selfClosing": false, "children": [], "position": { "start": { "line": 5, "column": 1, "offset": 65 }, "end": { "line": 5, "column": 18, "offset": 82 } } } ], "position": { "start": { "column": 1, "line": 1, "offset": 0 }, "end": { "line": 5, "column": 18, "offset": 82 } } }