annotate dmd/DVCondition.d @ 192:eb38fdcb3e62 default tip

updated to compile with dmd2.062
author korDen
date Sat, 02 Mar 2013 01:25:52 -0800
parents e3afd1303184
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
1 module dmd.DVCondition;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
114
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 72
diff changeset
3 import dmd.common;
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 import dmd.Condition;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 import dmd.Identifier;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 import dmd.Module;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 import dmd.Loc;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 class DVCondition : Condition
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 uint level;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 Identifier ident;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 Module mod;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 this(Module mod, uint level, Identifier ident)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
16 {
178
e3afd1303184 Many small bugs fixed
korDen
parents: 114
diff changeset
17 register();
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
18 super(Loc(0));
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
19 this.mod = mod;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
20 this.level = level;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
21 this.ident = ident;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
22 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
23
72
2e2a5c3f943a reduced warnings by adding override to the methods
Trass3r
parents: 53
diff changeset
24 override Condition syntaxCopy()
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
25 {
53
a8b50ff7f201 ForeachStatement.syntaxCopy
korDen
parents: 0
diff changeset
26 return this; // don't need to copy
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
27 }
72
2e2a5c3f943a reduced warnings by adding override to the methods
Trass3r
parents: 53
diff changeset
28 }