Chromium Code Reviews| Index: pkg/analyzer/lib/src/context/context.dart |
| diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart |
| index 51e2c478867e7dac27e0caa7df38bac394dd99f0..26dc99ba3a84ce3b1f780df84af1e8cd54f7c731 100644 |
| --- a/pkg/analyzer/lib/src/context/context.dart |
| +++ b/pkg/analyzer/lib/src/context/context.dart |
| @@ -34,6 +34,7 @@ import 'package:analyzer/src/task/dart_work_manager.dart'; |
| import 'package:analyzer/src/task/driver.dart'; |
| import 'package:analyzer/src/task/incremental_element_builder.dart'; |
| import 'package:analyzer/src/task/manager.dart'; |
| +import 'package:analyzer/src/task/model.dart'; |
| import 'package:analyzer/task/dart.dart'; |
| import 'package:analyzer/task/general.dart'; |
| import 'package:analyzer/task/html.dart'; |
| @@ -41,6 +42,13 @@ import 'package:analyzer/task/model.dart'; |
| import 'package:html/dom.dart' show Document; |
| /** |
| + * The descriptor used to associate exclude patterns with an analysis context in |
| + * configuration data. |
| + */ |
| +final ResultDescriptor<List<String>> CONTEXT_EXCLUDES = |
|
scheglov
2016/07/26 17:21:20
ListResultDescriptor<String>
pquitslund
2016/07/26 17:24:15
Done.
|
| + new ResultDescriptorImpl('context.excludes', const <String>[]); |
|
scheglov
2016/07/26 17:21:20
Currently we use the name of the ResultDescriptor
pquitslund
2016/07/26 17:24:14
Done.
|
| + |
| +/** |
| * Type of callback functions used by PendingFuture. Functions of this type |
| * should perform a computation based on the data in [entry] and return it. If |
| * the computation can't be performed yet because more analysis is needed, |