Package org.sonar.python.tree
Class IsExpressionImpl
java.lang.Object
org.sonar.python.tree.PyTree
org.sonar.python.tree.BinaryExpressionImpl
org.sonar.python.tree.IsExpressionImpl
- All Implemented Interfaces:
BinaryExpression,Expression,IsExpression,Tree,HasTypeDependencies
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken -
Constructor Summary
ConstructorsConstructorDescriptionIsExpressionImpl(Expression leftOperand, Token operator, Token not, Expression rightOperand) -
Method Summary
Methods inherited from class org.sonar.python.tree.BinaryExpressionImpl
accept, leftOperand, operator, rightOperand, type, typeDependencies, typeV2, typeV2Methods 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, typeV2
-
Constructor Details
-
IsExpressionImpl
public IsExpressionImpl(Expression leftOperand, Token operator, @Nullable Token not, Expression rightOperand)
-
-
Method Details
-
getKind
- Specified by:
getKindin interfaceTree- Overrides:
getKindin classBinaryExpressionImpl
-
notToken
- Specified by:
notTokenin interfaceIsExpression
-
computeChildren
- Overrides:
computeChildrenin classBinaryExpressionImpl
-