Package org.sonar.python.tree
Class BinaryExpressionImpl
java.lang.Object
org.sonar.python.tree.PyTree
org.sonar.python.tree.BinaryExpressionImpl
- All Implemented Interfaces:
BinaryExpression,Expression,Tree,HasTypeDependencies
- Direct Known Subclasses:
InExpressionImpl,IsExpressionImpl
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken -
Constructor Summary
ConstructorsConstructorDescriptionBinaryExpressionImpl(Expression leftOperand, Token operator, Expression rightOperand) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TreeVisitor visitor) getKind()operator()type()typeV2()typeV2(PythonType type) Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
Constructor Details
-
BinaryExpressionImpl
-
-
Method Details
-
leftOperand
- Specified by:
leftOperandin interfaceBinaryExpression
-
operator
- Specified by:
operatorin interfaceBinaryExpression
-
rightOperand
- Specified by:
rightOperandin interfaceBinaryExpression
-
accept
-
getKind
-
computeChildren
-
type
- Specified by:
typein interfaceExpression
-
typeV2
- Specified by:
typeV2in interfaceExpression
-
typeV2
-
typeDependencies
- Specified by:
typeDependenciesin interfaceHasTypeDependencies
-