swc/css/parser/tests/fixture/esbuild/misc/qmXSF9N8euK5gfPoFGmV_Q/output.json
2021-10-27 23:15:11 +09:00

102 lines
2.2 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 20,
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 0,
"end": 20,
"ctxt": 0
},
"selectors": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": {
"type": "NamespacedName",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"prefix": null,
"name": {
"type": "Text",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"value": "a",
"raw": "a"
}
},
"subclassSelectors": []
}
]
}
],
"block": {
"type": "Block",
"span": {
"start": 2,
"end": 20,
"ctxt": 0
},
"items": [
{
"type": "Declaration",
"span": {
"start": 4,
"end": 18,
"ctxt": 0
},
"property": {
"type": "Text",
"span": {
"start": 4,
"end": 9,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "HashValue",
"span": {
"start": 11,
"end": 18,
"ctxt": 0
},
"value": "AABBCC",
"raw": "AABBCC"
}
],
"important": null
}
]
}
}
]
}