Package org.sonar.javascript.se
Class Relation
- java.lang.Object
-
- org.sonar.javascript.se.Relation
-
public class Relation extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRelation.Operator
-
Constructor Summary
Constructors Constructor Description Relation(Tree.Kind kind, SymbolicValue leftOperand, SymbolicValue rightOperand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Boolean>applyNumericComparison(ProgramState state)booleanequals(Object obj)inthashCode()booleanisCompatibleWith(Relation other)SymbolicValueleftOperand()Relationnot()Set<SymbolicValue>operands()Relation.Operatoroperator()SymbolicValuerightOperand()StringtoString()
-
-
-
Constructor Detail
-
Relation
public Relation(Tree.Kind kind, SymbolicValue leftOperand, SymbolicValue rightOperand)
-
-
Method Detail
-
not
public Relation not()
-
isCompatibleWith
public boolean isCompatibleWith(Relation other)
-
operands
public Set<SymbolicValue> operands()
-
leftOperand
public SymbolicValue leftOperand()
-
rightOperand
public SymbolicValue rightOperand()
-
operator
public Relation.Operator operator()
-
applyNumericComparison
public Optional<Boolean> applyNumericComparison(ProgramState state)
-
-