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 f4292bb17459c8bdf11ba8419f8632f7feb85bac..6341ac326ea9d808e0d622f6e8619f768b0f8279 100644 |
--- a/pkg/analysis_server/lib/src/generated_protocol.dart |
+++ b/pkg/analysis_server/lib/src/generated_protocol.dart |
@@ -9254,6 +9254,7 @@ class RequestError implements HasToJson { |
* INVALID_OVERLAY_CHANGE |
* INVALID_PARAMETER |
* INVALID_REQUEST |
+ * NO_INDEX_GENERATED |
* REFACTORING_REQUEST_CANCELLED |
* SERVER_ALREADY_STARTED |
* SERVER_ERROR |
@@ -9290,9 +9291,9 @@ class RequestErrorCode implements Enum { |
static const INVALID_EXECUTION_CONTEXT = const RequestErrorCode._("INVALID_EXECUTION_CONTEXT"); |
/** |
- * An analysis.updateContent request contained a ChangeContentOverlay object |
- * which can't be applied, due to an edit having an offset or length that is |
- * out of range. |
+ * An "analysis.updateContent" request contained a ChangeContentOverlay |
+ * object which can't be applied, due to an edit having an offset or length |
+ * that is out of range. |
*/ |
static const INVALID_OVERLAY_CHANGE = const RequestErrorCode._("INVALID_OVERLAY_CHANGE"); |
@@ -9307,6 +9308,12 @@ class RequestErrorCode implements Enum { |
static const INVALID_REQUEST = const RequestErrorCode._("INVALID_REQUEST"); |
/** |
+ * The "--no-index" flag was passed when the analysis server created, but |
+ * this API call requires an index to have been generated. |
+ */ |
+ static const NO_INDEX_GENERATED = const RequestErrorCode._("NO_INDEX_GENERATED"); |
+ |
+ /** |
* Another refactoring request was received during processing of this one. |
*/ |
static const REFACTORING_REQUEST_CANCELLED = const RequestErrorCode._("REFACTORING_REQUEST_CANCELLED"); |
@@ -9366,7 +9373,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, 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_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; |
@@ -9388,6 +9395,8 @@ class RequestErrorCode implements Enum { |
return INVALID_PARAMETER; |
case "INVALID_REQUEST": |
return INVALID_REQUEST; |
+ case "NO_INDEX_GENERATED": |
+ return NO_INDEX_GENERATED; |
case "REFACTORING_REQUEST_CANCELLED": |
return REFACTORING_REQUEST_CANCELLED; |
case "SERVER_ALREADY_STARTED": |