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

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

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/closure.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 leg_apiimpl; 5 library leg_apiimpl;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import 'package:package_config/packages.dart'; 10 import 'package:package_config/packages.dart';
11 import 'package:package_config/packages_file.dart' as pkgs; 11 import 'package:package_config/packages_file.dart' as pkgs;
12 import 'package:package_config/src/packages_impl.dart' show 12 import 'package:package_config/src/packages_impl.dart' show
13 MapPackages, 13 MapPackages,
14 NonFilePackagesDirectoryPackages; 14 NonFilePackagesDirectoryPackages;
15 import 'package:package_config/src/util.dart' show 15 import 'package:package_config/src/util.dart' show
16 checkValidPackageUri; 16 checkValidPackageUri;
17 import 'package:sdk_library_metadata/libraries.dart' hide LIBRARIES; 17 import 'package:sdk_library_metadata/libraries.dart' hide LIBRARIES;
18 import 'package:sdk_library_metadata/libraries.dart' as library_info show 18 import 'package:sdk_library_metadata/libraries.dart' as library_info show
19 LIBRARIES; 19 LIBRARIES;
20 20
21 import '../compiler_new.dart' as api; 21 import '../compiler_new.dart' as api;
22 import 'commandline_options.dart'; 22 import 'commandline_options.dart';
23 import 'common.dart';
23 import 'common/tasks.dart' show 24 import 'common/tasks.dart' show
24 GenericTask; 25 GenericTask;
25 import 'compiler.dart' as leg; 26 import 'compiler.dart' as leg;
26 import 'diagnostics/diagnostic_listener.dart' show 27 import 'diagnostics/diagnostic_listener.dart' show
27 DiagnosticMessage,
28 DiagnosticOptions; 28 DiagnosticOptions;
29 import 'diagnostics/messages.dart'; 29 import 'diagnostics/messages.dart' show
30 import 'diagnostics/source_span.dart' show 30 Message;
31 SourceSpan;
32 import 'diagnostics/spannable.dart' show
33 NO_LOCATION_SPANNABLE,
34 Spannable;
35 import 'elements/elements.dart' as elements; 31 import 'elements/elements.dart' as elements;
36 import 'io/source_file.dart'; 32 import 'io/source_file.dart';
37 import 'script.dart'; 33 import 'script.dart';
38 34
39 const bool forceIncrementalSupport = 35 const bool forceIncrementalSupport =
40 const bool.fromEnvironment('DART2JS_EXPERIMENTAL_INCREMENTAL_SUPPORT'); 36 const bool.fromEnvironment('DART2JS_EXPERIMENTAL_INCREMENTAL_SUPPORT');
41 37
42 class Compiler extends leg.Compiler { 38 class Compiler extends leg.Compiler {
43 api.CompilerInput provider; 39 api.CompilerInput provider;
44 api.CompilerDiagnostics handler; 40 api.CompilerDiagnostics handler;
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 } 540 }
545 } 541 }
546 542
547 543
548 fromEnvironment(String name) => environment[name]; 544 fromEnvironment(String name) => environment[name];
549 545
550 LibraryInfo lookupLibraryInfo(String libraryName) { 546 LibraryInfo lookupLibraryInfo(String libraryName) {
551 return library_info.LIBRARIES[libraryName]; 547 return library_info.LIBRARIES[libraryName];
552 } 548 }
553 } 549 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/closure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698