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

Side by Side Diff: pkg/analyzer/lib/task/model.dart

Issue 1026093002: Fix hints in the analyzer package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 | Annotate | Revision Log
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 library analyzer.task.model; 5 library analyzer.task.model;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask; 9 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask;
10 import 'package:analyzer/src/generated/java_engine.dart'; 10 import 'package:analyzer/src/generated/java_engine.dart';
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 } 204 }
205 stopwatch.start(); 205 stopwatch.start();
206 // 206 //
207 // Actually perform the task. 207 // Actually perform the task.
208 // 208 //
209 try { 209 try {
210 internalPerform(); 210 internalPerform();
211 } finally { 211 } finally {
212 stopwatch.stop(); 212 stopwatch.stop();
213 } 213 }
214 } on AnalysisException catch (exception) { 214 } on AnalysisException {
215 rethrow; 215 rethrow;
216 } catch (exception, stackTrace) { 216 } catch (exception, stackTrace) {
217 throw new AnalysisException( 217 throw new AnalysisException(
218 'Unexpected exception while performing $description', 218 'Unexpected exception while performing $description',
219 new CaughtException(exception, stackTrace)); 219 new CaughtException(exception, stackTrace));
220 } 220 }
221 } 221 }
222 } 222 }
223 223
224 /** 224 /**
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 * be computed, or `false` if the inputs have been computed. 374 * be computed, or `false` if the inputs have been computed.
375 * 375 *
376 * It is safe to invoke [moveNext] after it has returned `false`. In this case 376 * It is safe to invoke [moveNext] after it has returned `false`. In this case
377 * [moveNext] has no effect and will again return `false`. 377 * [moveNext] has no effect and will again return `false`.
378 * 378 *
379 * Throws a [StateError] if the value of the current result has not been 379 * Throws a [StateError] if the value of the current result has not been
380 * provided using [currentValue]. 380 * provided using [currentValue].
381 */ 381 */
382 bool moveNext(); 382 bool moveNext();
383 } 383 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/sdk_io.dart ('k') | pkg/analyzer/test/generated/all_the_rest_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698