mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
8781527751
swc_css_ast: - Rename `FnValue` to `Function`.
109 lines
2.4 KiB
JSON
109 lines
2.4 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 21,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 21,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 1,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 1,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 1,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": {
|
|
"type": "TypeSelector",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 1,
|
|
"ctxt": 0
|
|
},
|
|
"prefix": null,
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 1,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"raw": "a"
|
|
}
|
|
},
|
|
"subclassSelectors": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "Block",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 21,
|
|
"ctxt": 0
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 18,
|
|
"ctxt": 0
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 13,
|
|
"ctxt": 0
|
|
},
|
|
"value": "color",
|
|
"raw": "color"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15,
|
|
"end": 18,
|
|
"ctxt": 0
|
|
},
|
|
"value": "red",
|
|
"raw": "red"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|