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

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

Issue 1232683003: Issue 23640. Implement 'analysis.getNavigation' request. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
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 12203 matching lines...) Expand 10 before | Expand all | Expand 10 after
12214 } 12214 }
12215 12215
12216 /** 12216 /**
12217 * RequestErrorCode 12217 * RequestErrorCode
12218 * 12218 *
12219 * enum { 12219 * enum {
12220 * CONTENT_MODIFIED 12220 * CONTENT_MODIFIED
12221 * FORMAT_INVALID_FILE 12221 * FORMAT_INVALID_FILE
12222 * FORMAT_WITH_ERRORS 12222 * FORMAT_WITH_ERRORS
12223 * GET_ERRORS_INVALID_FILE 12223 * GET_ERRORS_INVALID_FILE
12224 * GET_NAVIGATION_INVALID_FILE
12224 * INVALID_ANALYSIS_ROOT 12225 * INVALID_ANALYSIS_ROOT
12225 * INVALID_EXECUTION_CONTEXT 12226 * INVALID_EXECUTION_CONTEXT
12226 * INVALID_OVERLAY_CHANGE 12227 * INVALID_OVERLAY_CHANGE
12227 * INVALID_PARAMETER 12228 * INVALID_PARAMETER
12228 * INVALID_REQUEST 12229 * INVALID_REQUEST
12229 * NO_INDEX_GENERATED 12230 * NO_INDEX_GENERATED
12230 * REFACTORING_REQUEST_CANCELLED 12231 * REFACTORING_REQUEST_CANCELLED
12231 * SERVER_ALREADY_STARTED 12232 * SERVER_ALREADY_STARTED
12232 * SERVER_ERROR 12233 * SERVER_ERROR
12233 * SORT_MEMBERS_INVALID_FILE 12234 * SORT_MEMBERS_INVALID_FILE
(...skipping 23 matching lines...) Expand all
12257 */ 12258 */
12258 static const FORMAT_WITH_ERRORS = const RequestErrorCode._("FORMAT_WITH_ERRORS "); 12259 static const FORMAT_WITH_ERRORS = const RequestErrorCode._("FORMAT_WITH_ERRORS ");
12259 12260
12260 /** 12261 /**
12261 * An "analysis.getErrors" request specified a FilePath which does not match 12262 * An "analysis.getErrors" request specified a FilePath which does not match
12262 * a file currently subject to analysis. 12263 * a file currently subject to analysis.
12263 */ 12264 */
12264 static const GET_ERRORS_INVALID_FILE = const RequestErrorCode._("GET_ERRORS_IN VALID_FILE"); 12265 static const GET_ERRORS_INVALID_FILE = const RequestErrorCode._("GET_ERRORS_IN VALID_FILE");
12265 12266
12266 /** 12267 /**
12268 * An "analysis.getErrors" request specified a FilePath which does not match
12269 * a file currently subject to analysis.
12270 */
12271 static const GET_NAVIGATION_INVALID_FILE = const RequestErrorCode._("GET_NAVIG ATION_INVALID_FILE");
12272
12273 /**
12267 * A path passed as an argument to a request (such as analysis.reanalyze) is 12274 * A path passed as an argument to a request (such as analysis.reanalyze) is
12268 * required to be an analysis root, but isn't. 12275 * required to be an analysis root, but isn't.
12269 */ 12276 */
12270 static const INVALID_ANALYSIS_ROOT = const RequestErrorCode._("INVALID_ANALYSI S_ROOT"); 12277 static const INVALID_ANALYSIS_ROOT = const RequestErrorCode._("INVALID_ANALYSI S_ROOT");
12271 12278
12272 /** 12279 /**
12273 * The context root used to create an execution context does not exist. 12280 * The context root used to create an execution context does not exist.
12274 */ 12281 */
12275 static const INVALID_EXECUTION_CONTEXT = const RequestErrorCode._("INVALID_EXE CUTION_CONTEXT"); 12282 static const INVALID_EXECUTION_CONTEXT = const RequestErrorCode._("INVALID_EXE CUTION_CONTEXT");
12276 12283
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
12356 * supported. 12363 * supported.
12357 * 12364 *
12358 * This is a legacy error; it will be removed before the API reaches version 12365 * This is a legacy error; it will be removed before the API reaches version
12359 * 1.0. 12366 * 1.0.
12360 */ 12367 */
12361 static const UNSUPPORTED_FEATURE = const RequestErrorCode._("UNSUPPORTED_FEATU RE"); 12368 static const UNSUPPORTED_FEATURE = const RequestErrorCode._("UNSUPPORTED_FEATU RE");
12362 12369
12363 /** 12370 /**
12364 * A list containing all of the enum values that are defined. 12371 * A list containing all of the enum values that are defined.
12365 */ 12372 */
12366 static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[CONTENT_ MODIFIED, FORMAT_INVALID_FILE, FORMAT_WITH_ERRORS, GET_ERRORS_INVALID_FILE, INVA LID_ANALYSIS_ROOT, INVALID_EXECUTION_CONTEXT, INVALID_OVERLAY_CHANGE, INVALID_PA RAMETER, INVALID_REQUEST, NO_INDEX_GENERATED, REFACTORING_REQUEST_CANCELLED, SER VER_ALREADY_STARTED, SERVER_ERROR, SORT_MEMBERS_INVALID_FILE, SORT_MEMBERS_PARSE _ERRORS, UNANALYZED_PRIORITY_FILES, UNKNOWN_REQUEST, UNKNOWN_SOURCE, UNSUPPORTED _FEATURE]; 12373 static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[CONTENT_ MODIFIED, FORMAT_INVALID_FILE, FORMAT_WITH_ERRORS, GET_ERRORS_INVALID_FILE, GET_ NAVIGATION_INVALID_FILE, INVALID_ANALYSIS_ROOT, INVALID_EXECUTION_CONTEXT, INVAL ID_OVERLAY_CHANGE, INVALID_PARAMETER, INVALID_REQUEST, NO_INDEX_GENERATED, REFAC TORING_REQUEST_CANCELLED, SERVER_ALREADY_STARTED, SERVER_ERROR, SORT_MEMBERS_INV ALID_FILE, SORT_MEMBERS_PARSE_ERRORS, UNANALYZED_PRIORITY_FILES, UNKNOWN_REQUEST , UNKNOWN_SOURCE, UNSUPPORTED_FEATURE];
12367 12374
12368 final String name; 12375 final String name;
12369 12376
12370 const RequestErrorCode._(this.name); 12377 const RequestErrorCode._(this.name);
12371 12378
12372 factory RequestErrorCode(String name) { 12379 factory RequestErrorCode(String name) {
12373 switch (name) { 12380 switch (name) {
12374 case "CONTENT_MODIFIED": 12381 case "CONTENT_MODIFIED":
12375 return CONTENT_MODIFIED; 12382 return CONTENT_MODIFIED;
12376 case "FORMAT_INVALID_FILE": 12383 case "FORMAT_INVALID_FILE":
12377 return FORMAT_INVALID_FILE; 12384 return FORMAT_INVALID_FILE;
12378 case "FORMAT_WITH_ERRORS": 12385 case "FORMAT_WITH_ERRORS":
12379 return FORMAT_WITH_ERRORS; 12386 return FORMAT_WITH_ERRORS;
12380 case "GET_ERRORS_INVALID_FILE": 12387 case "GET_ERRORS_INVALID_FILE":
12381 return GET_ERRORS_INVALID_FILE; 12388 return GET_ERRORS_INVALID_FILE;
12389 case "GET_NAVIGATION_INVALID_FILE":
12390 return GET_NAVIGATION_INVALID_FILE;
12382 case "INVALID_ANALYSIS_ROOT": 12391 case "INVALID_ANALYSIS_ROOT":
12383 return INVALID_ANALYSIS_ROOT; 12392 return INVALID_ANALYSIS_ROOT;
12384 case "INVALID_EXECUTION_CONTEXT": 12393 case "INVALID_EXECUTION_CONTEXT":
12385 return INVALID_EXECUTION_CONTEXT; 12394 return INVALID_EXECUTION_CONTEXT;
12386 case "INVALID_OVERLAY_CHANGE": 12395 case "INVALID_OVERLAY_CHANGE":
12387 return INVALID_OVERLAY_CHANGE; 12396 return INVALID_OVERLAY_CHANGE;
12388 case "INVALID_PARAMETER": 12397 case "INVALID_PARAMETER":
12389 return INVALID_PARAMETER; 12398 return INVALID_PARAMETER;
12390 case "INVALID_REQUEST": 12399 case "INVALID_REQUEST":
12391 return INVALID_REQUEST; 12400 return INVALID_REQUEST;
(...skipping 2510 matching lines...) Expand 10 before | Expand all | Expand 10 after
14902 return false; 14911 return false;
14903 } 14912 }
14904 14913
14905 @override 14914 @override
14906 int get hashCode { 14915 int get hashCode {
14907 int hash = 0; 14916 int hash = 0;
14908 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); 14917 hash = _JenkinsSmiHash.combine(hash, newName.hashCode);
14909 return _JenkinsSmiHash.finish(hash); 14918 return _JenkinsSmiHash.finish(hash);
14910 } 14919 }
14911 } 14920 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698