JSDOC/ScopeNamer.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 7 Nov 2011 23:25:05 +0000 (07:25 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 7 Nov 2011 23:25:05 +0000 (07:25 +0800)
JSDOC/ScopeNamer.js

index a69fca2..d583fc5 100644 (file)
@@ -227,10 +227,10 @@ ScopeNamer = XObject.define(
         
         walkStatements: function(scope, statements)
         {
-                        
+            print("walkStatements :" + scope);            
             var _this = this;
             var res = false;
-            print(typeof(statements)); 
+            
             
             statements.forEach(function(st ) {
                 res = _this.walkStatement(scope, st);
@@ -243,6 +243,7 @@ ScopeNamer = XObject.define(
         
         walkStatement: function(scope, stmt)
         {
+            print("walkStatement :" + scope);
             this.tokens = stmt;
             this.rewind();