OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This comment is for the comments namespace. | 5 // This comment is for the comments namespace. |
6 namespace comments { | 6 namespace comments { |
7 // This comments the "Functions" block, and should be ignored. | 7 // This comments the "Functions" block, and should be ignored. |
8 interface Functions { | 8 interface Functions { |
9 // This comment is separated by at least one blank line from the start of | 9 // This comment is separated by at least one blank line from the start of |
10 // the function, and should be ignored. | 10 // the function, and should be ignored. |
11 | 11 |
12 // | 12 // |
13 // There's a blank line at the start of this comment. | 13 // There's a blank line at the start of this comment. |
14 // | 14 // |
15 // Documentation for basicFunction. | 15 // Documentation for basicFunction. |
16 // BasicFunction() is a great function. | 16 // BasicFunction() is a great function. |
17 // There is a newline after this. | 17 // There is a newline after this. |
18 // | 18 // |
19 // It works like so: | 19 // It works like so: |
20 // +-----+ | 20 // +-----+ |
21 // | | +--+ | 21 // | | +--+ |
22 // | | | | | 22 // | | | | |
23 // +-----+ --> +--+ | 23 // +-----+ --> +--+ |
24 // | 24 // |
25 // Some other stuff here. | 25 // Some other stuff here. |
26 // This paragraph starts with whitespace. | 26 // This paragraph starts with whitespace. |
27 // Overall, its a great function. | 27 // Overall, its a great function. |
28 // There's also a blank line at the end of this comment. | 28 // There's also a blank line at the end of this comment. |
29 // | 29 // |
30 static void basicFunction(); | 30 static void basicFunction(); |
31 }; | 31 }; |
32 }; | 32 }; |
OLD | NEW |