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

Unified Diff: pkg/compiler/lib/src/common_elements.dart

Issue 2981633002: Introduce TypedefEntity (Closed)
Patch Set: Created 3 years, 5 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/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common_elements.dart
diff --git a/pkg/compiler/lib/src/common_elements.dart b/pkg/compiler/lib/src/common_elements.dart
index aed124f505b7a4492a74e21f102d7d1309ee5b4a..34f1709564560c343c5f39581b2bca1219155319 100644
--- a/pkg/compiler/lib/src/common_elements.dart
+++ b/pkg/compiler/lib/src/common_elements.dart
@@ -1334,4 +1334,8 @@ abstract class ElementEnvironment {
/// Returns the metadata constants declared on [member].
Iterable<ConstantValue> getMemberMetadata(MemberEntity member);
+
+ /// Returns the alias of a [typedef], that is, the function type it is an
Siggi Cherem (dart-lang) 2017/07/12 18:11:13 nit, how about: /// Returns the function type tha
Johnni Winther 2017/07/13 09:19:18 Done.
+ /// alias of.
+ FunctionType getTypedefAlias(TypedefEntity typedef);
Siggi Cherem (dart-lang) 2017/07/12 18:11:14 other name ideas: - getFunctionTypeOf - function
Johnni Winther 2017/07/13 09:19:18 Renamed to [getFunctionTypeOfTypedef].
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698