swc/css/parser/tests/fixture/esbuild/misc/866Law8W0FQas7QMxFjUbw/output.json

115 lines
2.5 KiB
JSON
Raw Normal View History

2021-08-19 08:16:32 +03:00
{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 19,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 0,
"end": 19,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"selectors": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 1,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 1,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": {
"type": "NamespacedName",
"span": {
"start": 0,
"end": 1,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"prefix": null,
"name": {
"type": "Text",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"value": "a"
}
},
"subclassSelectors": []
}
]
}
],
"block": {
"type": "DeclBlock",
"span": {
"start": 2,
"end": 19,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"items": [
2021-08-19 08:16:32 +03:00
{
"type": "Property",
"span": {
"start": 4,
"end": 17,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 4,
"end": 9,
"ctxt": 0
},
"value": "value"
},
"values": [
{
"type": "UnitValue",
"span": {
"start": 11,
"end": 17,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 11,
"end": 13,
"ctxt": 0
},
"value": 10.0
},
"unit": {
"span": {
"start": 13,
"end": 17,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"kind": "x,"
}
}
],
"important": null
}
]
}
}
]
}