0
|
1 module dmd.AliasThis;
|
|
2
|
|
3 import dmd.Dsymbol;
|
|
4 import dmd.Identifier;
|
|
5 import dmd.Loc;
|
|
6 import dmd.Scope;
|
|
7 import dmd.OutBuffer;
|
|
8 import dmd.HdrGenState;
|
|
9
|
|
10 class AliasThis : Dsymbol
|
|
11 {
|
|
12 // alias Identifier this;
|
|
13 Identifier ident;
|
|
14
|
|
15 this(Loc loc, Identifier ident)
|
|
16 {
|
|
17 assert(false);
|
|
18 }
|
|
19
|
|
20 Dsymbol syntaxCopy(Dsymbol)
|
|
21 {
|
|
22 assert(false);
|
|
23 }
|
|
24
|
|
25 void semantic(Scope sc)
|
|
26 {
|
|
27 assert(false);
|
|
28 }
|
|
29
|
|
30 string kind()
|
|
31 {
|
|
32 assert(false);
|
|
33 }
|
|
34
|
|
35 void toCBuffer(OutBuffer buf, HdrGenState* hgs)
|
|
36 {
|
|
37 assert(false);
|
|
38 }
|
|
39
|
|
40 AliasThis isAliasThis() { return this; }
|
|
41 } |