diff trunk/src/dil/ast/Types.d @ 655:0acc43b86bf2

Moved class BaseClass to dil.ast.Types.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Tue, 15 Jan 2008 16:33:52 +0100
parents 4ae7b13aaac8
children 304331ca2f95
line wrap: on
line diff
--- a/trunk/src/dil/ast/Types.d	Tue Jan 15 16:22:49 2008 +0100
+++ b/trunk/src/dil/ast/Types.d	Tue Jan 15 16:33:52 2008 +0100
@@ -39,6 +39,7 @@
   Ucent   = TOK.Ucent,
 
   Undefined,
+  BaseClass,
   Function,
   Delegate,
   Pointer,
@@ -235,6 +236,17 @@
   }
 }
 
+class BaseClass : TypeNode
+{
+  Protection prot;
+  this(Protection prot, TypeNode type)
+  {
+    super(TID.BaseClass, type);
+    mixin(set_kind);
+    this.prot = prot;
+  }
+}
+
 // version(D2)
 // {
 class ConstType : TypeNode