svelte-parse
Version:
An increidbly relaxed svelte-parser
58 lines (57 loc) • 829 B
JSON
{
"type": "root",
"children": [
{
"type": "svelteElement",
"tagName": "input",
"properties": [
{
"type": "svelteDirective",
"name": "use",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 1,
"column": 8,
"offset": 7
},
"end": {
"line": 1,
"column": 21,
"offset": 20
}
},
"specifier": "autofocus"
}
],
"selfClosing": true,
"children": [],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 22,
"offset": 21
}
}
}
],
"position": {
"start": {
"column": 1,
"line": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 22,
"offset": 21
}
}
}