$args : [], // original arguments used when constructing.
addOn : "",
alias : "",
- augments : [],
+ augments : false, // Doctag
author : "",
classDesc : "",
comment : { isUserComment: false },
var r = [];
a.forEach(function(e) {
r.push(m ? e : e.toObject());
- }
+ })
}
var ret = { };
for (var i in this) {
- if (Symbols.hide.indexOf[i] > -1) {
+ if (Symbol.hide.indexOf(i) > -1) {
continue;
}
switch (typeof(this[i])) {
case 'function':
continue;
case 'object':
-
- print("object? :" + i);
- Seed.quit();
+ switch(i) {
+ //arrays..
+ case 'params' :
+ ret[i] = array2object(this[i],true);
+ continue;
+
+ //objects..
+ case 'augments' :
+ print(JSON.stringify(this[i]));
+ ret[i] = this[i].toObject();
+ continue;
+
+ default:
+ print("object? :" + i);
+ Seed.quit();
+ }
+
+
case 'string':
case 'number':
ret[i] = this[i]; continue;