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

51 lines
875 B
JSON

{
"type": "Script",
"span": {
"start": 16,
"end": 34,
"ctxt": 0
},
"body": [
{
"type": "ForOfStatement",
"span": {
"start": 16,
"end": 34,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 21,
"end": 24,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": []
},
"right": {
"type": "Identifier",
"span": {
"start": 28,
"end": 29,
"ctxt": 0
},
"value": "X",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 31,
"end": 34,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}