| OLD | NEW |
| (Empty) | |
| 1 library library.name.wiith.dots.init; |
| 2 |
| 3 /// This library is purely for testing purposes, to ensure |
| 4 /// that we have a library that has dots in its name and |
| 5 /// that it works properly |
| 6 /// |
| 7 /// In addition, it's nice to have something which has paragraph |
| 8 /// breaks inside a triple-slash doc comment. |
| 9 /// |
| 10 /// Like this. |
| 11 |
| 12 /// This is a top level field holding the number three; |
| 13 int topLevelInt = 3; |
| 14 |
| 15 /// This is a class with various ways of getting the number three. |
| 16 /// |
| 17 /// It also has a comment with paragraph breaks. |
| 18 class SomeClass { |
| 19 /// This is a method that returns the number three. See |
| 20 /// [three] |
| 21 someMethod() => 3; |
| 22 |
| 23 /// This is a symbolic representation of the number three. |
| 24 int three = 3; |
| 25 } |
| 26 |
| 27 /// This is another class. |
| 28 class AnotherClass { |
| 29 /// This method returns [List<int>] containing the number |
| 30 /// three three times. Compare with [SomeClass.someMethod]. |
| 31 List<int> anotherMethod() { |
| 32 return const [3, 3, 3]; |
| 33 } |
| 34 } |
| OLD | NEW |