swc/crates/swc_css_parser/tests/fixture/rome/font/output.json
Alexander Akait 8781527751
fix(css/ast): Fix type definitions related to parsing unknown at-rules (#2922)
swc_css_ast:
 - Rename `FnValue` to `Function`.
2021-12-01 17:07:49 +00:00

80 lines
1.7 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 30,
"ctxt": 0
},
"rules": [
{
"type": "FontFaceRule",
"span": {
"start": 0,
"end": 29,
"ctxt": 0
},
"block": {
"type": "Block",
"span": {
"start": 11,
"end": 29,
"ctxt": 0
},
"value": [
{
"type": "Declaration",
"span": {
"start": 14,
"end": 26,
"ctxt": 0
},
"property": {
"type": "Identifier",
"span": {
"start": 14,
"end": 17,
"ctxt": 0
},
"value": "src",
"raw": "src"
},
"value": [
{
"type": "Function",
"span": {
"start": 19,
"end": 26,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 19,
"end": 22,
"ctxt": 0
},
"value": "url",
"raw": "url"
},
"value": [
{
"type": "String",
"span": {
"start": 23,
"end": 25,
"ctxt": 0
},
"value": "",
"raw": "\"\""
}
]
}
],
"important": null
}
]
}
}
]
}