Mercurial > projects > ddmd
comparison dmd/TypeidExp.d @ 187:b0d41ff5e0df
Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
author | Abscissa |
---|---|
date | Tue, 07 Jun 2011 23:37:34 -0400 |
parents | e3afd1303184 |
children |
comparison
equal
deleted
inserted
replaced
186:1a0c1126bc46 | 187:b0d41ff5e0df |
---|---|
14 import dmd.ErrorExp; | 14 import dmd.ErrorExp; |
15 import dmd.DotIdExp; | 15 import dmd.DotIdExp; |
16 import dmd.CommaExp; | 16 import dmd.CommaExp; |
17 import dmd.templates.Util; | 17 import dmd.templates.Util; |
18 | 18 |
19 import dmd.DDMDExtensions; | |
20 | |
19 class TypeidExp : Expression | 21 class TypeidExp : Expression |
20 { | 22 { |
23 mixin insertMemberExtension!(typeof(this)); | |
24 | |
21 Object obj; | 25 Object obj; |
22 | 26 |
23 this(Loc loc, Object o) | 27 this(Loc loc, Object o) |
24 { | 28 { |
25 register(); | 29 register(); |