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

93 lines
1.9 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 30,
"end": 84,
"ctxt": 0
},
"body": [
{
"type": "LabeledStatement",
"span": {
"start": 30,
"end": 84,
"ctxt": 0
},
"label": {
"type": "Identifier",
"span": {
"start": 30,
"end": 37,
"ctxt": 0
},
"value": "target1",
"optional": false
},
"body": {
"type": "LabeledStatement",
"span": {
"start": 39,
"end": 84,
"ctxt": 0
},
"label": {
"type": "Identifier",
"span": {
"start": 39,
"end": 46,
"ctxt": 0
},
"value": "target2",
"optional": false
},
"body": {
"type": "WhileStatement",
"span": {
"start": 48,
"end": 84,
"ctxt": 0
},
"test": {
"type": "BooleanLiteral",
"span": {
"start": 55,
"end": 59,
"ctxt": 0
},
"value": true
},
"body": {
"type": "BlockStatement",
"span": {
"start": 61,
"end": 84,
"ctxt": 0
},
"stmts": [
{
"type": "ContinueStatement",
"span": {
"start": 65,
"end": 82,
"ctxt": 0
},
"label": {
"type": "Identifier",
"span": {
"start": 74,
"end": 81,
"ctxt": 0
},
"value": "target1",
"optional": false
}
}
]
}
}
}
}
],
"interpreter": null
}