diff trunk/src/dil/ast/Types.d @ 769:5e3ef1b2011c

Added and improved documentation.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 17 Feb 2008 02:21:55 +0100
parents 65ad2f96df1f
children 5fe89bb8cbdd
line wrap: on
line diff
--- a/trunk/src/dil/ast/Types.d	Sat Feb 16 22:10:21 2008 +0100
+++ b/trunk/src/dil/ast/Types.d	Sun Feb 17 02:21:55 2008 +0100
@@ -67,7 +67,8 @@
   }
 }
 
-/// "typeof" "(" Expression ")"
+/// "typeof" "(" Expression ")" or$(BR)
+/// "typeof" "(" "return" ")" (D2.0)
 class TypeofType : TypeNode
 {
   Expression e;
@@ -78,7 +79,7 @@
     this.e = e;
   }
 
-  /// D2.0: "typeof" "(" "return" ")"
+  // For D2.0: "typeof" "(" "return" ")"
   this()
   {
     mixin(set_kind);
@@ -114,9 +115,9 @@
   }
 }
 
-/// Dynamic array: T[] or
-/// Static array: T[E] or
-/// Slice array (for tuples): T[E..E] or
+/// Dynamic array: T[] or$(BR)
+/// Static array: T[E] or$(BR)
+/// Slice array (for tuples): T[E..E] or$(BR)
 /// Associative array: T[T]
 class ArrayType : TypeNode
 {