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

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

Issue 10832321: Issue 4048. Support for revised library/import syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/Elements.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/Elements.java b/compiler/java/com/google/dart/compiler/resolver/Elements.java
index 1ec5ae72f57bd060d12c7a72d3171e1e8158f8a3..190cb9f8d03a78660849c1f92b290d688a0fa6c8 100644
--- a/compiler/java/com/google/dart/compiler/resolver/Elements.java
+++ b/compiler/java/com/google/dart/compiler/resolver/Elements.java
@@ -101,6 +101,10 @@ public class Elements {
public static LibraryElement libraryElement(LibraryUnit libraryUnit) {
return new LibraryElementImplementation(libraryUnit);
}
+
+ public static void addExportedElement(LibraryElement libraryElement, Element element) {
+ ((LibraryElementImplementation) libraryElement).addExportedElements(element);
+ }
public static LibraryElement getLibraryElement(Element element) {
do {

Powered by Google App Engine
This is Rietveld 408576698