swc/crates/swc_ecma_parser/tests/tsc/for-of32.json
2023-03-12 04:50:28 +00:00

73 lines
1.4 KiB
JSON

{
"type": "Script",
"span": {
"start": 39,
"end": 59,
"ctxt": 0
},
"body": [
{
"type": "ForOfStatement",
"span": {
"start": 39,
"end": 59,
"ctxt": 0
},
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 44,
"end": 49,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 48,
"end": 49,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 48,
"end": 49,
"ctxt": 0
},
"value": "v",
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 53,
"end": 54,
"ctxt": 0
},
"value": "v",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 56,
"end": 59,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}