| 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 4e56e1045172109bd3a0e593a9da8823246af6d1..58474c05b37d6f37e5536fac2fa7eb3d3f9d7790 100644
|
| --- a/pkg/analyzer/lib/src/generated/error.dart
|
| +++ b/pkg/analyzer/lib/src/generated/error.dart
|
| @@ -294,6 +294,39 @@ class AnalysisErrorWithProperties extends AnalysisError {
|
| }
|
|
|
| /**
|
| + * The error codes used for errors in analysis options files. The convention for
|
| + * this class is for the name of the error code to indicate the problem that
|
| + * caused the error to be generated and for the error message to explain what is
|
| + * wrong and, when appropriate, how the problem can be corrected.
|
| + */
|
| +class AnalysisOptionsErrorCode extends ErrorCode {
|
| + /**
|
| + * An error code indicating that there is a syntactic error in the file.
|
| + *
|
| + * Parameters:
|
| + * 0: the error message from the parse error
|
| + */
|
| + static const AnalysisOptionsErrorCode PARSE_ERROR =
|
| + const AnalysisOptionsErrorCode('PARSE_ERROR', '{0}');
|
| +
|
| + /**
|
| + * Initialize a newly created error code to have the given [name]. The message
|
| + * associated with the error will be created from the given [message]
|
| + * template. The correction associated with the error will be created from the
|
| + * given [correction] template.
|
| + */
|
| + const AnalysisOptionsErrorCode(String name, String message,
|
| + [String correction])
|
| + : super(name, message, correction);
|
| +
|
| + @override
|
| + ErrorSeverity get errorSeverity => ErrorSeverity.ERROR;
|
| +
|
| + @override
|
| + ErrorType get type => ErrorType.COMPILE_TIME_ERROR;
|
| +}
|
| +
|
| +/**
|
| * An [AnalysisErrorListener] that keeps track of whether any error has been
|
| * reported to it.
|
| */
|
|
|