Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Unified Diff: pkg/analysis_server/lib/src/protocol.dart

Issue 1047733004: Support refresh of individual analysis roots (issue 22254) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address more comments Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/lib/src/protocol.dart
diff --git a/pkg/analysis_server/lib/src/protocol.dart b/pkg/analysis_server/lib/src/protocol.dart
index 31e52c9c88c9039625bdb27496b9b2527a1c933d..69a6fc937510b5bf4808f7f80f584e5ba20e476b 100644
--- a/pkg/analysis_server/lib/src/protocol.dart
+++ b/pkg/analysis_server/lib/src/protocol.dart
@@ -733,6 +733,16 @@ class Response {
/**
* Initialize a newly created instance to represent an error condition caused
+ * by an analysis.reanalyze [request] that specifies an analysis root that is
+ * not in the current list of analysis roots.
+ */
+ Response.invalidAnalysisRoot(Request request, String rootPath) : this(
+ request.id,
+ error: new RequestError(RequestErrorCode.INVALID_ANALYSIS_ROOT,
+ "Invalid analysis root: $rootPath"));
+
+ /**
+ * Initialize a newly created instance to represent an error condition caused
* by a [request] that specifies an execution context whose context root does
* not exist.
*/
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/analysis/reanalyze_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698