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

Side by Side Diff: lib/compiler/implementation/library_loader.dart

Issue 11262032: Add 'part of' in dart2js code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart2js;
6
5 /** 7 /**
6 * [CompilerTask] for loading libraries and setting up the import/export scopes. 8 * [CompilerTask] for loading libraries and setting up the import/export scopes.
7 */ 9 */
8 abstract class LibraryLoader extends CompilerTask { 10 abstract class LibraryLoader extends CompilerTask {
9 LibraryLoader(Compiler compiler) : super(compiler); 11 LibraryLoader(Compiler compiler) : super(compiler);
10 12
11 /** 13 /**
12 * Loads the library located at [uri] and returns its [LibraryElement]. 14 * Loads the library located at [uri] and returns its [LibraryElement].
13 * 15 *
14 * If the library is not already loaded, the method creates the 16 * If the library is not already loaded, the method creates the
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 } 675 }
674 676
675 /** 677 /**
676 * Registers all top-level entities of [library] as starting point for the 678 * Registers all top-level entities of [library] as starting point for the
677 * fixed-point computation of the import/export scopes. 679 * fixed-point computation of the import/export scopes.
678 */ 680 */
679 void registerLibraryExports(LibraryElement library) { 681 void registerLibraryExports(LibraryElement library) {
680 nodeMap[library].registerInitialExports(); 682 nodeMap[library].registerInitialExports();
681 } 683 }
682 } 684 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/js_backend/native_emitter.dart ('k') | lib/compiler/implementation/resolution/members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698