swc/crates/swc_css_parser/tests/fixture/property/escaped/output.json
2022-10-13 05:31:34 +00:00

126 lines
2.8 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 1,
"end": 29,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 1,
"end": 28,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 1,
"end": 6,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 1,
"end": 6,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 1,
"end": 6,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 1,
"end": 6,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 1,
"end": 6,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 1,
"end": 6,
"ctxt": 0
},
"value": "table",
"raw": "table"
}
}
},
"subclassSelectors": []
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 7,
"end": 28,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 7,
"end": 8,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 13,
"end": 25,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 13,
"end": 19,
"ctxt": 0
},
"value": "color",
"raw": "colo\\r"
},
"value": [
{
"type": "Ident",
"span": {
"start": 21,
"end": 25,
"ctxt": 0
},
"value": "red",
"raw": "\\red"
}
],
"important": null
}
]
}
}
]
}