wenchun / jsdoc-toolkit

Automatically exported from code.google.com/p/jsdoc-toolkit
0 stars 0 forks source link

Patch: add onFinish plugin event #199

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The patch attached adds an "onFinish" event after the parser has finished
creating all the symbols. I have also attached the plugin I wrote
leveraging it. The plugin adds some support for Mootools style classes,
allowing you to use @option and (via onFinish) pulls params from the
initialize method up to the class declaration. This way you can use @class
and @lends and document params on initialize per normal and have it
document as the class constructor.

Original issue reported on code.google.com by kura...@gmail.com on 7 Feb 2009 at 4:41

Attachments:

GoogleCodeExporter commented 8 years ago
After more digging I found onFinishedParsing, and after much testing I now have 
a
pretty solid plugin I think. onFinish is no longer necessary, so this issue can 
be
resolved. I'd think I could do it myself, but ah well.

Original comment by kura...@gmail.com on 12 Feb 2009 at 3:37

GoogleCodeExporter commented 8 years ago

Original comment by micmath on 15 Feb 2009 at 12:05