JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 05:10:44 +0000 (13:10 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 05:10:44 +0000 (13:10 +0800)
JSDOC/ScopeParser.js

index a39b6dc..163a60e 100644 (file)
@@ -141,7 +141,7 @@ ScopeParser.prototype = {
         this.braceNesting = 0;
         this.scopes = [];
         
         this.braceNesting = 0;
         this.scopes = [];
         
-        print(JSON.stringify(this.ts.tokens, null,4));
+        //print(JSON.stringify(this.ts.tokens, null,4));
         
         
         this.globalScope = new  Scope(-1, false, -1, '');
         
         
         this.globalScope = new  Scope(-1, false, -1, '');
@@ -823,10 +823,11 @@ ScopeParser.prototype = {
         var token;
         var currentScope;
         var identifier;
         var token;
         var currentScope;
         var identifier;
-
+        print(token.toString());
         //token = getToken(-1);
         //assert token.getType() == Token.CATCH;
         token = this.ts.nextTok();
         //token = getToken(-1);
         //assert token.getType() == Token.CATCH;
         token = this.ts.nextTok();
+        
         //assert token.getType() == Token.LP; (
         //token = this.ts.nextTok();
         //assert token.getType() == Token.NAME;
         //assert token.getType() == Token.LP; (
         //token = this.ts.nextTok();
         //assert token.getType() == Token.NAME;