swc/crates/swc_css_parser/tests/fixture/property/escaped/output.json

117 lines
2.6 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 28,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 0,
"end": 27,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Identifier",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"value": "table",
"raw": "table"
}
}
},
"subclassSelectors": []
}
]
}
]
},
"block": {
"type": "Block",
"span": {
"start": 6,
"end": 27,
"ctxt": 0
},
"value": [
{
"type": "Declaration",
"span": {
"start": 12,
"end": 24,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 12,
"end": 18,
"ctxt": 0
},
"value": "color",
"raw": "colo\\r"
},
"value": [
{
"type": "Identifier",
"span": {
"start": 20,
"end": 24,
"ctxt": 0
},
"value": "red",
"raw": "\\red"
}
],
"important": null
}
]
}
}
]
}