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

73 lines
1.4 KiB
JSON

{
"type": "Script",
"span": {
"start": 15,
"end": 35,
"ctxt": 0
},
"body": [
{
"type": "ForOfStatement",
"span": {
"start": 15,
"end": 35,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 20,
"end": 25,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 24,
"end": 25,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 24,
"end": 25,
"ctxt": 0
},
"value": "v",
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 29,
"end": 30,
"ctxt": 0
},
"value": "X",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 32,
"end": 35,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}