mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
0d63470eba
swc_css_ast: - Rename `Values` to `SpaceValues`. swc_css_parser: - Add `parse_str`. - Make `ErrorKind` `#[non_exhaustive]`. - Fix span. swc_css_visit: - Create visitors.
57 lines
999 B
JSON
57 lines
999 B
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 31,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "KeyframesRule",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 31,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a,c"
|
|
},
|
|
"blocks": [
|
|
{
|
|
"span": {
|
|
"start": 20,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"selector": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 20,
|
|
"end": 26,
|
|
"ctxt": 0
|
|
},
|
|
"value": "from"
|
|
}
|
|
],
|
|
"rule": {
|
|
"type": "DeclBlock",
|
|
"span": {
|
|
"start": 27,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"properties": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|