0
|
1 module dmd.TypeReference;
|
|
2
|
114
|
3 import dmd.common;
|
0
|
4 import dmd.Type;
|
|
5 import dmd.MOD;
|
|
6 import dmd.TypeNext;
|
|
7 import dmd.OutBuffer;
|
|
8 import dmd.Loc;
|
|
9 import dmd.Scope;
|
|
10 import dmd.HdrGenState;
|
|
11 import dmd.Expression;
|
|
12 import dmd.Identifier;
|
|
13 import dmd.CppMangleState;
|
|
14 import dmd.TY;
|
|
15
|
|
16 class TypeReference : TypeNext
|
|
17 {
|
|
18 this(Type t)
|
|
19 {
|
|
20 super(TY.init, null);
|
|
21 assert(false);
|
|
22 }
|
|
23
|
|
24 version (DumbClone) {
|
|
25 } else {
|
|
26 Type clone()
|
|
27 {
|
|
28 assert(false);
|
|
29 }
|
|
30 }
|
|
31
|
72
|
32 override Type syntaxCopy()
|
0
|
33 {
|
|
34 assert(false);
|
|
35 }
|
|
36
|
72
|
37 override Type semantic(Loc loc, Scope sc)
|
0
|
38 {
|
|
39 assert(false);
|
|
40 }
|
|
41
|
72
|
42 override ulong size(Loc loc)
|
0
|
43 {
|
|
44 assert(false);
|
|
45 }
|
|
46
|
72
|
47 override void toCBuffer2(OutBuffer buf, HdrGenState* hgs, MOD mod)
|
0
|
48 {
|
|
49 assert(false);
|
|
50 }
|
|
51
|
72
|
52 override Expression dotExp(Scope sc, Expression e, Identifier ident)
|
0
|
53 {
|
|
54 assert(false);
|
|
55 }
|
|
56
|
72
|
57 override Expression defaultInit(Loc loc)
|
0
|
58 {
|
|
59 assert(false);
|
|
60 }
|
|
61
|
72
|
62 override bool isZeroInit(Loc loc)
|
0
|
63 {
|
|
64 assert(false);
|
|
65 }
|
|
66
|
|
67 version (CPP_MANGLE) {
|
|
68 void toCppMangle(OutBuffer buf, CppMangleState* cms)
|
|
69 {
|
|
70 assert(false);
|
|
71 }
|
|
72 }
|
72
|
73 }
|