swc/css/parser/tests/fixture/esbuild/misc/avMO0PRST3qaooxANKWiIw/output.json

142 lines
3.1 KiB
JSON
Raw Normal View History

2021-08-19 08:16:32 +03:00
{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 21,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 0,
"end": 21,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"selectors": {
"type": "SelectorList",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"children": [
{
"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",
2021-08-19 08:16:32 +03:00
"span": {
"start": 0,
2021-08-19 08:16:32 +03:00
"end": 5,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 1,
"end": 5,
"ctxt": 0
},
"value": "decl",
"raw": "decl"
}
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": 6,
"end": 21,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"items": [
2021-08-19 08:16:32 +03:00
{
"type": "Declaration",
2021-08-19 08:16:32 +03:00
"span": {
"start": 8,
"end": 12,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"property": {
2021-08-19 08:16:32 +03:00
"type": "Text",
"span": {
"start": 8,
"end": 9,
"ctxt": 0
},
"value": "a",
"raw": "a"
2021-08-19 08:16:32 +03:00
},
"value": [
2021-08-19 08:16:32 +03:00
{
"type": "Text",
"span": {
"start": 11,
"end": 12,
"ctxt": 0
},
"value": "b",
"raw": "b"
2021-08-19 08:16:32 +03:00
}
],
"important": null
},
{
"type": "Declaration",
2021-08-19 08:16:32 +03:00
"span": {
"start": 14,
"end": 18,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"property": {
2021-08-19 08:16:32 +03:00
"type": "Text",
"span": {
"start": 14,
"end": 15,
"ctxt": 0
},
"value": "c",
"raw": "c"
2021-08-19 08:16:32 +03:00
},
"value": [
2021-08-19 08:16:32 +03:00
{
"type": "Text",
"span": {
"start": 17,
"end": 18,
"ctxt": 0
},
"value": "d",
"raw": "d"
2021-08-19 08:16:32 +03:00
}
],
"important": null
}
]
}
}
]
}