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

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

Issue 10273026: Revert "Move all the builtin$ interceptors to a new interceptors library and shorten the names of t… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « lib/compiler/implementation/compiler.dart ('k') | lib/compiler/implementation/lib/interceptors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/elements/elements.dart
diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
index be1ca59a293012d48214c78478ab4762fd1bd68f..734b911932bb3551eb33909957a76de027d69aca 100644
--- a/lib/compiler/implementation/elements/elements.dart
+++ b/lib/compiler/implementation/elements/elements.dart
@@ -301,21 +301,10 @@ class LibraryElement extends CompilationUnitElement {
}
}
- /** Look up a top-level element in this library. The element could
- * potentially have been imported from another library. Returns
- * null if no such element exist. */
Element find(SourceString elementName) {
return elements[elementName];
}
- /** Look up a top-level element in this library, but only look for
- * non-imported elements. Returns null if no such element exist. */
- Element findLocal(SourceString elementName) {
- Element result = elements[elementName];
- if (result === null || result.getLibrary() != this) return null;
- return result;
- }
-
void forEachExport(f(Element element)) {
elements.forEach((SourceString _, Element e) {
if (this === e.getLibrary()
« no previous file with comments | « lib/compiler/implementation/compiler.dart ('k') | lib/compiler/implementation/lib/interceptors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698