Mercurial > projects > ddmd
annotate dmd/ModuleDeclaration.d @ 128:e6e542f37b94
Some more Array -> Vector conversions
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Sat, 04 Sep 2010 01:33:05 +0100 |
parents | e28b18c23469 |
children | af724d3510d7 |
rev | line source |
---|---|
0 | 1 module dmd.ModuleDeclaration; |
2 | |
114 | 3 import dmd.common; |
0 | 4 import dmd.Identifier; |
128
e6e542f37b94
Some more Array -> Vector conversions
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
114
diff
changeset
|
5 import dmd.ArrayTypes; |
0 | 6 |
7 class ModuleDeclaration | |
8 { | |
9 Identifier id; | |
128
e6e542f37b94
Some more Array -> Vector conversions
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
114
diff
changeset
|
10 Identifiers packages; // array of Identifier's representing packages |
0 | 11 bool safe; |
12 | |
128
e6e542f37b94
Some more Array -> Vector conversions
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
114
diff
changeset
|
13 this(Identifiers packages, Identifier id, bool safe) |
0 | 14 { |
15 this.packages = packages; | |
16 this.id = id; | |
17 this.safe = safe; | |
18 } | |
19 | |
20 string toChars() | |
21 { | |
22 assert(false); | |
23 } | |
24 } |