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

111 lines
2.4 KiB
JSON

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