swc/crates/swc_ecma_parser/tests/tsc/ES5For-of12.json

88 lines
1.7 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 25,
"ctxt": 0
},
"body": [
{
"type": "ForOfStatement",
"span": {
"start": 1,
"end": 25,
"ctxt": 0
},
"await": null,
"left": {
"type": "ArrayPattern",
"span": {
"start": 6,
"end": 10,
"ctxt": 0
},
"elements": [
{
"type": "StringLiteral",
"span": {
"start": 7,
"end": 9,
"ctxt": 0
},
"value": "",
"raw": "\"\""
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 14,
"end": 20,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 15,
"end": 19,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 16,
"end": 18,
"ctxt": 0
},
"value": "",
"raw": "\"\""
}
}
]
}
}
]
},
"body": {
"type": "BlockStatement",
"span": {
"start": 22,
"end": 25,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}