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.
40 lines
583 B
40 lines
583 B
5 years ago
|
{
|
||
|
"html": {
|
||
|
"start": 0,
|
||
|
"end": 38,
|
||
|
"type": "Fragment",
|
||
|
"children": [
|
||
|
{
|
||
|
"start": 0,
|
||
|
"end": 38,
|
||
|
"type": "Element",
|
||
|
"name": "button",
|
||
|
"attributes": [
|
||
|
{
|
||
|
"start": 8,
|
||
|
"end": 23,
|
||
|
"type": "EventHandler",
|
||
|
"name": "click",
|
||
|
"modifiers": [],
|
||
|
"expression": {
|
||
|
"type": "Identifier",
|
||
|
"start": 19,
|
||
|
"end": 22,
|
||
|
"name": "foo"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"children": [
|
||
|
{
|
||
|
"start": 24,
|
||
|
"end": 29,
|
||
|
"type": "Text",
|
||
|
"raw": "Click",
|
||
|
"data": "Click"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|