Package soot.JastAddJ

Class ArithmeticExpr

    • Constructor Detail

      • ArithmeticExpr

        public ArithmeticExpr()
      • ArithmeticExpr

        public ArithmeticExpr​(Expr p0,
                              Expr p1)
    • Method Detail

      • init$Children

        public void init$Children()
        Initializes the child array to the correct size. Initializes List and Opt nta children.
        Overrides:
        init$Children in class Binary
      • setLeftOperand

        public void setLeftOperand​(Expr node)
        Replaces the LeftOperand child.
        Overrides:
        setLeftOperand in class Binary
        Parameters:
        node - The new node to replace the LeftOperand child.
      • getLeftOperand

        public Expr getLeftOperand()
        Retrieves the LeftOperand child.
        Overrides:
        getLeftOperand in class Binary
        Returns:
        The current node used as the LeftOperand child.
      • getLeftOperandNoTransform

        public Expr getLeftOperandNoTransform()
        Retrieves the LeftOperand child.

        This method does not invoke AST transformations.

        Overrides:
        getLeftOperandNoTransform in class Binary
        Returns:
        The current node used as the LeftOperand child.
      • setRightOperand

        public void setRightOperand​(Expr node)
        Replaces the RightOperand child.
        Overrides:
        setRightOperand in class Binary
        Parameters:
        node - The new node to replace the RightOperand child.
      • getRightOperand

        public Expr getRightOperand()
        Retrieves the RightOperand child.
        Overrides:
        getRightOperand in class Binary
        Returns:
        The current node used as the RightOperand child.
      • getRightOperandNoTransform

        public Expr getRightOperandNoTransform()
        Retrieves the RightOperand child.

        This method does not invoke AST transformations.

        Overrides:
        getRightOperandNoTransform in class Binary
        Returns:
        The current node used as the RightOperand child.