Mercurial > projects > ddmd
comparison dmd/WithStatement.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 |
---|---|
27 import dmd.backend.Blockx; | 27 import dmd.backend.Blockx; |
28 import dmd.backend.elem; | 28 import dmd.backend.elem; |
29 import dmd.backend.Util; | 29 import dmd.backend.Util; |
30 import dmd.backend.OPER; | 30 import dmd.backend.OPER; |
31 | 31 |
32 import dmd.DDMDExtensions; | |
33 | |
32 class WithStatement : Statement | 34 class WithStatement : Statement |
33 { | 35 { |
36 mixin insertMemberExtension!(typeof(this)); | |
37 | |
34 Expression exp; | 38 Expression exp; |
35 Statement body_; | 39 Statement body_; |
36 VarDeclaration wthis; | 40 VarDeclaration wthis; |
37 | 41 |
38 this(Loc loc, Expression exp, Statement body_) | 42 this(Loc loc, Expression exp, Statement body_) |