Hi Vipul;
I agree the documentation is at best scarce on the matter.
The Javadoc for JexlExpression describe them as 'simply a reference to a single 
expression, not to multiple statements' and ''if','for','while','var' and 
blocks '{'... '}'are not allowed'.
So an expression is composed of identifiers, literals, arrays connected by 
operators -arithmetic operators (+, -, ...), comparison operators (>, <, ...), 
assignments ( x= ..., x+=...), function/method calls.
Btw, you can further restrict those using JexlFeatures (to disallow side 
effects for instance).
Hope this helps.

On 2023/02/16 04:59:15 Vipul Goyal wrote:
> Hi Team,
> 
> I struggling to find the documentation just for Jexl Expression. I want to
> share reference documentation with my users on what syntax and operators
> are supported.
> 
> I see documentation is being mixed up with expression and script and not
> able to find explicitly for Jexl expression.
> 
> Please help.
> 
> Regards,
> Vipul
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to