Package org.sonar.javascript.se.sv
Class InstanceOfSymbolicValue
- java.lang.Object
-
- org.sonar.javascript.se.sv.InstanceOfSymbolicValue
-
- All Implemented Interfaces:
SymbolicValue
public class InstanceOfSymbolicValue extends Object implements SymbolicValue
This class represents symbolic value for "instanceof" expression. E.g.typeof foo.bar()
typeof x
-
-
Constructor Summary
Constructors Constructor Description InstanceOfSymbolicValue(SymbolicValue objectValue, SymbolicValue constructorValue)
-
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
-
InstanceOfSymbolicValue
public InstanceOfSymbolicValue(SymbolicValue objectValue, SymbolicValue constructorValue)
-
-
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
-
-