mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
75 lines
1.4 KiB
JSON
75 lines
1.4 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "LabeledStatement",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 6,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "WhileStatement",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 15,
|
|
"end": 19,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 21,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "BreakStatement",
|
|
"span": {
|
|
"start": 25,
|
|
"end": 38,
|
|
"ctxt": 0
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 31,
|
|
"end": 37,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target",
|
|
"optional": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|