diff options
Diffstat (limited to 'lib/ast.js')
-rw-r--r-- | lib/ast.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -314,6 +314,9 @@ var AST_Scope = DEFNODE("Scope", "variables functions uses_with uses_eval parent if (this.functions) node.functions = this.functions.clone(); if (this.enclosed) node.enclosed = this.enclosed.slice(); return node; + }, + pinned: function() { + return this.uses_eval || this.uses_with; } }, AST_Block); |