mirror of
https://github.com/swc-project/swc.git
synced 2024-12-11 16:21:51 +03:00
341 lines
9.1 KiB
JSON
341 lines
9.1 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 177,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 176,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 4,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 4,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 4,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": {
|
|
"type": "TagNameSelector",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 4,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "WqName",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 4,
|
|
"ctxt": 0
|
|
},
|
|
"prefix": null,
|
|
"value": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 4,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"raw": "div"
|
|
}
|
|
}
|
|
},
|
|
"subclassSelectors": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 5,
|
|
"end": 176,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 5,
|
|
"end": 6,
|
|
"ctxt": 0
|
|
},
|
|
"token": "LBrace"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 103,
|
|
"end": 142,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 103,
|
|
"end": 110,
|
|
"ctxt": 0
|
|
},
|
|
"value": "opacity",
|
|
"raw": "opacity"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Function",
|
|
"span": {
|
|
"start": 112,
|
|
"end": 142,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 112,
|
|
"end": 115,
|
|
"ctxt": 0
|
|
},
|
|
"value": "mix",
|
|
"raw": "mix"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Percentage",
|
|
"span": {
|
|
"start": 117,
|
|
"end": 120,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 117,
|
|
"end": 119,
|
|
"ctxt": 0
|
|
},
|
|
"value": 70.0,
|
|
"raw": "70"
|
|
}
|
|
},
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 121,
|
|
"end": 123,
|
|
"ctxt": 0
|
|
},
|
|
"value": "by",
|
|
"raw": "by"
|
|
},
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 124,
|
|
"end": 128,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ease",
|
|
"raw": "ease"
|
|
},
|
|
{
|
|
"type": "Delimiter",
|
|
"span": {
|
|
"start": 129,
|
|
"end": 130,
|
|
"ctxt": 0
|
|
},
|
|
"value": ";"
|
|
},
|
|
{
|
|
"type": "Percentage",
|
|
"span": {
|
|
"start": 131,
|
|
"end": 133,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 131,
|
|
"end": 132,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
},
|
|
{
|
|
"type": "Delimiter",
|
|
"span": {
|
|
"start": 134,
|
|
"end": 135,
|
|
"ctxt": 0
|
|
},
|
|
"value": ";"
|
|
},
|
|
{
|
|
"type": "Percentage",
|
|
"span": {
|
|
"start": 136,
|
|
"end": 140,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 136,
|
|
"end": 139,
|
|
"ctxt": 0
|
|
},
|
|
"value": 100.0,
|
|
"raw": "100"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 148,
|
|
"end": 173,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 148,
|
|
"end": 155,
|
|
"ctxt": 0
|
|
},
|
|
"value": "opacity",
|
|
"raw": "opacity"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Function",
|
|
"span": {
|
|
"start": 157,
|
|
"end": 173,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 157,
|
|
"end": 160,
|
|
"ctxt": 0
|
|
},
|
|
"value": "mix",
|
|
"raw": "mix"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Percentage",
|
|
"span": {
|
|
"start": 161,
|
|
"end": 164,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 161,
|
|
"end": 163,
|
|
"ctxt": 0
|
|
},
|
|
"value": 70.0,
|
|
"raw": "70"
|
|
}
|
|
},
|
|
{
|
|
"type": "Delimiter",
|
|
"span": {
|
|
"start": 164,
|
|
"end": 165,
|
|
"ctxt": 0
|
|
},
|
|
"value": ";"
|
|
},
|
|
{
|
|
"type": "Percentage",
|
|
"span": {
|
|
"start": 165,
|
|
"end": 167,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 165,
|
|
"end": 166,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
},
|
|
{
|
|
"type": "Delimiter",
|
|
"span": {
|
|
"start": 167,
|
|
"end": 168,
|
|
"ctxt": 0
|
|
},
|
|
"value": ";"
|
|
},
|
|
{
|
|
"type": "Percentage",
|
|
"span": {
|
|
"start": 168,
|
|
"end": 172,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 168,
|
|
"end": 171,
|
|
"ctxt": 0
|
|
},
|
|
"value": 100.0,
|
|
"raw": "100"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|