mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
133 lines
2.9 KiB
JSON
133 lines
2.9 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 97,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "PropertyRule",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 96,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "DashedIdent",
|
|
"span": {
|
|
"start": 10,
|
|
"end": 20,
|
|
"ctxt": 0
|
|
},
|
|
"value": "--my-color",
|
|
"raw": "--my-color"
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 21,
|
|
"end": 96,
|
|
"ctxt": 0
|
|
},
|
|
"name": "{",
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 27,
|
|
"end": 44,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 27,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"value": "syntax",
|
|
"raw": "syntax"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "String",
|
|
"span": {
|
|
"start": 35,
|
|
"end": 44,
|
|
"ctxt": 0
|
|
},
|
|
"value": "<color>",
|
|
"raw": "'<color>'"
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 50,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 50,
|
|
"end": 58,
|
|
"ctxt": 0
|
|
},
|
|
"value": "inherits",
|
|
"raw": "inherits"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 60,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"value": "false",
|
|
"raw": "false"
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 71,
|
|
"end": 93,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 71,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"value": "initial-value",
|
|
"raw": "initial-value"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "HexColor",
|
|
"span": {
|
|
"start": 86,
|
|
"end": 93,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c0ffee",
|
|
"raw": "c0ffee"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|