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

Unified Diff: pkg/compiler/lib/src/kernel/element_map.dart

Issue 2996723002: Support typedef type literals (Closed)
Patch Set: Cleanup Created 3 years, 4 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
Index: pkg/compiler/lib/src/kernel/element_map.dart
diff --git a/pkg/compiler/lib/src/kernel/element_map.dart b/pkg/compiler/lib/src/kernel/element_map.dart
index 422db01c2cd1ff55a41ca78d8d9643f76ff2e29e..7d5561dde6f3e8214438a498c43e1e2bdb565632 100644
--- a/pkg/compiler/lib/src/kernel/element_map.dart
+++ b/pkg/compiler/lib/src/kernel/element_map.dart
@@ -64,6 +64,9 @@ abstract class KernelToElementMap {
/// Returns the [ClassEntity] corresponding to the class [node].
ClassEntity getClass(ir.Class node);
+ /// Returns the [TypedefType] corresponding to raw type of the typedef [node].
+ TypedefType getTypedefType(ir.Typedef node);
+
/// Returns the super [MemberEntity] for a super invocation, get or set of
/// [name] from the member [context].
///

Powered by Google App Engine
This is Rietveld 408576698