swc/crates/swc_css_parser/tests/fixture/rome/font/output.json

80 lines
1.7 KiB
JSON
Raw Normal View History

2021-08-19 08:16:32 +03:00
{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 30,
"ctxt": 0
},
"rules": [
{
"type": "FontFaceRule",
"span": {
"start": 0,
"end": 29,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"block": {
"type": "Block",
2021-08-19 08:16:32 +03:00
"span": {
"start": 11,
"end": 29,
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": 14,
"end": 26,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"property": {
"type": "Identifier",
2021-08-19 08:16:32 +03:00
"span": {
"start": 14,
"end": 17,
"ctxt": 0
},
"value": "src",
"raw": "src"
2021-08-19 08:16:32 +03:00
},
"value": [
2021-08-19 08:16:32 +03:00
{
"type": "FnValue",
"span": {
"start": 19,
"end": 26,
2021-08-19 08:16:32 +03:00
"ctxt": 0
},
"name": {
"type": "Identifier",
2021-08-19 08:16:32 +03:00
"span": {
"start": 19,
"end": 22,
"ctxt": 0
},
"value": "url",
"raw": "url"
2021-08-19 08:16:32 +03:00
},
"args": [
{
"type": "String",
"span": {
"start": 23,
"end": 25,
"ctxt": 0
},
"value": "",
"raw": "\"\""
2021-08-19 08:16:32 +03:00
}
]
}
],
"important": null
}
]
}
}
]
}