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
public class IsExpressionImpl extends BinaryExpressionImpl implements IsExpression
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description IsExpressionImpl(Expression leftOperand, Token operator, Token not, Expression rightOperand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Tree>computeChildren()Tree.KindgetKind()TokennotToken()-
Methods inherited from class org.sonar.python.tree.BinaryExpressionImpl
accept, leftOperand, operator, rightOperand, type, typeDependencies
-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.plugins.python.api.tree.BinaryExpression
leftOperand, operator, rightOperand
-
Methods inherited from interface org.sonar.plugins.python.api.tree.Expression
type
-
-
-
-
Constructor Detail
-
IsExpressionImpl
public IsExpressionImpl(Expression leftOperand, Token operator, @Nullable Token not, Expression rightOperand)
-
-
Method Detail
-
getKind
public Tree.Kind getKind()
- Specified by:
getKindin interfaceTree- Overrides:
getKindin classBinaryExpressionImpl
-
notToken
@CheckForNull public Token notToken()
- Specified by:
notTokenin interfaceIsExpression
-
computeChildren
public List<Tree> computeChildren()
- Overrides:
computeChildrenin classBinaryExpressionImpl
-
-