mirror of
https://github.com/swc-project/swc.git
synced 2024-12-04 07:55:59 +03:00
156 lines
3.6 KiB
JSON
156 lines
3.6 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 34,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 2,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 2,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 2,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": {
|
|
"type": "TagNameSelector",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 2,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "WqName",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 2,
|
|
"ctxt": 0
|
|
},
|
|
"prefix": null,
|
|
"value": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 2,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"raw": "a"
|
|
}
|
|
}
|
|
},
|
|
"subclassSelectors": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 3,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 3,
|
|
"end": 4,
|
|
"ctxt": 0
|
|
},
|
|
"token": "LBrace"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 9,
|
|
"end": 30,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 9,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"value": "color",
|
|
"raw": "color"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 18,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\\",
|
|
"raw": "\\\\"
|
|
},
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 22,
|
|
"ctxt": 0
|
|
},
|
|
"value": "red",
|
|
"raw": "red"
|
|
},
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 23,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\\",
|
|
"raw": "\\\\"
|
|
},
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 26,
|
|
"end": 30,
|
|
"ctxt": 0
|
|
},
|
|
"value": "blue",
|
|
"raw": "blue"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|