Mercurial > projects > ddmd
comparison dmd/DotTemplateExp.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 |
---|---|
10 import dmd.HdrGenState; | 10 import dmd.HdrGenState; |
11 import dmd.TemplateDeclaration; | 11 import dmd.TemplateDeclaration; |
12 | 12 |
13 import dmd.expression.Util; | 13 import dmd.expression.Util; |
14 | 14 |
15 import dmd.DDMDExtensions; | |
16 | |
15 class DotTemplateExp : UnaExp | 17 class DotTemplateExp : UnaExp |
16 { | 18 { |
19 mixin insertMemberExtension!(typeof(this)); | |
20 | |
17 TemplateDeclaration td; | 21 TemplateDeclaration td; |
18 | 22 |
19 this(Loc loc, Expression e, TemplateDeclaration td) | 23 this(Loc loc, Expression e, TemplateDeclaration td) |
20 { | 24 { |
21 register(); | 25 register(); |