comparison dmd/NewDeclaration.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.NewDeclaration;
2
3 import dmd.FuncDeclaration;
4 import dmd.Loc;
5 import dmd.ArrayTypes;
6 import dmd.Dsymbol;
7 import dmd.Scope;
8 import dmd.OutBuffer;
9 import dmd.HdrGenState;
10 import dmd.STC;
11
12 class NewDeclaration : FuncDeclaration
13 {
14 Arguments arguments;
15 int varargs;
16
17 this(Loc loc, Loc endloc, Arguments arguments, int varargs)
18 {
19 assert(false);
20 super(loc, loc, null, STC.init, null);
21 }
22
23 Dsymbol syntaxCopy(Dsymbol)
24 {
25 assert(false);
26 }
27
28 void semantic(Scope sc)
29 {
30 assert(false);
31 }
32
33 void toCBuffer(OutBuffer buf, HdrGenState* hgs)
34 {
35 assert(false);
36 }
37
38 string kind()
39 {
40 assert(false);
41 }
42
43 bool isVirtual()
44 {
45 assert(false);
46 }
47
48 bool addPreInvariant()
49 {
50 assert(false);
51 }
52
53 bool addPostInvariant()
54 {
55 assert(false);
56 }
57
58 NewDeclaration isNewDeclaration() { return this; }
59 }