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
public class InExpressionImpl extends BinaryExpressionImpl implements InExpression
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description InExpressionImpl(Expression leftOperand, Token not, Token operator, 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
-
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
-
-
-
-
Constructor Detail
-
InExpressionImpl
public InExpressionImpl(Expression leftOperand, @Nullable Token not, Token operator, Expression rightOperand)
-
-
Method Detail
-
getKind
public Tree.Kind getKind()
- Specified by:
getKindin interfaceTree- Overrides:
getKindin classBinaryExpressionImpl
-
notToken
@CheckForNull public Token notToken()
- Specified by:
notTokenin interfaceInExpression
-
computeChildren
public List<Tree> computeChildren()
- Overrides:
computeChildrenin classBinaryExpressionImpl
-
-