swc/css/parser/tests/fixture/esbuild/misc/ElFW4lY06Cb-VFYtK0WX4A/output.json

141 lines
3.4 KiB
JSON
Raw Normal View History

2021-08-19 08:16:32 +03:00
{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 51,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"rules": [
{
"type": "DocumentRule",
"span": {
"start": 0,
"end": 51,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"selectors": [
{
"type": "FnValue",
"span": {
"start": 15,
"end": 27,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 15,
"end": 25,
"ctxt": 0
},
"value": "url-prefix",
"raw": "url-prefix"
2021-08-19 08:16:32 +03:00
},
"args": []
}
],
"block": [
{
"type": "StyleRule",
"span": {
"start": 30,
"end": 49,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"selectors": {
"type": "SelectorList",
"span": {
"start": 30,
"end": 32,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 30,
"end": 32,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
2021-08-19 08:16:32 +03:00
"span": {
"start": 30,
"end": 32,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": {
"type": "NamespacedName",
2021-08-19 08:16:32 +03:00
"span": {
"start": 30,
"end": 32,
"ctxt": 0
},
"prefix": null,
"name": {
"type": "Text",
"span": {
"start": 30,
"end": 32,
"ctxt": 0
},
"value": "h1",
"raw": "h1"
}
},
"subclassSelectors": []
}
]
}
]
},
2021-08-19 08:16:32 +03:00
"block": {
"type": "Block",
2021-08-19 08:16:32 +03:00
"span": {
"start": 33,
"end": 49,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"items": [
2021-08-19 08:16:32 +03:00
{
"type": "Declaration",
2021-08-19 08:16:32 +03:00
"span": {
"start": 35,
"end": 47,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"property": {
2021-08-19 08:16:32 +03:00
"type": "Text",
"span": {
"start": 35,
"end": 40,
"ctxt": 0
},
"value": "color",
"raw": "color"
2021-08-19 08:16:32 +03:00
},
"value": [
2021-08-19 08:16:32 +03:00
{
"type": "Text",
"span": {
"start": 42,
"end": 47,
"ctxt": 0
},
"value": "green",
"raw": "green"
2021-08-19 08:16:32 +03:00
}
],
"important": null
}
]
}
}
]
}
]
}