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

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

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 | « pkg/compiler/lib/compiler_new.dart ('k') | 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';
9 8
10 import 'package:package_config/packages.dart'; 9 import 'package:package_config/packages.dart';
11 import 'package:package_config/packages_file.dart' as pkgs; 10 import 'package:package_config/packages_file.dart' as pkgs;
12 import 'package:package_config/src/packages_impl.dart' 11 import 'package:package_config/src/packages_impl.dart'
13 show MapPackages, NonFilePackagesDirectoryPackages; 12 show MapPackages, NonFilePackagesDirectoryPackages;
14 import 'package:package_config/src/util.dart' show checkValidPackageUri; 13 import 'package:package_config/src/util.dart' show checkValidPackageUri;
15 14
16 import '../compiler_new.dart' as api; 15 import '../compiler_new.dart' as api;
17 import 'common/tasks.dart' show GenericTask, Measurer; 16 import 'common/tasks.dart' show GenericTask, Measurer;
18 import 'common.dart'; 17 import 'common.dart';
19 import 'common/backend_api.dart' show Backend;
20 import 'compiler.dart'; 18 import 'compiler.dart';
21 import 'diagnostics/messages.dart' show Message; 19 import 'diagnostics/messages.dart' show Message;
22 import 'elements/elements.dart' as elements; 20 import 'elements/elements.dart' as elements;
23 import 'environment.dart'; 21 import 'environment.dart';
24 import 'io/source_file.dart'; 22 import 'io/source_file.dart';
25 import 'options.dart' show CompilerOptions; 23 import 'options.dart' show CompilerOptions;
26 import 'platform_configuration.dart' as platform_configuration; 24 import 'platform_configuration.dart' as platform_configuration;
27 import 'resolved_uri_translator.dart'; 25 import 'resolved_uri_translator.dart';
28 import 'script.dart'; 26 import 'script.dart';
29 import 'serialization/system.dart';
30 27
31 /// Implements the [Compiler] using a [api.CompilerInput] for supplying the 28 /// Implements the [Compiler] using a [api.CompilerInput] for supplying the
32 /// sources. 29 /// sources.
33 class CompilerImpl extends Compiler { 30 class CompilerImpl extends Compiler {
34 final Measurer measurer; 31 final Measurer measurer;
35 api.CompilerInput provider; 32 api.CompilerInput provider;
36 api.CompilerDiagnostics handler; 33 api.CompilerDiagnostics handler;
37 Packages packages; 34 Packages packages;
38 35
39 bool get mockableLibraryUsed => resolvedUriTranslator.isSet 36 bool get mockableLibraryUsed => resolvedUriTranslator.isSet
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 } 394 }
398 } 395 }
399 396
400 /// For every 'dart:' library, a corresponding environment variable is set 397 /// For every 'dart:' library, a corresponding environment variable is set
401 /// to "true". The environment variable's name is the concatenation of 398 /// to "true". The environment variable's name is the concatenation of
402 /// this prefix and the name (without the 'dart:'. 399 /// this prefix and the name (without the 'dart:'.
403 /// 400 ///
404 /// For example 'dart:html' has the environment variable 'dart.library.html' set 401 /// For example 'dart:html' has the environment variable 'dart.library.html' set
405 /// to "true". 402 /// to "true".
406 const String _dartLibraryEnvironmentPrefix = 'dart.library.'; 403 const String _dartLibraryEnvironmentPrefix = 'dart.library.';
OLDNEW
« no previous file with comments | « pkg/compiler/lib/compiler_new.dart ('k') | pkg/compiler/lib/src/closure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698