| OLD | NEW |
| 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 import 'dart:developer'; | 8 import 'dart:developer'; |
| 9 | 9 |
| 10 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask; | 10 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask; |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 * Return a task input that can be used to compute a flatten list whose | 374 * Return a task input that can be used to compute a flatten list whose |
| 375 * elements are combined [subListResult]'s associated with those elements. | 375 * elements are combined [subListResult]'s associated with those elements. |
| 376 */ | 376 */ |
| 377 ListTaskInput/*<V>*/ toFlattenListOf/*<V>*/( | 377 ListTaskInput/*<V>*/ toFlattenListOf/*<V>*/( |
| 378 ListResultDescriptor/*<V>*/ subListResult); | 378 ListResultDescriptor/*<V>*/ subListResult); |
| 379 | 379 |
| 380 /** | 380 /** |
| 381 * Return a task input that can be used to compute a list whose elements are | 381 * Return a task input that can be used to compute a list whose elements are |
| 382 * the result of passing the elements of this input to the [mapper] function. | 382 * the result of passing the elements of this input to the [mapper] function. |
| 383 */ | 383 */ |
| 384 ListTaskInput/*<V>*/ toList/*<V>*/(UnaryFunction<E, dynamic/*<=V>*/ > mapper); | 384 ListTaskInput/*<V>*/ toList/*<V>*/(UnaryFunction<E, dynamic/*=V*/ > mapper); |
| 385 | 385 |
| 386 /** | 386 /** |
| 387 * Return a task input that can be used to compute a list whose elements are | 387 * Return a task input that can be used to compute a list whose elements are |
| 388 * [valueResult]'s associated with those elements. | 388 * [valueResult]'s associated with those elements. |
| 389 */ | 389 */ |
| 390 ListTaskInput/*<V>*/ toListOf/*<V>*/(ResultDescriptor/*<V>*/ valueResult); | 390 ListTaskInput/*<V>*/ toListOf/*<V>*/(ResultDescriptor/*<V>*/ valueResult); |
| 391 | 391 |
| 392 /** | 392 /** |
| 393 * Return a task input that can be used to compute a map whose keys are the | 393 * Return a task input that can be used to compute a map whose keys are the |
| 394 * elements of this input and whose values are the result of passing the | 394 * elements of this input and whose values are the result of passing the |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 /** | 764 /** |
| 765 * A work should be done, but without any special urgency. | 765 * A work should be done, but without any special urgency. |
| 766 */ | 766 */ |
| 767 NORMAL, | 767 NORMAL, |
| 768 | 768 |
| 769 /** | 769 /** |
| 770 * Nothing to do. | 770 * Nothing to do. |
| 771 */ | 771 */ |
| 772 NONE | 772 NONE |
| 773 } | 773 } |
| OLD | NEW |