Mercurial > projects > ddmd
comparison dmd/NullExp.d @ 63:cab4c37afb89
A bunch of implementations
author | korDen |
---|---|
date | Mon, 23 Aug 2010 16:52:24 +0400 |
parents | 10317f0c89a5 |
children | 4290d870944a |
comparison
equal
deleted
inserted
replaced
62:6557375aff35 | 63:cab4c37afb89 |
---|---|
42 assert(false); | 42 assert(false); |
43 } | 43 } |
44 | 44 |
45 int isConst() | 45 int isConst() |
46 { | 46 { |
47 assert(false); | 47 return 0; |
48 } | 48 } |
49 | 49 |
50 void toCBuffer(OutBuffer buf, HdrGenState* hgs) | 50 void toCBuffer(OutBuffer buf, HdrGenState* hgs) |
51 { | 51 { |
52 buf.writestring("null"); | 52 buf.writestring("null"); |
133 } | 133 } |
134 e.type = t; | 134 e.type = t; |
135 return e; | 135 return e; |
136 } | 136 } |
137 | 137 |
138 Expression interpret(InterState* istate) | 138 Expression interpret(InterState istate) |
139 { | 139 { |
140 assert(false); | 140 assert(false); |
141 } | 141 } |
142 | 142 |
143 elem* toElem(IRState* irs) | 143 elem* toElem(IRState* irs) |