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

96 lines
2.0 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 0,
"end": 24,
"ctxt": 0
},
"body": [
{
"type": "ForOfStatement",
"span": {
"start": 0,
"end": 24,
"ctxt": 0
},
"await": null,
"left": {
"type": "ArrayPattern",
"span": {
"start": 5,
"end": 9,
"ctxt": 0
},
"elements": [
{
"type": "StringLiteral",
"span": {
"start": 6,
"end": 8,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 13,
"end": 19,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 14,
"end": 18,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 15,
"end": 17,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
]
}
}
]
},
"body": {
"type": "BlockStatement",
"span": {
"start": 21,
"end": 24,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}