swc/css/parser/tests/fixture/value/escaped/output.json
2021-10-27 03:38:05 +09:00

102 lines
2.2 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 27,
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 0,
"end": 26,
"ctxt": 0
},
"selectors": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": {
"type": "NamespacedName",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"prefix": null,
"name": {
"type": "Text",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"value": "table",
"raw": "table"
}
},
"subclassSelectors": []
}
]
}
],
"block": {
"type": "Block",
"span": {
"start": 6,
"end": 26,
"ctxt": 0
},
"items": [
{
"type": "Declaration",
"span": {
"start": 12,
"end": 23,
"ctxt": 0
},
"property": {
"type": "Text",
"span": {
"start": 12,
"end": 17,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Text",
"span": {
"start": 19,
"end": 23,
"ctxt": 0
},
"value": "red",
"raw": "\\red"
}
],
"important": null
}
]
}
}
]
}