mirror of https://github.com/sveltejs/svelte
112 lines
1.7 KiB
112 lines
1.7 KiB
{
|
|
"html": {
|
|
"start": 30,
|
|
"end": 48,
|
|
"type": "Fragment",
|
|
"children": [
|
|
{
|
|
"start": 28,
|
|
"end": 30,
|
|
"type": "Text",
|
|
"raw": "\n\n",
|
|
"data": "\n\n"
|
|
},
|
|
{
|
|
"start": 30,
|
|
"end": 48,
|
|
"type": "InlineComponent",
|
|
"name": "Widget",
|
|
"attributes": [
|
|
{
|
|
"start": 38,
|
|
"end": 46,
|
|
"type": "Binding",
|
|
"name": "foo",
|
|
"modifiers": [],
|
|
"expression": {
|
|
"start": 43,
|
|
"end": 46,
|
|
"type": "Identifier",
|
|
"name": "foo"
|
|
}
|
|
}
|
|
],
|
|
"children": []
|
|
}
|
|
]
|
|
},
|
|
"instance": {
|
|
"type": "Script",
|
|
"start": 0,
|
|
"end": 28,
|
|
"context": "default",
|
|
"content": {
|
|
"type": "Program",
|
|
"start": 8,
|
|
"end": 19,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 0
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 10,
|
|
"end": 18,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 1
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 9
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 14,
|
|
"end": 17,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 8
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 14,
|
|
"end": 17,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 8
|
|
}
|
|
},
|
|
"name": "foo"
|
|
},
|
|
"init": null
|
|
}
|
|
],
|
|
"kind": "let"
|
|
}
|
|
],
|
|
"sourceType": "module"
|
|
}
|
|
}
|
|
} |