Mercurial > projects > ddmd
diff dmd/GotoCaseStatement.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | cab4c37afb89 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dmd/GotoCaseStatement.d Sat Oct 24 08:42:06 2009 +0400 @@ -0,0 +1,54 @@ +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); + } +} \ No newline at end of file