X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FSymbol.js;h=7385547cb342ccdf68c7a7246ca3c4d878bb2a90;hb=35ddfbdfc0fb33aab65d6722db3948ca210ede7f;hp=4c984323e8618069ebc5a55f8c540842da45779c;hpb=edce3158b7e633886152f932c6349c3742aa56f6;p=gnome.introspection-doc-generator diff --git a/JSDOC/Symbol.js b/JSDOC/Symbol.js index 4c98432..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,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,6 +454,7 @@ 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; //} @@ -666,7 +670,8 @@ Symbol = XObject.define( this.name = this.name.split('.').pop(); this.name = this.name.split('#').pop(); this.name = this.memberOf + this.name; - this._name = this.memberOf + this._name; + this._name = this.name + this.alias = this.name; } /*~t