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

Side by Side Diff: pkg/compiler/lib/src/compiler.dart

Issue 1408253006: Introduce "platform configurations" to replace categories and libraries.dart. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix create_sdk scripts according to review Created 5 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
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 library dart2js.compiler_base; 5 library dart2js.compiler_base;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 EventSink, 8 EventSink,
9 Future; 9 Future;
10 10
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 } 922 }
923 if (errorElement != null && 923 if (errorElement != null &&
924 errorElement.isSynthesized && 924 errorElement.isSynthesized &&
925 !mainApp.isSynthesized) { 925 !mainApp.isSynthesized) {
926 reporter.reportWarningMessage( 926 reporter.reportWarningMessage(
927 errorElement, errorElement.messageKind, 927 errorElement, errorElement.messageKind,
928 errorElement.messageArguments); 928 errorElement.messageArguments);
929 } 929 }
930 } 930 }
931 931
932 /// Analyze all member of the library in [libraryUri]. 932 /// Analyze all members of the library in [libraryUri].
933 /// 933 ///
934 /// If [skipLibraryWithPartOfTag] is `true`, member analysis is skipped if the 934 /// If [skipLibraryWithPartOfTag] is `true`, member analysis is skipped if the
935 /// library has a `part of` tag, assuming it is a part and not a library. 935 /// library has a `part of` tag, assuming it is a part and not a library.
936 /// 936 ///
937 /// This operation assumes an unclosed resolution queue and is only supported 937 /// This operation assumes an unclosed resolution queue and is only supported
938 /// when the '--analyze-main' option is used. 938 /// when the '--analyze-main' option is used.
939 Future<LibraryElement> analyzeUri( 939 Future<LibraryElement> analyzeUri(
940 Uri libraryUri, 940 Uri libraryUri,
941 {bool skipLibraryWithPartOfTag: true}) { 941 {bool skipLibraryWithPartOfTag: true}) {
942 assert(analyzeMain); 942 assert(analyzeMain);
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
2051 if (_otherDependencies == null) { 2051 if (_otherDependencies == null) {
2052 _otherDependencies = new Setlet<Element>(); 2052 _otherDependencies = new Setlet<Element>();
2053 } 2053 }
2054 _otherDependencies.add(element.implementation); 2054 _otherDependencies.add(element.implementation);
2055 } 2055 }
2056 2056
2057 Iterable<Element> get otherDependencies { 2057 Iterable<Element> get otherDependencies {
2058 return _otherDependencies != null ? _otherDependencies : const <Element>[]; 2058 return _otherDependencies != null ? _otherDependencies : const <Element>[];
2059 } 2059 }
2060 } 2060 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common/backend_api.dart ('k') | pkg/compiler/lib/src/dart_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698