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/attribute-dynamic/output.json

64 lines
1.0 KiB

{
"html": {
"start": 0,
"end": 42,
"type": "Fragment",
"children": [
{
"start": 0,
"end": 42,
"type": "Element",
"name": "div",
"attributes": [
{
"start": 5,
"end": 28,
"type": "Attribute",
"name": "style",
"value": [
{
"start": 12,
"end": 19,
"type": "Text",
"data": "color: "
},
{
"start": 19,
"end": 26,
"type": "MustacheTag",
"expression": {
"type": "Identifier",
"start": 20,
"end": 25,
"name": "color"
}
},
{
"start": 26,
"end": 27,
"type": "Text",
"data": ";"
}
]
}
],
"children": [
{
"start": 29,
"end": 36,
"type": "MustacheTag",
"expression": {
"type": "Identifier",
"start": 30,
"end": 35,
"name": "color"
}
}
]
}
]
},
"css": null,
"instance": null,
"module": null
}