Class NullaryOperator<T extends IVariable<T>>
java.lang.Object
com.ibm.wala.fixpoint.AbstractOperator<T>
com.ibm.wala.fixedpoint.impl.NullaryOperator<T>
- All Implemented Interfaces:
FixedPointConstants
- Direct Known Subclasses:
TypeInference.DeclaredTypeOperator
An operator of the form lhs = op
-
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
Constructors -
Method Summary
Methods inherited from class AbstractOperator
equals, hashCode, toString
-
Constructor Details
-
NullaryOperator
public NullaryOperator()
-
-
Method Details
-
evaluate
Description copied from class:AbstractOperatorEvaluate this equation, setting a new value for the left-hand side.- Specified by:
evaluatein classAbstractOperator<T extends IVariable<T>>- Returns:
- a code that indicates: 1) has the lhs value changed? 2) has this equation reached a fixed-point, in that we never have to evaluate the equation again, even if rhs operands change?
- Throws:
UnsupportedOperationException
-
evaluate
Evaluate this equation, setting a new value for the left-hand side.- Returns:
- a constant defined by
FixedPointConstantsthat reflects whether the lhs value changed
-