mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
225 lines
5.8 KiB
JSON
225 lines
5.8 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 75,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 74,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 7,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 7,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 7,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 7,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 7,
|
|
"ctxt": 0
|
|
},
|
|
"value": "style",
|
|
"raw": "style"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 74,
|
|
"ctxt": 0
|
|
},
|
|
"name": "{",
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 71,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 32,
|
|
"ctxt": 0
|
|
},
|
|
"value": "grid-template-columns",
|
|
"raw": "grid-template-columns"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Function",
|
|
"span": {
|
|
"start": 34,
|
|
"end": 50,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 34,
|
|
"end": 45,
|
|
"ctxt": 0
|
|
},
|
|
"value": "fit-content",
|
|
"raw": "fit-content"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Length",
|
|
"span": {
|
|
"start": 46,
|
|
"end": 49,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 46,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"value": 8.0,
|
|
"raw": "8"
|
|
},
|
|
"unit": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 47,
|
|
"end": 49,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ch",
|
|
"raw": "ch"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "Function",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 67,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
},
|
|
"value": "fit-content",
|
|
"raw": "fit-content"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Length",
|
|
"span": {
|
|
"start": 63,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 63,
|
|
"end": 64,
|
|
"ctxt": 0
|
|
},
|
|
"value": 8.0,
|
|
"raw": "8"
|
|
},
|
|
"unit": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 64,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ch",
|
|
"raw": "ch"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "Flex",
|
|
"span": {
|
|
"start": 68,
|
|
"end": 71,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 68,
|
|
"end": 69,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
},
|
|
"unit": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 69,
|
|
"end": 71,
|
|
"ctxt": 0
|
|
},
|
|
"value": "fr",
|
|
"raw": "fr"
|
|
}
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|