Mercurial > projects > ldc
comparison gen/todt.cpp @ 86:fd32135dca3e trunk
[svn r90] Major updates to the gen directory. Redesigned the 'elem' struct. Much more... !!!
Lots of bugfixes.
Added support for special foreach on strings.
Added std.array, std.utf, std.ctype and std.uni to phobos.
Changed all the .c files in the gen dir to .cpp (it *is* C++ after all)
author | lindquist |
---|---|
date | Sat, 03 Nov 2007 14:44:58 +0100 |
parents | gen/todt.c@0c77619e803b |
children |
comparison
equal
deleted
inserted
replaced
85:f869c636a113 | 86:fd32135dca3e |
---|---|
1 | |
2 // Copyright (c) 1999-2005 by Digital Mars | |
3 // All Rights Reserved | |
4 // written by Walter Bright | |
5 // www.digitalmars.com | |
6 // License for redistribution is by either the Artistic License | |
7 // in artistic.txt, or the GNU General Public License in gnu.txt. | |
8 // See the included readme.txt for details. | |
9 | |
10 // stubbed out for dmdfe. Original is in dmd/todt.c | |
11 | |
12 #include "lexer.h" | |
13 #include "mtype.h" | |
14 #include "expression.h" | |
15 #include "init.h" | |
16 #include "enum.h" | |
17 #include "aggregate.h" | |
18 #include "declaration.h" | |
19 | |
20 struct dt_t {}; | |
21 | |
22 dt_t *Initializer::toDt() | |
23 { | |
24 return 0; | |
25 } | |
26 | |
27 | |
28 dt_t *StructInitializer::toDt() | |
29 { | |
30 return 0; | |
31 } | |
32 | |
33 | |
34 dt_t *ArrayInitializer::toDt() | |
35 { | |
36 return 0; | |
37 } | |
38 | |
39 | |
40 dt_t *ArrayInitializer::toDtBit() | |
41 { | |
42 return 0; | |
43 } | |
44 | |
45 | |
46 dt_t *ExpInitializer::toDt() | |
47 { | |
48 return 0; | |
49 } | |
50 | |
51 dt_t *VoidInitializer::toDt() | |
52 { | |
53 return 0; | |
54 } | |
55 | |
56 /* ================================================================ */ | |
57 | |
58 dt_t **Expression::toDt(dt_t **pdt) | |
59 { | |
60 return 0; | |
61 } | |
62 | |
63 dt_t **IntegerExp::toDt(dt_t **pdt) | |
64 { | |
65 return 0; | |
66 } | |
67 | |
68 dt_t **RealExp::toDt(dt_t **pdt) | |
69 { | |
70 return 0; | |
71 } | |
72 | |
73 dt_t **ComplexExp::toDt(dt_t **pdt) | |
74 { | |
75 return 0; | |
76 } | |
77 | |
78 dt_t **NullExp::toDt(dt_t **pdt) | |
79 { | |
80 return 0; | |
81 } | |
82 | |
83 dt_t **StringExp::toDt(dt_t **pdt) | |
84 { | |
85 return 0; | |
86 } | |
87 | |
88 dt_t **SymOffExp::toDt(dt_t **pdt) | |
89 { | |
90 return 0; | |
91 } | |
92 | |
93 dt_t **VarExp::toDt(dt_t **pdt) | |
94 { | |
95 return 0; | |
96 } | |
97 | |
98 dt_t **ArrayLiteralExp::toDt(dt_t **pdt) | |
99 { | |
100 return 0; | |
101 } | |
102 dt_t **StructLiteralExp::toDt(dt_t **pdt) | |
103 { | |
104 return 0; | |
105 } | |
106 | |
107 void ClassDeclaration::toDt(dt_t **pdt) | |
108 { | |
109 } | |
110 | |
111 void ClassDeclaration::toDt2(dt_t **pdt, ClassDeclaration *cd) | |
112 { | |
113 } | |
114 | |
115 void StructDeclaration::toDt(dt_t **pdt) | |
116 { | |
117 } | |
118 | |
119 dt_t **Type::toDt(dt_t **pdt) | |
120 { | |
121 return 0; | |
122 } | |
123 | |
124 dt_t **TypeSArray::toDt(dt_t **pdt) | |
125 { | |
126 return 0; | |
127 } | |
128 | |
129 dt_t **TypeStruct::toDt(dt_t **pdt) | |
130 { | |
131 return 0; | |
132 } | |
133 | |
134 dt_t **TypeTypedef::toDt(dt_t **pdt) | |
135 { | |
136 return 0; | |
137 } | |
138 | |
139 | |
140 |