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/whitespace-normal/output.json

68 lines
1.1 KiB

{
"html": {
"start": 0,
"end": 65,
"type": "Fragment",
"children": [
{
"start": 0,
"end": 65,
"type": "Element",
"name": "h1",
"attributes": [],
"children": [
{
"start": 4,
"end": 10,
"type": "Text",
"data": "Hello "
},
{
"start": 10,
"end": 35,
"type": "Element",
"name": "strong",
"attributes": [],
"children": [
{
"start": 18,
"end": 24,
"type": "MustacheTag",
"expression": {
"type": "Identifier",
"start": 19,
"end": 23,
"name": "name"
}
},
{
"start": 24,
"end": 26,
"type": "Text",
"data": "! "
}
]
},
{
"start": 35,
"end": 60,
"type": "Element",
"name": "span",
"attributes": [],
"children": [
{
"start": 41,
"end": 53,
"type": "Text",
"data": "How are you?"
}
]
}
]
}
]
},
"css": null,
"instance": null,
"module": null
}