public class EqualToSymbolicValue extends Object implements SymbolicValue
x == null
foo(x) !== undefinedCurrent implementation supports only
null and undefined as "constraining" operand. There is no limitation on "constrained" operand.| Constructor and Description |
|---|
EqualToSymbolicValue(SymbolicValue firstOperandValue,
Constraint constraint) |
| Modifier and Type | Method and Description |
|---|---|
List<ProgramState> |
constrain(ProgramState state,
Constraint constraint) |
Constraint |
constraint(ProgramState state) |
static SymbolicValue |
createEqual(SymbolicValue operand1,
SymbolicValue operand2) |
static SymbolicValue |
createNotEqual(SymbolicValue operand1,
SymbolicValue operand2) |
static SymbolicValue |
createStrictEqual(SymbolicValue operand1,
SymbolicValue operand2) |
static SymbolicValue |
createStrictNotEqual(SymbolicValue operand1,
SymbolicValue operand2) |
boolean |
equalToSV(Object obj) |
String |
toString() |
public EqualToSymbolicValue(SymbolicValue firstOperandValue, Constraint constraint)
public static SymbolicValue createEqual(SymbolicValue operand1, SymbolicValue operand2)
public static SymbolicValue createNotEqual(SymbolicValue operand1, SymbolicValue operand2)
public static SymbolicValue createStrictEqual(SymbolicValue operand1, SymbolicValue operand2)
public static SymbolicValue createStrictNotEqual(SymbolicValue operand1, SymbolicValue operand2)
public List<ProgramState> constrain(ProgramState state, Constraint constraint)
constrain in interface SymbolicValuepublic Constraint constraint(ProgramState state)
constraint in interface SymbolicValuepublic boolean equalToSV(Object obj)
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.