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

Unified Diff: pkg/compiler/lib/src/library_loader.dart

Issue 1132783002: Add Accessor, Getter, and Setter elements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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: pkg/compiler/lib/src/library_loader.dart
diff --git a/pkg/compiler/lib/src/library_loader.dart b/pkg/compiler/lib/src/library_loader.dart
index 3e5ddde094dd997f8b3c01f3725d8b95a6e8afd4..b2d7d05f7311a52e0ef5025155649e217a26515d 100644
--- a/pkg/compiler/lib/src/library_loader.dart
+++ b/pkg/compiler/lib/src/library_loader.dart
@@ -371,7 +371,7 @@ class _LibraryLoaderTask extends CompilerTask implements LibraryLoaderTask {
* the import/export scopes are not set up.
*/
Future processLibraryTags(LibraryDependencyHandler handler,
- LibraryElement library) {
+ LibraryElementX library) {
TagState tagState = new TagState();
bool importsDartCore = false;
@@ -649,7 +649,7 @@ class ImportLink {
/**
* Imports the library into the [importingLibrary].
*/
- void importLibrary(Compiler compiler, LibraryElement importingLibrary) {
+ void importLibrary(Compiler compiler, LibraryElementX importingLibrary) {
assert(invariant(importingLibrary,
importedLibrary.exportsHandled,
message: 'Exports not handled on $importedLibrary'));
@@ -722,7 +722,7 @@ class ExportLink {
* exports performed in [LibraryDependencyHandler.computeExports].
*/
class LibraryDependencyNode {
- final LibraryElement library;
+ final LibraryElementX library;
// TODO(ahe): Remove [hashCodeCounter] and [hashCode] when
// VM implementation of Object.hashCode is not slow.
@@ -765,7 +765,7 @@ class LibraryDependencyNode {
Map<Element, Link<Export>> pendingExportMap =
new Map<Element, Link<Export>>();
- LibraryDependencyNode(LibraryElement this.library);
+ LibraryDependencyNode(this.library);
/**
* Registers that the library of this node imports [importLibrary] through the
@@ -1015,7 +1015,7 @@ class LibraryDependencyHandler implements LibraryLoader {
/**
* Registers that [library] depends on [loadedLibrary] through [tag].
*/
- void registerDependency(LibraryElement library,
+ void registerDependency(LibraryElementX library,
LibraryDependency tag,
LibraryElement loadedLibrary) {
if (tag != null) {

Powered by Google App Engine
This is Rietveld 408576698