svelte-parse
Version:
An increidbly relaxed svelte-parser
75 lines (74 loc) • 1.08 kB
JSON
{
"type": "root",
"children": [
{
"type": "svelteElement",
"tagName": "div",
"properties": [
{
"type": "svelteDirective",
"name": "in",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 1,
"column": 6,
"offset": 5
},
"end": {
"line": 1,
"column": 13,
"offset": 12
}
},
"specifier": "fade"
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "fades in",
"position": {
"start": {
"line": 1,
"column": 14,
"offset": 13
},
"end": {
"line": 1,
"column": 22,
"offset": 21
}
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 28,
"offset": 27
}
}
}
],
"position": {
"start": {
"column": 1,
"line": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 28,
"offset": 27
}
}
}