From: Alan Knowles Date: Thu, 15 Jul 2010 08:16:33 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=d2bce8cb44af0ea493948c38292a5ae1d4afa8f3 JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 8054fb8..955e7ed 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -616,19 +616,19 @@ ScopeParser.prototype = { */ //this.dumpToken(token, this.scopes, this.braceNesting ); - print('EXP' + token.toString()); + //print('EXP' + token.toString()); //println(""+token.data+""); //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(""+token.data+""); 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());