| Index: pkg/analysis_server/lib/src/context_manager.dart
|
| diff --git a/pkg/analysis_server/lib/src/context_manager.dart b/pkg/analysis_server/lib/src/context_manager.dart
|
| index f81f5b8eb4b76a95d907dabd6e9211eda5a77e1b..b10967a6861048252ca8c16bfa8441400a3903e5 100644
|
| --- a/pkg/analysis_server/lib/src/context_manager.dart
|
| +++ b/pkg/analysis_server/lib/src/context_manager.dart
|
| @@ -467,12 +467,17 @@ class ContextManagerImpl implements ContextManager {
|
| */
|
| void processOptionsForContext(
|
| ContextInfo info, Map<String, YamlNode> options) {
|
| - //TODO(pquitslund): push handling into an options processor plugin contributed to engine.
|
| - //AnalysisEngine.instance.optionsPlugin.optionsProcessors
|
| - // .forEach((OptionsProcessor p) => p.optionsProcessed(options));
|
| if (options == null) {
|
| return;
|
| }
|
| +
|
| + // Notify options processors.
|
| + AnalysisEngine.instance.optionsPlugin.optionsProcessors
|
| + .forEach(
|
| + (OptionsProcessor p) => p.optionsProcessed(options, info.context));
|
| +
|
| + // Analysis options are processed 'in-line'.
|
| + // TODO(pq): consider pushing exclude handling into a plugin.
|
| YamlMap analyzer = options['analyzer'];
|
| if (analyzer == null) {
|
| // No options for analyzer.
|
|
|