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

Unified Diff: pkg/front_end/lib/src/fasta/outline.dart

Issue 2718113003: Run dartfmt on pkg/front_end/lib. (Closed)
Patch Set: Rerun after merging. Created 3 years, 10 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/front_end/lib/src/fasta/operator.dart ('k') | pkg/front_end/lib/src/fasta/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/outline.dart
diff --git a/pkg/front_end/lib/src/fasta/outline.dart b/pkg/front_end/lib/src/fasta/outline.dart
index 104c0756856818aa15d838486684a26e4ce249f5..128afb78d8b30d180e8e9b0437feb0a3ba26f8d8 100644
--- a/pkg/front_end/lib/src/fasta/outline.dart
+++ b/pkg/front_end/lib/src/fasta/outline.dart
@@ -4,49 +4,37 @@
library fasta.outline;
-import 'dart:async' show
- Future;
+import 'dart:async' show Future;
-import 'dart:io' show
- exitCode;
+import 'dart:io' show exitCode;
-import 'kernel/verifier.dart' show
- verifyProgram;
+import 'kernel/verifier.dart' show verifyProgram;
-import 'compiler_command_line.dart' show
- CompilerCommandLine;
+import 'compiler_command_line.dart' show CompilerCommandLine;
-import 'compiler_context.dart' show
- CompilerContext;
+import 'compiler_context.dart' show CompilerContext;
-import 'errors.dart' show
- InputError,
- inputError;
+import 'errors.dart' show InputError, inputError;
-import 'kernel/kernel_target.dart' show
- KernelTarget;
+import 'kernel/kernel_target.dart' show KernelTarget;
-import 'dill/dill_target.dart' show
- DillTarget;
+import 'dill/dill_target.dart' show DillTarget;
-import 'ticker.dart' show
- Ticker;
+import 'ticker.dart' show Ticker;
-import 'translate_uri.dart' show
- TranslateUri;
+import 'translate_uri.dart' show TranslateUri;
-import 'ast_kind.dart' show
- AstKind;
+import 'ast_kind.dart' show AstKind;
Future<KernelTarget> outline(List<String> arguments) async {
try {
- return await CompilerCommandLine.withGlobalOptions(
- "outline", arguments, (CompilerContext c) async {
+ return await CompilerCommandLine.withGlobalOptions("outline", arguments,
+ (CompilerContext c) async {
if (c.options.verbose) {
print("Building outlines for ${arguments.join(' ')}");
}
- return await doOutline(c, new Ticker(isVerbose: c.options.verbose),
- c.options.output);
+ return await doOutline(
+ c, new Ticker(isVerbose: c.options.verbose), c.options.output);
});
} on InputError catch (e) {
exitCode = 1;
@@ -57,13 +45,13 @@ Future<KernelTarget> outline(List<String> arguments) async {
Future<Uri> compile(List<String> arguments) async {
try {
- return await CompilerCommandLine.withGlobalOptions(
- "compile", arguments, (CompilerContext c) async {
+ return await CompilerCommandLine.withGlobalOptions("compile", arguments,
+ (CompilerContext c) async {
if (c.options.verbose) {
print("Compiling directly to Kernel: ${arguments.join(' ')}");
}
- return await doCompile(c, new Ticker(isVerbose: c.options.verbose),
- AstKind.Kernel);
+ return await doCompile(
+ c, new Ticker(isVerbose: c.options.verbose), AstKind.Kernel);
});
} on InputError catch (e) {
exitCode = 1;
@@ -74,13 +62,13 @@ Future<Uri> compile(List<String> arguments) async {
Future<Uri> kompile(List<String> arguments) async {
try {
- return await CompilerCommandLine.withGlobalOptions(
- "kompile", arguments, (CompilerContext c) async {
+ return await CompilerCommandLine.withGlobalOptions("kompile", arguments,
+ (CompilerContext c) async {
if (c.options.verbose) {
print("Compiling via analyzer: ${arguments.join(' ')}");
}
- return await doCompile(c, new Ticker(isVerbose: c.options.verbose),
- AstKind.Analyzer);
+ return await doCompile(
+ c, new Ticker(isVerbose: c.options.verbose), AstKind.Analyzer);
});
} on InputError catch (e) {
exitCode = 1;
« no previous file with comments | « pkg/front_end/lib/src/fasta/operator.dart ('k') | pkg/front_end/lib/src/fasta/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698