| 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 a7b579f228e12b63dc2ff185ba512fc3f4fb69aa..2a37fa44cff2201132c8476b4184ae827de635da 100644
|
| --- a/pkg/analysis_server/lib/src/generated_protocol.dart
|
| +++ b/pkg/analysis_server/lib/src/generated_protocol.dart
|
| @@ -4583,7 +4583,8 @@ class EditSortMembersResult implements HasToJson {
|
| */
|
| class ExecutionCreateContextParams implements HasToJson {
|
| /**
|
| - * The path of the Dart or HTML file that will be launched.
|
| + * The path of the Dart or HTML file that will be launched, or the path of
|
| + * the directory containing the file.
|
| */
|
| String contextRoot;
|
|
|
| @@ -9208,6 +9209,7 @@ class RequestError implements HasToJson {
|
| * CONTENT_MODIFIED
|
| * FORMAT_INVALID_FILE
|
| * GET_ERRORS_INVALID_FILE
|
| + * INVALID_EXECUTION_CONTEXT
|
| * INVALID_OVERLAY_CHANGE
|
| * INVALID_PARAMETER
|
| * INVALID_REQUEST
|
| @@ -9242,6 +9244,11 @@ class RequestErrorCode implements Enum {
|
| static const GET_ERRORS_INVALID_FILE = const RequestErrorCode._("GET_ERRORS_INVALID_FILE");
|
|
|
| /**
|
| + * The context root used to create an execution context does not exist.
|
| + */
|
| + 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.
|
| @@ -9318,7 +9325,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_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, 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;
|
|
|
| @@ -9332,6 +9339,8 @@ class RequestErrorCode implements Enum {
|
| return FORMAT_INVALID_FILE;
|
| case "GET_ERRORS_INVALID_FILE":
|
| return GET_ERRORS_INVALID_FILE;
|
| + case "INVALID_EXECUTION_CONTEXT":
|
| + return INVALID_EXECUTION_CONTEXT;
|
| case "INVALID_OVERLAY_CHANGE":
|
| return INVALID_OVERLAY_CHANGE;
|
| case "INVALID_PARAMETER":
|
|
|