Package org.sonar.python.tree
Class InExpressionImpl
java.lang.Object
org.sonar.python.tree.PyTree
org.sonar.python.tree.BinaryExpressionImpl
org.sonar.python.tree.InExpressionImpl
- All Implemented Interfaces:
BinaryExpression,Expression,InExpression,Tree,HasTypeDependencies
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken -
Constructor Summary
ConstructorsConstructorDescriptionInExpressionImpl(Expression leftOperand, Token not, Token operator, Expression rightOperand) -
Method Summary
Methods inherited from class org.sonar.python.tree.BinaryExpressionImpl
accept, leftOperand, operator, rightOperand, type, typeDependenciesMethods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonar.plugins.python.api.tree.BinaryExpression
leftOperand, operator, rightOperandMethods inherited from interface org.sonar.plugins.python.api.tree.Expression
type
-
Constructor Details
-
InExpressionImpl
public InExpressionImpl(Expression leftOperand, @Nullable Token not, Token operator, Expression rightOperand)
-
-
Method Details
-
getKind
- Specified by:
getKindin interfaceTree- Overrides:
getKindin classBinaryExpressionImpl
-
notToken
- Specified by:
notTokenin interfaceInExpression
-
computeChildren
- Overrides:
computeChildrenin classBinaryExpressionImpl
-