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

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

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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.dart ('k') | pkg/compiler/lib/src/apiimpl.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /// New Compiler API. This API is under construction, use only internally or 5 /// New Compiler API. This API is under construction, use only internally or
6 /// in unittests. 6 /// in unittests.
7 7
8 library compiler_new; 8 library compiler_new;
9 9
10 import 'dart:async'; 10 import 'dart:async';
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 if (compilerOutput == null) { 118 if (compilerOutput == null) {
119 throw new ArgumentError("compilerOutput must be non-null"); 119 throw new ArgumentError("compilerOutput must be non-null");
120 } 120 }
121 121
122 CompilerImpl compiler = new CompilerImpl( 122 CompilerImpl compiler = new CompilerImpl(
123 compilerInput, compilerOutput, compilerDiagnostics, compilerOptions); 123 compilerInput, compilerOutput, compilerDiagnostics, compilerOptions);
124 return compiler.run(compilerOptions.entryPoint).then((bool success) { 124 return compiler.run(compilerOptions.entryPoint).then((bool success) {
125 return new CompilationResult(compiler, isSuccess: success); 125 return new CompilationResult(compiler, isSuccess: success);
126 }); 126 });
127 } 127 }
128
OLDNEW
« no previous file with comments | « pkg/compiler/lib/compiler.dart ('k') | pkg/compiler/lib/src/apiimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698