On Feb 12, 11:33 am, Johan Compagner <jcompag...@gmail.com> wrote:
> you should be able to get the param count (and names)
> But not the types thats impossible in js
>
> But if you have the source then you can say that they have to specify the
> type through the jsdoc @param tag..
>
> Then a jsdoc parser in java is needed, and if you do find one please share i
> also need one,
> We are currently thinking just to rewrite some parts (the regexp) of the
> jsdoc-toolkit to java
> But if anybody has a better idea?
> (would be a nice add on for rhino itself)
>
> johan
>
> On Tue, Feb 10, 2009 at 07:51, <vivekoc...@gmail.com> wrote:
> > how to get parameter types of a javascript function compiled using
> > rhino?????
> > _______________________________________________
> > dev-tech-js-engine-rhino mailing list
> > dev-tech-js-engine-rh...@lists.mozilla.org
> >https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

You should post any questions like that on our JsDoc Toolkit user
list, it is more likely to get a proper answer. We are already
planning to use the (soon to be available?) AST feature of rhino to do
the static analysis work in the next major release of JsDoc Toolkit,
so you can possibly contribute to that if you are interested.

michael
_______________________________________________
dev-tech-js-engine-rhino mailing list
dev-tech-js-engine-rhino@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to