Interface JAssignableExpr

All Superinterfaces:
JCommentable, JExpr, JStatement

public interface JAssignableExpr extends JExpr, JStatement
An expression which is assignable (that is, is a valid "lvalue").
Author:
David M. Lloyd
  • Method Details

    • assign

      JExpr assign(JExpr e1)
      Combine this expression with another using the binary = operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • addAssign

      JExpr addAssign(JExpr e1)
      Combine this expression with another using the binary += operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • subAssign

      JExpr subAssign(JExpr e1)
      Combine this expression with another using the binary -= operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • mulAssign

      JExpr mulAssign(JExpr e1)
      Combine this expression with another using the binary *= operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • divAssign

      JExpr divAssign(JExpr e1)
      Combine this expression with another using the binary /= operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • modAssign

      JExpr modAssign(JExpr e1)
      Combine this expression with another using the binary %= operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • andAssign

      JExpr andAssign(JExpr e1)
      Combine this expression with another using the binary &= operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • orAssign

      JExpr orAssign(JExpr e1)
      Combine this expression with another using the binary |= operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • xorAssign

      JExpr xorAssign(JExpr e1)
      Combine this expression with another using the binary ^= operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • shrAssign

      JExpr shrAssign(JExpr e1)
      Combine this expression with another using the binary >>= operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • lshrAssign

      JExpr lshrAssign(JExpr e1)
      Combine this expression with another using the binary >>>= operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • shlAssign

      JExpr shlAssign(JExpr e1)
      Combine this expression with another using the binary <<= operator.
      Parameters:
      e1 - the other expression
      Returns:
      the combined expression
    • postInc

      JExpr postInc()
      Apply the postfix ++ operator to this expression.
      Returns:
      the new expression
    • postDec

      JExpr postDec()
      Apply the postfix -- operator to this expression.
      Returns:
      the new expression
    • preInc

      JExpr preInc()
      Apply the prefix ++ operator to this expression.
      Returns:
      the new expression
    • preDec

      JExpr preDec()
      Apply the prefix -- operator to this expression.
      Returns:
      the new expression