Class AbstractBinopExpr

    • Constructor Detail

      • AbstractBinopExpr

        protected AbstractBinopExpr​(ValueBox op1Box,
                                    ValueBox op2Box)
    • Method Detail

      • getSymbol

        protected abstract String getSymbol()
        Returns the unique symbol for an operator.
      • clone

        public abstract Object clone()
        Description copied from interface: Value
        Returns a clone of this Value.
        Specified by:
        clone in interface Value
        Overrides:
        clone in class Object
      • getOp1

        public Value getOp1()
      • getOp2

        public Value getOp2()
      • getOp1Box

        public ValueBox getOp1Box()
      • getOp2Box

        public ValueBox getOp2Box()
      • setOp1

        public void setOp1​(Value op1)
      • setOp2

        public void setOp2​(Value op2)
      • getUseBoxes

        public final List<ValueBox> getUseBoxes()
        Description copied from interface: Value
        Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
        Specified by:
        getUseBoxes in interface Value
      • equivTo

        public boolean equivTo​(Object o)
        Description copied from interface: EquivTo
        Returns true if this object is equivalent to o.
        Specified by:
        equivTo in interface EquivTo
      • equivHashCode

        public int equivHashCode()
        Returns a hash code for this object, consistent with structural equality.
        Specified by:
        equivHashCode in interface EquivTo
      • isSuperclassSystemEnum

        public boolean isSuperclassSystemEnum​(Type t)
        Returns true if the superclass of the given Type is a System.Enum (.Net)
        Parameters:
        t -
        Returns: