diff trunk/src/dil/ast/Node.d @ 792:05dfe88dd3bb

Added new module TypeRules.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Wed, 27 Feb 2008 02:12:59 +0100
parents 5fe89bb8cbdd
children
line wrap: on
line diff
--- a/trunk/src/dil/ast/Node.d	Tue Feb 26 20:13:41 2008 +0100
+++ b/trunk/src/dil/ast/Node.d	Wed Feb 27 02:12:59 2008 +0100
@@ -91,8 +91,8 @@
     byte_t[] data = (cast(byte_t*)this)[0..size].dup;
     return cast(Node)data.ptr;
   }
+
+  /// This string is mixed into the constructor of a class that inherits
+  /// from Node. It sets the member kind.
+  const string set_kind = `this.kind = mixin("NodeKind." ~ typeof(this).stringof);`;
 }
-
-/// This string is mixed into the constructor of a class that inherits
-/// from Node. It sets the member kind.
-const string set_kind = `this.kind = mixin("NodeKind." ~ typeof(this).stringof);`;