* Pre walk for of statement. * @param {ForOfStatement} statement statement
(statement)
| 2744 | * @param {ForOfStatement} statement statement |
| 2745 | */ |
| 2746 | preWalkForOfStatement(statement) { |
| 2747 | if (statement.await && this.scope.topLevelScope === true) { |
| 2748 | this.hooks.topLevelAwait.call(statement); |
| 2749 | } |
| 2750 | if (statement.left.type === "VariableDeclaration") { |
| 2751 | this.preWalkVariableDeclaration(statement.left); |
| 2752 | } |
| 2753 | this.preWalkStatement(statement.body); |
| 2754 | } |
| 2755 | |
| 2756 | /** |
| 2757 | * Walk for of statement. |
no test coverage detected