Class OperatorUtil.UnaryOperatorSequence<T extends IVariable<T>>
java.lang.Object
com.ibm.wala.fixpoint.AbstractOperator<T>
com.ibm.wala.fixpoint.UnaryOperator<T>
com.ibm.wala.cfg.exc.intra.OperatorUtil.UnaryOperatorSequence<T>
- All Implemented Interfaces:
FixedPointConstants
- Enclosing class:
OperatorUtil
public static class OperatorUtil.UnaryOperatorSequence<T extends IVariable<T>>
extends UnaryOperator<T>
An operator of the form lhs = op_1(op_2(..op_n(rhs)..))
- Author:
- Martin Hecker, martin.hecker@kit.edu
-
Field Summary
Fields inherited from interface FixedPointConstants
CHANGED, CHANGED_AND_FIXED, CHANGED_MASK, FIXED_MASK, NOT_CHANGED, NOT_CHANGED_AND_FIXED, SIDE_EFFECT_MASKModifier and TypeFieldDescriptionstatic final byteA return value which indicates that a lhs has changed, and the statement might need to be evaluated again.static final byteA return value which indicates that lhs has changed, and the statement need not be evaluated again.static final intThe bit-mask which defines the "CHANGED" flagstatic final intThe bit-mask which defines the "FIXED" flagstatic final byteA return value which indicates that lhs has not changed, and the statement might need to be evaluated again.static final byteA return value which indicates that lhs has not changed, and the statement need not be evaluated again.static final intThe bit-mask which defines the "SIDE EFFECT" flag -
Constructor Summary
ConstructorsConstructorDescriptionUnaryOperatorSequence(UnaryOperator<T>... operators) UnaryOperatorSequence(Collection<UnaryOperator<T>> operators) -
Method Summary
Methods inherited from class UnaryOperator
evaluate, isIdentity, makeEquationModifier and TypeMethodDescriptionbyteEvaluate this equation, setting a new value for the left-hand side.booleanmakeEquation(T lhs, T rhs) Create an equation which uses this operator Override in subclasses for efficiency.
-
Constructor Details
-
UnaryOperatorSequence
-
UnaryOperatorSequence
-
-
Method Details
-
equals
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractOperator<T extends IVariable<T>>
-
toString
-
evaluate
Description copied from class:UnaryOperatorEvaluate this equation, setting a new value for the left-hand side.- Specified by:
evaluatein classUnaryOperator<T extends IVariable<T>>- Returns:
- a constant defined by
FixedPointConstantsthat reflects whether the lhs value changed
-