0
|
1 module dmd.PostBlitDeclaration;
|
|
2
|
|
3 import dmd.FuncDeclaration;
|
|
4 import dmd.Loc;
|
|
5 import dmd.Identifier;
|
|
6 import dmd.Dsymbol;
|
|
7 import dmd.Scope;
|
|
8 import dmd.OutBuffer;
|
|
9 import dmd.HdrGenState;
|
|
10 import dmd.STC;
|
47
|
11 import dmd.Id;
|
0
|
12
|
|
13 class PostBlitDeclaration : FuncDeclaration
|
|
14 {
|
|
15 this(Loc loc, Loc endloc)
|
|
16 {
|
47
|
17 super(loc, endloc, Id._postblit, STCundefined, null);
|
0
|
18 }
|
|
19
|
|
20 this(Loc loc, Loc endloc, Identifier id)
|
|
21 {
|
|
22 assert(false);
|
|
23 super(loc, loc, null, STC.init, null);
|
|
24 }
|
|
25
|
72
|
26 override Dsymbol syntaxCopy(Dsymbol)
|
0
|
27 {
|
|
28 assert(false);
|
|
29 }
|
|
30
|
72
|
31 override void semantic(Scope sc)
|
0
|
32 {
|
|
33 assert(false);
|
|
34 }
|
|
35
|
72
|
36 override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
|
0
|
37 {
|
|
38 assert(false);
|
|
39 }
|
|
40
|
72
|
41 override bool isVirtual()
|
0
|
42 {
|
|
43 assert(false);
|
|
44 }
|
|
45
|
72
|
46 override bool addPreInvariant()
|
0
|
47 {
|
|
48 assert(false);
|
|
49 }
|
|
50
|
72
|
51 override bool addPostInvariant()
|
0
|
52 {
|
|
53 assert(false);
|
|
54 }
|
|
55
|
72
|
56 override bool overloadInsert(Dsymbol s)
|
0
|
57 {
|
|
58 assert(false);
|
|
59 }
|
|
60
|
72
|
61 override void emitComment(Scope sc)
|
0
|
62 {
|
|
63 assert(false);
|
|
64 }
|
|
65
|
72
|
66 override PostBlitDeclaration isPostBlitDeclaration() { return this; }
|
|
67 }
|