Package jminusminus

Class JAssignment

Direct Known Subclasses:
JALeftShiftAssignOp, JAndAssignOp, JARightShiftAssignOp, JAssignOp, JDivAssignOp, JLRightShiftAssignOp, JMinusAssignOp, JOrAssignOp, JPlusAssignOp, JRemAssignOp, JStarAssignOp, JXorAssignOp

abstract class JAssignment extends JBinaryExpression
This abstract base class is the AST node for an assignment operation.
  • Constructor Details

    • JAssignment

      public JAssignment(int line, String operator, JExpression lhs, JExpression rhs)
      Constructs an AST node for an assignment operation.
      Parameters:
      line - line in which the assignment operation occurs in the source file.
      operator - the assignment operator.
      lhs - the lhs operand.
      rhs - the rhs operand.