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/binding-shorthand/output.json

70 lines
1.1 KiB

{
"html": {
"start": 30,
"end": 48,
"type": "Fragment",
"children": [
{
"start": 28,
"end": 30,
"type": "Text",
"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": {
"start": 0,
"end": 28,
"context": "default",
"content": {
"type": "Program",
"start": 8,
"end": 19,
"body": [
{
"type": "VariableDeclaration",
"start": 10,
"end": 18,
"declarations": [
{
"type": "VariableDeclarator",
"start": 14,
"end": 17,
"id": {
"type": "Identifier",
"start": 14,
"end": 17,
"name": "foo"
},
"init": null
}
],
"kind": "let"
}
],
"sourceType": "module"
}
}
}