Package org.sonar.python.tree
Class PyIsExpressionTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyBinaryExpressionTreeImpl
-
- org.sonar.python.tree.PyIsExpressionTreeImpl
-
- All Implemented Interfaces:
PyBinaryExpressionTree,PyExpressionTree,PyIsExpressionTree,Tree
public class PyIsExpressionTreeImpl extends PyBinaryExpressionTreeImpl implements PyIsExpressionTree
-
-
Constructor Summary
Constructors Constructor Description PyIsExpressionTreeImpl(PyExpressionTree leftOperand, com.sonar.sslr.api.Token operator, com.sonar.sslr.api.Token not, PyExpressionTree rightOperand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tree.KindgetKind()com.sonar.sslr.api.TokennotToken()-
Methods inherited from class org.sonar.python.tree.PyBinaryExpressionTreeImpl
accept, children, leftOperand, operator, rightOperand
-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, 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.python.api.tree.PyBinaryExpressionTree
leftOperand, operator, rightOperand
-
-
-
-
Constructor Detail
-
PyIsExpressionTreeImpl
public PyIsExpressionTreeImpl(PyExpressionTree leftOperand, com.sonar.sslr.api.Token operator, @Nullable com.sonar.sslr.api.Token not, PyExpressionTree rightOperand)
-
-
Method Detail
-
getKind
public Tree.Kind getKind()
- Specified by:
getKindin interfaceTree- Overrides:
getKindin classPyBinaryExpressionTreeImpl
-
notToken
@CheckForNull public com.sonar.sslr.api.Token notToken()
- Specified by:
notTokenin interfacePyIsExpressionTree
-
-