Interface Tuple
-
- All Superinterfaces:
Expression,Tree
- All Known Implementing Classes:
TupleImpl
public interface Tuple extends Expression
(
orelements())
Note thatelements()( a )is not a tuple, but a parenthesized expression Examples:(a, b)
a, b
a,
(a,)
- Empty tuple
()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Token>commas()List<Expression>elements()TokenleftParenthesis()TokenrightParenthesis()-
Methods inherited from interface org.sonar.plugins.python.api.tree.Expression
type
-
-