Mercurial > projects > ddmd
diff dmd/ModuleDeclaration.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | e28b18c23469 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dmd/ModuleDeclaration.d Sat Oct 24 08:42:06 2009 +0400 @@ -0,0 +1,23 @@ +module dmd.ModuleDeclaration; + +import dmd.Identifier; +import dmd.Array; + +class ModuleDeclaration +{ + Identifier id; + Array packages; // array of Identifier's representing packages + bool safe; + + this(Array packages, Identifier id, bool safe) + { + this.packages = packages; + this.id = id; + this.safe = safe; + } + + string toChars() + { + assert(false); + } +} \ No newline at end of file