0
|
1 module dmd.WithStatement;
|
|
2
|
|
3 import dmd.Statement;
|
|
4 import dmd.Expression;
|
|
5 import dmd.VarDeclaration;
|
|
6 import dmd.Loc;
|
|
7 import dmd.OutBuffer;
|
|
8 import dmd.HdrGenState;
|
|
9 import dmd.InlineScanState;
|
|
10 import dmd.IRState;
|
|
11 import dmd.Scope;
|
|
12 import dmd.BE;
|
|
13
|
|
14 class WithStatement : Statement
|
|
15 {
|
|
16 Expression exp;
|
|
17 Statement body_;
|
|
18 VarDeclaration wthis;
|
|
19
|
|
20 this(Loc loc, Expression exp, Statement body_)
|
|
21 {
|
|
22 assert(false);
|
|
23 super(loc);
|
|
24 }
|
|
25
|
|
26 Statement syntaxCopy()
|
|
27 {
|
|
28 assert(false);
|
|
29 }
|
|
30
|
|
31 Statement semantic(Scope sc)
|
|
32 {
|
|
33 assert(false);
|
|
34 }
|
|
35
|
|
36 void toCBuffer(OutBuffer buf, HdrGenState* hgs)
|
|
37 {
|
|
38 assert(false);
|
|
39 }
|
|
40
|
|
41 bool usesEH()
|
|
42 {
|
|
43 assert(false);
|
|
44 }
|
|
45
|
|
46 BE blockExit()
|
|
47 {
|
|
48 assert(false);
|
|
49 }
|
|
50
|
|
51 Statement inlineScan(InlineScanState* iss)
|
|
52 {
|
|
53 assert(false);
|
|
54 }
|
|
55
|
|
56 void toIR(IRState* irs)
|
|
57 {
|
|
58 assert(false);
|
|
59 }
|
|
60 } |