- All Superinterfaces:
Expression, Tree
- All Known Implementing Classes:
TupleImpl
( elements() )
or
elements()
Note that
( a ) is not a tuple, but a parenthesized expression
Examples:
(a, b)
a, b
a,
(a,)
- Empty tuple
()
See https://docs.python.org/3/library/stdtypes.html?highlight=tuple#tuple
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.tree.Tree
Tree.Kind
-
Method Summary
Methods inherited from interface org.sonar.plugins.python.api.tree.Expression
type
-
Method Details
-
leftParenthesis
@CheckForNull
Token leftParenthesis()
-
-
-
rightParenthesis
@CheckForNull
Token rightParenthesis()