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-style-directive-m.../output.json

63 lines
1014 B

{
"html": {
"type": "Fragment",
"start": 0,
"end": 43,
"children": [
{
"type": "Element",
"start": 0,
"end": 43,
"name": "div",
"attributes": [
{
"start": 5,
"end": 36,
"type": "StyleDirective",
"name": "color",
"name_loc": {
"start": {
"line": 1,
"column": 5,
"character": 5
},
"end": {
"line": 1,
"column": 26,
"character": 26
}
},
"modifiers": [
"important"
],
"value": [
{
"type": "MustacheTag",
"start": 27,
"end": 36,
"expression": {
"type": "Identifier",
"start": 28,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 28
},
"end": {
"line": 1,
"column": 35
}
},
"name": "myColor"
}
}
]
}
],
"children": []
}
]
}
}