swc/css/parser/tests/fixture/esbuild/misc/avMO0PRST3qaooxANKWiIw/output.json
2021-10-27 03:38:05 +09:00

134 lines
2.9 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 21,
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 0,
"end": 21,
"ctxt": 0
},
"selectors": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 1,
"end": 5,
"ctxt": 0
},
"value": "decl",
"raw": "decl"
}
}
]
}
]
}
],
"block": {
"type": "Block",
"span": {
"start": 6,
"end": 21,
"ctxt": 0
},
"items": [
{
"type": "Declaration",
"span": {
"start": 8,
"end": 12,
"ctxt": 0
},
"property": {
"type": "Text",
"span": {
"start": 8,
"end": 9,
"ctxt": 0
},
"value": "a",
"raw": "a"
},
"value": [
{
"type": "Text",
"span": {
"start": 11,
"end": 12,
"ctxt": 0
},
"value": "b",
"raw": "b"
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 14,
"end": 18,
"ctxt": 0
},
"property": {
"type": "Text",
"span": {
"start": 14,
"end": 15,
"ctxt": 0
},
"value": "c",
"raw": "c"
},
"value": [
{
"type": "Text",
"span": {
"start": 17,
"end": 18,
"ctxt": 0
},
"value": "d",
"raw": "d"
}
],
"important": null
}
]
}
}
]
}