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