swc/crates/swc_css_parser/tests/recovery/qualified-rule/only-block/output.json

124 lines
2.3 KiB
JSON
Raw Normal View History

{
"type": "Stylesheet",
"span": {
"start": 1,
"end": 31,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 1,
"end": 5,
"ctxt": 0
},
"prelude": {
"type": "Tokens",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"tokens": []
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 1,
"end": 5,
"ctxt": 0
},
"name": "{",
"value": []
}
},
{
"type": "QualifiedRule",
"span": {
"start": 7,
"end": 9,
"ctxt": 0
},
"prelude": {
"type": "Tokens",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"tokens": []
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 7,
"end": 9,
"ctxt": 0
},
"name": "{",
"value": []
}
},
{
"type": "QualifiedRule",
"span": {
"start": 11,
"end": 30,
"ctxt": 0
},
"prelude": {
"type": "Tokens",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"tokens": []
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 11,
"end": 30,
"ctxt": 0
},
"name": "{",
"value": [
{
"type": "Declaration",
"span": {
"start": 17,
"end": 27,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 17,
"end": 22,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Ident",
"span": {
"start": 24,
"end": 27,
"ctxt": 0
},
"value": "red",
"raw": "red"
}
],
"important": null
}
]
}
}
]
}