0
|
1 module dmd.DVCondition;
|
|
2
|
114
|
3 import dmd.common;
|
0
|
4 import dmd.Condition;
|
|
5 import dmd.Identifier;
|
|
6 import dmd.Module;
|
|
7 import dmd.Loc;
|
|
8
|
|
9 class DVCondition : Condition
|
|
10 {
|
|
11 uint level;
|
|
12 Identifier ident;
|
|
13 Module mod;
|
|
14
|
|
15 this(Module mod, uint level, Identifier ident)
|
|
16 {
|
178
|
17 register();
|
0
|
18 super(Loc(0));
|
|
19 this.mod = mod;
|
|
20 this.level = level;
|
|
21 this.ident = ident;
|
|
22 }
|
|
23
|
72
|
24 override Condition syntaxCopy()
|
0
|
25 {
|
53
|
26 return this; // don't need to copy
|
0
|
27 }
|
72
|
28 }
|