X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FSymbol.js;h=7385547cb342ccdf68c7a7246ca3c4d878bb2a90;hb=dad53f90789b90b0767d049a5c449b305d64941b;hp=07c28aab5fa8a34d25248a4bb8a299d893d4cf85;hpb=91e3d5188b651c65fb949c37ccb8377b3e7bd32c;p=gnome.introspection-doc-generator diff --git a/JSDOC/Symbol.js b/JSDOC/Symbol.js index 07c28aa..7385547 100644 --- a/JSDOC/Symbol.js +++ b/JSDOC/Symbol.js @@ -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,7 +358,7 @@ Symbol = XObject.define( // @class var classes = this.comment.getTag("class"); if (classes.length) { - print(JSON.stringify(classes,null,4)); + //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) { @@ -452,10 +454,10 @@ Symbol = XObject.define( // @static if (this.comment.getTag("singleton").length) { this.isStatic = true; - print('------------- got singleton ---------------' + this.isa); - if (this.isa == "CONSTRUCTOR") { - this.isNamespace = true; - } + //print('------------- got singleton ---------------' + this.isa); + //if (this.isa == "CONSTRUCTOR") { + // this.isNamespace = true; + //} }