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

64 lines
1.0 KiB

{
"html": {
"start": 0,
"end": 66,
"type": "Fragment",
"children": [
{
"start": 0,
"end": 66,
"type": "EachBlock",
"expression": {
"start": 8,
"end": 15,
"type": "Identifier",
"name": "animals"
},
"context": "animal",
"index": "i",
"children": [
{
"start": 32,
"end": 56,
"type": "Element",
"name": "p",
"attributes": [],
"children": [
{
"start": 35,
"end": 40,
"type": "MustacheTag",
"expression": {
"start": 37,
"end": 38,
"type": "Identifier",
"name": "i"
}
},
{
"start": 40,
"end": 42,
"type": "Text",
"data": ": "
},
{
"start": 42,
"end": 52,
"type": "MustacheTag",
"expression": {
"start": 44,
"end": 50,
"type": "Identifier",
"name": "animal"
}
}
]
}
]
}
]
},
"css": null,
"js": null
}