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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 133893007: Rename internal library dart:_collection-dev to dart:_internal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. Created 6 years, 11 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 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; 5 part of dart2js;
6 6
7 /** 7 /**
8 * If true, print a warning for each method that was resolved, but not 8 * If true, print a warning for each method that was resolved, but not
9 * compiled. 9 * compiled.
10 */ 10 */
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 445
446 // Initialized when dart:mirrors is loaded. 446 // Initialized when dart:mirrors is loaded.
447 ClassElement mirrorSystemClass; 447 ClassElement mirrorSystemClass;
448 448
449 // Initialized when dart:mirrors is loaded. 449 // Initialized when dart:mirrors is loaded.
450 ClassElement mirrorsUsedClass; 450 ClassElement mirrorsUsedClass;
451 451
452 // Initialized after mirrorSystemClass has been resolved. 452 // Initialized after mirrorSystemClass has been resolved.
453 FunctionElement mirrorSystemGetNameFunction; 453 FunctionElement mirrorSystemGetNameFunction;
454 454
455 // Initialized when dart:_collection-dev is loaded. 455 // Initialized when dart:_internal is loaded.
456 ClassElement symbolImplementationClass; 456 ClassElement symbolImplementationClass;
457 457
458 // Initialized when symbolImplementationClass has been resolved. 458 // Initialized when symbolImplementationClass has been resolved.
459 FunctionElement symbolValidatedConstructor; 459 FunctionElement symbolValidatedConstructor;
460 460
461 // Initialized when mirrorsUsedClass has been resolved. 461 // Initialized when mirrorsUsedClass has been resolved.
462 FunctionElement mirrorsUsedConstructor; 462 FunctionElement mirrorsUsedConstructor;
463 463
464 // Initialized when dart:mirrors is loaded. 464 // Initialized when dart:mirrors is loaded.
465 ClassElement deferredLibraryClass; 465 ClassElement deferredLibraryClass;
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 if (uri == new Uri(scheme: 'dart', path: 'mirrors')) { 802 if (uri == new Uri(scheme: 'dart', path: 'mirrors')) {
803 mirrorsLibrary = library; 803 mirrorsLibrary = library;
804 mirrorSystemClass = 804 mirrorSystemClass =
805 findRequiredElement(library, 'MirrorSystem'); 805 findRequiredElement(library, 'MirrorSystem');
806 mirrorsUsedClass = 806 mirrorsUsedClass =
807 findRequiredElement(library, 'MirrorsUsed'); 807 findRequiredElement(library, 'MirrorsUsed');
808 } else if (uri == new Uri(scheme: 'dart', path: 'typed_data')) { 808 } else if (uri == new Uri(scheme: 'dart', path: 'typed_data')) {
809 typedDataLibrary = library; 809 typedDataLibrary = library;
810 typedDataClass = 810 typedDataClass =
811 findRequiredElement(library, 'TypedData'); 811 findRequiredElement(library, 'TypedData');
812 } else if (uri == new Uri(scheme: 'dart', path: '_collection-dev')) { 812 } else if (uri == new Uri(scheme: 'dart', path: '_internal')) {
813 symbolImplementationClass = 813 symbolImplementationClass =
814 findRequiredElement(library, 'Symbol'); 814 findRequiredElement(library, 'Symbol');
815 } else if (uri == new Uri(scheme: 'dart', path: 'async')) { 815 } else if (uri == new Uri(scheme: 'dart', path: 'async')) {
816 deferredLibraryClass = 816 deferredLibraryClass =
817 findRequiredElement(library, 'DeferredLibrary'); 817 findRequiredElement(library, 'DeferredLibrary');
818 } else if (isolateHelperLibrary == null 818 } else if (isolateHelperLibrary == null
819 && (uri == new Uri(scheme: 'dart', path: '_isolate_helper'))) { 819 && (uri == new Uri(scheme: 'dart', path: '_isolate_helper'))) {
820 isolateHelperLibrary = library; 820 isolateHelperLibrary = library;
821 } else if (foreignLibrary == null 821 } else if (foreignLibrary == null
822 && (uri == new Uri(scheme: 'dart', path: '_foreign_helper'))) { 822 && (uri == new Uri(scheme: 'dart', path: '_foreign_helper'))) {
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
1673 1673
1674 void close() {} 1674 void close() {}
1675 1675
1676 toString() => name; 1676 toString() => name;
1677 1677
1678 /// Convenience method for getting an [api.CompilerOutputProvider]. 1678 /// Convenience method for getting an [api.CompilerOutputProvider].
1679 static NullSink outputProvider(String name, String extension) { 1679 static NullSink outputProvider(String name, String extension) {
1680 return new NullSink('$name.$extension'); 1680 return new NullSink('$name.$extension');
1681 } 1681 }
1682 } 1682 }
OLDNEW
« no previous file with comments | « sdk/lib/_collection_dev/symbol.dart ('k') | sdk/lib/_internal/compiler/implementation/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698