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

81 lines
1.6 KiB
JSON

{
"type": "Script",
"span": {
"start": 16,
"end": 42,
"ctxt": 0
},
"body": [
{
"type": "ForInStatement",
"span": {
"start": 16,
"end": 42,
"ctxt": 0
},
"left": {
"type": "VariableDeclaration",
"span": {
"start": 21,
"end": 31,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 25,
"end": 31,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 25,
"end": 27,
"ctxt": 0
},
"value": "of",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 30,
"end": 31,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 35,
"end": 37,
"ctxt": 0
},
"value": "of",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 39,
"end": 42,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}