swc/crates/swc_css_parser/tests/recovery/vercel/005/output.json
2022-03-03 15:05:12 +00:00

286 lines
6.9 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 142,
"ctxt": 0
},
"rules": [
{
"type": "FontFaceRule",
"span": {
"start": 0,
"end": 141,
"ctxt": 0
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 11,
"end": 141,
"ctxt": 0
},
"name": "{",
"value": [
{
"type": "Declaration",
"span": {
"start": 17,
"end": 26,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 17,
"end": 23,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"value": [
{
"type": "Integer",
"span": {
"start": 25,
"end": 26,
"ctxt": 0
},
"value": 0,
"raw": "0"
}
],
"important": null
},
{
"type": "Tokens",
"span": {
"start": 32,
"end": 65,
"ctxt": 0
},
"tokens": [
{
"type": "PreservedToken",
"span": {
"start": 32,
"end": 41,
"ctxt": 0
},
"token": {
"Ident": {
"value": "__ident__",
"raw": "__ident__"
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 41,
"end": 46,
"ctxt": 0
},
"token": {
"WhiteSpace": {
"value": "\n "
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 46,
"end": 59,
"ctxt": 0
},
"token": {
"Ident": {
"value": "border-radius",
"raw": "border-radius"
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 59,
"end": 60,
"ctxt": 0
},
"token": "Colon"
},
{
"type": "PreservedToken",
"span": {
"start": 60,
"end": 61,
"ctxt": 0
},
"token": {
"WhiteSpace": {
"value": " "
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 61,
"end": 64,
"ctxt": 0
},
"token": {
"Dimension": {
"value": 7.0,
"raw_value": "7",
"unit": "px",
"raw_unit": "px",
"type": "integer"
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 64,
"end": 65,
"ctxt": 0
},
"token": "Semi"
}
]
},
{
"type": "Declaration",
"span": {
"start": 70,
"end": 82,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 70,
"end": 75,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Ident",
"span": {
"start": 77,
"end": 82,
"ctxt": 0
},
"value": "white",
"raw": "white"
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 88,
"end": 110,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 88,
"end": 98,
"ctxt": 0
},
"value": "background",
"raw": "background"
},
"value": [
{
"type": "Ident",
"span": {
"start": 101,
"end": 110,
"ctxt": 0
},
"value": "__ident__",
"raw": "__ident__"
}
],
"important": null
},
{
"type": "Tokens",
"span": {
"start": 116,
"end": 140,
"ctxt": 0
},
"tokens": [
{
"type": "PreservedToken",
"span": {
"start": 116,
"end": 125,
"ctxt": 0
},
"token": {
"Ident": {
"value": "__ident__",
"raw": "__ident__"
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 125,
"end": 130,
"ctxt": 0
},
"token": {
"WhiteSpace": {
"value": "\n "
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 130,
"end": 139,
"ctxt": 0
},
"token": {
"Ident": {
"value": "__ident__",
"raw": "__ident__"
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 139,
"end": 140,
"ctxt": 0
},
"token": {
"WhiteSpace": {
"value": "\n"
}
}
}
]
}
]
}
}
]
}