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 bbd757212b84223508bc58a39f3b219e2bc65c63..08dd3731fd2d8998071c5f218f9304b879ae2b4a 100644 |
--- a/pkg/analysis_server/lib/src/generated_protocol.dart |
+++ b/pkg/analysis_server/lib/src/generated_protocol.dart |
@@ -9338,6 +9338,7 @@ class RequestError implements HasToJson { |
* CONTENT_MODIFIED |
* FORMAT_INVALID_FILE |
* GET_ERRORS_INVALID_FILE |
+ * INVALID_ANALYSIS_ROOT |
* INVALID_EXECUTION_CONTEXT |
* INVALID_OVERLAY_CHANGE |
* INVALID_PARAMETER |
@@ -9374,6 +9375,12 @@ class RequestErrorCode implements Enum { |
static const GET_ERRORS_INVALID_FILE = const RequestErrorCode._("GET_ERRORS_INVALID_FILE"); |
/** |
+ * A path passed as an argument to a request (such as analysis.reanalyze) is |
+ * required to be an analysis root, but isn't. |
+ */ |
+ static const INVALID_ANALYSIS_ROOT = const RequestErrorCode._("INVALID_ANALYSIS_ROOT"); |
+ |
+ /** |
* The context root used to create an execution context does not exist. |
*/ |
static const INVALID_EXECUTION_CONTEXT = const RequestErrorCode._("INVALID_EXECUTION_CONTEXT"); |
@@ -9461,7 +9468,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_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, UNSUPPORTED_FEATURE]; |
+ 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, UNSUPPORTED_FEATURE]; |
final String name; |
@@ -9475,6 +9482,8 @@ class RequestErrorCode implements Enum { |
return FORMAT_INVALID_FILE; |
case "GET_ERRORS_INVALID_FILE": |
return GET_ERRORS_INVALID_FILE; |
+ case "INVALID_ANALYSIS_ROOT": |
+ return INVALID_ANALYSIS_ROOT; |
case "INVALID_EXECUTION_CONTEXT": |
return INVALID_EXECUTION_CONTEXT; |
case "INVALID_OVERLAY_CHANGE": |