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

index db7a70a..0f776a6 100644 (file)
@@ -775,7 +775,7 @@ ScopeParser.prototype = {
                     //if (this.mode == 'BUILDING_SYMBOL_TREE') 
                     //    print("EXPR-KEYW:" + JSON.stringify(token, null, 4));
                     
                     //if (this.mode == 'BUILDING_SYMBOL_TREE') 
                     //    print("EXPR-KEYW:" + JSON.stringify(token, null, 4));
                     
-                    print('EXPR-KEYW:' + token.toString());
+                    //print('EXPR-KEYW:' + token.toString());
                     if (token.name == "FUNCTION") {
                         
                         this.parseFunctionDeclaration();
                     if (token.name == "FUNCTION") {
                         
                         this.parseFunctionDeclaration();
@@ -788,14 +788,14 @@ ScopeParser.prototype = {
                     //if (this.mode == 'BUILDING_SYMBOL_TREE') {
                         
                         if (token.name == "EVAL") {
                     //if (this.mode == 'BUILDING_SYMBOL_TREE') {
                         
                         if (token.name == "EVAL") {
-                            print(JSON.stringify(token,null,4));
+                            //print(JSON.stringify(token,null,4));
                             if (token.prefix && token.prefix.match(/eval:var:/g)) {
                                 // look for eval:var:noreplace\n
                                 print("GOT MATCH?");
                                 var _t = this;
                                 token.prefix.replace(/eval:var:([a-z]+)/ig, function(m, a) {
                                     
                             if (token.prefix && token.prefix.match(/eval:var:/g)) {
                                 // look for eval:var:noreplace\n
                                 print("GOT MATCH?");
                                 var _t = this;
                                 token.prefix.replace(/eval:var:([a-z]+)/ig, function(m, a) {
                                     
-                                    print("PROTECT: " + a);
+                                    //print("PROTECT: " + a);
                                     
                                     
                                     var hi = _t.getIdentifier(a, currentScope, token);
                                     
                                     
                                     var hi = _t.getIdentifier(a, currentScope, token);