JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:16:33 +0000 (16:16 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:16:33 +0000 (16:16 +0800)
JSDOC/ScopeParser.js

index 8054fb8..955e7ed 100644 (file)
@@ -616,19 +616,19 @@ ScopeParser.prototype = {
            */ 
            
            //this.dumpToken(token,  this.scopes, this.braceNesting );
-           print('EXP' +  token.toString());
+           //print('EXP' +  token.toString());
             
             
             //println("<i>"+token.data+"</i>");
             //this.log("EXP:" + token.data);
             switch (token.type) {
                 case 'PUNC':
-                    print("EXPR-PUNC:" + token.toString());
+                    //print("EXPR-PUNC:" + token.toString());
                     
                     switch(token.data) {
                          
                         case ';':
-                            print("<< EXIT EXPRESSION");
+                            //print("<< EXIT EXPRESSION");
                             break;
 
                         case ',':
@@ -639,7 +639,7 @@ ScopeParser.prototype = {
                         case '(': //Token.LP:
                         case '{': //Token.LC:
                         case '[': //Token.LB:
-                            print('SCOPE-CURLY/PAREN/BRACE:' + token.toString());
+                            //print('SCOPE-CURLY/PAREN/BRACE:' + token.toString());
                             //println("<i>"+token.data+"</i>");
                             var curTS = this.ts;
                             if (token.props) {
@@ -683,7 +683,7 @@ ScopeParser.prototype = {
                         case ')': //Token.RP:
                         case ']': //Token.RB:
                         case '}': //Token.RB:
-                            print("<< EXIT EXPRESSION");
+                            //print("<< EXIT EXPRESSION");
                             return;
                            
  
@@ -697,8 +697,8 @@ ScopeParser.prototype = {
                     break;
                     
                 case 'STRN': // used for object lit detection..
-                    if (this.mode == 'BUILDING_SYMBOL_TREE')    
-                        print("EXPR-STR:" + JSON.stringify(token, null, 4));
+                    //if (this.mode == 'BUILDING_SYMBOL_TREE')    
+                        //print("EXPR-STR:" + JSON.stringify(token, null, 4));
                
                      
                     break;
@@ -708,9 +708,9 @@ ScopeParser.prototype = {
                 case 'NAME':
                     if (this.mode == 'BUILDING_SYMBOL_TREE') {
                         
-                        print("EXPR-NAME:" + JSON.stringify(token, null, 4));
+                        //print("EXPR-NAME:" + JSON.stringify(token, null, 4));
                     } else {
-                        print("EXPR-NAME:" + token.toString());
+                        //print("EXPR-NAME:" + token.toString());
                     }
                     symbol = token.data;
                     //print("in NAME = " + token.toString());