mirror of https://github.com/sveltejs/svelte
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.
62 lines
933 B
62 lines
933 B
8 years ago
|
{
|
||
|
"html": {
|
||
|
"start": 0,
|
||
|
"end": 56,
|
||
|
"type": "Fragment",
|
||
|
"children": [
|
||
|
{
|
||
|
"start": 0,
|
||
|
"end": 56,
|
||
|
"type": "IfBlock",
|
||
|
"expression": {
|
||
|
"start": 6,
|
||
|
"end": 9,
|
||
|
"type": "Identifier",
|
||
|
"name": "foo"
|
||
|
},
|
||
|
"children": [
|
||
|
{
|
||
|
"start": 13,
|
||
|
"end": 23,
|
||
|
"type": "Element",
|
||
|
"name": "p",
|
||
|
"attributes": [],
|
||
|
"children": [
|
||
|
{
|
||
|
"start": 16,
|
||
|
"end": 19,
|
||
|
"type": "Text",
|
||
|
"data": "foo"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"else": {
|
||
|
"start": 32,
|
||
|
"end": 49,
|
||
|
"type": "ElseBlock",
|
||
|
"children": [
|
||
|
{
|
||
|
"start": 34,
|
||
|
"end": 48,
|
||
|
"type": "Element",
|
||
|
"name": "p",
|
||
|
"attributes": [],
|
||
|
"children": [
|
||
|
{
|
||
|
"start": 37,
|
||
|
"end": 44,
|
||
|
"type": "Text",
|
||
|
"data": "not foo"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"css": null,
|
||
|
"js": null
|
||
|
}
|