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

57 lines
1.0 KiB
JSON

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