Package org.sonar.javascript.se.sv
Class PlusSymbolicValue
- java.lang.Object
-
- org.sonar.javascript.se.sv.PlusSymbolicValue
-
- All Implemented Interfaces:
SymbolicValue
public class PlusSymbolicValue extends Object implements SymbolicValue
This class represents symbolic value for binary "+" expression. E.g.x + y
"str" + foo
-
-
Constructor Summary
Constructors Constructor Description PlusSymbolicValue(SymbolicValue firstOperandValue, SymbolicValue secondOperandValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstraintbaseConstraint(ProgramState state)Optional<ProgramState>constrainDependencies(ProgramState state, Constraint constraint)StringtoString()
-
-
-
Constructor Detail
-
PlusSymbolicValue
public PlusSymbolicValue(SymbolicValue firstOperandValue, SymbolicValue secondOperandValue)
-
-
Method Detail
-
constrainDependencies
public Optional<ProgramState> constrainDependencies(ProgramState state, Constraint constraint)
- Specified by:
constrainDependenciesin interfaceSymbolicValue
-
baseConstraint
public Constraint baseConstraint(ProgramState state)
- Specified by:
baseConstraintin interfaceSymbolicValue
-
-