mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +03:00
297 lines
7.1 KiB
JSON
297 lines
7.1 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 143,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "AtRule",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 142,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 11,
|
|
"ctxt": 0
|
|
},
|
|
"value": "font-face",
|
|
"raw": "font-face"
|
|
},
|
|
"prelude": null,
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 12,
|
|
"end": 142,
|
|
"ctxt": 0
|
|
},
|
|
"name": "{",
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 27,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"value": "margin",
|
|
"raw": "margin"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Integer",
|
|
"span": {
|
|
"start": 26,
|
|
"end": 27,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Tokens",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"tokens": [
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Ident": {
|
|
"value": "__ident__",
|
|
"raw": "__ident__"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"WhiteSpace": {
|
|
"value": "\n "
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 47,
|
|
"end": 60,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Ident": {
|
|
"value": "border-radius",
|
|
"raw": "border-radius"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 60,
|
|
"end": 61,
|
|
"ctxt": 0
|
|
},
|
|
"token": "Colon"
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 61,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"WhiteSpace": {
|
|
"value": " "
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 62,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Dimension": {
|
|
"value": 7.0,
|
|
"raw_value": "7",
|
|
"unit": "px",
|
|
"raw_unit": "px",
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 65,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"token": "Semi"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 71,
|
|
"end": 83,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 71,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"value": "color",
|
|
"raw": "color"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 78,
|
|
"end": 83,
|
|
"ctxt": 0
|
|
},
|
|
"value": "white",
|
|
"raw": "white"
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 89,
|
|
"end": 111,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 89,
|
|
"end": 99,
|
|
"ctxt": 0
|
|
},
|
|
"value": "background",
|
|
"raw": "background"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 102,
|
|
"end": 111,
|
|
"ctxt": 0
|
|
},
|
|
"value": "__ident__",
|
|
"raw": "__ident__"
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
{
|
|
"type": "Tokens",
|
|
"span": {
|
|
"start": 117,
|
|
"end": 141,
|
|
"ctxt": 0
|
|
},
|
|
"tokens": [
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 117,
|
|
"end": 126,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Ident": {
|
|
"value": "__ident__",
|
|
"raw": "__ident__"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 126,
|
|
"end": 131,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"WhiteSpace": {
|
|
"value": "\n "
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 131,
|
|
"end": 140,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Ident": {
|
|
"value": "__ident__",
|
|
"raw": "__ident__"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 140,
|
|
"end": 141,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"WhiteSpace": {
|
|
"value": "\n"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|