// @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) {
// @static
if (this.comment.getTag("singleton").length) {
this.isStatic = true;
- //if (this.isa == "CONSTRUCTOR") {
- // this.isNamespace = true;
- //}
+ print('------------- got singleton ---------------' + this.isa);
+ if (this.isa == "CONSTRUCTOR") {
+ this.isNamespace = true;
+ }
}