annotate dmd/DVCondition.d @ 72:2e2a5c3f943a

reduced warnings by adding override to the methods think this also normalizes different line endings used all over the place
author Trass3r
date Sat, 28 Aug 2010 16:19:48 +0200
parents a8b50ff7f201
children e28b18c23469
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
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
3 import dmd.Condition;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 import dmd.Identifier;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 import dmd.Module;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 import dmd.Loc;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 class DVCondition : Condition
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 uint level;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 Identifier ident;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 Module mod;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 this(Module mod, uint level, Identifier ident)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
16 super(Loc(0));
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
17 this.mod = mod;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
18 this.level = level;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
19 this.ident = ident;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
20 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
21
72
2e2a5c3f943a reduced warnings by adding override to the methods
Trass3r
parents: 53
diff changeset
22 override Condition syntaxCopy()
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
23 {
53
a8b50ff7f201 ForeachStatement.syntaxCopy
korDen
parents: 0
diff changeset
24 return this; // don't need to copy
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
25 }
72
2e2a5c3f943a reduced warnings by adding override to the methods
Trass3r
parents: 53
diff changeset
26 }