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

72 lines
1.4 KiB
JSON

{
"type": "Script",
"span": {
"start": 16,
"end": 38,
"ctxt": 0
},
"body": [
{
"type": "ForOfStatement",
"span": {
"start": 16,
"end": 38,
"ctxt": 0
},
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 21,
"end": 28,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 25,
"end": 28,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 25,
"end": 28,
"ctxt": 0
},
"value": "let",
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 32,
"end": 34,
"ctxt": 0
},
"elements": []
},
"body": {
"type": "BlockStatement",
"span": {
"start": 36,
"end": 38,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}