diff ast/Decl.d @ 194:08f68d684047

Rename some files. Hopefully we can get a more iterative sema pass, that's a lot easier to "get startet with". Also added support for alias.
author Anders Johnsen <skabet@gmail.com>
date Tue, 29 Jul 2008 13:54:44 +0200
parents 50b98a06a200
children
line wrap: on
line diff
--- a/ast/Decl.d	Fri Jul 25 15:31:16 2008 +0200
+++ b/ast/Decl.d	Tue Jul 29 13:54:44 2008 +0200
@@ -23,6 +23,7 @@
     StructDecl,
     ClassDecl,
     InterfaceDecl,
+    AliasDecl,
 }
 
 class Decl
@@ -309,3 +310,14 @@
     private DType myType;
 }
 
+class AliasDecl : Decl
+{
+    this(Decl decl)
+    {
+        super(DeclType.AliasDecl);
+        this.decl = decl;
+    }
+
+    Decl decl;
+}
+