annotate dmd/declaration/Match.d @ 0:10317f0c89a5

Initial commit
author korDen
date Sat, 24 Oct 2009 08:42:06 +0400
parents
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.declaration.Match;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
3 import dmd.FuncDeclaration;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 import dmd.MATCH;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 struct Match
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 int count; // number of matches found
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 MATCH last; // match level of lastf
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 FuncDeclaration lastf; // last matching function we found
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 FuncDeclaration nextf; // current matching function
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 FuncDeclaration anyf; // pick a func, any func, to use for error recovery
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14