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

82 lines
1.6 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 0,
"end": 40,
"ctxt": 0
},
"body": [
{
"type": "ForInStatement",
"span": {
"start": 0,
"end": 40,
"ctxt": 0
},
"left": {
"type": "VariableDeclaration",
"span": {
"start": 5,
"end": 10,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"value": "i",
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 14,
"end": 23,
"ctxt": 0
},
"value": "something",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 25,
"end": 40,
"ctxt": 0
},
"stmts": [
{
"type": "ContinueStatement",
"span": {
"start": 29,
"end": 38,
"ctxt": 0
},
"label": null
}
]
}
}
],
"interpreter": null
}