swc/crates/swc_css_parser/tests/line-comment/css-in-js/5/output.json
2022-01-31 05:02:30 +00:00

109 lines
2.4 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 32,
"end": 56,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 32,
"end": 55,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 32,
"end": 35,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 32,
"end": 35,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 32,
"end": 35,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TypeSelector",
"span": {
"start": 32,
"end": 35,
"ctxt": 0
},
"prefix": null,
"name": {
"type": "Identifier",
"span": {
"start": 32,
"end": 35,
"ctxt": 0
},
"value": "foo",
"raw": "foo"
}
},
"subclassSelectors": []
}
]
}
]
},
"block": {
"type": "Block",
"span": {
"start": 36,
"end": 55,
"ctxt": 0
},
"value": [
{
"type": "Declaration",
"span": {
"start": 42,
"end": 52,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 42,
"end": 47,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Identifier",
"span": {
"start": 49,
"end": 52,
"ctxt": 0
},
"value": "red",
"raw": "red"
}
],
"important": null
}
]
}
}
]
}