| Index: compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java
|
| diff --git a/compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java b/compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java
|
| index 7c0ee180aa50ce5330b1a4c3e0fb58e6f62a5407..d3d0cf86bdd3cc5d982d2f24c951236571229ad6 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java
|
| @@ -4,14 +4,17 @@
|
|
|
| package com.google.dart.compiler.resolver;
|
|
|
| +import com.google.common.collect.Lists;
|
| import com.google.dart.compiler.ast.LibraryUnit;
|
|
|
| import java.util.Collection;
|
| +import java.util.List;
|
|
|
| class LibraryElementImplementation extends AbstractNodeElement implements LibraryElement {
|
|
|
| private final Scope importScope = new Scope("import", this);
|
| private final Scope scope = new Scope("library", this, importScope);
|
| + private final List<Element> exportedElements = Lists.newArrayList();
|
| private LibraryUnit libraryUnit;
|
| private MethodElement entryPoint;
|
|
|
| @@ -36,6 +39,14 @@ class LibraryElementImplementation extends AbstractNodeElement implements Librar
|
| return scope;
|
| }
|
|
|
| + public void addExportedElements(Element element) {
|
| + exportedElements.add(element);
|
| + }
|
| +
|
| + public List<Element> getExportedElements() {
|
| + return exportedElements;
|
| + }
|
| +
|
| @Override
|
| public ElementKind getKind() {
|
| return ElementKind.LIBRARY;
|
|
|