| 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/src/generated/ast.dart'; | 7 import 'package:analyzer/src/generated/ast.dart'; |
| 8 import 'package:analyzer/src/generated/element.dart'; | |
| 9 import 'package:analyzer/src/generated/error.dart'; | 8 import 'package:analyzer/src/generated/error.dart'; |
| 10 import 'package:analyzer/src/generated/scanner.dart'; | 9 import 'package:analyzer/src/generated/scanner.dart'; |
| 11 import 'package:analyzer/src/generated/source.dart'; | 10 import 'package:analyzer/src/generated/source.dart'; |
| 12 import 'package:analyzer/task/model.dart'; | 11 import 'package:analyzer/task/model.dart'; |
| 13 | 12 |
| 14 /** | 13 /** |
| 15 * The analysis errors associated with a target. | 14 * The analysis errors associated with a target. |
| 16 * | 15 * |
| 17 * The value combines errors represented by multiple other results. | 16 * The value combines errors represented by multiple other results. |
| 18 */ | 17 */ |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 /** | 103 /** |
| 105 * The sources of the Dart files that a library consists of. | 104 * The sources of the Dart files that a library consists of. |
| 106 * | 105 * |
| 107 * The list will include the source of the defining unit and [INCLUDED_PARTS]. | 106 * The list will include the source of the defining unit and [INCLUDED_PARTS]. |
| 108 * So, it is never empty or `null`. | 107 * So, it is never empty or `null`. |
| 109 * | 108 * |
| 110 * The result is only available for targets representing a Dart library. | 109 * The result is only available for targets representing a Dart library. |
| 111 */ | 110 */ |
| 112 final ListResultDescriptor<Source> UNITS = | 111 final ListResultDescriptor<Source> UNITS = |
| 113 new ListResultDescriptor<Source>('UNITS', Source.EMPTY_ARRAY); | 112 new ListResultDescriptor<Source>('UNITS', Source.EMPTY_ARRAY); |
| OLD | NEW |