Class BoundBinaryExpression


public class BoundBinaryExpression extends BoundExpression
Represents a bound binary expression in the code analysis process.
Version:
1.0
Author:
Siyabend Urun
See Also:
  • Constructor Details

    • BoundBinaryExpression

      public BoundBinaryExpression(BoundExpression left, BoundBinaryOperator operator, BoundExpression right)
      Constructs a new instance of the BoundBinaryExpression class.
      Parameters:
      left - The left operand bound expression.
      operator - The bound binary operator type.
      right - The right operand bound expression.
  • Method Details

    • getType

      public BoundNodeType getType()
      Gets the type of the bound expression.
      Specified by:
      getType in class BoundNode
      Returns:
      The type of the bound expression.
    • getClassType

      public Class<?> getClassType()
      Gets the class type of the bound expression.
      Specified by:
      getClassType in class BoundExpression
      Returns:
      The class type of the bound expression.
    • getOperator

      public BoundBinaryOperator getOperator()
      Gets the bound binary operator of the expression.
      Returns:
      The bound binary operator.
    • getLeft

      public BoundExpression getLeft()
      Gets the left operand bound expression.
      Returns:
      The left operand bound expression.
    • setLeft

      public void setLeft(BoundExpression left)
      Sets the left operand bound expression.
      Parameters:
      left - The left operand bound expression to set.
    • getRight

      public BoundExpression getRight()
      Gets the right operand bound expression.
      Returns:
      The right operand bound expression.
    • setRight

      public void setRight(BoundExpression right)
      Sets the right operand bound expression.
      Parameters:
      right - The right operand bound expression to set.