swc/css/parser/tests/fixture/esbuild/misc/EC04FJYJG-jwsR3Sbo9Rfg/output.json

97 lines
2.2 KiB
JSON
Raw Normal View History

2021-08-19 08:16:32 +03:00
{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 10,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 0,
"end": 10,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"selectors": {
"type": "SelectorList",
"span": {
"start": 0,
"end": 7,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 7,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
2021-08-19 08:16:32 +03:00
"span": {
"start": 0,
"end": 7,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": {
"type": "NamespacedName",
2021-08-19 08:16:32 +03:00
"span": {
"start": 0,
"end": 3,
"ctxt": 0
},
"prefix": null,
"name": {
2021-08-19 08:16:32 +03:00
"type": "Text",
"span": {
"start": 0,
"end": 3,
"ctxt": 0
},
"value": "div",
"raw": "div"
}
},
"subclassSelectors": [
{
"type": "IdSelector",
2021-08-19 08:16:32 +03:00
"span": {
"start": 3,
"end": 7,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 3,
"end": 7,
"ctxt": 0
},
"value": "-0",
"raw": "\\-0"
}
2021-08-19 08:16:32 +03:00
}
]
}
]
}
]
},
2021-08-19 08:16:32 +03:00
"block": {
"type": "Block",
2021-08-19 08:16:32 +03:00
"span": {
"start": 8,
"end": 10,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"items": []
2021-08-19 08:16:32 +03:00
}
}
]
}