Mercurial > projects > ddmd
annotate dmd/ModuleDeclaration.d @ 114:e28b18c23469
added a module dmd.common for commonly used stuff
it currently holds code for consistency checking of predefined versions
also added a VisualD project file
author | Trass3r |
---|---|
date | Wed, 01 Sep 2010 18:21:58 +0200 |
parents | 10317f0c89a5 |
children | e6e542f37b94 |
rev | line source |
---|---|
0 | 1 module dmd.ModuleDeclaration; |
2 | |
114 | 3 import dmd.common; |
0 | 4 import dmd.Identifier; |
5 import dmd.Array; | |
6 | |
7 class ModuleDeclaration | |
8 { | |
9 Identifier id; | |
10 Array packages; // array of Identifier's representing packages | |
11 bool safe; | |
12 | |
13 this(Array packages, Identifier id, bool safe) | |
14 { | |
15 this.packages = packages; | |
16 this.id = id; | |
17 this.safe = safe; | |
18 } | |
19 | |
20 string toChars() | |
21 { | |
22 assert(false); | |
23 } | |
24 } |