X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FSymbol.js;h=7385547cb342ccdf68c7a7246ca3c4d878bb2a90;hp=e61f74b3398f0788fadbce3599f5feb3373fafe2;hb=32210f938b140061c5af2ab70d6b0c009b723653;hpb=b98ec6bd7f94548d324071424d7453413a5947f5 diff --git a/JSDOC/Symbol.js b/JSDOC/Symbol.js index e61f74b..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(this,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; + //} }