swc/crates/swc_css_parser/tests/line-comment/css-in-js/1/output.json
2021-11-12 19:37:05 +09:00

109 lines
2.4 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 16,
"end": 40,
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 16,
"end": 39,
"ctxt": 0
},
"selectors": {
"type": "SelectorList",
"span": {
"start": 16,
"end": 19,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 16,
"end": 19,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 16,
"end": 19,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TypeSelector",
"span": {
"start": 16,
"end": 19,
"ctxt": 0
},
"prefix": null,
"name": {
"type": "Identifier",
"span": {
"start": 16,
"end": 19,
"ctxt": 0
},
"value": "foo",
"raw": "foo"
}
},
"subclassSelectors": []
}
]
}
]
},
"block": {
"type": "Block",
"span": {
"start": 20,
"end": 39,
"ctxt": 0
},
"items": [
{
"type": "Declaration",
"span": {
"start": 26,
"end": 36,
"ctxt": 0
},
"property": {
"type": "Identifier",
"span": {
"start": 26,
"end": 31,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Identifier",
"span": {
"start": 33,
"end": 36,
"ctxt": 0
},
"value": "red",
"raw": "red"
}
],
"important": null
}
]
}
}
]
}