Mercurial > projects > dil
changeset 461:c78a54b2617c
Added isStatic() and isPublic() to ImportDeclaration.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 30 Oct 2007 18:17:14 +0100 |
parents | 77c17bbe9d20 |
children | b7503e02fbe7 |
files | trunk/src/dil/Declarations.d |
diffstat | 1 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/trunk/src/dil/Declarations.d Tue Oct 30 18:12:01 2007 +0100 +++ b/trunk/src/dil/Declarations.d Tue Oct 30 18:17:14 2007 +0100 @@ -108,7 +108,8 @@ Token*[] moduleAliases; Token*[] bindNames; Token*[] bindAliases; - bool isStatic; + bool isStatic_; + this(ModuleFQN[] moduleFQNs, Token*[] moduleAliases, Token*[] bindNames, Token*[] bindAliases, bool isStatic) { super(false); @@ -117,7 +118,7 @@ this.moduleAliases = moduleAliases; this.bindNames = bindNames; this.bindAliases = bindAliases; - this.isStatic = isStatic; + this.isStatic_ = isStatic; } char[][] getModuleFQNs(char separator) @@ -133,6 +134,17 @@ } return FQNs; } + + bool isStatic() + { + return isStatic_; + } + + bool isPublic() + { + // TODO: + return false; + } } class AliasDeclaration : Declaration