Allow the creation of functions
-------------------------------
Key: JEXL-127
URL: https://issues.apache.org/jira/browse/JEXL-127
Project: Commons JEXL
Issue Type: Improvement
Reporter: Henri Biestro
Fix For: 3.0
As script get richer, being able to create functions is a strong need.
This only requires adding a new keyword ('function') and the syntax would be:
var fn = function(x, y, z) {...}.
It would be nice to allow those to behave as closures (thru local variable
hoistering).
This will bring JEXL closer to ECMAScript in functionality.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira