| OLD | NEW |
| (Empty) |
| 1 library simple_library; | |
| 2 | |
| 3 // A library for the symbol inspector test | |
| 4 | |
| 5 class A { | |
| 6 A(ConsParamType b) {} | |
| 7 | |
| 8 FieldType field; | |
| 9 GetterType get getter => null; | |
| 10 | |
| 11 MethodReturnType method(ParamType p) => null; | |
| 12 | |
| 13 void methodWithFunc(ClosureReturn closure(ClosureParam parm)) {} | |
| 14 | |
| 15 static StaticFieldType staticField = null; | |
| 16 } | |
| 17 | |
| 18 class _PrivateClass {} // Should not be exported. | |
| 19 typedef _PrivateTypedef(int a); // Also should not be exported. | |
| 20 | |
| 21 typedef TypedefReturnType TypedefType(TypedefParam a); | |
| 22 | |
| 23 class ConsParamType {} | |
| 24 class FieldType {} | |
| 25 class GetterType {} | |
| 26 class MethodReturnType {} | |
| 27 class ParamType {} | |
| 28 class StaticFieldType {} | |
| 29 | |
| 30 class ClosureReturn {} | |
| 31 class ClosureParam {} | |
| 32 | |
| 33 class TypedefReturnType {} | |
| 34 class TypedefParam {} | |
| 35 | |
| 36 | |
| 37 class Generic<K> { // Generic should be exported, but not K. | |
| 38 K get method => null; | |
| 39 } | |
| OLD | NEW |