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

82 lines
1.6 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 41,
"ctxt": 0
},
"body": [
{
"type": "ForInStatement",
"span": {
"start": 1,
"end": 41,
"ctxt": 0
},
"left": {
"type": "VariableDeclaration",
"span": {
"start": 6,
"end": 11,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10,
"end": 11,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10,
"end": 11,
"ctxt": 0
},
"value": "i",
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 15,
"end": 24,
"ctxt": 0
},
"value": "something",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 26,
"end": 41,
"ctxt": 0
},
"stmts": [
{
"type": "ContinueStatement",
"span": {
"start": 30,
"end": 39,
"ctxt": 0
},
"label": null
}
]
}
}
],
"interpreter": null
}