| Index: pkg/analyzer/lib/src/generated/error.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart
|
| index e7175629a5f6682a7b926e3dcab74321007538ef..5f7e3f68b267a65ef034d2799334fc637ca688ed 100644
|
| --- a/pkg/analyzer/lib/src/generated/error.dart
|
| +++ b/pkg/analyzer/lib/src/generated/error.dart
|
| @@ -6,6 +6,8 @@ library engine.error;
|
|
|
| import 'dart:collection';
|
|
|
| +import 'package:analyzer/src/task/model.dart';
|
| +import 'package:analyzer/task/model.dart';
|
| import 'package:source_span/source_span.dart';
|
|
|
| import 'ast.dart' show AstNode;
|
| @@ -15,6 +17,20 @@ import 'scanner.dart' show Token;
|
| import 'source.dart';
|
|
|
| /**
|
| + * The descriptor used to associate error filters with analysis contexts in
|
| + * configuration data.
|
| + */
|
| +final ListResultDescriptor<List<ErrorFilter>> CONFIGURED_ERROR_FILTERS =
|
| + new ListResultDescriptorImpl('configured.errors', const <ErrorFilter>[]);
|
| +
|
| +/**
|
| + * A predicate used to potentially filter an [error].
|
| + *
|
| + * Returns `true` if this error should be filtered from analysis results.
|
| + */
|
| +typedef bool ErrorFilter(AnalysisError error);
|
| +
|
| +/**
|
| * An error discovered during the analysis of some Dart code.
|
| *
|
| * See [AnalysisErrorListener].
|
|
|