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

50 lines
852 B
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 18,
"ctxt": 0
},
"body": [
{
"type": "ForInStatement",
"span": {
"start": 1,
"end": 18,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 6,
"end": 8,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 12,
"end": 13,
"ctxt": 0
},
"value": "b",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 15,
"end": 18,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}