mirror of
https://github.com/swc-project/swc.git
synced 2024-12-14 07:33:22 +03:00
126 lines
2.8 KiB
JSON
126 lines
2.8 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 57,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 56,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": {
|
|
"type": "TagNameSelector",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "WqName",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"prefix": null,
|
|
"value": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"value": "foo",
|
|
"raw": "foo"
|
|
}
|
|
}
|
|
},
|
|
"subclassSelectors": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 37,
|
|
"end": 56,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 37,
|
|
"end": 38,
|
|
"ctxt": 0
|
|
},
|
|
"token": "LBrace"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 43,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 43,
|
|
"end": 48,
|
|
"ctxt": 0
|
|
},
|
|
"value": "color",
|
|
"raw": "color"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 50,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"value": "red",
|
|
"raw": "red"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|