swc/crates/swc_ecma_parser/tests/tsc/for-of56.json

72 lines
1.4 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 15,
"end": 37,
"ctxt": 0
},
"body": [
{
"type": "ForOfStatement",
"span": {
"start": 15,
"end": 37,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 20,
"end": 27,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 24,
"end": 27,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 24,
"end": 27,
"ctxt": 0
},
"value": "let",
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 31,
"end": 33,
"ctxt": 0
},
"elements": []
},
"body": {
"type": "BlockStatement",
"span": {
"start": 35,
"end": 37,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}