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

48 lines
806 B
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 29,
"ctxt": 0
},
"body": [
{
"type": "DoWhileStatement",
"span": {
"start": 0,
"end": 29,
"ctxt": 0
},
"test": {
"type": "BooleanLiteral",
"span": {
"start": 23,
"end": 27,
"ctxt": 0
},
"value": true
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3,
"end": 15,
"ctxt": 0
},
"stmts": [
{
"type": "BreakStatement",
"span": {
"start": 7,
"end": 13,
"ctxt": 0
},
"label": null
}
]
}
}
],
"interpreter": null
}