| Index: pkg/analyzer/lib/task/dart.dart
|
| diff --git a/pkg/analyzer/lib/task/dart.dart b/pkg/analyzer/lib/task/dart.dart
|
| index 08e7782381fa25e55faac4048580b10a04c97e84..d0bd99ce466f5821b65c4f7ed50c897af9349ea3 100644
|
| --- a/pkg/analyzer/lib/task/dart.dart
|
| +++ b/pkg/analyzer/lib/task/dart.dart
|
| @@ -5,6 +5,7 @@
|
| library analyzer.task.dart;
|
|
|
| import 'package:analyzer/src/generated/ast.dart';
|
| +import 'package:analyzer/src/generated/element.dart';
|
| import 'package:analyzer/src/generated/error.dart';
|
| import 'package:analyzer/src/generated/scanner.dart';
|
| import 'package:analyzer/src/generated/source.dart';
|
| @@ -64,6 +65,15 @@ final ListResultDescriptor<Source> INCLUDED_PARTS =
|
| new ListResultDescriptor<Source>('INCLUDED_PARTS', Source.EMPTY_ARRAY);
|
|
|
| /**
|
| + * A flag specifying whether a library is dependent on code that is only
|
| + * available in a client.
|
| + *
|
| + * The result is only available for targets representing a Dart library.
|
| + */
|
| +final ResultDescriptor<bool> IS_CLIENT =
|
| + new ResultDescriptor<bool>('IS_CLIENT', false);
|
| +
|
| +/**
|
| * A flag specifying whether a library is launchable.
|
| *
|
| * The result is only available for targets representing a Dart library.
|
| @@ -72,6 +82,14 @@ final ResultDescriptor<bool> IS_LAUNCHABLE =
|
| new ResultDescriptor<bool>('IS_LAUNCHABLE', false);
|
|
|
| /**
|
| + * The fully built [LibraryElement] associated with a library.
|
| + *
|
| + * The result is only available for targets representing a Dart library.
|
| + */
|
| +final ResultDescriptor<LibraryElement> LIBRARY_ELEMENT =
|
| + new ResultDescriptor<LibraryElement>('LIBRARY_ELEMENT', null);
|
| +
|
| +/**
|
| * The compilation unit AST produced while parsing a compilation unit.
|
| *
|
| * The AST structure will not have resolution information associated with it.
|
|
|