Mercurial > projects > ddmd
comparison 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 |
comparison
equal
deleted
inserted
replaced
127:9ee9b55452cb | 128:e6e542f37b94 |
---|---|
1 module dmd.ModuleDeclaration; | 1 module dmd.ModuleDeclaration; |
2 | 2 |
3 import dmd.common; | 3 import dmd.common; |
4 import dmd.Identifier; | 4 import dmd.Identifier; |
5 import dmd.Array; | 5 import dmd.ArrayTypes; |
6 | 6 |
7 class ModuleDeclaration | 7 class ModuleDeclaration |
8 { | 8 { |
9 Identifier id; | 9 Identifier id; |
10 Array packages; // array of Identifier's representing packages | 10 Identifiers packages; // array of Identifier's representing packages |
11 bool safe; | 11 bool safe; |
12 | 12 |
13 this(Array packages, Identifier id, bool safe) | 13 this(Identifiers packages, Identifier id, bool safe) |
14 { | 14 { |
15 this.packages = packages; | 15 this.packages = packages; |
16 this.id = id; | 16 this.id = id; |
17 this.safe = safe; | 17 this.safe = safe; |
18 } | 18 } |