()
| 212 | } |
| 213 | |
| 214 | currentVarScopeFlags(): ScopeFlag { |
| 215 | for (let i = this.scopeStack.length - 1; ; i--) { |
| 216 | const { flags } = this.scopeStack[i]; |
| 217 | if (flags & ScopeFlag.VAR) { |
| 218 | return flags; |
| 219 | } |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | // Could be useful for `arguments`, `this`, `new.target`, `super()`, `super.property`, and `super[property]`. |
| 224 | currentThisScopeFlags(): ScopeFlag { |