mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
223 lines
5.8 KiB
JSON
223 lines
5.8 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 67,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "StyleRule",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"selectors": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 16,
|
|
"ctxt": 0
|
|
},
|
|
"selectors": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 2,
|
|
"ctxt": 0
|
|
},
|
|
"hasNestPrefix": false,
|
|
"combinator": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 2,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 2,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"raw": "a"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 3,
|
|
"end": 16,
|
|
"ctxt": 0
|
|
},
|
|
"hasNestPrefix": false,
|
|
"combinator": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "PseudoSelector",
|
|
"span": {
|
|
"start": 3,
|
|
"end": 16,
|
|
"ctxt": 0
|
|
},
|
|
"isElement": false,
|
|
"name": {
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 4,
|
|
"end": 10,
|
|
"ctxt": 0
|
|
},
|
|
"value": "global",
|
|
"raw": "global"
|
|
},
|
|
"args": {
|
|
"type": "Tokens",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 15,
|
|
"ctxt": 0
|
|
},
|
|
"tokens": [
|
|
{
|
|
"span": {
|
|
"start": 11,
|
|
"end": 12,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Delim": {
|
|
"value": ">"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"span": {
|
|
"start": 12,
|
|
"end": 13,
|
|
"ctxt": 0
|
|
},
|
|
"token": "WhiteSpace"
|
|
},
|
|
{
|
|
"span": {
|
|
"start": 13,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Delim": {
|
|
"value": "."
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"span": {
|
|
"start": 14,
|
|
"end": 15,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Ident": {
|
|
"value": "b",
|
|
"raw": "b"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"block": {
|
|
"type": "Block",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 23,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
},
|
|
"property": {
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 23,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"value": "flex-basis",
|
|
"raw": "flex-basis"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Tokens",
|
|
"span": {
|
|
"start": 34,
|
|
"end": 63,
|
|
"ctxt": 0
|
|
},
|
|
"tokens": [
|
|
{
|
|
"span": {
|
|
"start": 34,
|
|
"end": 35,
|
|
"ctxt": 0
|
|
},
|
|
"token": "WhiteSpace"
|
|
},
|
|
{
|
|
"span": {
|
|
"start": 35,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Ident": {
|
|
"value": "__styled-jsx-placeholder__0",
|
|
"raw": "__styled-jsx-placeholder__0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"span": {
|
|
"start": 62,
|
|
"end": 63,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Delim": {
|
|
"value": "%"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|