Mercurial > projects > dil
diff trunk/src/Declarations.d @ 126:0f0e7352e91d
- Renamed member hasDefinition of class Declaration to hasBody.
- Renamed all instances of this variable name.
author | aziz |
---|---|
date | Mon, 09 Jul 2007 21:54:05 +0000 |
parents | 240a8b053803 |
children | cb9a97ebb570 |
line wrap: on
line diff
--- a/trunk/src/Declarations.d Mon Jul 09 21:52:01 2007 +0000 +++ b/trunk/src/Declarations.d Mon Jul 09 21:54:05 2007 +0000 @@ -9,10 +9,10 @@ class Declaration { - bool hasDefinition; - this(bool hasDefinition) + bool hasBody; + this(bool hasBody) { - this.hasDefinition = hasDefinition; + this.hasBody = hasBody; } } @@ -50,9 +50,9 @@ Type baseType; string[] members; Expression[] values; - this(string name, Type baseType, string[] members, Expression[] values, bool hasDefinition) + this(string name, Type baseType, string[] members, Expression[] values, bool hasBody) { - super(hasDefinition); + super(hasBody); this.name = name; this.baseType = baseType; this.members = members; @@ -85,9 +85,9 @@ string name; BaseClass[] bases; Declaration[] decls; - this(string name, BaseClass[] bases, Declaration[] decls, bool hasDefinition) + this(string name, BaseClass[] bases, Declaration[] decls, bool hasBody) { - super(hasDefinition); + super(hasBody); this.name = name; this.bases = bases; this.decls = decls; @@ -99,9 +99,9 @@ string name; BaseClass[] bases; Declaration[] decls; - this(string name, BaseClass[] bases, Declaration[] decls, bool hasDefinition) + this(string name, BaseClass[] bases, Declaration[] decls, bool hasBody) { - super(hasDefinition); + super(hasBody); this.name = name; this.bases = bases; this.decls = decls; @@ -112,9 +112,9 @@ { string name; Declaration[] decls; - this(string name, Declaration[] decls, bool hasDefinition) + this(string name, Declaration[] decls, bool hasBody) { - super(hasDefinition); + super(hasBody); this.name = name; this.decls = decls; } @@ -124,9 +124,9 @@ { string name; Declaration[] decls; - this(string name, Declaration[] decls, bool hasDefinition) + this(string name, Declaration[] decls, bool hasBody) { - super(hasDefinition); + super(hasBody); this.name = name; this.decls = decls; }