Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0
-
None
Description
Implementation of side-effect versions of common operators:
Their default behavior is to execute the operator and assign the left hand side with the result.
For instance
a += 2
is equivalent to
a = a + 2
.
JexlArithmetic can be derived to overload those operators.
The list of operators to implement: +=, -=; *=, /=, &=, |=, ^=