comparison trunk/src/cmd/ASTStats.d @ 797:cf2ad5df025c

Added documentation comments. Removed Lexer.loadKeywords() and revised Lexer.isReservedIdentifier(). Also removed Lexer.getTokens(). Renamed keywords to g_reservedIds. Renamed classNames to g_classNames. Added PRE and DMDBUG macros.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Fri, 29 Feb 2008 22:51:24 +0100
parents 8380fb2c765f
children
comparison
equal deleted inserted replaced
796:f7688996bf08 797:cf2ad5df025c
17 uint[] table; /// Table for counting nodes. 17 uint[] table; /// Table for counting nodes.
18 18
19 /// Starts counting. 19 /// Starts counting.
20 uint[] count(Node root) 20 uint[] count(Node root)
21 { 21 {
22 table = new uint[classNames.length]; 22 table = new uint[g_classNames.length];
23 super.visitN(root); 23 super.visitN(root);
24 return table; 24 return table;
25 } 25 }
26 26
27 // Override dispatch function. 27 // Override dispatch function.