swc/crates/swc_css_parser/tests/recovery/qualified-rule/only-block/output.json
2022-03-05 11:58:40 +00:00

124 lines
2.3 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 30,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 0,
"end": 4,
"ctxt": 0
},
"prelude": {
"type": "Tokens",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"tokens": []
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 0,
"end": 4,
"ctxt": 0
},
"name": "{",
"value": []
}
},
{
"type": "QualifiedRule",
"span": {
"start": 6,
"end": 8,
"ctxt": 0
},
"prelude": {
"type": "Tokens",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"tokens": []
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 6,
"end": 8,
"ctxt": 0
},
"name": "{",
"value": []
}
},
{
"type": "QualifiedRule",
"span": {
"start": 10,
"end": 29,
"ctxt": 0
},
"prelude": {
"type": "Tokens",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"tokens": []
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 10,
"end": 29,
"ctxt": 0
},
"name": "{",
"value": [
{
"type": "Declaration",
"span": {
"start": 16,
"end": 26,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 16,
"end": 21,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Ident",
"span": {
"start": 23,
"end": 26,
"ctxt": 0
},
"value": "red",
"raw": "red"
}
],
"important": null
}
]
}
}
]
}