Interface Tuple

  • All Superinterfaces:
    Expression, Tree
    All Known Implementing Classes:
    TupleImpl

    public interface Tuple
    extends Expression
       ( 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