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

Side by Side Diff: pkg/analysis_server/bin/dartdeps.dart

Issue 677723002: Fix deprecation hints (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analysis_server/bin/fuzz.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:io'; 6 import 'dart:io';
7 7
8 import 'package:args/args.dart'; 8 import 'package:args/args.dart';
9 import 'package:analysis_server/src/analysis_manager.dart'; 9 import 'package:analysis_server/src/analysis_manager.dart';
10 10
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 }); 22 });
23 } 23 }
24 24
25 /** 25 /**
26 * Instances of [_DartDependencyAnalyzer] launch an analysis server and use 26 * Instances of [_DartDependencyAnalyzer] launch an analysis server and use
27 * that server to analyze the dependencies of an application. 27 * that server to analyze the dependencies of an application.
28 */ 28 */
29 class _DartDependencyAnalyzer { 29 class _DartDependencyAnalyzer {
30 /** 30 /**
31 * The name of the application that is used to start the analyzer. 31 * The name of the application that is used to start the dependency analyzer.
32 */ 32 */
33 static const BINARY_NAME = 'dartdeps'; 33 static const BINARY_NAME = 'dartdeps';
34 34
35 /** 35 /**
36 * The name of the option used to specify the Dart SDK. 36 * The name of the option used to specify the Dart SDK.
37 */ 37 */
38 static const String DART_SDK_OPTION = 'dart-sdk'; 38 static const String DART_SDK_OPTION = 'dart-sdk';
39 39
40 /** 40 /**
41 * The name of the option used to print usage information. 41 * The name of the option used to print usage information.
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 } 173 }
174 } 174 }
175 175
176 /** 176 /**
177 * Print information about how to use the server. 177 * Print information about how to use the server.
178 */ 178 */
179 void printUsage(ArgParser parser) { 179 void printUsage(ArgParser parser) {
180 print('Usage: $BINARY_NAME [flags] <application_directory>'); 180 print('Usage: $BINARY_NAME [flags] <application_directory>');
181 print(''); 181 print('');
182 print('Supported flags are:'); 182 print('Supported flags are:');
183 print(parser.getUsage()); 183 print(parser.usage);
184 } 184 }
185 } 185 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/bin/fuzz.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698