From: Alan Knowles Date: Thu, 15 Jul 2010 09:09:41 +0000 (+0800) Subject: JSDOC/Scope.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=9f004af67192a92ecb0e84b5b76170a16d10d941 JSDOC/Scope.js --- diff --git a/JSDOC/Scope.js b/JSDOC/Scope.js index 5fe7403..f66a407 100644 --- a/JSDOC/Scope.js +++ b/JSDOC/Scope.js @@ -25,8 +25,8 @@ function Scope(braceN, parent, startTokN, lastIdent, token) this.ident = lastIdent; this.gid = Scope.gid++; - print("ADD SCOPE(" + this.gid + ") TO "+ (parent ? this.parent.gid : 'TOP') + ' : ' + - (token ? token.toString() : '')); + //print("ADD SCOPE(" + this.gid + ") TO "+ (parent ? this.parent.gid : 'TOP') + ' : ' + + // (token ? token.toString() : '')); if (parent) { this.parent.subScopes.push(this); @@ -55,7 +55,7 @@ Scope.prototype = { protectedVars : {}, // only used by to parent.. declareIdentifier : function(symbol, token) { - print("SCOPE : " + this.gid + " : " + token.toString()+""); + //print("SCOPE : " + this.gid + " : " + token.toString()+""); if (typeof(this.identifiers[symbol])== 'undefined') { @@ -79,10 +79,10 @@ Scope.prototype = { return false; } - print("SCOPE : " + this.gid +" = SYMBOL NOT FOUND?" + token.toString()); + //print("SCOPE : " + this.gid +" = SYMBOL NOT FOUND?" + token.toString()); return false; } - print("SCOPE : " + this.gid +" = FOUND:" + token.toString()); + //print("SCOPE : " + this.gid +" = FOUND:" + token.toString()); return this.identifiers[symbol]; },