swc/crates/swc_css_parser/tests/recovery/whitespaces/output.json

158 lines
3.5 KiB
JSON
Raw Normal View History

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 67,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 0,
"end": 66,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TypeSelector",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"prefix": null,
"name": {
"type": "Identifier",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"value": "a",
"raw": "a"
}
},
"subclassSelectors": []
}
]
}
]
},
"block": {
"type": "Block",
"span": {
"start": 2,
"end": 66,
"ctxt": 0
},
"value": [
{
"type": "Declaration",
"span": {
"start": 8,
"end": 14,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 8,
"end": 12,
"ctxt": 0
},
"value": "prop",
"raw": "prop"
},
"value": [],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 20,
"end": 29,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 20,
"end": 24,
"ctxt": 0
},
"value": "prop",
"raw": "prop"
},
"value": [],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 35,
"end": 42,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 35,
"end": 39,
"ctxt": 0
},
"value": "prop",
"raw": "prop"
},
"value": [],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 48,
"end": 63,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 48,
"end": 52,
"ctxt": 0
},
"value": "prop",
"raw": "prop"
},
"value": [],
"important": null
}
]
}
}
]
}