svelte-parse
Version:
An increidbly relaxed svelte-parser
89 lines (88 loc) • 1.28 kB
JSON
{
"type": "root",
"children": [
{
"type": "svelteScript",
"tagName": "script",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n import TimeMenu from '@sveltekit/ui/TimeMenu';\n",
"position": {
"start": {
"line": 1,
"column": 9,
"offset": 8
},
"end": {
"line": 3,
"column": 1,
"offset": 58
}
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 3,
"column": 10,
"offset": 67
}
}
},
{
"type": "text",
"value": "\n\n",
"position": {
"start": {
"line": 3,
"column": 10,
"offset": 67
},
"end": {
"line": 5,
"column": 1,
"offset": 69
}
}
},
{
"type": "svelteComponent",
"tagName": "TimeMenu",
"properties": [],
"selfClosing": true,
"children": [],
"position": {
"start": {
"line": 5,
"column": 1,
"offset": 69
},
"end": {
"line": 5,
"column": 13,
"offset": 81
}
}
}
],
"position": {
"start": {
"column": 1,
"line": 1,
"offset": 0
},
"end": {
"line": 5,
"column": 13,
"offset": 81
}
}
}