this.src = "";
this.meta = "";
this.tagTexts = [];
- this.tags = [];
+ this.tags = []; // array of doctags..
if (typeof comment != "undefined") {
this.parse(comment);
}
},
Object, // extends
{
-
+ isUserComment : true,
+ src : "",
+ meta : "",
+ tagTexts : [],
+ tags : [],
-
+ /**
+ * serialize..
+ */
+ toObject :function(t)
+ {
+
+ var ret = { _object : 'DocComment' };
+
+ var _this = this;
+ ['isUserComment','src', 'meta', 'tags'].forEach(function(k) {
+ ret[k] = _this[k];
+ })
+
+ return ret;
+ },
/**
* @requires JSDOC.DocTag
*/
});
+/// static methods..
+
XObject.extend(DocComment,
{