svelte-parse
Version:
An increidbly relaxed svelte-parser
89 lines (88 loc) • 1.41 kB
JSON
{
"type": "root",
"children": [
{
"type": "svelteElement",
"tagName": "textarea",
"properties": [
{
"type": "svelteProperty",
"name": "readonly",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 1,
"column": 20,
"offset": 19
},
"end": {
"line": 1,
"column": 30,
"offset": 29
}
},
"expression": {
"type": "svelteExpression",
"value": "readonly",
"position": {
"start": {
"line": 1,
"column": 21,
"offset": 20
},
"end": {
"line": 1,
"column": 29,
"offset": 28
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 1,
"column": 11,
"offset": 10
},
"end": {
"line": 1,
"column": 30,
"offset": 29
}
}
}
],
"selfClosing": false,
"children": [],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 42,
"offset": 41
}
}
}
],
"position": {
"start": {
"column": 1,
"line": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 42,
"offset": 41
}
}
}