Mercurial > projects > dil
diff trunk/src/dil/Declarations.d @ 391:33b566df6af4
Migrated project to Tango.
Decremented the numbers of the format placeholders in the localized messages
by one.
Replaced all instances of writef/ln with Stdout.
Added module common.d with string aliases and a global Layout!(char) instance.
Replaced %s format specifiers with index placeholders in html/xml_tags.
Changed member Information.arguments to string message.
Copied std.metastring, std.uni and std.utf from Phobos.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 15 Sep 2007 17:12:26 +0200 |
parents | 906599374b69 |
children | 0a4619735ce9 |
line wrap: on
line diff
--- a/trunk/src/dil/Declarations.d Wed Sep 12 21:03:41 2007 +0200 +++ b/trunk/src/dil/Declarations.d Sat Sep 15 17:12:26 2007 +0200 @@ -74,7 +74,7 @@ this.packages = moduleFQN[0..$-1]; } - string getFQN() + char[] getFQN() { auto pname = getPackageName('.'); if (pname.length) @@ -83,14 +83,14 @@ return getName(); } - string getName() + char[] getName() { if (moduleName) return moduleName.identifier; return null; } - string getPackageName(char separator) + char[] getPackageName(char separator) { char[] pname; foreach (pckg; packages) @@ -120,9 +120,9 @@ this.isStatic = isStatic; } - string[] getModuleFQNs(char separator) + char[][] getModuleFQNs(char separator) { - string[] FQNs; + char[][] FQNs; foreach (moduleFQN; moduleFQNs) { char[] FQN;