JSDOC/ScopeParser.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 08:15:05 +0000 (16:15 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 08:15:05 +0000 (16:15 +0800)
JSDOC/ScopeParser.js

index 7849be0..1fc02d2 100644 (file)
@@ -495,14 +495,14 @@ ScopeParser.prototype = {
 
                         case '{': //Token.LC:
                             isObjectLitAr.push(false);
-                            
+                            print(">>>>> OBJ PUSH(false)");
                             this.braceNesting++;
                             break;
 
                         case '}': //Token.RC:
                             this.braceNesting--;
                             isObjectLitAr.pop();
-                            
+                            print(">>>>> OBJ POP");    
                            // assert braceNesting >= expressionBraceNesting;
                             break;
 
@@ -529,6 +529,7 @@ ScopeParser.prototype = {
                         // then we are in an object lit.. -> we need to flag the brace as such...
                         isObjectLitAr.pop();
                         isObjectLitAr.push(true);
+                        print(">>>>> OBJ PUSH(true)");
                     }
                     
                     
@@ -558,6 +559,7 @@ ScopeParser.prototype = {
                         // then we are in an object lit.. -> we need to flag the brace as such...
                         isObjectLitAr.pop();
                         isObjectLitAr.push(true);
+                         print(">>>>> OBJ PUSH(true)"
                         break;
                     }
                     isInObjectLitAr = isObjectLitAr[isObjectLitAr.length-1];