0
|
1 module dmd.TupleDeclaration;
|
|
2
|
|
3 import dmd.Declaration;
|
|
4 import dmd.ArrayTypes;
|
|
5 import dmd.TypeTuple;
|
|
6 import dmd.Loc;
|
|
7 import dmd.Identifier;
|
|
8 import dmd.Dsymbol;
|
|
9 import dmd.Type;
|
|
10
|
|
11 class TupleDeclaration : Declaration
|
|
12 {
|
|
13 Objects objects;
|
|
14 int isexp; // 1: expression tuple
|
|
15
|
|
16 TypeTuple tupletype; // !=NULL if this is a type tuple
|
|
17
|
|
18 this(Loc loc, Identifier ident, Objects objects)
|
|
19 {
|
|
20 assert(false);
|
|
21 super(ident);
|
|
22 }
|
|
23
|
|
24 Dsymbol syntaxCopy(Dsymbol)
|
|
25 {
|
|
26 assert(false);
|
|
27 }
|
|
28
|
|
29 string kind()
|
|
30 {
|
|
31 assert(false);
|
|
32 }
|
|
33
|
|
34 Type getType()
|
|
35 {
|
|
36 assert(false);
|
|
37 }
|
|
38
|
|
39 bool needThis()
|
|
40 {
|
|
41 assert(false);
|
|
42 }
|
|
43
|
|
44 TupleDeclaration isTupleDeclaration() { return this; }
|
|
45 }; |