Subj : Re: Iterate all functions in script To : Forest Carlisle From : Brendan Eich Date : Fri May 07 2004 01:30 pm Forest Carlisle wrote: > I need to peek at every string parameter passed to a specific function. Not all strings passed to function calls are literals. How do you cope with variable or expression parameters? > I > can't just evaluate the script to get the parameters because of conditional > if blocks and such that may not be true in every context. I know it is lame > but I have to do it to allow my user to create templates my application uses > to define what it should do on any given execution. What do these templates look like? Maybe there's a better way that involves some kind of JS_FRIEND_API I can provide. /be .