* Move the variable statements to main function.
()
| 89 | * Move the variable statements to main function. |
| 90 | */ |
| 91 | pushVariableStatementsToMainFunction() { |
| 92 | if (this.variableStatements.length == 0) |
| 93 | return; |
| 94 | this.body!.addStatement(...this.variableStatements); |
| 95 | this.variableStatements = []; |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Move the variable statements to declarations. |
no test coverage detected