mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
59 lines
1.1 KiB
JSON
59 lines
1.1 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 47,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "SwitchStatement",
|
|
"span": {
|
|
"start": 47,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"discriminant": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 55,
|
|
"end": 57,
|
|
"ctxt": 0
|
|
},
|
|
"value": 12.0
|
|
},
|
|
"cases": [
|
|
{
|
|
"type": "SwitchCase",
|
|
"span": {
|
|
"start": 65,
|
|
"end": 87,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 70,
|
|
"end": 71,
|
|
"ctxt": 0
|
|
},
|
|
"value": 5.0
|
|
},
|
|
"consequent": [
|
|
{
|
|
"type": "BreakStatement",
|
|
"span": {
|
|
"start": 81,
|
|
"end": 87,
|
|
"ctxt": 0
|
|
},
|
|
"label": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|