Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: pkg/analyzer/lib/dart/element/element.dart

Issue 2787513003: Expose function contained in GenericTypeAliasImpl. (Closed)
Patch Set: Add disclaimer to Generic classes Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/element.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
*
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698