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.dart; | 5 library analyzer.task.dart; |
6 | 6 |
7 import 'package:analyzer/dart/ast/ast.dart'; | 7 import 'package:analyzer/dart/ast/ast.dart'; |
8 import 'package:analyzer/dart/ast/token.dart'; | 8 import 'package:analyzer/dart/ast/token.dart'; |
9 import 'package:analyzer/dart/element/element.dart'; | 9 import 'package:analyzer/dart/element/element.dart'; |
10 import 'package:analyzer/src/generated/error.dart'; | 10 import 'package:analyzer/error/error.dart'; |
11 import 'package:analyzer/src/generated/source.dart'; | 11 import 'package:analyzer/src/generated/source.dart'; |
12 import 'package:analyzer/src/generated/utilities_general.dart'; | 12 import 'package:analyzer/src/generated/utilities_general.dart'; |
13 import 'package:analyzer/src/task/dart.dart'; | 13 import 'package:analyzer/src/task/dart.dart'; |
14 import 'package:analyzer/task/model.dart'; | 14 import 'package:analyzer/task/model.dart'; |
15 | 15 |
16 /** | 16 /** |
17 * The analysis errors associated with a [Source] representing a compilation | 17 * The analysis errors associated with a [Source] representing a compilation |
18 * unit. | 18 * unit. |
19 */ | 19 */ |
20 final ListResultDescriptor<AnalysisError> DART_ERRORS = | 20 final ListResultDescriptor<AnalysisError> DART_ERRORS = |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 @override | 175 @override |
176 bool operator ==(other) { | 176 bool operator ==(other) { |
177 return other is LibrarySpecificUnit && | 177 return other is LibrarySpecificUnit && |
178 other.library == library && | 178 other.library == library && |
179 other.unit == unit; | 179 other.unit == unit; |
180 } | 180 } |
181 | 181 |
182 @override | 182 @override |
183 String toString() => '$unit in $library'; | 183 String toString() => '$unit in $library'; |
184 } | 184 } |
OLD | NEW |