Package soot.JastAddJ

Class Unary

    • Field Detail

      • type_computed

        protected boolean type_computed
      • type_value

        protected TypeDecl type_value
    • Constructor Detail

      • Unary

        public Unary()
      • Unary

        public Unary​(Expr p0)
    • Method Detail

      • flushCache

        public void flushCache()
        Overrides:
        flushCache in class Expr
      • emitPostfix

        public Value emitPostfix​(Body b,
                                 int constant)
      • emitPrefix

        public Value emitPrefix​(Body b,
                                int constant)
      • 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 Expr
      • numChildren

        protected int numChildren()
        Overrides:
        numChildren in class Expr
      • mayHaveRewrite

        public boolean mayHaveRewrite()
        Overrides:
        mayHaveRewrite in class Expr
      • setOperand

        public void setOperand​(Expr node)
        Replaces the Operand child.
        Parameters:
        node - The new node to replace the Operand child.
      • getOperand

        public Expr getOperand()
        Retrieves the Operand child.
        Returns:
        The current node used as the Operand child.
      • getOperandNoTransform

        public Expr getOperandNoTransform()
        Retrieves the Operand child.

        This method does not invoke AST transformations.

        Returns:
        The current node used as the Operand child.
      • printPostOp

        public String printPostOp()
      • printPreOp

        public String printPreOp()