Class UnaryExpNode

    • Constructor Detail

      • UnaryExpNode

        public UnaryExpNode()
        Default public constructor (postponed initialization of the expr value)
      • UnaryExpNode

        protected UnaryExpNode​(ExpNode expr)
        Protected constructor for immediate initialization by a subclass
        Parameters:
        expr -
    • Method Detail

      • getExpr

        public ExpNode getExpr()
        Returns:
        the expr
      • setExpr

        public void setExpr​(ExpNode expr)
        Parameters:
        expr - the expr to set
      • popOperands

        public void popOperands​(java.util.Stack<ExpNode> stack)
        Description copied from interface: ExpNode
        Read the operands from the stack