JSDOC/Walker2.js
[gnome.introspection-doc-generator] / JSDOC / Walker2.js
index 708a102..3da9fed 100644 (file)
@@ -149,13 +149,13 @@ Walker2 = XObject.define(
             
             if (this.ts.cursor < 1) {
                 this.ts.cursor--; // hopeflly this kludge will work
-               }
-            
+            }
             
             
+            print(JSON.stringify(this.ts)); Seed.quit();
             
             while (false != (token = this.ts.next())) {
-                //print("TOK"+ token.toString());
+                print("TOK"+ token.toString());
                 //  this.timerPrint("parseScope AFTER lookT: " + token.toString()); 
                   
                 if (token.is('WHIT')) {
@@ -259,7 +259,7 @@ Walker2 = XObject.define(
                         this.ts.lookT(4).type == 'NAME' &&
                         this.ts.lookT(5).data == ',' &&
                         this.ts.lookT(6).data == '{' 
-                           }
+                           
                         ) {
                         // ignore test for ( a and ,
                         this.ts.nextT(); /// (
@@ -375,7 +375,7 @@ Walker2 = XObject.define(
                         this.ts.lookT(2).name == 'NEW' &&
                         this.ts.lookT(3).type == 'NAME' &&
                         this.ts.lookT(4).data == '(' &&
-                        this.ts.lookT(5)..data == '{' 
+                        this.ts.lookT(5).data == '{' 
                         ) {
                         scopeName = token.data;
                         if (this.currentDoc) {