| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |