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

48 lines
806 B
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 30,
"ctxt": 0
},
"body": [
{
"type": "DoWhileStatement",
"span": {
"start": 1,
"end": 30,
"ctxt": 0
},
"test": {
"type": "BooleanLiteral",
"span": {
"start": 24,
"end": 28,
"ctxt": 0
},
"value": true
},
"body": {
"type": "BlockStatement",
"span": {
"start": 4,
"end": 16,
"ctxt": 0
},
"stmts": [
{
"type": "BreakStatement",
"span": {
"start": 8,
"end": 14,
"ctxt": 0
},
"label": null
}
]
}
}
],
"interpreter": null
}