[7.0] Remove ForAwaitStatement, add await flag to ForOfStatement (#349)

* Remove ForAwaitStatement, add await flag to ForOfStatement

* Set await flag for all ForOfStatements
This commit is contained in:
Brandon Dail
2017-02-09 16:37:03 -06:00
committed by Henry Zhu
parent 0834cb5b72
commit 56928dca66
4 changed files with 6 additions and 15 deletions

View File

@@ -32,6 +32,7 @@
"type": "ForOfStatement",
"start": 0,
"end": 13,
"await": false,
"loc": {
"start": {
"line": 1,

View File

@@ -78,7 +78,7 @@
},
"body": [
{
"type": "ForAwaitStatement",
"type": "ForOfStatement",
"start": 23,
"end": 46,
"loc": {
@@ -91,6 +91,7 @@
"column": 25
}
},
"await": true,
"left": {
"type": "VariableDeclaration",
"start": 34,