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

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: Created 7 years, 10 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 64326790a2e3372f80c71d4d14650731a88be64d..7e6eed91d14862605ba089ffc3706fe0d68bea75 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -504,6 +504,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 {
@@ -572,8 +574,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();
}
@@ -787,7 +787,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