swc/crates/swc_ecma_parser/tests/tsc/parser_breakInIterationOrSwitchStatement1.json

48 lines
805 B
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 25,
"ctxt": 0
},
"body": [
{
"type": "WhileStatement",
"span": {
"start": 0,
"end": 25,
"ctxt": 0
},
"test": {
"type": "BooleanLiteral",
"span": {
"start": 7,
"end": 11,
"ctxt": 0
},
"value": true
},
"body": {
"type": "BlockStatement",
"span": {
"start": 13,
"end": 25,
"ctxt": 0
},
"stmts": [
{
"type": "BreakStatement",
"span": {
"start": 17,
"end": 23,
"ctxt": 0
},
"label": null
}
]
}
}
],
"interpreter": null
}