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

111 lines
2.4 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 17,
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 0,
"end": 17,
"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": 17,
"ctxt": 0
},
"items": [
{
"type": "Declaration",
"span": {
"start": 4,
"end": 15,
"ctxt": 0
},
"property": {
"type": "Text",
"span": {
"start": 4,
"end": 9,
"ctxt": 0
},
"value": "value",
"raw": "value"
},
"value": [
{
"type": "AtTextValue",
"span": {
"start": 11,
"end": 15,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 11,
"end": 15,
"ctxt": 0
},
"value": "x,",
"raw": "x\\,"
},
"block": null
}
],
"important": null
}
]
}
}
]
}