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

48 lines
805 B
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 26,
"ctxt": 0
},
"body": [
{
"type": "WhileStatement",
"span": {
"start": 1,
"end": 26,
"ctxt": 0
},
"test": {
"type": "BooleanLiteral",
"span": {
"start": 8,
"end": 12,
"ctxt": 0
},
"value": true
},
"body": {
"type": "BlockStatement",
"span": {
"start": 14,
"end": 26,
"ctxt": 0
},
"stmts": [
{
"type": "BreakStatement",
"span": {
"start": 18,
"end": 24,
"ctxt": 0
},
"label": null
}
]
}
}
],
"interpreter": null
}