| OLD | NEW |
| (Empty) |
| 1 /** | |
| 2 * YES. This is a library level dartdoc comment. | |
| 3 * This should show up correctly in the JSON. | |
| 4 */ | |
| 5 /// @docsEditable | |
| 6 library testInput; | |
| 7 | |
| 8 /** | |
| 9 * YES. This is a multi-line dartdoc comment. | |
| 10 * This is one line. | |
| 11 * And it keeps going to this line, too. | |
| 12 */ | |
| 13 /// @docsEditable | |
| 14 class InputTestCase1 { | |
| 15 | |
| 16 } | |
| 17 | |
| 18 /// YES. This is a single line dartdoc comment. | |
| 19 /// @docsEditable | |
| 20 class InputTestCase2 extends InputTestCase1 { | |
| 21 | |
| 22 } | |
| 23 | |
| 24 /// YES. This is a multi-line dartdoc comment. | |
| 25 /// It happens to use multiple single line dartdoc comments. | |
| 26 /// @docsEditable | |
| 27 class InputTestCase3 extends InputTestCase2 { | |
| 28 | |
| 29 } | |
| 30 | |
| 31 /* | |
| 32 * NO. This is not a dartdoc comment and should not be picked up. | |
| 33 * The output of this comment should be nothing. | |
| 34 */ | |
| 35 /// @docsEditable | |
| 36 class InputTestCase4 { | |
| 37 | |
| 38 } | |
| 39 | |
| 40 /** | |
| 41 * NO. This multi-line dartdoc comment doesn't have the /// @docsEditable stuff. | |
| 42 * This comment should not show up in the JSON. | |
| 43 * Note that the /// @docsEditable in this line and the one above are ignored. | |
| 44 */ | |
| 45 class InputTestCase5 { | |
| 46 | |
| 47 } | |
| 48 | |
| 49 /// NO. This is a single line dartdoc comment that is ignored. | |
| 50 class InputTestCase6 { | |
| 51 | |
| 52 } | |
| 53 | |
| 54 /// NO. This is a multi-line dartdoc comment that is ignored. | |
| 55 /// It is made of multiple single line dartdoc comments. | |
| 56 class InputTestCase7 { | |
| 57 | |
| 58 /** | |
| 59 * YES. This is a multi-line comment on a member. | |
| 60 */ | |
| 61 /// @docsEditable | |
| 62 var InputTestCase8; | |
| 63 | |
| 64 /// YES. This is a single line dartdoc comment on a member. | |
| 65 /// @docsEditable | |
| 66 var InputTestCase9; | |
| 67 | |
| 68 /// YES. This is a multi-line dartdoc comment on a member. | |
| 69 /// It is split over two lines. | |
| 70 /// @docsEditable | |
| 71 var InputTestCase10; | |
| 72 | |
| 73 /** | |
| 74 * NO.This multi-line comment on a member is ignored. | |
| 75 */ | |
| 76 var InputTestCase11; | |
| 77 | |
| 78 /// NO. This single line dartdoc comment on a member is ignored. | |
| 79 var InputTestCase12; | |
| 80 } | |
| OLD | NEW |