Mercurial > projects > dil
changeset 688:839c0c61af2b
Renamed some semantic types.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 22 Jan 2008 14:37:46 +0100 |
parents | f14cd41fc87d |
children | 8e38774d562b |
files | trunk/src/dil/semantic/Symbols.d trunk/src/dil/semantic/Types.d |
diffstat | 2 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/trunk/src/dil/semantic/Symbols.d Tue Jan 22 14:00:08 2008 +0100 +++ b/trunk/src/dil/semantic/Symbols.d Tue Jan 22 14:37:46 2008 +0100 @@ -94,13 +94,13 @@ class Enum : ScopeSymbol { - EnumType type; + TypeEnum type; this(Identifier* name, Node enumNode) { super(SYM.Enum, name, enumNode); } - void setType(EnumType type) + void setType(TypeEnum type) { this.type = type; }
--- a/trunk/src/dil/semantic/Types.d Tue Jan 22 14:00:08 2008 +0100 +++ b/trunk/src/dil/semantic/Types.d Tue Jan 22 14:37:46 2008 +0100 @@ -94,7 +94,7 @@ } } -class EnumType : Type +class TypeEnum : Type { Enum enumSymbol; this(Enum enumSymbol, Type baseType) @@ -109,7 +109,7 @@ } } -class StructType : Type +class TypeStruct : Type { this() { @@ -117,7 +117,7 @@ } } -class ClassType : Type +class TypeClass : Type { this() { @@ -125,7 +125,7 @@ } } -class TypedefType : Type +class TypeTypedef : Type { this(Type next) { @@ -133,7 +133,7 @@ } } -class FunctionType : Type +class TypeFunction : Type { this(Type next) { @@ -141,7 +141,7 @@ } } -class DelegateType : Type +class TypeDelegate : Type { this(Type next) { @@ -149,7 +149,7 @@ } } -class IdentifierType : Type +class TypeIdentifier : Type { Identifier* ident; this(Identifier* ident) @@ -158,7 +158,7 @@ } } -class TInstanceType : Type +class TypeTemplInstance : Type { this() { @@ -166,7 +166,7 @@ } } -class TupleType : Type +class TypeTuple : Type { this(Type next) { @@ -174,7 +174,7 @@ } } -class ConstType : Type +class TypeConst : Type { this(Type next) { @@ -182,7 +182,7 @@ } } -class InvariantType : Type +class TypeInvariant : Type { this(Type next) {