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/element-with-mustache/output.json

44 lines
646 B

8 years ago
{
"hash": 1265376132,
8 years ago
"html": {
"start": 0,
"end": 22,
8 years ago
"type": "Fragment",
"children": [
{
"start": 0,
"end": 22,
8 years ago
"type": "Element",
"name": "h1",
"attributes": [],
"children": [
{
"start": 4,
"end": 10,
"type": "Text",
"data": "hello "
},
{
"start": 10,
"end": 16,
8 years ago
"type": "MustacheTag",
"expression": {
"type": "Identifier",
"start": 11,
"end": 15,
8 years ago
"name": "name"
}
},
{
"start": 16,
"end": 17,
8 years ago
"type": "Text",
"data": "!"
}
]
}
]
},
"css": null,
"js": null
}