swc/crates/swc_css_parser/tests/recovery/at-rule/no-semi/output.json

114 lines
2.1 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 43,
"ctxt": 0
},
"rules": [
{
"type": "UnknownAtRule",
"span": {
"start": 0,
"end": 24,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1,
"end": 6,
"ctxt": 0
},
"value": "media",
"raw": "media"
},
"prelude": [
{
"type": "PreservedToken",
"span": {
"start": 6,
"end": 7,
"ctxt": 0
},
"token": {
"WhiteSpace": {
"value": " "
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 7,
"end": 13,
"ctxt": 0
},
"token": {
"Ident": {
"value": "screen",
"raw": "screen"
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 13,
"end": 14,
"ctxt": 0
},
"token": {
"WhiteSpace": {
"value": " "
}
}
}
],
"block": {
"type": "SimpleBlock",
"span": {
"start": 14,
"end": 24,
"ctxt": 0
},
"name": "{",
"value": [
{
"type": "PreservedToken",
"span": {
"start": 15,
"end": 23,
"ctxt": 0
},
"token": {
"AtKeyword": {
"value": "content",
"raw": "content"
}
}
}
]
}
},
{
"type": "CharsetRule",
"span": {
"start": 26,
"end": 42,
"ctxt": 0
},
"charset": {
"type": "String",
"span": {
"start": 35,
"end": 42,
"ctxt": 0
},
"value": "UTF-8",
"raw": "\"UTF-8\""
}
}
]
}