JSDOC/Walker2.js
[gnome.introspection-doc-generator] / JSDOC / Walker2.js
index 13d622f..cb81e37 100644 (file)
@@ -71,6 +71,7 @@ Walker2 = XObject.define(
             
             this.mode = 'BUILDING_SYMBOL_TREE';
             this.parseScope(this.globalScope);
+            print(JSON.stringify(this.globalScope, null,4));
         },
         
 
@@ -329,6 +330,7 @@ Walker2 = XObject.define(
                     
                     
                      // apply ( XXXX,  {
+                    /*
                     print(JSON.stringify([
                         token.data,
                         this.ts.lookTok(1).data ,
@@ -336,7 +338,7 @@ Walker2 = XObject.define(
                         this.ts.lookTok(3).data ,
                         this.ts.lookTok(4).data 
                     ], null, 4));
-                    
+                    */
                     
                     if (/\.(applyIf|apply)$/.test(token.data) && 
                         this.ts.lookTok(1).data == '('  &&
@@ -362,7 +364,7 @@ Walker2 = XObject.define(
                         
                         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;