X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FScope.js;h=ab4066b8c4dec210ae7ca257dc09f6e4880cc3f8;hb=75b9265110ebf95d63f1f58bd187f37005843b96;hp=5fe7403f1007939bf227d9de5dde693eaebe83ec;hpb=bb1da2c04b0e59e75cff3317798af860f3439a11;p=gnome.introspection-doc-generator diff --git a/JSDOC/Scope.js b/JSDOC/Scope.js index 5fe7403..ab4066b 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]; }, @@ -239,7 +239,7 @@ Scope.prototype = { if (!repsym.length) { if (!freeSymbols.length) { - addSyms(JSDOC.Scope.twos); + addSyms(Scope.twos); } repsym = freeSymbols.shift(); // pop off beginngin??? }