Mercurial > projects > dil
comparison trunk/src/dil/Types.d @ 488:cfb3805768b6
Added DotExpression and DotType.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 01 Dec 2007 21:42:24 +0100 |
parents | 38fccd2640eb |
children | a7291d3ee9d7 |
comparison
equal
deleted
inserted
replaced
487:bccca748d745 | 488:cfb3805768b6 |
---|---|
307 Function, | 307 Function, |
308 Delegate, | 308 Delegate, |
309 Pointer, | 309 Pointer, |
310 CFuncPointer, | 310 CFuncPointer, |
311 Array, | 311 Array, |
312 Dot, | |
312 DotList, | 313 DotList, |
313 Identifier, | 314 Identifier, |
314 Typeof, | 315 Typeof, |
315 TemplateInstance, | 316 TemplateInstance, |
316 Const, // D2 | 317 Const, // D2 |
376 mixin(set_kind); | 377 mixin(set_kind); |
377 this.ident = ident; | 378 this.ident = ident; |
378 } | 379 } |
379 } | 380 } |
380 | 381 |
382 class DotType : Type | |
383 { | |
384 this() | |
385 { | |
386 super(TID.Dot); | |
387 mixin(set_kind); | |
388 } | |
389 } | |
390 | |
381 class TypeofType : Type | 391 class TypeofType : Type |
382 { | 392 { |
383 Expression e; | 393 Expression e; |
384 this(Expression e) | 394 this(Expression e) |
385 { | 395 { |