Index: third_party/pkg/angular/test/tools/symbol_inspector/simple_library.dart |
diff --git a/third_party/pkg/angular/test/tools/symbol_inspector/simple_library.dart b/third_party/pkg/angular/test/tools/symbol_inspector/simple_library.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..02417f89ef0dbf60a6964f7c440c7ecdab3863f6 |
--- /dev/null |
+++ b/third_party/pkg/angular/test/tools/symbol_inspector/simple_library.dart |
@@ -0,0 +1,39 @@ |
+library simple_library; |
+ |
+// A library for the symbol inspector test |
+ |
+class A { |
+ A(ConsParamType b) {} |
+ |
+ FieldType field; |
+ GetterType get getter => null; |
+ |
+ MethodReturnType method(ParamType p) => null; |
+ |
+ void methodWithFunc(ClosureReturn closure(ClosureParam parm)) {} |
+ |
+ static StaticFieldType staticField = null; |
+} |
+ |
+class _PrivateClass {} // Should not be exported. |
+typedef _PrivateTypedef(int a); // Also should not be exported. |
+ |
+typedef TypedefReturnType TypedefType(TypedefParam a); |
+ |
+class ConsParamType {} |
+class FieldType {} |
+class GetterType {} |
+class MethodReturnType {} |
+class ParamType {} |
+class StaticFieldType {} |
+ |
+class ClosureReturn {} |
+class ClosureParam {} |
+ |
+class TypedefReturnType {} |
+class TypedefParam {} |
+ |
+ |
+class Generic<K> { // Generic should be exported, but not K. |
+ K get method => null; |
+} |