Uses of Enum Class
org.sonar.plugins.python.api.TriBool
Packages that use TriBool
Package
Description
-
Uses of TriBool in org.sonar.plugins.python.api
Methods in org.sonar.plugins.python.api that return TriBoolModifier and TypeMethodDescriptionTriBool.conservativeAnd(TriBool triBool) This method performs a conservative AND of TriBool results It is meant to be used when collapsing the results of testing a single predicate against candidates of a UnionType Therefore, this variation will return UNKNOWN whenever one of the operands is UNKNOWNTriBool.logicalAnd(TriBool triBool) This method performs a logical AND of TriBool results It is meant to be used when performing the logical combination of ANDed predicates against a given type Therefore, this variation behaves like a standard logical "AND" and will return FALSE whenever one of the operands is FALSEstatic TriBoolReturns the enum constant of this class with the specified name.static TriBool[]TriBool.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.sonar.plugins.python.api with parameters of type TriBoolModifier and TypeMethodDescriptionTriBool.conservativeAnd(TriBool triBool) This method performs a conservative AND of TriBool results It is meant to be used when collapsing the results of testing a single predicate against candidates of a UnionType Therefore, this variation will return UNKNOWN whenever one of the operands is UNKNOWNTriBool.logicalAnd(TriBool triBool) This method performs a logical AND of TriBool results It is meant to be used when performing the logical combination of ANDed predicates against a given type Therefore, this variation behaves like a standard logical "AND" and will return FALSE whenever one of the operands is FALSE -
Uses of TriBool in org.sonar.plugins.python.api.types.v2
Methods in org.sonar.plugins.python.api.types.v2 that return TriBoolModifier and TypeMethodDescriptiondefault TriBoolFor UnionType, hasMember will return true if all alternatives have the member It will return false if all alternatives DON'T have the member It will return unknown in all other casesClassType.instancesHaveMember(String memberName) -
Uses of TriBool in org.sonar.python.api.types.v2.matchers
Methods in org.sonar.python.api.types.v2.matchers that return TriBoolModifier and TypeMethodDescriptionTypeMatcher.evaluateFor(Expression expr, SubscriptionContext ctx) -
Uses of TriBool in org.sonar.python.semantic.v2.callgraph
Methods in org.sonar.python.semantic.v2.callgraph that return TriBoolModifier and TypeMethodDescriptionCallGraphWalker.isUsedFrom(String startFqn, Predicate<CallGraphNode> predicate) -
Uses of TriBool in org.sonar.python.types.v2
Methods in org.sonar.python.types.v2 that return TriBool -
Uses of TriBool in org.sonar.python.types.v2.matchers
Methods in org.sonar.python.types.v2.matchers that return TriBoolModifier and TypeMethodDescriptionAllTypePredicate.check(PythonType type, SubscriptionContext ctx) AnyTypePredicate.check(PythonType type, SubscriptionContext ctx) HasFQNPredicate.check(PythonType type, SubscriptionContext ctx) HasMemberPredicate.check(PythonType type, SubscriptionContext ctx) HasMemberSatisfyingPredicate.check(PythonType type, SubscriptionContext ctx) IsObjectSatisfyingPredicate.check(PythonType type, SubscriptionContext ctx) IsObjectSubtypeOfPredicate.check(PythonType type, SubscriptionContext ctx) IsTypePredicate.check(PythonType type, SubscriptionContext ctx) TypePredicate.check(PythonType type, SubscriptionContext ctx) TypeSourcePredicate.check(PythonType type, SubscriptionContext ctx)