mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
151 lines
3.2 KiB
JSON
151 lines
3.2 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 98,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "AtRule",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 97,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 10,
|
|
"ctxt": 0
|
|
},
|
|
"value": "property",
|
|
"raw": "property"
|
|
},
|
|
"prelude": {
|
|
"type": "CustomPropertyName",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 21,
|
|
"ctxt": 0
|
|
},
|
|
"value": "--my-color",
|
|
"raw": "--my-color"
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 97,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 23,
|
|
"ctxt": 0
|
|
},
|
|
"token": "LBrace"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 28,
|
|
"end": 45,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 28,
|
|
"end": 34,
|
|
"ctxt": 0
|
|
},
|
|
"value": "syntax",
|
|
"raw": "syntax"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "String",
|
|
"span": {
|
|
"start": 36,
|
|
"end": 45,
|
|
"ctxt": 0
|
|
},
|
|
"value": "<color>",
|
|
"raw": "'<color>'"
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"value": "inherits",
|
|
"raw": "inherits"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 61,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"value": "false",
|
|
"raw": "false"
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 72,
|
|
"end": 94,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 72,
|
|
"end": 85,
|
|
"ctxt": 0
|
|
},
|
|
"value": "initial-value",
|
|
"raw": "initial-value"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "HexColor",
|
|
"span": {
|
|
"start": 87,
|
|
"end": 94,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c0ffee",
|
|
"raw": "c0ffee"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|