Package org.sonar.python.tree
Class ParenthesizedExpressionImpl
java.lang.Object
org.sonar.python.tree.PyTree
org.sonar.python.tree.ParenthesizedExpressionImpl
- All Implemented Interfaces:
Expression,ParenthesizedExpression,Tree,HasTypeDependencies
public class ParenthesizedExpressionImpl
extends PyTree
implements ParenthesizedExpression, HasTypeDependencies
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken -
Constructor Summary
ConstructorsConstructorDescriptionParenthesizedExpressionImpl(Token leftParenthesis, Expression expression, Token rightParenthesis) -
Method Summary
Methods 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.Expression
typeV2
-
Constructor Details
-
ParenthesizedExpressionImpl
public ParenthesizedExpressionImpl(Token leftParenthesis, Expression expression, Token rightParenthesis)
-
-
Method Details
-
leftParenthesis
- Specified by:
leftParenthesisin interfaceParenthesizedExpression
-
expression
- Specified by:
expressionin interfaceParenthesizedExpression
-
rightParenthesis
- Specified by:
rightParenthesisin interfaceParenthesizedExpression
-
accept
-
computeChildren
-
getKind
-
type
- Specified by:
typein interfaceExpression
-
typeDependencies
- Specified by:
typeDependenciesin interfaceHasTypeDependencies
-