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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 12525007: Record dependency information to implement first version of dependency (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 7 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
Index: dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index 5c48e5e9cf1627315796fb5ac1758fd8b96422c9..3768453e472fff5252f3f1a29b8767e9f3ec6113 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -521,6 +521,8 @@ abstract class AmbiguousElement extends Element {
// just an interface shared by classes and libraries.
abstract class ScopeContainerElement {
Element localLookup(SourceString elementName);
+
+ void forEachLocalMember(f(Element element));
}
abstract class CompilationUnitElement extends Element {
@@ -589,8 +591,6 @@ abstract class LibraryElement extends Element implements ScopeContainerElement {
Element findLocal(SourceString elementName);
void forEachExport(f(Element element));
- void forEachLocalMember(f(Element element));
-
bool hasLibraryName();
String getLibraryOrScriptName();
}
@@ -805,7 +805,6 @@ abstract class ClassElement extends TypeDeclarationElement
{includeBackendMembers: false,
includeSuperMembers: false});
- void forEachLocalMember(void f(Element member));
void forEachBackendMember(void f(Element member));
}

Powered by Google App Engine
This is Rietveld 408576698