mirror of https://github.com/sveltejs/svelte
80 lines
1.2 KiB
80 lines
1.2 KiB
{
|
|
"html": {
|
|
"start": 0,
|
|
"end": 62,
|
|
"type": "Fragment",
|
|
"children": [
|
|
{
|
|
"start": 0,
|
|
"end": 62,
|
|
"type": "InlineComponent",
|
|
"name": "svelte:component",
|
|
"attributes": [],
|
|
"children": [],
|
|
"expression": {
|
|
"type": "ConditionalExpression",
|
|
"start": 25,
|
|
"end": 40,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 40
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "Identifier",
|
|
"start": 25,
|
|
"end": 28,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 28
|
|
}
|
|
},
|
|
"name": "foo"
|
|
},
|
|
"consequent": {
|
|
"type": "Identifier",
|
|
"start": 31,
|
|
"end": 34,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 34
|
|
}
|
|
},
|
|
"name": "Foo"
|
|
},
|
|
"alternate": {
|
|
"type": "Identifier",
|
|
"start": 37,
|
|
"end": 40,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 40
|
|
}
|
|
},
|
|
"name": "Bar"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |