Mercurial > projects > ddmd
comparison dmd/FuncAliasDeclaration.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | 2e2a5c3f943a |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:10317f0c89a5 |
---|---|
1 module dmd.FuncAliasDeclaration; | |
2 | |
3 import dmd.FuncDeclaration; | |
4 | |
5 import dmd.backend.Symbol; | |
6 import dmd.backend.Symbol; | |
7 | |
8 import dmd.Loc; | |
9 import dmd.STC; | |
10 | |
11 class FuncAliasDeclaration : FuncDeclaration | |
12 { | |
13 FuncDeclaration funcalias; | |
14 | |
15 this(FuncDeclaration funcalias) | |
16 { | |
17 super(funcalias.loc, funcalias.endloc, funcalias.ident, funcalias.storage_class, funcalias.type); | |
18 assert(funcalias !is this); | |
19 this.funcalias = funcalias; | |
20 } | |
21 | |
22 FuncAliasDeclaration isFuncAliasDeclaration() { return this; } | |
23 | |
24 string kind() | |
25 { | |
26 return "function alias"; | |
27 } | |
28 | |
29 Symbol* toSymbol() | |
30 { | |
31 assert(false); | |
32 } | |
33 } |