Index: pkg/analyzer/lib/dart/element/element.dart |
diff --git a/pkg/analyzer/lib/dart/element/element.dart b/pkg/analyzer/lib/dart/element/element.dart |
index 853cf841bf15c5df5b7550d9e991143178935aec..b348a15d9f416dfd9b12ea05c4bc511bc4f4e25f 100644 |
--- a/pkg/analyzer/lib/dart/element/element.dart |
+++ b/pkg/analyzer/lib/dart/element/element.dart |
@@ -1329,10 +1329,26 @@ abstract class FunctionTypedElement implements TypeParameterizedElement { |
/** |
* The pseudo-declaration that defines a generic function type. |
+ * |
+ * Clients may not extend, implement, or mix-in this class. |
*/ |
abstract class GenericFunctionTypeElement implements FunctionTypedElement {} |
/** |
+ * A [FunctionTypeAliasElement] whose returned function type has a [type] |
+ * parameter. |
+ * |
+ * Clients may not extend, implement, or mix-in this class. |
+ */ |
+abstract class GenericTypeAliasElement implements FunctionTypeAliasElement { |
+ /** |
+ * Return the generic function type element representing the generic function |
+ * type on the right side of the equals. |
+ */ |
+ GenericFunctionTypeElement get function; |
+} |
+ |
+/** |
* A combinator that causes some of the names in a namespace to be hidden when |
* being imported. |
* |