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

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

Issue 2428543002: Optimize needNoSuchMethodHandling computation (Closed)
Patch Set: Created 4 years, 2 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/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index 29e2396e84a6db5c33f0d4844f0e78e8423622e4..58596d9a509f8ea7732422e3a2df3caabeefaa93 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1555,7 +1555,13 @@ abstract class ClassElement extends TypeDeclarationElement
void reverseBackendMembers();
Element lookupMember(String memberName);
- Element lookupByName(Name memberName);
+
+ /// Looks up a class instance member declared or inherited in this class
+ /// using [memberName] to match the (private) name and getter/setter property.
+ ///
+ /// If [stopAtSuperclass], no member from [stopAtSuperclass] or its
Siggi Cherem (dart-lang) 2016/10/17 19:30:33 If [stopAtSuperclass]... is specified? ALternativ
Johnni Winther 2016/10/18 08:13:51 Done.
+ /// superclasses will be returned.
+ Element lookupByName(Name memberName, {ClassElement stopAtSuperclass});
Siggi Cherem (dart-lang) 2016/10/17 19:30:33 nit: rename to just stopAt?
Johnni Winther 2016/10/18 08:13:51 Done.
Element lookupSuperByName(Name memberName);
Element lookupLocalMember(String memberName);

Powered by Google App Engine
This is Rietveld 408576698