JSDOC/Walker2.js
[gnome.introspection-doc-generator] / JSDOC / Walker2.js
index d85cf7a..136b048 100644 (file)
@@ -71,6 +71,7 @@ Walker2 = XObject.define(
             
             this.mode = 'BUILDING_SYMBOL_TREE';
             this.parseScope(this.globalScope);
+            
         },
         
 
@@ -348,7 +349,7 @@ Walker2 = XObject.define(
                         ) {
                         this.ts.nextTok(); /// (
                          
-                        print("GOT : applyIF!"); 
+                        //print("GOT : applyIF!"); 
                          
                         token = this.ts.nextTok(); // b
                         scopeName = token.data;
@@ -356,14 +357,13 @@ Walker2 = XObject.define(
                                       
                         if (this.currentDoc) {
                             this.addSymbol(scopeName,false,'OBJECT');
-
                         }
                      
 
                         
                         this.ts.nextTok(); /// ,
                         this.ts.nextTok(); // {
-                            scopeName = fixAlias(scopeName);
+                        scopeName = fixAlias(scopeName);
                         var fnScope = new Scope(this.braceNesting, scope, token.n, scopeName);
                         this.indexedScopes[this.ts.cursor] = fnScope;
                         scope = fnScope;
@@ -509,6 +509,7 @@ Walker2 = XObject.define(
                         scopeName = fixAlias(scopeName);
                         var fnScope = new Scope(this.braceNesting, scope, token.n, 
                             '$this$='+scopeName+'.prototype|$private$|'+scopeName+'.prototype');
+                            
                         this.indexedScopes[this.ts.cursor] = fnScope;
                         //scope = fnScope;
                         //this.scopesIn(fnScope);