Mercurial > projects > ddmd
comparison dmd/GotoCaseStatement.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | cab4c37afb89 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:10317f0c89a5 |
---|---|
1 module dmd.GotoCaseStatement; | |
2 | |
3 import dmd.Statement; | |
4 import dmd.Expression; | |
5 import dmd.CaseStatement; | |
6 import dmd.IRState; | |
7 import dmd.Scope; | |
8 import dmd.Loc; | |
9 import dmd.InterState; | |
10 import dmd.OutBuffer; | |
11 import dmd.HdrGenState; | |
12 import dmd.BE; | |
13 | |
14 class GotoCaseStatement : Statement | |
15 { | |
16 Expression exp; // NULL, or which case to goto | |
17 CaseStatement cs; // case statement it resolves to | |
18 | |
19 this(Loc loc, Expression exp) | |
20 { | |
21 assert(false); | |
22 super(loc); | |
23 } | |
24 | |
25 Statement syntaxCopy() | |
26 { | |
27 assert(false); | |
28 } | |
29 | |
30 Statement semantic(Scope sc) | |
31 { | |
32 assert(false); | |
33 } | |
34 | |
35 Expression interpret(InterState* istate) | |
36 { | |
37 assert(false); | |
38 } | |
39 | |
40 BE blockExit() | |
41 { | |
42 assert(false); | |
43 } | |
44 | |
45 void toCBuffer(OutBuffer buf, HdrGenState* hgs) | |
46 { | |
47 assert(false); | |
48 } | |
49 | |
50 void toIR(IRState* irs) | |
51 { | |
52 assert(false); | |
53 } | |
54 } |