Interface BinaryExp

All Superinterfaces:
Exp, RValue, Serializable
All Known Implementing Classes:
ArithmeticExp, BitwiseExp, ComparisonExp, ConditionExp, ShiftExp

public interface BinaryExp extends RValue
Representation of binary expression.
  • Method Details

    • getOperator

      BinaryExp.Op getOperator()
      Returns:
      the operator.
    • getOperand1

      Var getOperand1()
      Returns:
      the first operand.
    • getOperand2

      Var getOperand2()
      Returns:
      the second operand.
    • getType

      PrimitiveType getType()
      Specified by:
      getType in interface Exp
      Returns:
      type of this expression.