| 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/error/error.dart' show AnalysisError; |
| 10 import 'package:analyzer/exception/exception.dart'; | 11 import 'package:analyzer/exception/exception.dart'; |
| 11 import 'package:analyzer/src/generated/engine.dart'; | 12 import 'package:analyzer/src/generated/engine.dart'; |
| 12 import 'package:analyzer/src/generated/error.dart' show AnalysisError; | |
| 13 import 'package:analyzer/src/generated/source.dart'; | 13 import 'package:analyzer/src/generated/source.dart'; |
| 14 import 'package:analyzer/src/generated/utilities_general.dart'; | 14 import 'package:analyzer/src/generated/utilities_general.dart'; |
| 15 import 'package:analyzer/src/task/driver.dart'; | 15 import 'package:analyzer/src/task/driver.dart'; |
| 16 import 'package:analyzer/src/task/model.dart'; | 16 import 'package:analyzer/src/task/model.dart'; |
| 17 | 17 |
| 18 /** | 18 /** |
| 19 * A function that converts the given [key] and [value] into a [TaskInput]. | 19 * A function that converts the given [key] and [value] into a [TaskInput]. |
| 20 */ | 20 */ |
| 21 typedef TaskInput<E> BinaryFunction<K, V, E>(K key, V value); | 21 typedef TaskInput<E> BinaryFunction<K, V, E>(K key, V value); |
| 22 | 22 |
| (...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 /** | 795 /** |
| 796 * A work should be done, but without any special urgency. | 796 * A work should be done, but without any special urgency. |
| 797 */ | 797 */ |
| 798 NORMAL, | 798 NORMAL, |
| 799 | 799 |
| 800 /** | 800 /** |
| 801 * Nothing to do. | 801 * Nothing to do. |
| 802 */ | 802 */ |
| 803 NONE | 803 NONE |
| 804 } | 804 } |
| OLD | NEW |