$args : [], // original arguments used when constructing.
addOn : "",
alias : "",
- augments : false, // Doctag
+ augments : [], // Doctag[]
author : "",
classDesc : "",
comment : {},
deprecated : "",
desc : "",
- events : [],
+ //events : false,
example : "",
- exceptions : [],
- inherits : [],
+ exceptions : [], // Doctag[]
+ inherits : [], // Doctag[]
inheritsFrom : [],
isa : "OBJECT", // OBJECT//FUNCTION
isEvent : false,
function array2object(a)
{
- m = m || false;
+
var r = [];
a.forEach(function(e) {
r.push(e.toObject());
- })
+ });
+ return r;
}
var ret = { };
switch(i) {
//arrays..
case 'params' :
+ case 'augments' :
+ case 'exceptions' :
+ case 'inherits' :
ret[i] = array2object(this[i],true);
continue;
//objects..
- case 'augments' :
+
case 'comment' :
print(JSON.stringify(this[i]));
ret[i] = this[i].toObject();
Seed.quit();
}
}
-
+ return ret;
},
this.params = [];
this.$args = [];
- this.events = [];
+ //this.events = [];
this.exceptions = [];
this.inherits = [];
this.inheritsFrom = [];