Re: how to get parameter types of a javascript function compiled using rhino

2009-02-14 Thread Charles Lowell
On Feb 13, 8:10 am, Johan Compagner wrote: > > > On Tue, Feb 10, 2009 at 07:51, wrote: > > > > how to get parameter types of a javascript function compiled using > > > > rhino? > > > > ___ > > > > dev-tech-js-engine-rhino mailing list > > > > dev-te

Re: how to get parameter types of a javascript function compiled using rhino

2009-02-13 Thread Johan Compagner
> > On Tue, Feb 10, 2009 at 07:51, 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.

Re: how to get parameter types of a javascript function compiled using rhino

2009-02-13 Thread Michael
On Feb 12, 11:33 am, Johan Compagner 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 need

Re: how to get parameter types of a javascript function compiled using rhino

2009-02-12 Thread Johan Compagner
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,

Re: how to get parameter types of a javascript function compiled using rhino

2009-02-12 Thread Attila Szegedi
On 2009.02.12., at 11:10, Patrick Dobbs wrote: typeof(x) works from javascript, but if type info is needed then the sender of this thread post is presumably trying to call a function defined inside a js script from Java. That was my impression too. Since javascript is untyped, I presume th

Re: how to get parameter types of a javascript function compiled using rhino

2009-02-12 Thread Patrick Dobbs
typeof(x) works from javascript, but if type info is needed then the sender of this thread post is presumably trying to call a function defined inside a js script from Java. Since javascript is untyped, I presume that if you don't know beforehand what type parameters the js function expects, i

Re: how to get parameter types of a javascript function compiled using rhino

2009-02-12 Thread FoxZ
On 10 fév, 07:51, vivekoc...@gmail.com wrote: > how to get parameter types of a javascript function compiled using > rhino? typeof(x) sorry ___ dev-tech-js-engine-rhino mailing list dev-tech-js-engine-rhino@lists.mozilla.org https://lists.mozilla.or