diff trunk/src/dil/ast/Node.d @ 786:3b34f6a95a27

Added and revised documenation comments.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 24 Feb 2008 02:41:11 +0100
parents 5e3ef1b2011c
children 5fe89bb8cbdd
line wrap: on
line diff
--- a/trunk/src/dil/ast/Node.d	Sat Feb 23 21:15:56 2008 +0100
+++ b/trunk/src/dil/ast/Node.d	Sun Feb 24 02:41:11 2008 +0100
@@ -9,7 +9,7 @@
 public import dil.lexer.Token;
 public import dil.ast.NodesEnum;
 
-/// The root class of all nodes that can form a D syntax tree.
+/// The root class of all D syntax tree elements.
 abstract class Node
 {
   NodeCategory category; /// The category of this node.
@@ -64,7 +64,7 @@
     children is null || addChildren(children);
   }
 
-  /// Returns a pointer to Class if this node can be cast to it.
+  /// Returns a reference to Class if this node can be cast to it.
   Class Is(Class)()
   {
     if (kind == mixin("NodeKind." ~ typeof(Class).stringof))