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, setParent
-
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
-
typeV2
- Specified by:
typeV2in interfaceExpression
-
typeDependencies
- Specified by:
typeDependenciesin interfaceHasTypeDependencies
-