This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Function Arguments


Volkan YAZICI wrote:
Hi,

How can I get the argument list of a previously defined function?
(Something similar to FUNCTION-LAMBDA-EXPRESSION in Common Lisp.)

No supported to get it, but take a look in gnu/mapping/Procedure.java. You can use minArg/maxArgs.

Also, if the procedure is a MethodProc (which it usually is),
you can use getParameterType(int).  That isn't guaranteed to
give a useful result, but may be helpful.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]