Index: pkg/analysis_server/lib/src/generated_protocol.dart |
diff --git a/pkg/analysis_server/lib/src/generated_protocol.dart b/pkg/analysis_server/lib/src/generated_protocol.dart |
index 0e2493b4a6a8c54810ccd155ad83246b0b3e4159..57fcf609157d3fc8745f354c1e9dd9638f30d96b 100644 |
--- a/pkg/analysis_server/lib/src/generated_protocol.dart |
+++ b/pkg/analysis_server/lib/src/generated_protocol.dart |
@@ -12094,6 +12094,7 @@ class RequestError implements HasToJson { |
* enum { |
* CONTENT_MODIFIED |
* FORMAT_INVALID_FILE |
+ * FORMAT_WITH_ERRORS |
* GET_ERRORS_INVALID_FILE |
* INVALID_ANALYSIS_ROOT |
* INVALID_EXECUTION_CONTEXT |
@@ -12127,6 +12128,11 @@ class RequestErrorCode implements Enum { |
static const FORMAT_INVALID_FILE = const RequestErrorCode._("FORMAT_INVALID_FILE"); |
/** |
+ * An "edit.format" request specified a file that contains syntax errors. |
+ */ |
+ static const FORMAT_WITH_ERRORS = const RequestErrorCode._("FORMAT_WITH_ERRORS"); |
+ |
+ /** |
* An "analysis.getErrors" request specified a FilePath which does not match |
* a file currently subject to analysis. |
*/ |
@@ -12232,7 +12238,7 @@ class RequestErrorCode implements Enum { |
/** |
* A list containing all of the enum values that are defined. |
*/ |
- static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[CONTENT_MODIFIED, FORMAT_INVALID_FILE, GET_ERRORS_INVALID_FILE, INVALID_ANALYSIS_ROOT, INVALID_EXECUTION_CONTEXT, INVALID_OVERLAY_CHANGE, INVALID_PARAMETER, INVALID_REQUEST, NO_INDEX_GENERATED, REFACTORING_REQUEST_CANCELLED, SERVER_ALREADY_STARTED, SERVER_ERROR, SORT_MEMBERS_INVALID_FILE, SORT_MEMBERS_PARSE_ERRORS, UNANALYZED_PRIORITY_FILES, UNKNOWN_REQUEST, UNKNOWN_SOURCE, UNSUPPORTED_FEATURE]; |
+ static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[CONTENT_MODIFIED, FORMAT_INVALID_FILE, FORMAT_WITH_ERRORS, GET_ERRORS_INVALID_FILE, INVALID_ANALYSIS_ROOT, INVALID_EXECUTION_CONTEXT, INVALID_OVERLAY_CHANGE, INVALID_PARAMETER, INVALID_REQUEST, NO_INDEX_GENERATED, REFACTORING_REQUEST_CANCELLED, SERVER_ALREADY_STARTED, SERVER_ERROR, SORT_MEMBERS_INVALID_FILE, SORT_MEMBERS_PARSE_ERRORS, UNANALYZED_PRIORITY_FILES, UNKNOWN_REQUEST, UNKNOWN_SOURCE, UNSUPPORTED_FEATURE]; |
final String name; |
@@ -12244,6 +12250,8 @@ class RequestErrorCode implements Enum { |
return CONTENT_MODIFIED; |
case "FORMAT_INVALID_FILE": |
return FORMAT_INVALID_FILE; |
+ case "FORMAT_WITH_ERRORS": |
+ return FORMAT_WITH_ERRORS; |
case "GET_ERRORS_INVALID_FILE": |
return GET_ERRORS_INVALID_FILE; |
case "INVALID_ANALYSIS_ROOT": |