Mercurial > projects > dil
diff trunk/src/dil/ast/NodesEnum.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 | 170ddcdc9711 |
children | 3b34f6a95a27 |
line wrap: on
line diff
--- a/trunk/src/dil/ast/NodesEnum.d Sat Feb 16 22:10:21 2008 +0100 +++ b/trunk/src/dil/ast/NodesEnum.d Sun Feb 17 02:21:55 2008 +0100 @@ -4,6 +4,7 @@ +/ module dil.ast.NodesEnum; +/// Enumerates the categories of a node. enum NodeCategory : ushort { Undefined, @@ -14,7 +15,7 @@ Other } -/// Array of class names that inherit from Node. +/// A list of all class names that inherit from Node. static const char[][] classNames = [ // Declarations: "CompoundDeclaration", @@ -211,6 +212,7 @@ "TemplateArguments", ]; +/// Generates the members of enum NodeKind. char[] generateNodeKindMembers() { char[] text;