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/each-block/output.json

68 lines
1.1 KiB

8 years ago
{
"html": {
"start": 0,
"end": 50,
8 years ago
"type": "Fragment",
"children": [
{
"start": 0,
"end": 50,
8 years ago
"type": "EachBlock",
"expression": {
"type": "Identifier",
"start": 7,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 14
}
},
8 years ago
"name": "animals"
},
"children": [
{
"start": 27,
"end": 42,
8 years ago
"type": "Element",
"name": "p",
"attributes": [],
"children": [
{
"start": 30,
"end": 38,
8 years ago
"type": "MustacheTag",
"expression": {
"type": "Identifier",
"start": 31,
"end": 37,
"loc": {
"start": {
"line": 2,
"column": 5
},
"end": {
"line": 2,
"column": 11
}
},
8 years ago
"name": "animal"
}
}
]
}
],
7 years ago
"context": {
"start": 18,
"end": 24,
"type": "Identifier",
"name": "animal"
}
8 years ago
}
]
}
}