Re: svn commit: r1503056 - in /tomcat/trunk: java/org/apache/el/ java/org/apache/el/parser/ test/org/apache/el/parser/

2013-07-16 Thread Violeta Georgieva
2013/7/15 ma...@apache.org Author: markt Date: Sun Jul 14 21:07:26 2013 New Revision: 1503056 URL: http://svn.apache.org/r1503056 Log: Start to implement the lambda expression syntax. Very basic expressions work. I expect further changes to be required for more complex expressions.

Re: svn commit: r1503056 - in /tomcat/trunk: java/org/apache/el/ java/org/apache/el/parser/ test/org/apache/el/parser/

2013-07-16 Thread Mark Thomas
On 16/07/2013 09:02, Violeta Georgieva wrote: 2013/7/15 ma...@apache.org snip/ +public class AstLambdaExpressionOrInvocation extends SimpleNode { + +public AstLambdaExpressionOrInvocation(int id) { +super(id); +} + + +@Override +public Object

Re: svn commit: r1503056 - in /tomcat/trunk: java/org/apache/el/ java/org/apache/el/parser/ test/org/apache/el/parser/

2013-07-16 Thread Violeta Georgieva
2013/7/16 Mark Thomas wrote: On 16/07/2013 09:02, Violeta Georgieva wrote: 2013/7/15 ma...@apache.org snip/ +public class AstLambdaExpressionOrInvocation extends SimpleNode { + +public AstLambdaExpressionOrInvocation(int id) { +super(id); +} + + +

Re: svn commit: r1503056 - in /tomcat/trunk: java/org/apache/el/ java/org/apache/el/parser/ test/org/apache/el/parser/

2013-07-16 Thread Mark Thomas
On 16/07/2013 15:39, Violeta Georgieva wrote: 2013/7/16 Mark Thomas wrote: snip/ Do you have an example of a valid expression that needs multiple method arguments? I'll try and come up with one. If I can't I'll change the grammar and re-generate. What about (x-y-x+y)(a)(b) in the

Re: svn commit: r1503056 - in /tomcat/trunk: java/org/apache/el/ java/org/apache/el/parser/ test/org/apache/el/parser/

2013-07-16 Thread Mark Thomas
On 16/07/2013 16:02, Mark Thomas wrote: On 16/07/2013 15:39, Violeta Georgieva wrote: 2013/7/16 Mark Thomas wrote: snip/ Do you have an example of a valid expression that needs multiple method arguments? I'll try and come up with one. If I can't I'll change the grammar and re-generate.

Re: svn commit: r1503056 - in /tomcat/trunk: java/org/apache/el/ java/org/apache/el/parser/ test/org/apache/el/parser/

2013-07-15 Thread Mark Thomas
On 14/07/2013 23:01, Konstantin Kolinko wrote: 2013/7/15 ma...@apache.org: Author: markt Date: Sun Jul 14 21:07:26 2013 New Revision: 1503056 URL: http://svn.apache.org/r1503056 +# AstLambdaExpression +error.args.tooFew=Only [{0}] arguments were provided for a lambda expression that

svn commit: r1503056 - in /tomcat/trunk: java/org/apache/el/ java/org/apache/el/parser/ test/org/apache/el/parser/

2013-07-14 Thread markt
Author: markt Date: Sun Jul 14 21:07:26 2013 New Revision: 1503056 URL: http://svn.apache.org/r1503056 Log: Start to implement the lambda expression syntax. Very basic expressions work. I expect further changes to be required for more complex expressions. Includes the initial unit tests for this

Re: svn commit: r1503056 - in /tomcat/trunk: java/org/apache/el/ java/org/apache/el/parser/ test/org/apache/el/parser/

2013-07-14 Thread Konstantin Kolinko
2013/7/15 ma...@apache.org: Author: markt Date: Sun Jul 14 21:07:26 2013 New Revision: 1503056 URL: http://svn.apache.org/r1503056 Log: Start to implement the lambda expression syntax. Very basic expressions work. I expect further changes to be required for more complex expressions.