You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/parser/samples/self-reference/_actual-v2.json

47 lines
689 B

{
"hash": "1wh7lqr",
"html": {
"start": 0,
"end": 57,
"type": "Fragment",
"children": [
{
"start": 0,
"end": 17,
"type": "Text",
"data": "{#if depth > 1}\n\t"
},
{
"start": 17,
"end": 51,
"type": "Element",
"name": "svelte:self",
"attributes": [
{
"start": 30,
"end": 49,
"type": "Attribute",
"name": "depth",
"value": [
{
"start": 37,
"end": 48,
"type": "Text",
"data": "{depth - 1}"
}
]
}
],
"children": []
},
{
"start": 51,
"end": 57,
"type": "Text",
"data": "\n{/if}"
}
]
},
"css": null,
"js": null
}