mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
93 lines
1.9 KiB
JSON
93 lines
1.9 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "LabeledStatement",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 37,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target1",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "LabeledStatement",
|
|
"span": {
|
|
"start": 39,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 39,
|
|
"end": 46,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target2",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "WhileStatement",
|
|
"span": {
|
|
"start": 48,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 55,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 61,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ContinueStatement",
|
|
"span": {
|
|
"start": 65,
|
|
"end": 82,
|
|
"ctxt": 0
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 74,
|
|
"end": 81,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target2",
|
|
"optional": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|