Mercurial > projects > ddmd
annotate dmd/ModuleDeclaration.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | e28b18c23469 |
rev | line source |
---|---|
0 | 1 module dmd.ModuleDeclaration; |
2 | |
3 import dmd.Identifier; | |
4 import dmd.Array; | |
5 | |
6 class ModuleDeclaration | |
7 { | |
8 Identifier id; | |
9 Array packages; // array of Identifier's representing packages | |
10 bool safe; | |
11 | |
12 this(Array packages, Identifier id, bool safe) | |
13 { | |
14 this.packages = packages; | |
15 this.id = id; | |
16 this.safe = safe; | |
17 } | |
18 | |
19 string toChars() | |
20 { | |
21 assert(false); | |
22 } | |
23 } |