diff trunk/src/dil/ast/Types.d @ 701:65ad2f96df1f

Moved TypeNode to new module dil.ast.Type.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sat, 26 Jan 2008 23:53:34 +0100
parents 19a34b69cc7d
children 5e3ef1b2011c
line wrap: on
line diff
--- a/trunk/src/dil/ast/Types.d	Sat Jan 26 23:39:02 2008 +0100
+++ b/trunk/src/dil/ast/Types.d	Sat Jan 26 23:53:34 2008 +0100
@@ -4,6 +4,7 @@
 +/
 module dil.ast.Types;
 
+public import dil.ast.Type;
 import dil.ast.Node;
 import dil.ast.Expression;
 import dil.ast.Parameters;
@@ -11,25 +12,6 @@
 import dil.semantic.Types;
 import dil.Enums;
 
-/// The base class of all type nodes.
-abstract class TypeNode : Node
-{
-  TypeNode next;
-  Type type; /// The semantic type of this type node.
-
-  this()
-  {
-    this(null);
-  }
-
-  this(TypeNode next)
-  {
-    super(NodeCategory.Type);
-    addOptChild(next);
-    this.next = next;
-  }
-}
-
 /// Syntax error.
 class IllegalType : TypeNode
 {