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

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

Issue 2787513003: Expose function contained in GenericTypeAliasImpl. (Closed)
Patch Set: 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..34d52a69c04df779a4670af38bdbcfb39b8fd52c 100644
--- a/pkg/analyzer/lib/dart/element/element.dart
+++ b/pkg/analyzer/lib/dart/element/element.dart
@@ -1333,6 +1333,18 @@ abstract class FunctionTypedElement implements TypeParameterizedElement {
abstract class GenericFunctionTypeElement implements FunctionTypedElement {}
/**
+ * A [FunctionTypeAliasElement] whose returned function type has a [type]
+ * parameter.
+ */
Brian Wilkerson 2017/03/30 14:43:50 Please add the disclaimer: Clients may not exte
jcollins 2017/03/30 15:19:35 Done.
+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