JSDOC/TokenReader.js
[gnome.introspection-doc-generator] / JSDOC / Symbol.js
index 262851f..7385547 100644 (file)
@@ -109,7 +109,9 @@ Symbol = XObject.define(
                     case 'boolean':
                         ret[i] = this[i]; continue;
                     default:
+                        
                         print("unknown type:" + typeof(this[i]));
+                        print(JSON.stringify(this));
                         Seed.quit();
                    }
             }
@@ -356,6 +358,7 @@ Symbol = XObject.define(
             // @class
             var classes = this.comment.getTag("class");
             if (classes.length) {
+                //print(JSON.stringify(this,null,4));
                 this.isa = "CONSTRUCTOR";
                 this.classDesc = classes[0].desc; // desc can't apply to the constructor as there is none.
                 if (!this.classDesc) {
@@ -451,7 +454,7 @@ Symbol = XObject.define(
                 // @static
             if (this.comment.getTag("singleton").length) {
                 this.isStatic = true;
-                print(this);
+                //print('------------- got singleton ---------------' + this.isa);
                 //if (this.isa == "CONSTRUCTOR") {
                 //     this.isNamespace = true;
                 //}