3 Commits

Author SHA1 Message Date
Jannon
f717abf6e1 fix and tests for #55 2012-03-20 23:24:21 -07:00
Jannon
e35ef82d99 A different take on a more flexible parser/plugin architecture
Plugins can now do any or all of three things:
- Add tags to the dictionary by exporting a 'defineTags' function
- Register event handlers like before, but exporting them in a 'handlers' object.
- Add a node visitor to the parser.  As the parser visits nodes, it will give all attached plugin visitors an opportunity to process the node as well.  This gives plugin creators an opportunity to do things with symbols that the standard parser doesn't handle (like class factory function calls)

This includes a new Rhino jar just for JSDoc3!  Well, it just has a small change that causes Rhino's parser to attach jsdoc comments to function call nodes when present.
2012-02-24 05:53:03 -08:00
Michael Mathews
8799668ccf Added more nodejs compatible version of require(). 2011-06-17 21:06:37 +01:00