parseComplete event now also supplies doclets

The parseComplete event only supplied plugins a list of files that
have been looked at before, now it also supplies the parsed doclets
This commit is contained in:
Ernst Haagsman 2013-06-19 15:22:21 +02:00
parent 2090b8d2fe
commit c89c75fd88

View File

@ -91,7 +91,8 @@ exports.Parser.prototype.parse = function(sourceFiles, encoding) {
} }
this.emit('parseComplete', { this.emit('parseComplete', {
sourcefiles: parsedFiles sourcefiles: parsedFiles,
doclets: this._resultBuffer
}); });
return this._resultBuffer; return this._resultBuffer;