Mercurial > projects > ddmd
comparison dmd/ClassInfoDeclaration.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 |
---|---|
17 import dmd.backend.SFL; | 17 import dmd.backend.SFL; |
18 import dmd.codegen.Util; | 18 import dmd.codegen.Util; |
19 import dmd.backend.SC; | 19 import dmd.backend.SC; |
20 import dmd.backend.Util; | 20 import dmd.backend.Util; |
21 | 21 |
22 import dmd.DDMDExtensions; | |
23 | |
22 class ClassInfoDeclaration : VarDeclaration | 24 class ClassInfoDeclaration : VarDeclaration |
23 { | 25 { |
26 mixin insertMemberExtension!(typeof(this)); | |
27 | |
24 ClassDeclaration cd; | 28 ClassDeclaration cd; |
25 | 29 |
26 this(ClassDeclaration cd) | 30 this(ClassDeclaration cd) |
27 { | 31 { |
28 register(); | 32 register(); |