Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-170

Implement assignment operators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 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: +=, -=; *=, /=, &=, |=, ^=

      Attachments

        Activity

          People

            henrib Henri Biestro
            henrib Henri Biestro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: