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

59 lines
1.0 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 25,
"ctxt": 0
},
"body": [
{
"type": "ForInStatement",
"span": {
"start": 1,
"end": 25,
"ctxt": 0
},
"left": {
"type": "NewExpression",
"span": {
"start": 6,
"end": 15,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10,
"end": 13,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"right": {
"type": "Identifier",
"span": {
"start": 19,
"end": 20,
"ctxt": 0
},
"value": "b",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 22,
"end": 25,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}