Mercurial > projects > ddmd
view dmd/GotoCaseStatement.d @ 63:cab4c37afb89
A bunch of implementations
author | korDen |
---|---|
date | Mon, 23 Aug 2010 16:52:24 +0400 |
parents | 10317f0c89a5 |
children | 4290d870944a |
line wrap: on
line source
module dmd.GotoCaseStatement; import dmd.Statement; import dmd.Expression; import dmd.CaseStatement; import dmd.IRState; import dmd.Scope; import dmd.Loc; import dmd.InterState; import dmd.OutBuffer; import dmd.HdrGenState; import dmd.BE; class GotoCaseStatement : Statement { Expression exp; // NULL, or which case to goto CaseStatement cs; // case statement it resolves to this(Loc loc, Expression exp) { assert(false); super(loc); } Statement syntaxCopy() { assert(false); } Statement semantic(Scope sc) { assert(false); } Expression interpret(InterState istate) { assert(false); } BE blockExit() { assert(false); } void toCBuffer(OutBuffer buf, HdrGenState* hgs) { assert(false); } void toIR(IRState* irs) { assert(false); } }