| 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'; | 8 import 'package:analyzer/src/generated/element.dart'; |
| 9 import 'package:analyzer/src/generated/error.dart'; | 9 import 'package:analyzer/src/generated/error.dart'; |
| 10 import 'package:analyzer/src/generated/scanner.dart'; | 10 import 'package:analyzer/src/generated/scanner.dart'; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 new ResultDescriptor<Token>('TOKEN_STREAM', null); | 125 new ResultDescriptor<Token>('TOKEN_STREAM', null); |
| 126 | 126 |
| 127 /** | 127 /** |
| 128 * The sources of the Dart files that a library consists of. | 128 * The sources of the Dart files that a library consists of. |
| 129 * | 129 * |
| 130 * The list will include the source of the defining unit and [INCLUDED_PARTS]. | 130 * The list will include the source of the defining unit and [INCLUDED_PARTS]. |
| 131 * So, it is never empty or `null`. | 131 * So, it is never empty or `null`. |
| 132 * | 132 * |
| 133 * The result is only available for targets representing a Dart library. | 133 * The result is only available for targets representing a Dart library. |
| 134 */ | 134 */ |
| 135 final ResultDescriptor<List<Source>> UNITS = | 135 final ListResultDescriptor<Source> UNITS = |
| 136 new ResultDescriptor<List<Source>>('UNITS', Source.EMPTY_ARRAY); | 136 new ListResultDescriptor<Source>('UNITS', Source.EMPTY_ARRAY); |
| OLD | NEW |