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()
-
-
-
Method Detail
-
leftParenthesis
@CheckForNull Token leftParenthesis()
-
elements
List<Expression> elements()
-
rightParenthesis
@CheckForNull Token rightParenthesis()
-
-