Attila Szegedi wrote: > On Oct 19, 2008, at 1:58 PM, Marc Guillemot wrote: > >> Attila Szegedi wrote: >>> ... >>> Yeah, this could work without too much complexity -- just stash >>> somewhere the last identifier encountered within the current statement >>> (null it on statement boundary), and use that as the function name. >> >> thanks to confirm that it wouldn't be a technical problem. >> >> What do you think of such a feature? Would you welcome it in the code >> base? > > I would.
great! I've made some modifications to the parser (locally) to capture the name and can save it in the FunctionNode. What would be for you the best way to make this information available in the InterpretedFunction / Script once we have it in the AST? Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
