« Return to Thread: Rhino: JSDoc?

Re: Rhino: JSDoc?

by Marcello Bastéa-Forte :: Rate this Message:

Reply to Author | View in Thread

If anyone is interested, I've made a patch to Rhino that records /**
javadoc */ tags into a __jsdoc__ property of all Function objects.  From
there you can do whatever you like.  (I made up a script that analyzes
the scope to find all classes/functions and uses the jsdoc information
accordingly.)

Marcello

> I am curious if anyone familiar somewhat with Rhino's internals would
> know how feasible a JavaScript equivalent of javadoc would be to create
> using Rhino?
>
> I know there exists jsdoc (http://jsdoc.sourceforge.net/) but it's
> entirely written in Perl with regular expressions (no proper parse-tree)
>  and it would be nice to have a closer to home approach.  Some sort of
> meta-data for JavaScript.
>
> Any insights would be appreciated.
>
> Thanks,
>
> Marcello
_______________________________________________
dev-tech-js-engine mailing list
dev-tech-js-engine@...
https://lists.mozilla.org/listinfo/dev-tech-js-engine

 « Return to Thread: Rhino: JSDoc?