comparison trunk/src/dil/doc/Macro.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
comparison
equal deleted inserted replaced
785:57ef69eced96 786:3b34f6a95a27
28 /// 28 ///
29 /// MacroTables can be chained so that they build a linear hierarchy. 29 /// MacroTables can be chained so that they build a linear hierarchy.
30 /// Macro definitions in the current table override the ones in the parent tables. 30 /// Macro definitions in the current table override the ones in the parent tables.
31 class MacroTable 31 class MacroTable
32 { 32 {
33 /// The parent in the hierarchy. Or null if this is the root.
33 MacroTable parent; 34 MacroTable parent;
34 Macro[string] table; 35 Macro[string] table; /// The associative array that holds the macro definitions.
35 36
37 /// Constructs a MacroTable instance.
36 this(MacroTable parent = null) 38 this(MacroTable parent = null)
37 { 39 {
38 this.parent = parent; 40 this.parent = parent;
39 } 41 }
40 42