mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
129 lines
3.1 KiB
JSON
129 lines
3.1 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "StyleRule",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 39,
|
|
"ctxt": 0
|
|
},
|
|
"selectors": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"selectors": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"hasNestPrefix": false,
|
|
"combinator": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "PseudoSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"isElement": false,
|
|
"name": {
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 10,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nth-child",
|
|
"raw": "nth-child"
|
|
},
|
|
"args": {
|
|
"type": "Tokens",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 13,
|
|
"ctxt": 0
|
|
},
|
|
"tokens": [
|
|
{
|
|
"span": {
|
|
"start": 11,
|
|
"end": 13,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Dimension": {
|
|
"value": 4.0,
|
|
"raw_value": "4",
|
|
"unit": "n",
|
|
"raw_unit": "n"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"block": {
|
|
"type": "DeclBlock",
|
|
"span": {
|
|
"start": 15,
|
|
"end": 39,
|
|
"ctxt": 0
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "Property",
|
|
"span": {
|
|
"start": 21,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 21,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"value": "margin-right",
|
|
"raw": "margin-right"
|
|
},
|
|
"values": [
|
|
{
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 35,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|