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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/LibraryPrefixElement.java

Issue 10139017: Support for same prefix for multiple imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Detect top-level duplicates in libraries with same prefix 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
Index: compiler/java/com/google/dart/compiler/resolver/LibraryPrefixElement.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/LibraryPrefixElement.java b/compiler/java/com/google/dart/compiler/resolver/LibraryPrefixElement.java
new file mode 100644
index 0000000000000000000000000000000000000000..96486174bc46ba9289ade0c03885c6d1c8e1bbcf
--- /dev/null
+++ b/compiler/java/com/google/dart/compiler/resolver/LibraryPrefixElement.java
@@ -0,0 +1,13 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+package com.google.dart.compiler.resolver;
+
+import java.util.List;
+
+public interface LibraryPrefixElement extends EnclosingElement {
+ Scope getScope();
+ void addLibrary(LibraryElement library);
+ List<LibraryElement> getLibraries();
+}

Powered by Google App Engine
This is Rietveld 408576698