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

Unified Diff: pkg/compiler/lib/src/apiimpl.dart

Issue 1409803006: Rename apiimpl.Compiler to CompilerImpl. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix long lines 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/compiler_new.dart ('k') | pkg/compiler/lib/src/mirrors/analyze.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/apiimpl.dart
diff --git a/pkg/compiler/lib/src/apiimpl.dart b/pkg/compiler/lib/src/apiimpl.dart
index fdcbd37f8fa45db73e1b7820fdc9b977c83338b9..7620392ddc90c2896b8ae80714893a0355bd682f 100644
--- a/pkg/compiler/lib/src/apiimpl.dart
+++ b/pkg/compiler/lib/src/apiimpl.dart
@@ -21,7 +21,7 @@ import 'commandline_options.dart';
import 'common.dart';
import 'common/tasks.dart' show
GenericTask;
-import 'compiler.dart' as leg;
+import 'compiler.dart';
import 'diagnostics/diagnostic_listener.dart' show
DiagnosticOptions;
import 'diagnostics/messages.dart' show
@@ -33,7 +33,9 @@ import 'script.dart';
const bool forceIncrementalSupport =
const bool.fromEnvironment('DART2JS_EXPERIMENTAL_INCREMENTAL_SUPPORT');
-class Compiler extends leg.Compiler {
+/// Implements the [Compiler] using a [api.CompilerInput] for supplying the
+/// sources.
+class CompilerImpl extends Compiler {
api.CompilerInput provider;
api.CompilerDiagnostics handler;
final Uri libraryRoot;
@@ -50,7 +52,7 @@ class Compiler extends leg.Compiler {
GenericTask userProviderTask;
GenericTask userPackagesDiscoveryTask;
- Compiler(this.provider,
+ CompilerImpl(this.provider,
api.CompilerOutput outputProvider,
this.handler,
this.libraryRoot,
@@ -203,7 +205,7 @@ class Compiler extends leg.Compiler {
null, null, null, null, message, api.Diagnostic.VERBOSE_INFO);
}
- /// See [leg.Compiler.translateResolvedUri].
+ /// See [Compiler.translateResolvedUri].
Uri translateResolvedUri(elements.LibraryElement importingLibrary,
Uri resolvedUri, Spannable spannable) {
if (resolvedUri.scheme == 'dart') {
« no previous file with comments | « pkg/compiler/lib/compiler_new.dart ('k') | pkg/compiler/lib/src/mirrors/analyze.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698