# HG changeset patch # User Aziz K?ksal # Date 1201009066 -3600 # Node ID 839c0c61af2b456c13aadef29e0998f16d9e20ef # Parent f14cd41fc87d003d9c1b1783032b712ee56d320f Renamed some semantic types. diff -r f14cd41fc87d -r 839c0c61af2b trunk/src/dil/semantic/Symbols.d --- 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; } diff -r f14cd41fc87d -r 839c0c61af2b trunk/src/dil/semantic/Types.d --- 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) {