Mercurial > projects > dil
comparison trunk/src/dil/doc/Doc.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 | 57ef69eced96 |
children | 139c9a6a39a8 |
comparison
equal
deleted
inserted
replaced
785:57ef69eced96 | 786:3b34f6a95a27 |
---|---|
125 // Add last section. | 125 // Add last section. |
126 sections ~= new Section(ident, textBody(bodyBegin, textEnd)); | 126 sections ~= new Section(ident, textBody(bodyBegin, textEnd)); |
127 return sections; | 127 return sections; |
128 } | 128 } |
129 | 129 |
130 /// Removes trailing whitespace characters from the text body. | 130 /// Returns the text body. Trailing whitespace characters are not included. |
131 char[] textBody(char* begin, char* end) | 131 char[] textBody(char* begin, char* end) |
132 { | 132 { |
133 // The body of A is empty, e.g.: | 133 // The body of A is empty, e.g.: |
134 // A: | 134 // A: |
135 // B: some text | 135 // B: some text |