mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
40 lines
643 B
JSON
40 lines
643 B
JSON
|
{
|
||
|
"type": "Script",
|
||
|
"span": {
|
||
|
"start": 0,
|
||
|
"end": 10,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"body": [
|
||
|
{
|
||
|
"type": "IfStatement",
|
||
|
"span": {
|
||
|
"start": 0,
|
||
|
"end": 10,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"test": {
|
||
|
"type": "Identifier",
|
||
|
"span": {
|
||
|
"start": 4,
|
||
|
"end": 5,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"value": "a",
|
||
|
"optional": false
|
||
|
},
|
||
|
"consequent": {
|
||
|
"type": "BlockStatement",
|
||
|
"span": {
|
||
|
"start": 7,
|
||
|
"end": 10,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"stmts": []
|
||
|
},
|
||
|
"alternate": null
|
||
|
}
|
||
|
],
|
||
|
"interpreter": null
|
||
|
}
|