svelte-parse
Version:
An increidbly relaxed svelte-parser
70 lines (69 loc) • 960 B
JSON
{
"type": "root",
"children": [
{
"type": "text",
"value": "\n\n\t\t\t\t",
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 3,
"column": 5,
"offset": 6
}
}
},
{
"type": "svelteElement",
"tagName": "p",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "just chillin' over here",
"position": {
"start": {
"line": 3,
"column": 8,
"offset": 9
},
"end": {
"line": 3,
"column": 31,
"offset": 32
}
}
}
],
"position": {
"start": {
"line": 3,
"column": 5,
"offset": 6
},
"end": {
"line": 3,
"column": 35,
"offset": 36
}
}
}
],
"position": {
"start": {
"column": 1,
"line": 1,
"offset": 0
},
"end": {
"line": 3,
"column": 35,
"offset": 36
}
}
}