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

Side by Side Diff: pkg/analysis_server/lib/src/generated_protocol.dart

Issue 932883002: Addition of the --no-index flag to the analysis server spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script 6 // To regenerate the file, use the script
7 // "pkg/analysis_server/tool/spec/generate_files". 7 // "pkg/analysis_server/tool/spec/generate_files".
8 8
9 part of protocol; 9 part of protocol;
10 /** 10 /**
(...skipping 9236 matching lines...) Expand 10 before | Expand all | Expand 10 after
9247 * RequestErrorCode 9247 * RequestErrorCode
9248 * 9248 *
9249 * enum { 9249 * enum {
9250 * CONTENT_MODIFIED 9250 * CONTENT_MODIFIED
9251 * FORMAT_INVALID_FILE 9251 * FORMAT_INVALID_FILE
9252 * GET_ERRORS_INVALID_FILE 9252 * GET_ERRORS_INVALID_FILE
9253 * INVALID_EXECUTION_CONTEXT 9253 * INVALID_EXECUTION_CONTEXT
9254 * INVALID_OVERLAY_CHANGE 9254 * INVALID_OVERLAY_CHANGE
9255 * INVALID_PARAMETER 9255 * INVALID_PARAMETER
9256 * INVALID_REQUEST 9256 * INVALID_REQUEST
9257 * NO_INDEX_GENERATED
9257 * REFACTORING_REQUEST_CANCELLED 9258 * REFACTORING_REQUEST_CANCELLED
9258 * SERVER_ALREADY_STARTED 9259 * SERVER_ALREADY_STARTED
9259 * SERVER_ERROR 9260 * SERVER_ERROR
9260 * SORT_MEMBERS_INVALID_FILE 9261 * SORT_MEMBERS_INVALID_FILE
9261 * SORT_MEMBERS_PARSE_ERRORS 9262 * SORT_MEMBERS_PARSE_ERRORS
9262 * UNANALYZED_PRIORITY_FILES 9263 * UNANALYZED_PRIORITY_FILES
9263 * UNKNOWN_REQUEST 9264 * UNKNOWN_REQUEST
9264 * UNSUPPORTED_FEATURE 9265 * UNSUPPORTED_FEATURE
9265 * } 9266 * }
9266 */ 9267 */
(...skipping 16 matching lines...) Expand all
9283 * a file currently subject to analysis. 9284 * a file currently subject to analysis.
9284 */ 9285 */
9285 static const GET_ERRORS_INVALID_FILE = const RequestErrorCode._("GET_ERRORS_IN VALID_FILE"); 9286 static const GET_ERRORS_INVALID_FILE = const RequestErrorCode._("GET_ERRORS_IN VALID_FILE");
9286 9287
9287 /** 9288 /**
9288 * The context root used to create an execution context does not exist. 9289 * The context root used to create an execution context does not exist.
9289 */ 9290 */
9290 static const INVALID_EXECUTION_CONTEXT = const RequestErrorCode._("INVALID_EXE CUTION_CONTEXT"); 9291 static const INVALID_EXECUTION_CONTEXT = const RequestErrorCode._("INVALID_EXE CUTION_CONTEXT");
9291 9292
9292 /** 9293 /**
9293 * An analysis.updateContent request contained a ChangeContentOverlay object 9294 * An "analysis.updateContent" request contained a ChangeContentOverlay
9294 * which can't be applied, due to an edit having an offset or length that is 9295 * object which can't be applied, due to an edit having an offset or length
9295 * out of range. 9296 * that is out of range.
9296 */ 9297 */
9297 static const INVALID_OVERLAY_CHANGE = const RequestErrorCode._("INVALID_OVERLA Y_CHANGE"); 9298 static const INVALID_OVERLAY_CHANGE = const RequestErrorCode._("INVALID_OVERLA Y_CHANGE");
9298 9299
9299 /** 9300 /**
9300 * One of the method parameters was invalid. 9301 * One of the method parameters was invalid.
9301 */ 9302 */
9302 static const INVALID_PARAMETER = const RequestErrorCode._("INVALID_PARAMETER") ; 9303 static const INVALID_PARAMETER = const RequestErrorCode._("INVALID_PARAMETER") ;
9303 9304
9304 /** 9305 /**
9305 * A malformed request was received. 9306 * A malformed request was received.
9306 */ 9307 */
9307 static const INVALID_REQUEST = const RequestErrorCode._("INVALID_REQUEST"); 9308 static const INVALID_REQUEST = const RequestErrorCode._("INVALID_REQUEST");
9308 9309
9309 /** 9310 /**
9311 * The "--no-index" flag was passed when the analysis server created, but
9312 * this API call requires an index to have been generated.
9313 */
9314 static const NO_INDEX_GENERATED = const RequestErrorCode._("NO_INDEX_GENERATED ");
9315
9316 /**
9310 * Another refactoring request was received during processing of this one. 9317 * Another refactoring request was received during processing of this one.
9311 */ 9318 */
9312 static const REFACTORING_REQUEST_CANCELLED = const RequestErrorCode._("REFACTO RING_REQUEST_CANCELLED"); 9319 static const REFACTORING_REQUEST_CANCELLED = const RequestErrorCode._("REFACTO RING_REQUEST_CANCELLED");
9313 9320
9314 /** 9321 /**
9315 * The analysis server has already been started (and hence won't accept new 9322 * The analysis server has already been started (and hence won't accept new
9316 * connections). 9323 * connections).
9317 * 9324 *
9318 * This error is included for future expansion; at present the analysis 9325 * This error is included for future expansion; at present the analysis
9319 * server can only speak to one client at a time so this error will never 9326 * server can only speak to one client at a time so this error will never
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
9359 * supported. 9366 * supported.
9360 * 9367 *
9361 * This is a legacy error; it will be removed before the API reaches version 9368 * This is a legacy error; it will be removed before the API reaches version
9362 * 1.0. 9369 * 1.0.
9363 */ 9370 */
9364 static const UNSUPPORTED_FEATURE = const RequestErrorCode._("UNSUPPORTED_FEATU RE"); 9371 static const UNSUPPORTED_FEATURE = const RequestErrorCode._("UNSUPPORTED_FEATU RE");
9365 9372
9366 /** 9373 /**
9367 * A list containing all of the enum values that are defined. 9374 * A list containing all of the enum values that are defined.
9368 */ 9375 */
9369 static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[CONTENT_ MODIFIED, FORMAT_INVALID_FILE, GET_ERRORS_INVALID_FILE, INVALID_EXECUTION_CONTEX T, INVALID_OVERLAY_CHANGE, INVALID_PARAMETER, INVALID_REQUEST, REFACTORING_REQUE ST_CANCELLED, SERVER_ALREADY_STARTED, SERVER_ERROR, SORT_MEMBERS_INVALID_FILE, S ORT_MEMBERS_PARSE_ERRORS, UNANALYZED_PRIORITY_FILES, UNKNOWN_REQUEST, UNSUPPORTE D_FEATURE]; 9376 static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[CONTENT_ MODIFIED, FORMAT_INVALID_FILE, GET_ERRORS_INVALID_FILE, INVALID_EXECUTION_CONTEX T, INVALID_OVERLAY_CHANGE, INVALID_PARAMETER, INVALID_REQUEST, NO_INDEX_GENERATE D, REFACTORING_REQUEST_CANCELLED, SERVER_ALREADY_STARTED, SERVER_ERROR, SORT_MEM BERS_INVALID_FILE, SORT_MEMBERS_PARSE_ERRORS, UNANALYZED_PRIORITY_FILES, UNKNOWN _REQUEST, UNSUPPORTED_FEATURE];
9370 9377
9371 final String name; 9378 final String name;
9372 9379
9373 const RequestErrorCode._(this.name); 9380 const RequestErrorCode._(this.name);
9374 9381
9375 factory RequestErrorCode(String name) { 9382 factory RequestErrorCode(String name) {
9376 switch (name) { 9383 switch (name) {
9377 case "CONTENT_MODIFIED": 9384 case "CONTENT_MODIFIED":
9378 return CONTENT_MODIFIED; 9385 return CONTENT_MODIFIED;
9379 case "FORMAT_INVALID_FILE": 9386 case "FORMAT_INVALID_FILE":
9380 return FORMAT_INVALID_FILE; 9387 return FORMAT_INVALID_FILE;
9381 case "GET_ERRORS_INVALID_FILE": 9388 case "GET_ERRORS_INVALID_FILE":
9382 return GET_ERRORS_INVALID_FILE; 9389 return GET_ERRORS_INVALID_FILE;
9383 case "INVALID_EXECUTION_CONTEXT": 9390 case "INVALID_EXECUTION_CONTEXT":
9384 return INVALID_EXECUTION_CONTEXT; 9391 return INVALID_EXECUTION_CONTEXT;
9385 case "INVALID_OVERLAY_CHANGE": 9392 case "INVALID_OVERLAY_CHANGE":
9386 return INVALID_OVERLAY_CHANGE; 9393 return INVALID_OVERLAY_CHANGE;
9387 case "INVALID_PARAMETER": 9394 case "INVALID_PARAMETER":
9388 return INVALID_PARAMETER; 9395 return INVALID_PARAMETER;
9389 case "INVALID_REQUEST": 9396 case "INVALID_REQUEST":
9390 return INVALID_REQUEST; 9397 return INVALID_REQUEST;
9398 case "NO_INDEX_GENERATED":
9399 return NO_INDEX_GENERATED;
9391 case "REFACTORING_REQUEST_CANCELLED": 9400 case "REFACTORING_REQUEST_CANCELLED":
9392 return REFACTORING_REQUEST_CANCELLED; 9401 return REFACTORING_REQUEST_CANCELLED;
9393 case "SERVER_ALREADY_STARTED": 9402 case "SERVER_ALREADY_STARTED":
9394 return SERVER_ALREADY_STARTED; 9403 return SERVER_ALREADY_STARTED;
9395 case "SERVER_ERROR": 9404 case "SERVER_ERROR":
9396 return SERVER_ERROR; 9405 return SERVER_ERROR;
9397 case "SORT_MEMBERS_INVALID_FILE": 9406 case "SORT_MEMBERS_INVALID_FILE":
9398 return SORT_MEMBERS_INVALID_FILE; 9407 return SORT_MEMBERS_INVALID_FILE;
9399 case "SORT_MEMBERS_PARSE_ERRORS": 9408 case "SORT_MEMBERS_PARSE_ERRORS":
9400 return SORT_MEMBERS_PARSE_ERRORS; 9409 return SORT_MEMBERS_PARSE_ERRORS;
(...skipping 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after
11242 return false; 11251 return false;
11243 } 11252 }
11244 11253
11245 @override 11254 @override
11246 int get hashCode { 11255 int get hashCode {
11247 int hash = 0; 11256 int hash = 0;
11248 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); 11257 hash = _JenkinsSmiHash.combine(hash, newName.hashCode);
11249 return _JenkinsSmiHash.finish(hash); 11258 return _JenkinsSmiHash.finish(hash);
11250 } 11259 }
11251 } 11260 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698