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
626 B

8 years ago
{
"html": {
"start": 0,
"end": 24,
"type": "Fragment",
"children": [
{
"start": 0,
"end": 24,
"type": "Element",
"name": "h1",
"attributes": [],
"children": [
{
"start": 4,
"end": 10,
"type": "Text",
"data": "hello "
},
{
"start": 10,
"end": 18,
"type": "MustacheTag",
"expression": {
"start": 12,
"end": 16,
"type": "Identifier",
"name": "name"
}
},
{
"start": 18,
"end": 19,
"type": "Text",
"data": "!"
}
]
}
]
},
"css": null,
"js": null
}