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/packages/svelte/tests/parser-legacy/samples/attribute-multiple/output.json

73 lines
1.1 KiB

{
"html": {
"type": "Fragment",
"start": 0,
"end": 28,
"children": [
{
"type": "Element",
"start": 0,
"end": 28,
"name": "div",
"attributes": [
{
"type": "Attribute",
"start": 5,
"end": 11,
"name": "id",
"name_loc": {
"start": {
"line": 1,
"column": 5,
"character": 5
},
"end": {
"line": 1,
"column": 7,
"character": 7
}
},
"value": [
{
"start": 9,
"end": 10,
"type": "Text",
"raw": "x",
"data": "x"
}
]
},
{
"type": "Attribute",
"start": 12,
"end": 21,
"name": "class",
"name_loc": {
"start": {
"line": 1,
"column": 12,
"character": 12
},
"end": {
"line": 1,
"column": 17,
"character": 17
}
},
"value": [
{
"start": 19,
"end": 20,
"type": "Text",
"raw": "y",
"data": "y"
}
]
}
],
"children": []
}
]
}
}