Mercurial > projects > ddmd
view dmd/WithStatement.d @ 122:c77e9f4f1793
Statements -> Vector
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Thu, 02 Sep 2010 23:37:49 +0100 |
parents | e28b18c23469 |
children | 010eb8f0e18d |
line wrap: on
line source
module dmd.WithStatement; import dmd.common; import dmd.Statement; import dmd.Expression; import dmd.VarDeclaration; import dmd.Loc; import dmd.OutBuffer; import dmd.HdrGenState; import dmd.InlineScanState; import dmd.IRState; import dmd.Scope; import dmd.BE; class WithStatement : Statement { Expression exp; Statement body_; VarDeclaration wthis; this(Loc loc, Expression exp, Statement body_) { super(loc); this.exp = exp; this.body_ = body_; wthis = null; } override Statement syntaxCopy() { assert(false); } override Statement semantic(Scope sc) { assert(false); } override void toCBuffer(OutBuffer buf, HdrGenState* hgs) { assert(false); } override bool usesEH() { assert(false); } override BE blockExit() { assert(false); } override Statement inlineScan(InlineScanState* iss) { assert(false); } override void toIR(IRState* irs) { assert(false); } }