| Index: pkg/analyzer/lib/task/dart.dart
|
| diff --git a/pkg/analyzer/lib/task/dart.dart b/pkg/analyzer/lib/task/dart.dart
|
| index 9e1285a0dd97de646d5b9e9aca2a2c11fe60dbe6..184ff377539302298dec224a0ae708a2a200367a 100644
|
| --- a/pkg/analyzer/lib/task/dart.dart
|
| +++ b/pkg/analyzer/lib/task/dart.dart
|
| @@ -125,3 +125,14 @@ final ResultDescriptor<List<AnalysisError>> SCAN_ERRORS =
|
| */
|
| final ResultDescriptor<Token> TOKEN_STREAM =
|
| new ResultDescriptor<Token>('TOKEN_STREAM', null);
|
| +
|
| +/**
|
| + * The sources of the Dart files that a library consists of.
|
| + *
|
| + * The list will include the source of the defining unit and [INCLUDED_PARTS].
|
| + * So, it is never empty or `null`.
|
| + *
|
| + * The result is only available for targets representing a Dart library.
|
| + */
|
| +final ResultDescriptor<List<Source>> UNITS =
|
| + new ResultDescriptor<List<Source>>('UNITS', Source.EMPTY_ARRAY);
|
|
|