changeset 512:112c17300069

Added module dil.TypeSystem.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Thu, 13 Dec 2007 23:04:50 +0100
parents aa73f669c298
children 6160ab7b1816
files trunk/src/dil/TypeSystem.d trunk/src/dil/Types.d
diffstat 2 files changed, 37 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trunk/src/dil/TypeSystem.d	Thu Dec 13 23:04:50 2007 +0100
@@ -0,0 +1,37 @@
+/++
+  Author: Aziz Köksal
+  License: GPL3
++/
+module dil.TypeSystem;
+
+import dil.Symbol;
+
+abstract class Type : Symbol
+{
+  Type next;
+}
+
+class TypeBasic : Type
+{
+
+}
+
+class TypeDArray : Type
+{
+
+}
+
+class TypeAArray : Type
+{
+
+}
+
+class TypePointer : Type
+{
+
+}
+
+class TypeReference : Type
+{
+
+}
--- a/trunk/src/dil/Types.d	Thu Dec 13 21:23:41 2007 +0100
+++ b/trunk/src/dil/Types.d	Thu Dec 13 23:04:50 2007 +0100
@@ -12,7 +12,6 @@
 class Parameter : Node
 {
   StorageClass stc;
-  Token* stcTok;
   TypeNode type;
   Identifier* ident;
   Expression defValue;