swc/crates/swc_css_parser/tests/line-comment/css-in-js/11/output.json

126 lines
2.8 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 9,
"end": 31,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 9,
"end": 30,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"value": "a",
"raw": "a"
}
}
},
"subclassSelectors": []
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 11,
"end": 30,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 11,
"end": 12,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 17,
"end": 27,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 17,
"end": 22,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Ident",
"span": {
"start": 24,
"end": 27,
"ctxt": 0
},
"value": "red",
"raw": "red"
}
],
"important": null
}
]
}
}
]
}