mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
363 lines
9.5 KiB
JSON
363 lines
9.5 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 137,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 136,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 3,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 3,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 3,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": {
|
|
"type": "TagNameSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 3,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "WqName",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 3,
|
|
"ctxt": 0
|
|
},
|
|
"prefix": null,
|
|
"value": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 3,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"raw": "div"
|
|
}
|
|
}
|
|
},
|
|
"subclassSelectors": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 4,
|
|
"end": 136,
|
|
"ctxt": 0
|
|
},
|
|
"name": "{",
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 10,
|
|
"end": 34,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 10,
|
|
"end": 19,
|
|
"ctxt": 0
|
|
},
|
|
"value": "transform",
|
|
"raw": "transform"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Function",
|
|
"span": {
|
|
"start": 21,
|
|
"end": 34,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 21,
|
|
"end": 27,
|
|
"ctxt": 0
|
|
},
|
|
"value": "rotate",
|
|
"raw": "rotate"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Angle",
|
|
"span": {
|
|
"start": 28,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 28,
|
|
"end": 30,
|
|
"ctxt": 0
|
|
},
|
|
"value": 45.0,
|
|
"raw": "45"
|
|
},
|
|
"unit": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"value": "deg",
|
|
"raw": "deg"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 40,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 40,
|
|
"end": 49,
|
|
"ctxt": 0
|
|
},
|
|
"value": "transform",
|
|
"raw": "transform"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Function",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 57,
|
|
"ctxt": 0
|
|
},
|
|
"value": "rotate",
|
|
"raw": "rotate"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Angle",
|
|
"span": {
|
|
"start": 58,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 58,
|
|
"end": 61,
|
|
"ctxt": 0
|
|
},
|
|
"value": -50.0,
|
|
"raw": "-50"
|
|
},
|
|
"unit": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 61,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"value": "grad",
|
|
"raw": "grad"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 72,
|
|
"end": 100,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 72,
|
|
"end": 81,
|
|
"ctxt": 0
|
|
},
|
|
"value": "transform",
|
|
"raw": "transform"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Function",
|
|
"span": {
|
|
"start": 83,
|
|
"end": 100,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 83,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"value": "rotate",
|
|
"raw": "rotate"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Angle",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 99,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 96,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.1416,
|
|
"raw": "3.1416"
|
|
},
|
|
"unit": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 96,
|
|
"end": 99,
|
|
"ctxt": 0
|
|
},
|
|
"value": "rad",
|
|
"raw": "rad"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 106,
|
|
"end": 133,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 106,
|
|
"end": 115,
|
|
"ctxt": 0
|
|
},
|
|
"value": "transform",
|
|
"raw": "transform"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Function",
|
|
"span": {
|
|
"start": 117,
|
|
"end": 133,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 117,
|
|
"end": 123,
|
|
"ctxt": 0
|
|
},
|
|
"value": "rotate",
|
|
"raw": "rotate"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Angle",
|
|
"span": {
|
|
"start": 124,
|
|
"end": 132,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 124,
|
|
"end": 128,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.75,
|
|
"raw": "1.75"
|
|
},
|
|
"unit": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 128,
|
|
"end": 132,
|
|
"ctxt": 0
|
|
},
|
|
"value": "turn",
|
|
"raw": "turn"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|