swc/css/parser/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/output.json

100 lines
2.4 KiB
JSON
Raw Normal View History

2021-08-19 08:16:32 +03:00
{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 13,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 0,
"end": 13,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"selectors": {
"type": "SelectorList",
"span": {
"start": 0,
"end": 10,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 10,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 10,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AttributeSelector",
2021-08-19 08:16:32 +03:00
"span": {
"start": 0,
"end": 10,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"name": {
"type": "NamespacedName",
2021-08-19 08:16:32 +03:00
"span": {
"start": 1,
"end": 7,
"ctxt": 0
},
"prefix": null,
"name": {
"type": "Text",
"span": {
"start": 1,
"end": 7,
"ctxt": 0
},
"value": "attr~",
"raw": "attr\\~"
}
2021-08-19 08:16:32 +03:00
},
"op": "=",
"value": {
"type": "String",
"span": {
"start": 8,
"end": 9,
"ctxt": 0
},
"value": "x",
"raw": "x"
},
"modifier": null
}
]
}
]
}
]
},
2021-08-19 08:16:32 +03:00
"block": {
"type": "Block",
2021-08-19 08:16:32 +03:00
"span": {
"start": 11,
"end": 13,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"items": []
2021-08-19 08:16:32 +03:00
}
}
]
}