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

Side by Side Diff: pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart

Issue 2470863002: Generate more type information to make strong mode happy (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | pkg/analysis_server/tool/spec/codegen_dart_protocol.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 analysis_server.plugin.protocol.protocol; 9 part of analysis_server.plugin.protocol.protocol;
10 10
(...skipping 8177 matching lines...) Expand 10 before | Expand all | Expand 10 after
8188 * 8188 *
8189 * enum { 8189 * enum {
8190 * INFO 8190 * INFO
8191 * WARNING 8191 * WARNING
8192 * ERROR 8192 * ERROR
8193 * } 8193 * }
8194 * 8194 *
8195 * Clients may not extend, implement or mix-in this class. 8195 * Clients may not extend, implement or mix-in this class.
8196 */ 8196 */
8197 class AnalysisErrorSeverity implements Enum { 8197 class AnalysisErrorSeverity implements Enum {
8198 static const INFO = const AnalysisErrorSeverity._("INFO"); 8198 static const AnalysisErrorSeverity INFO = const AnalysisErrorSeverity._("INFO" );
8199 8199
8200 static const WARNING = const AnalysisErrorSeverity._("WARNING"); 8200 static const AnalysisErrorSeverity WARNING = const AnalysisErrorSeverity._("WA RNING");
8201 8201
8202 static const ERROR = const AnalysisErrorSeverity._("ERROR"); 8202 static const AnalysisErrorSeverity ERROR = const AnalysisErrorSeverity._("ERRO R");
8203 8203
8204 /** 8204 /**
8205 * A list containing all of the enum values that are defined. 8205 * A list containing all of the enum values that are defined.
8206 */ 8206 */
8207 static const List<AnalysisErrorSeverity> VALUES = const <AnalysisErrorSeverity >[INFO, WARNING, ERROR]; 8207 static const List<AnalysisErrorSeverity> VALUES = const <AnalysisErrorSeverity >[INFO, WARNING, ERROR];
8208 8208
8209 final String name; 8209 final String name;
8210 8210
8211 const AnalysisErrorSeverity._(this.name); 8211 const AnalysisErrorSeverity._(this.name);
8212 8212
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
8249 * LINT 8249 * LINT
8250 * STATIC_TYPE_WARNING 8250 * STATIC_TYPE_WARNING
8251 * STATIC_WARNING 8251 * STATIC_WARNING
8252 * SYNTACTIC_ERROR 8252 * SYNTACTIC_ERROR
8253 * TODO 8253 * TODO
8254 * } 8254 * }
8255 * 8255 *
8256 * Clients may not extend, implement or mix-in this class. 8256 * Clients may not extend, implement or mix-in this class.
8257 */ 8257 */
8258 class AnalysisErrorType implements Enum { 8258 class AnalysisErrorType implements Enum {
8259 static const CHECKED_MODE_COMPILE_TIME_ERROR = const AnalysisErrorType._("CHEC KED_MODE_COMPILE_TIME_ERROR"); 8259 static const AnalysisErrorType CHECKED_MODE_COMPILE_TIME_ERROR = const Analysi sErrorType._("CHECKED_MODE_COMPILE_TIME_ERROR");
8260 8260
8261 static const COMPILE_TIME_ERROR = const AnalysisErrorType._("COMPILE_TIME_ERRO R"); 8261 static const AnalysisErrorType COMPILE_TIME_ERROR = const AnalysisErrorType._( "COMPILE_TIME_ERROR");
8262 8262
8263 static const HINT = const AnalysisErrorType._("HINT"); 8263 static const AnalysisErrorType HINT = const AnalysisErrorType._("HINT");
8264 8264
8265 static const LINT = const AnalysisErrorType._("LINT"); 8265 static const AnalysisErrorType LINT = const AnalysisErrorType._("LINT");
8266 8266
8267 static const STATIC_TYPE_WARNING = const AnalysisErrorType._("STATIC_TYPE_WARN ING"); 8267 static const AnalysisErrorType STATIC_TYPE_WARNING = const AnalysisErrorType._ ("STATIC_TYPE_WARNING");
8268 8268
8269 static const STATIC_WARNING = const AnalysisErrorType._("STATIC_WARNING"); 8269 static const AnalysisErrorType STATIC_WARNING = const AnalysisErrorType._("STA TIC_WARNING");
8270 8270
8271 static const SYNTACTIC_ERROR = const AnalysisErrorType._("SYNTACTIC_ERROR"); 8271 static const AnalysisErrorType SYNTACTIC_ERROR = const AnalysisErrorType._("SY NTACTIC_ERROR");
8272 8272
8273 static const TODO = const AnalysisErrorType._("TODO"); 8273 static const AnalysisErrorType TODO = const AnalysisErrorType._("TODO");
8274 8274
8275 /** 8275 /**
8276 * A list containing all of the enum values that are defined. 8276 * A list containing all of the enum values that are defined.
8277 */ 8277 */
8278 static const List<AnalysisErrorType> VALUES = const <AnalysisErrorType>[CHECKE D_MODE_COMPILE_TIME_ERROR, COMPILE_TIME_ERROR, HINT, LINT, STATIC_TYPE_WARNING, STATIC_WARNING, SYNTACTIC_ERROR, TODO]; 8278 static const List<AnalysisErrorType> VALUES = const <AnalysisErrorType>[CHECKE D_MODE_COMPILE_TIME_ERROR, COMPILE_TIME_ERROR, HINT, LINT, STATIC_TYPE_WARNING, STATIC_WARNING, SYNTACTIC_ERROR, TODO];
8279 8279
8280 final String name; 8280 final String name;
8281 8281
8282 const AnalysisErrorType._(this.name); 8282 const AnalysisErrorType._(this.name);
8283 8283
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
8603 * INVALIDATE 8603 * INVALIDATE
8604 * NAVIGATION 8604 * NAVIGATION
8605 * OCCURRENCES 8605 * OCCURRENCES
8606 * OUTLINE 8606 * OUTLINE
8607 * OVERRIDES 8607 * OVERRIDES
8608 * } 8608 * }
8609 * 8609 *
8610 * Clients may not extend, implement or mix-in this class. 8610 * Clients may not extend, implement or mix-in this class.
8611 */ 8611 */
8612 class AnalysisService implements Enum { 8612 class AnalysisService implements Enum {
8613 static const FOLDING = const AnalysisService._("FOLDING"); 8613 static const AnalysisService FOLDING = const AnalysisService._("FOLDING");
8614 8614
8615 static const HIGHLIGHTS = const AnalysisService._("HIGHLIGHTS"); 8615 static const AnalysisService HIGHLIGHTS = const AnalysisService._("HIGHLIGHTS" );
8616 8616
8617 static const IMPLEMENTED = const AnalysisService._("IMPLEMENTED"); 8617 static const AnalysisService IMPLEMENTED = const AnalysisService._("IMPLEMENTE D");
8618 8618
8619 /** 8619 /**
8620 * This service is not currently implemented and will become a 8620 * This service is not currently implemented and will become a
8621 * GeneralAnalysisService in a future release. 8621 * GeneralAnalysisService in a future release.
8622 */ 8622 */
8623 static const INVALIDATE = const AnalysisService._("INVALIDATE"); 8623 static const AnalysisService INVALIDATE = const AnalysisService._("INVALIDATE" );
8624 8624
8625 static const NAVIGATION = const AnalysisService._("NAVIGATION"); 8625 static const AnalysisService NAVIGATION = const AnalysisService._("NAVIGATION" );
8626 8626
8627 static const OCCURRENCES = const AnalysisService._("OCCURRENCES"); 8627 static const AnalysisService OCCURRENCES = const AnalysisService._("OCCURRENCE S");
8628 8628
8629 static const OUTLINE = const AnalysisService._("OUTLINE"); 8629 static const AnalysisService OUTLINE = const AnalysisService._("OUTLINE");
8630 8630
8631 static const OVERRIDES = const AnalysisService._("OVERRIDES"); 8631 static const AnalysisService OVERRIDES = const AnalysisService._("OVERRIDES");
8632 8632
8633 /** 8633 /**
8634 * A list containing all of the enum values that are defined. 8634 * A list containing all of the enum values that are defined.
8635 */ 8635 */
8636 static const List<AnalysisService> VALUES = const <AnalysisService>[FOLDING, H IGHLIGHTS, IMPLEMENTED, INVALIDATE, NAVIGATION, OCCURRENCES, OUTLINE, OVERRIDES] ; 8636 static const List<AnalysisService> VALUES = const <AnalysisService>[FOLDING, H IGHLIGHTS, IMPLEMENTED, INVALIDATE, NAVIGATION, OCCURRENCES, OUTLINE, OVERRIDES] ;
8637 8637
8638 final String name; 8638 final String name;
8639 8639
8640 const AnalysisService._(this.name); 8640 const AnalysisService._(this.name);
8641 8641
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
9438 * 9438 *
9439 * Clients may not extend, implement or mix-in this class. 9439 * Clients may not extend, implement or mix-in this class.
9440 */ 9440 */
9441 class CompletionSuggestionKind implements Enum { 9441 class CompletionSuggestionKind implements Enum {
9442 /** 9442 /**
9443 * A list of arguments for the method or function that is being invoked. For 9443 * A list of arguments for the method or function that is being invoked. For
9444 * this suggestion kind, the completion field is a textual representation of 9444 * this suggestion kind, the completion field is a textual representation of
9445 * the invocation and the parameterNames, parameterTypes, and 9445 * the invocation and the parameterNames, parameterTypes, and
9446 * requiredParameterCount attributes are defined. 9446 * requiredParameterCount attributes are defined.
9447 */ 9447 */
9448 static const ARGUMENT_LIST = const CompletionSuggestionKind._("ARGUMENT_LIST") ; 9448 static const CompletionSuggestionKind ARGUMENT_LIST = const CompletionSuggesti onKind._("ARGUMENT_LIST");
9449 9449
9450 static const IMPORT = const CompletionSuggestionKind._("IMPORT"); 9450 static const CompletionSuggestionKind IMPORT = const CompletionSuggestionKind. _("IMPORT");
9451 9451
9452 /** 9452 /**
9453 * The element identifier should be inserted at the completion location. For 9453 * The element identifier should be inserted at the completion location. For
9454 * example "someMethod" in import 'myLib.dart' show someMethod; . For 9454 * example "someMethod" in import 'myLib.dart' show someMethod; . For
9455 * suggestions of this kind, the element attribute is defined and the 9455 * suggestions of this kind, the element attribute is defined and the
9456 * completion field is the element's identifier. 9456 * completion field is the element's identifier.
9457 */ 9457 */
9458 static const IDENTIFIER = const CompletionSuggestionKind._("IDENTIFIER"); 9458 static const CompletionSuggestionKind IDENTIFIER = const CompletionSuggestionK ind._("IDENTIFIER");
9459 9459
9460 /** 9460 /**
9461 * The element is being invoked at the completion location. For example, 9461 * The element is being invoked at the completion location. For example,
9462 * "someMethod" in x.someMethod(); . For suggestions of this kind, the 9462 * "someMethod" in x.someMethod(); . For suggestions of this kind, the
9463 * element attribute is defined and the completion field is the element's 9463 * element attribute is defined and the completion field is the element's
9464 * identifier. 9464 * identifier.
9465 */ 9465 */
9466 static const INVOCATION = const CompletionSuggestionKind._("INVOCATION"); 9466 static const CompletionSuggestionKind INVOCATION = const CompletionSuggestionK ind._("INVOCATION");
9467 9467
9468 /** 9468 /**
9469 * A keyword is being suggested. For suggestions of this kind, the completion 9469 * A keyword is being suggested. For suggestions of this kind, the completion
9470 * is the keyword. 9470 * is the keyword.
9471 */ 9471 */
9472 static const KEYWORD = const CompletionSuggestionKind._("KEYWORD"); 9472 static const CompletionSuggestionKind KEYWORD = const CompletionSuggestionKind ._("KEYWORD");
9473 9473
9474 /** 9474 /**
9475 * A named argument for the current callsite is being suggested. For 9475 * A named argument for the current callsite is being suggested. For
9476 * suggestions of this kind, the completion is the named argument identifier 9476 * suggestions of this kind, the completion is the named argument identifier
9477 * including a trailing ':' and space. 9477 * including a trailing ':' and space.
9478 */ 9478 */
9479 static const NAMED_ARGUMENT = const CompletionSuggestionKind._("NAMED_ARGUMENT "); 9479 static const CompletionSuggestionKind NAMED_ARGUMENT = const CompletionSuggest ionKind._("NAMED_ARGUMENT");
9480 9480
9481 static const OPTIONAL_ARGUMENT = const CompletionSuggestionKind._("OPTIONAL_AR GUMENT"); 9481 static const CompletionSuggestionKind OPTIONAL_ARGUMENT = const CompletionSugg estionKind._("OPTIONAL_ARGUMENT");
9482 9482
9483 static const PARAMETER = const CompletionSuggestionKind._("PARAMETER"); 9483 static const CompletionSuggestionKind PARAMETER = const CompletionSuggestionKi nd._("PARAMETER");
9484 9484
9485 /** 9485 /**
9486 * A list containing all of the enum values that are defined. 9486 * A list containing all of the enum values that are defined.
9487 */ 9487 */
9488 static const List<CompletionSuggestionKind> VALUES = const <CompletionSuggesti onKind>[ARGUMENT_LIST, IMPORT, IDENTIFIER, INVOCATION, KEYWORD, NAMED_ARGUMENT, OPTIONAL_ARGUMENT, PARAMETER]; 9488 static const List<CompletionSuggestionKind> VALUES = const <CompletionSuggesti onKind>[ARGUMENT_LIST, IMPORT, IDENTIFIER, INVOCATION, KEYWORD, NAMED_ARGUMENT, OPTIONAL_ARGUMENT, PARAMETER];
9489 9489
9490 final String name; 9490 final String name;
9491 9491
9492 const CompletionSuggestionKind._(this.name); 9492 const CompletionSuggestionKind._(this.name);
9493 9493
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
10008 * TOP_LEVEL_VARIABLE 10008 * TOP_LEVEL_VARIABLE
10009 * TYPE_PARAMETER 10009 * TYPE_PARAMETER
10010 * UNIT_TEST_GROUP 10010 * UNIT_TEST_GROUP
10011 * UNIT_TEST_TEST 10011 * UNIT_TEST_TEST
10012 * UNKNOWN 10012 * UNKNOWN
10013 * } 10013 * }
10014 * 10014 *
10015 * Clients may not extend, implement or mix-in this class. 10015 * Clients may not extend, implement or mix-in this class.
10016 */ 10016 */
10017 class ElementKind implements Enum { 10017 class ElementKind implements Enum {
10018 static const CLASS = const ElementKind._("CLASS"); 10018 static const ElementKind CLASS = const ElementKind._("CLASS");
10019 10019
10020 static const CLASS_TYPE_ALIAS = const ElementKind._("CLASS_TYPE_ALIAS"); 10020 static const ElementKind CLASS_TYPE_ALIAS = const ElementKind._("CLASS_TYPE_AL IAS");
10021 10021
10022 static const COMPILATION_UNIT = const ElementKind._("COMPILATION_UNIT"); 10022 static const ElementKind COMPILATION_UNIT = const ElementKind._("COMPILATION_U NIT");
10023 10023
10024 static const CONSTRUCTOR = const ElementKind._("CONSTRUCTOR"); 10024 static const ElementKind CONSTRUCTOR = const ElementKind._("CONSTRUCTOR");
10025 10025
10026 static const ENUM = const ElementKind._("ENUM"); 10026 static const ElementKind ENUM = const ElementKind._("ENUM");
10027 10027
10028 static const ENUM_CONSTANT = const ElementKind._("ENUM_CONSTANT"); 10028 static const ElementKind ENUM_CONSTANT = const ElementKind._("ENUM_CONSTANT");
10029 10029
10030 static const FIELD = const ElementKind._("FIELD"); 10030 static const ElementKind FIELD = const ElementKind._("FIELD");
10031 10031
10032 static const FILE = const ElementKind._("FILE"); 10032 static const ElementKind FILE = const ElementKind._("FILE");
10033 10033
10034 static const FUNCTION = const ElementKind._("FUNCTION"); 10034 static const ElementKind FUNCTION = const ElementKind._("FUNCTION");
10035 10035
10036 static const FUNCTION_TYPE_ALIAS = const ElementKind._("FUNCTION_TYPE_ALIAS"); 10036 static const ElementKind FUNCTION_TYPE_ALIAS = const ElementKind._("FUNCTION_T YPE_ALIAS");
10037 10037
10038 static const GETTER = const ElementKind._("GETTER"); 10038 static const ElementKind GETTER = const ElementKind._("GETTER");
10039 10039
10040 static const LABEL = const ElementKind._("LABEL"); 10040 static const ElementKind LABEL = const ElementKind._("LABEL");
10041 10041
10042 static const LIBRARY = const ElementKind._("LIBRARY"); 10042 static const ElementKind LIBRARY = const ElementKind._("LIBRARY");
10043 10043
10044 static const LOCAL_VARIABLE = const ElementKind._("LOCAL_VARIABLE"); 10044 static const ElementKind LOCAL_VARIABLE = const ElementKind._("LOCAL_VARIABLE" );
10045 10045
10046 static const METHOD = const ElementKind._("METHOD"); 10046 static const ElementKind METHOD = const ElementKind._("METHOD");
10047 10047
10048 static const PARAMETER = const ElementKind._("PARAMETER"); 10048 static const ElementKind PARAMETER = const ElementKind._("PARAMETER");
10049 10049
10050 static const PREFIX = const ElementKind._("PREFIX"); 10050 static const ElementKind PREFIX = const ElementKind._("PREFIX");
10051 10051
10052 static const SETTER = const ElementKind._("SETTER"); 10052 static const ElementKind SETTER = const ElementKind._("SETTER");
10053 10053
10054 static const TOP_LEVEL_VARIABLE = const ElementKind._("TOP_LEVEL_VARIABLE"); 10054 static const ElementKind TOP_LEVEL_VARIABLE = const ElementKind._("TOP_LEVEL_V ARIABLE");
10055 10055
10056 static const TYPE_PARAMETER = const ElementKind._("TYPE_PARAMETER"); 10056 static const ElementKind TYPE_PARAMETER = const ElementKind._("TYPE_PARAMETER" );
10057 10057
10058 /** 10058 /**
10059 * Deprecated: support for tests was removed. 10059 * Deprecated: support for tests was removed.
10060 */ 10060 */
10061 static const UNIT_TEST_GROUP = const ElementKind._("UNIT_TEST_GROUP"); 10061 static const ElementKind UNIT_TEST_GROUP = const ElementKind._("UNIT_TEST_GROU P");
10062 10062
10063 /** 10063 /**
10064 * Deprecated: support for tests was removed. 10064 * Deprecated: support for tests was removed.
10065 */ 10065 */
10066 static const UNIT_TEST_TEST = const ElementKind._("UNIT_TEST_TEST"); 10066 static const ElementKind UNIT_TEST_TEST = const ElementKind._("UNIT_TEST_TEST" );
10067 10067
10068 static const UNKNOWN = const ElementKind._("UNKNOWN"); 10068 static const ElementKind UNKNOWN = const ElementKind._("UNKNOWN");
10069 10069
10070 /** 10070 /**
10071 * A list containing all of the enum values that are defined. 10071 * A list containing all of the enum values that are defined.
10072 */ 10072 */
10073 static const List<ElementKind> VALUES = const <ElementKind>[CLASS, CLASS_TYPE_ ALIAS, COMPILATION_UNIT, CONSTRUCTOR, ENUM, ENUM_CONSTANT, FIELD, FILE, FUNCTION , FUNCTION_TYPE_ALIAS, GETTER, LABEL, LIBRARY, LOCAL_VARIABLE, METHOD, PARAMETER , PREFIX, SETTER, TOP_LEVEL_VARIABLE, TYPE_PARAMETER, UNIT_TEST_GROUP, UNIT_TEST _TEST, UNKNOWN]; 10073 static const List<ElementKind> VALUES = const <ElementKind>[CLASS, CLASS_TYPE_ ALIAS, COMPILATION_UNIT, CONSTRUCTOR, ENUM, ENUM_CONSTANT, FIELD, FILE, FUNCTION , FUNCTION_TYPE_ALIAS, GETTER, LABEL, LIBRARY, LOCAL_VARIABLE, METHOD, PARAMETER , PREFIX, SETTER, TOP_LEVEL_VARIABLE, TYPE_PARAMETER, UNIT_TEST_GROUP, UNIT_TEST _TEST, UNKNOWN];
10074 10074
10075 final String name; 10075 final String name;
10076 10076
10077 const ElementKind._(this.name); 10077 const ElementKind._(this.name);
10078 10078
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
10248 * enum { 10248 * enum {
10249 * CLIENT 10249 * CLIENT
10250 * EITHER 10250 * EITHER
10251 * NOT_EXECUTABLE 10251 * NOT_EXECUTABLE
10252 * SERVER 10252 * SERVER
10253 * } 10253 * }
10254 * 10254 *
10255 * Clients may not extend, implement or mix-in this class. 10255 * Clients may not extend, implement or mix-in this class.
10256 */ 10256 */
10257 class ExecutableKind implements Enum { 10257 class ExecutableKind implements Enum {
10258 static const CLIENT = const ExecutableKind._("CLIENT"); 10258 static const ExecutableKind CLIENT = const ExecutableKind._("CLIENT");
10259 10259
10260 static const EITHER = const ExecutableKind._("EITHER"); 10260 static const ExecutableKind EITHER = const ExecutableKind._("EITHER");
10261 10261
10262 static const NOT_EXECUTABLE = const ExecutableKind._("NOT_EXECUTABLE"); 10262 static const ExecutableKind NOT_EXECUTABLE = const ExecutableKind._("NOT_EXECU TABLE");
10263 10263
10264 static const SERVER = const ExecutableKind._("SERVER"); 10264 static const ExecutableKind SERVER = const ExecutableKind._("SERVER");
10265 10265
10266 /** 10266 /**
10267 * A list containing all of the enum values that are defined. 10267 * A list containing all of the enum values that are defined.
10268 */ 10268 */
10269 static const List<ExecutableKind> VALUES = const <ExecutableKind>[CLIENT, EITH ER, NOT_EXECUTABLE, SERVER]; 10269 static const List<ExecutableKind> VALUES = const <ExecutableKind>[CLIENT, EITH ER, NOT_EXECUTABLE, SERVER];
10270 10270
10271 final String name; 10271 final String name;
10272 10272
10273 const ExecutableKind._(this.name); 10273 const ExecutableKind._(this.name);
10274 10274
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
10306 /** 10306 /**
10307 * ExecutionService 10307 * ExecutionService
10308 * 10308 *
10309 * enum { 10309 * enum {
10310 * LAUNCH_DATA 10310 * LAUNCH_DATA
10311 * } 10311 * }
10312 * 10312 *
10313 * Clients may not extend, implement or mix-in this class. 10313 * Clients may not extend, implement or mix-in this class.
10314 */ 10314 */
10315 class ExecutionService implements Enum { 10315 class ExecutionService implements Enum {
10316 static const LAUNCH_DATA = const ExecutionService._("LAUNCH_DATA"); 10316 static const ExecutionService LAUNCH_DATA = const ExecutionService._("LAUNCH_D ATA");
10317 10317
10318 /** 10318 /**
10319 * A list containing all of the enum values that are defined. 10319 * A list containing all of the enum values that are defined.
10320 */ 10320 */
10321 static const List<ExecutionService> VALUES = const <ExecutionService>[LAUNCH_D ATA]; 10321 static const List<ExecutionService> VALUES = const <ExecutionService>[LAUNCH_D ATA];
10322 10322
10323 final String name; 10323 final String name;
10324 10324
10325 const ExecutionService._(this.name); 10325 const ExecutionService._(this.name);
10326 10326
(...skipping 26 matching lines...) Expand all
10353 * FileKind 10353 * FileKind
10354 * 10354 *
10355 * enum { 10355 * enum {
10356 * LIBRARY 10356 * LIBRARY
10357 * PART 10357 * PART
10358 * } 10358 * }
10359 * 10359 *
10360 * Clients may not extend, implement or mix-in this class. 10360 * Clients may not extend, implement or mix-in this class.
10361 */ 10361 */
10362 class FileKind implements Enum { 10362 class FileKind implements Enum {
10363 static const LIBRARY = const FileKind._("LIBRARY"); 10363 static const FileKind LIBRARY = const FileKind._("LIBRARY");
10364 10364
10365 static const PART = const FileKind._("PART"); 10365 static const FileKind PART = const FileKind._("PART");
10366 10366
10367 /** 10367 /**
10368 * A list containing all of the enum values that are defined. 10368 * A list containing all of the enum values that are defined.
10369 */ 10369 */
10370 static const List<FileKind> VALUES = const <FileKind>[LIBRARY, PART]; 10370 static const List<FileKind> VALUES = const <FileKind>[LIBRARY, PART];
10371 10371
10372 final String name; 10372 final String name;
10373 10373
10374 const FileKind._(this.name); 10374 const FileKind._(this.name);
10375 10375
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
10407 * COMMENT 10407 * COMMENT
10408 * CLASS_MEMBER 10408 * CLASS_MEMBER
10409 * DIRECTIVES 10409 * DIRECTIVES
10410 * DOCUMENTATION_COMMENT 10410 * DOCUMENTATION_COMMENT
10411 * TOP_LEVEL_DECLARATION 10411 * TOP_LEVEL_DECLARATION
10412 * } 10412 * }
10413 * 10413 *
10414 * Clients may not extend, implement or mix-in this class. 10414 * Clients may not extend, implement or mix-in this class.
10415 */ 10415 */
10416 class FoldingKind implements Enum { 10416 class FoldingKind implements Enum {
10417 static const COMMENT = const FoldingKind._("COMMENT"); 10417 static const FoldingKind COMMENT = const FoldingKind._("COMMENT");
10418 10418
10419 static const CLASS_MEMBER = const FoldingKind._("CLASS_MEMBER"); 10419 static const FoldingKind CLASS_MEMBER = const FoldingKind._("CLASS_MEMBER");
10420 10420
10421 static const DIRECTIVES = const FoldingKind._("DIRECTIVES"); 10421 static const FoldingKind DIRECTIVES = const FoldingKind._("DIRECTIVES");
10422 10422
10423 static const DOCUMENTATION_COMMENT = const FoldingKind._("DOCUMENTATION_COMMEN T"); 10423 static const FoldingKind DOCUMENTATION_COMMENT = const FoldingKind._("DOCUMENT ATION_COMMENT");
10424 10424
10425 static const TOP_LEVEL_DECLARATION = const FoldingKind._("TOP_LEVEL_DECLARATIO N"); 10425 static const FoldingKind TOP_LEVEL_DECLARATION = const FoldingKind._("TOP_LEVE L_DECLARATION");
10426 10426
10427 /** 10427 /**
10428 * A list containing all of the enum values that are defined. 10428 * A list containing all of the enum values that are defined.
10429 */ 10429 */
10430 static const List<FoldingKind> VALUES = const <FoldingKind>[COMMENT, CLASS_MEM BER, DIRECTIVES, DOCUMENTATION_COMMENT, TOP_LEVEL_DECLARATION]; 10430 static const List<FoldingKind> VALUES = const <FoldingKind>[COMMENT, CLASS_MEM BER, DIRECTIVES, DOCUMENTATION_COMMENT, TOP_LEVEL_DECLARATION];
10431 10431
10432 final String name; 10432 final String name;
10433 10433
10434 const FoldingKind._(this.name); 10434 const FoldingKind._(this.name);
10435 10435
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
10592 /** 10592 /**
10593 * GeneralAnalysisService 10593 * GeneralAnalysisService
10594 * 10594 *
10595 * enum { 10595 * enum {
10596 * ANALYZED_FILES 10596 * ANALYZED_FILES
10597 * } 10597 * }
10598 * 10598 *
10599 * Clients may not extend, implement or mix-in this class. 10599 * Clients may not extend, implement or mix-in this class.
10600 */ 10600 */
10601 class GeneralAnalysisService implements Enum { 10601 class GeneralAnalysisService implements Enum {
10602 static const ANALYZED_FILES = const GeneralAnalysisService._("ANALYZED_FILES") ; 10602 static const GeneralAnalysisService ANALYZED_FILES = const GeneralAnalysisServ ice._("ANALYZED_FILES");
10603 10603
10604 /** 10604 /**
10605 * A list containing all of the enum values that are defined. 10605 * A list containing all of the enum values that are defined.
10606 */ 10606 */
10607 static const List<GeneralAnalysisService> VALUES = const <GeneralAnalysisServi ce>[ANALYZED_FILES]; 10607 static const List<GeneralAnalysisService> VALUES = const <GeneralAnalysisServi ce>[ANALYZED_FILES];
10608 10608
10609 final String name; 10609 final String name;
10610 10610
10611 const GeneralAnalysisService._(this.name); 10611 const GeneralAnalysisService._(this.name);
10612 10612
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
10833 * TOP_LEVEL_VARIABLE_DECLARATION 10833 * TOP_LEVEL_VARIABLE_DECLARATION
10834 * TYPE_NAME_DYNAMIC 10834 * TYPE_NAME_DYNAMIC
10835 * TYPE_PARAMETER 10835 * TYPE_PARAMETER
10836 * UNRESOLVED_INSTANCE_MEMBER_REFERENCE 10836 * UNRESOLVED_INSTANCE_MEMBER_REFERENCE
10837 * VALID_STRING_ESCAPE 10837 * VALID_STRING_ESCAPE
10838 * } 10838 * }
10839 * 10839 *
10840 * Clients may not extend, implement or mix-in this class. 10840 * Clients may not extend, implement or mix-in this class.
10841 */ 10841 */
10842 class HighlightRegionType implements Enum { 10842 class HighlightRegionType implements Enum {
10843 static const ANNOTATION = const HighlightRegionType._("ANNOTATION"); 10843 static const HighlightRegionType ANNOTATION = const HighlightRegionType._("ANN OTATION");
10844 10844
10845 static const BUILT_IN = const HighlightRegionType._("BUILT_IN"); 10845 static const HighlightRegionType BUILT_IN = const HighlightRegionType._("BUILT _IN");
10846 10846
10847 static const CLASS = const HighlightRegionType._("CLASS"); 10847 static const HighlightRegionType CLASS = const HighlightRegionType._("CLASS");
10848 10848
10849 static const COMMENT_BLOCK = const HighlightRegionType._("COMMENT_BLOCK"); 10849 static const HighlightRegionType COMMENT_BLOCK = const HighlightRegionType._(" COMMENT_BLOCK");
10850 10850
10851 static const COMMENT_DOCUMENTATION = const HighlightRegionType._("COMMENT_DOCU MENTATION"); 10851 static const HighlightRegionType COMMENT_DOCUMENTATION = const HighlightRegion Type._("COMMENT_DOCUMENTATION");
10852 10852
10853 static const COMMENT_END_OF_LINE = const HighlightRegionType._("COMMENT_END_OF _LINE"); 10853 static const HighlightRegionType COMMENT_END_OF_LINE = const HighlightRegionTy pe._("COMMENT_END_OF_LINE");
10854 10854
10855 static const CONSTRUCTOR = const HighlightRegionType._("CONSTRUCTOR"); 10855 static const HighlightRegionType CONSTRUCTOR = const HighlightRegionType._("CO NSTRUCTOR");
10856 10856
10857 static const DIRECTIVE = const HighlightRegionType._("DIRECTIVE"); 10857 static const HighlightRegionType DIRECTIVE = const HighlightRegionType._("DIRE CTIVE");
10858 10858
10859 /** 10859 /**
10860 * Only for version 1 of highlight. 10860 * Only for version 1 of highlight.
10861 */ 10861 */
10862 static const DYNAMIC_TYPE = const HighlightRegionType._("DYNAMIC_TYPE"); 10862 static const HighlightRegionType DYNAMIC_TYPE = const HighlightRegionType._("D YNAMIC_TYPE");
10863 10863
10864 /** 10864 /**
10865 * Only for version 2 of highlight. 10865 * Only for version 2 of highlight.
10866 */ 10866 */
10867 static const DYNAMIC_LOCAL_VARIABLE_DECLARATION = const HighlightRegionType._( "DYNAMIC_LOCAL_VARIABLE_DECLARATION"); 10867 static const HighlightRegionType DYNAMIC_LOCAL_VARIABLE_DECLARATION = const Hi ghlightRegionType._("DYNAMIC_LOCAL_VARIABLE_DECLARATION");
10868 10868
10869 /** 10869 /**
10870 * Only for version 2 of highlight. 10870 * Only for version 2 of highlight.
10871 */ 10871 */
10872 static const DYNAMIC_LOCAL_VARIABLE_REFERENCE = const HighlightRegionType._("D YNAMIC_LOCAL_VARIABLE_REFERENCE"); 10872 static const HighlightRegionType DYNAMIC_LOCAL_VARIABLE_REFERENCE = const High lightRegionType._("DYNAMIC_LOCAL_VARIABLE_REFERENCE");
10873 10873
10874 /** 10874 /**
10875 * Only for version 2 of highlight. 10875 * Only for version 2 of highlight.
10876 */ 10876 */
10877 static const DYNAMIC_PARAMETER_DECLARATION = const HighlightRegionType._("DYNA MIC_PARAMETER_DECLARATION"); 10877 static const HighlightRegionType DYNAMIC_PARAMETER_DECLARATION = const Highlig htRegionType._("DYNAMIC_PARAMETER_DECLARATION");
10878 10878
10879 /** 10879 /**
10880 * Only for version 2 of highlight. 10880 * Only for version 2 of highlight.
10881 */ 10881 */
10882 static const DYNAMIC_PARAMETER_REFERENCE = const HighlightRegionType._("DYNAMI C_PARAMETER_REFERENCE"); 10882 static const HighlightRegionType DYNAMIC_PARAMETER_REFERENCE = const Highlight RegionType._("DYNAMIC_PARAMETER_REFERENCE");
10883 10883
10884 static const ENUM = const HighlightRegionType._("ENUM"); 10884 static const HighlightRegionType ENUM = const HighlightRegionType._("ENUM");
10885 10885
10886 static const ENUM_CONSTANT = const HighlightRegionType._("ENUM_CONSTANT"); 10886 static const HighlightRegionType ENUM_CONSTANT = const HighlightRegionType._(" ENUM_CONSTANT");
10887 10887
10888 /** 10888 /**
10889 * Only for version 1 of highlight. 10889 * Only for version 1 of highlight.
10890 */ 10890 */
10891 static const FIELD = const HighlightRegionType._("FIELD"); 10891 static const HighlightRegionType FIELD = const HighlightRegionType._("FIELD");
10892 10892
10893 /** 10893 /**
10894 * Only for version 1 of highlight. 10894 * Only for version 1 of highlight.
10895 */ 10895 */
10896 static const FIELD_STATIC = const HighlightRegionType._("FIELD_STATIC"); 10896 static const HighlightRegionType FIELD_STATIC = const HighlightRegionType._("F IELD_STATIC");
10897 10897
10898 /** 10898 /**
10899 * Only for version 1 of highlight. 10899 * Only for version 1 of highlight.
10900 */ 10900 */
10901 static const FUNCTION = const HighlightRegionType._("FUNCTION"); 10901 static const HighlightRegionType FUNCTION = const HighlightRegionType._("FUNCT ION");
10902 10902
10903 /** 10903 /**
10904 * Only for version 1 of highlight. 10904 * Only for version 1 of highlight.
10905 */ 10905 */
10906 static const FUNCTION_DECLARATION = const HighlightRegionType._("FUNCTION_DECL ARATION"); 10906 static const HighlightRegionType FUNCTION_DECLARATION = const HighlightRegionT ype._("FUNCTION_DECLARATION");
10907 10907
10908 static const FUNCTION_TYPE_ALIAS = const HighlightRegionType._("FUNCTION_TYPE_ ALIAS"); 10908 static const HighlightRegionType FUNCTION_TYPE_ALIAS = const HighlightRegionTy pe._("FUNCTION_TYPE_ALIAS");
10909 10909
10910 /** 10910 /**
10911 * Only for version 1 of highlight. 10911 * Only for version 1 of highlight.
10912 */ 10912 */
10913 static const GETTER_DECLARATION = const HighlightRegionType._("GETTER_DECLARAT ION"); 10913 static const HighlightRegionType GETTER_DECLARATION = const HighlightRegionTyp e._("GETTER_DECLARATION");
10914 10914
10915 static const IDENTIFIER_DEFAULT = const HighlightRegionType._("IDENTIFIER_DEFA ULT"); 10915 static const HighlightRegionType IDENTIFIER_DEFAULT = const HighlightRegionTyp e._("IDENTIFIER_DEFAULT");
10916 10916
10917 static const IMPORT_PREFIX = const HighlightRegionType._("IMPORT_PREFIX"); 10917 static const HighlightRegionType IMPORT_PREFIX = const HighlightRegionType._(" IMPORT_PREFIX");
10918 10918
10919 /** 10919 /**
10920 * Only for version 2 of highlight. 10920 * Only for version 2 of highlight.
10921 */ 10921 */
10922 static const INSTANCE_FIELD_DECLARATION = const HighlightRegionType._("INSTANC E_FIELD_DECLARATION"); 10922 static const HighlightRegionType INSTANCE_FIELD_DECLARATION = const HighlightR egionType._("INSTANCE_FIELD_DECLARATION");
10923 10923
10924 /** 10924 /**
10925 * Only for version 2 of highlight. 10925 * Only for version 2 of highlight.
10926 */ 10926 */
10927 static const INSTANCE_FIELD_REFERENCE = const HighlightRegionType._("INSTANCE_ FIELD_REFERENCE"); 10927 static const HighlightRegionType INSTANCE_FIELD_REFERENCE = const HighlightReg ionType._("INSTANCE_FIELD_REFERENCE");
10928 10928
10929 /** 10929 /**
10930 * Only for version 2 of highlight. 10930 * Only for version 2 of highlight.
10931 */ 10931 */
10932 static const INSTANCE_GETTER_DECLARATION = const HighlightRegionType._("INSTAN CE_GETTER_DECLARATION"); 10932 static const HighlightRegionType INSTANCE_GETTER_DECLARATION = const Highlight RegionType._("INSTANCE_GETTER_DECLARATION");
10933 10933
10934 /** 10934 /**
10935 * Only for version 2 of highlight. 10935 * Only for version 2 of highlight.
10936 */ 10936 */
10937 static const INSTANCE_GETTER_REFERENCE = const HighlightRegionType._("INSTANCE _GETTER_REFERENCE"); 10937 static const HighlightRegionType INSTANCE_GETTER_REFERENCE = const HighlightRe gionType._("INSTANCE_GETTER_REFERENCE");
10938 10938
10939 /** 10939 /**
10940 * Only for version 2 of highlight. 10940 * Only for version 2 of highlight.
10941 */ 10941 */
10942 static const INSTANCE_METHOD_DECLARATION = const HighlightRegionType._("INSTAN CE_METHOD_DECLARATION"); 10942 static const HighlightRegionType INSTANCE_METHOD_DECLARATION = const Highlight RegionType._("INSTANCE_METHOD_DECLARATION");
10943 10943
10944 /** 10944 /**
10945 * Only for version 2 of highlight. 10945 * Only for version 2 of highlight.
10946 */ 10946 */
10947 static const INSTANCE_METHOD_REFERENCE = const HighlightRegionType._("INSTANCE _METHOD_REFERENCE"); 10947 static const HighlightRegionType INSTANCE_METHOD_REFERENCE = const HighlightRe gionType._("INSTANCE_METHOD_REFERENCE");
10948 10948
10949 /** 10949 /**
10950 * Only for version 2 of highlight. 10950 * Only for version 2 of highlight.
10951 */ 10951 */
10952 static const INSTANCE_SETTER_DECLARATION = const HighlightRegionType._("INSTAN CE_SETTER_DECLARATION"); 10952 static const HighlightRegionType INSTANCE_SETTER_DECLARATION = const Highlight RegionType._("INSTANCE_SETTER_DECLARATION");
10953 10953
10954 /** 10954 /**
10955 * Only for version 2 of highlight. 10955 * Only for version 2 of highlight.
10956 */ 10956 */
10957 static const INSTANCE_SETTER_REFERENCE = const HighlightRegionType._("INSTANCE _SETTER_REFERENCE"); 10957 static const HighlightRegionType INSTANCE_SETTER_REFERENCE = const HighlightRe gionType._("INSTANCE_SETTER_REFERENCE");
10958 10958
10959 /** 10959 /**
10960 * Only for version 2 of highlight. 10960 * Only for version 2 of highlight.
10961 */ 10961 */
10962 static const INVALID_STRING_ESCAPE = const HighlightRegionType._("INVALID_STRI NG_ESCAPE"); 10962 static const HighlightRegionType INVALID_STRING_ESCAPE = const HighlightRegion Type._("INVALID_STRING_ESCAPE");
10963 10963
10964 static const KEYWORD = const HighlightRegionType._("KEYWORD"); 10964 static const HighlightRegionType KEYWORD = const HighlightRegionType._("KEYWOR D");
10965 10965
10966 static const LABEL = const HighlightRegionType._("LABEL"); 10966 static const HighlightRegionType LABEL = const HighlightRegionType._("LABEL");
10967 10967
10968 /** 10968 /**
10969 * Only for version 2 of highlight. 10969 * Only for version 2 of highlight.
10970 */ 10970 */
10971 static const LIBRARY_NAME = const HighlightRegionType._("LIBRARY_NAME"); 10971 static const HighlightRegionType LIBRARY_NAME = const HighlightRegionType._("L IBRARY_NAME");
10972 10972
10973 static const LITERAL_BOOLEAN = const HighlightRegionType._("LITERAL_BOOLEAN"); 10973 static const HighlightRegionType LITERAL_BOOLEAN = const HighlightRegionType._ ("LITERAL_BOOLEAN");
10974 10974
10975 static const LITERAL_DOUBLE = const HighlightRegionType._("LITERAL_DOUBLE"); 10975 static const HighlightRegionType LITERAL_DOUBLE = const HighlightRegionType._( "LITERAL_DOUBLE");
10976 10976
10977 static const LITERAL_INTEGER = const HighlightRegionType._("LITERAL_INTEGER"); 10977 static const HighlightRegionType LITERAL_INTEGER = const HighlightRegionType._ ("LITERAL_INTEGER");
10978 10978
10979 static const LITERAL_LIST = const HighlightRegionType._("LITERAL_LIST"); 10979 static const HighlightRegionType LITERAL_LIST = const HighlightRegionType._("L ITERAL_LIST");
10980 10980
10981 static const LITERAL_MAP = const HighlightRegionType._("LITERAL_MAP"); 10981 static const HighlightRegionType LITERAL_MAP = const HighlightRegionType._("LI TERAL_MAP");
10982 10982
10983 static const LITERAL_STRING = const HighlightRegionType._("LITERAL_STRING"); 10983 static const HighlightRegionType LITERAL_STRING = const HighlightRegionType._( "LITERAL_STRING");
10984 10984
10985 /** 10985 /**
10986 * Only for version 2 of highlight. 10986 * Only for version 2 of highlight.
10987 */ 10987 */
10988 static const LOCAL_FUNCTION_DECLARATION = const HighlightRegionType._("LOCAL_F UNCTION_DECLARATION"); 10988 static const HighlightRegionType LOCAL_FUNCTION_DECLARATION = const HighlightR egionType._("LOCAL_FUNCTION_DECLARATION");
10989 10989
10990 /** 10990 /**
10991 * Only for version 2 of highlight. 10991 * Only for version 2 of highlight.
10992 */ 10992 */
10993 static const LOCAL_FUNCTION_REFERENCE = const HighlightRegionType._("LOCAL_FUN CTION_REFERENCE"); 10993 static const HighlightRegionType LOCAL_FUNCTION_REFERENCE = const HighlightReg ionType._("LOCAL_FUNCTION_REFERENCE");
10994 10994
10995 /** 10995 /**
10996 * Only for version 1 of highlight. 10996 * Only for version 1 of highlight.
10997 */ 10997 */
10998 static const LOCAL_VARIABLE = const HighlightRegionType._("LOCAL_VARIABLE"); 10998 static const HighlightRegionType LOCAL_VARIABLE = const HighlightRegionType._( "LOCAL_VARIABLE");
10999 10999
11000 static const LOCAL_VARIABLE_DECLARATION = const HighlightRegionType._("LOCAL_V ARIABLE_DECLARATION"); 11000 static const HighlightRegionType LOCAL_VARIABLE_DECLARATION = const HighlightR egionType._("LOCAL_VARIABLE_DECLARATION");
11001 11001
11002 /** 11002 /**
11003 * Only for version 2 of highlight. 11003 * Only for version 2 of highlight.
11004 */ 11004 */
11005 static const LOCAL_VARIABLE_REFERENCE = const HighlightRegionType._("LOCAL_VAR IABLE_REFERENCE"); 11005 static const HighlightRegionType LOCAL_VARIABLE_REFERENCE = const HighlightReg ionType._("LOCAL_VARIABLE_REFERENCE");
11006 11006
11007 /** 11007 /**
11008 * Only for version 1 of highlight. 11008 * Only for version 1 of highlight.
11009 */ 11009 */
11010 static const METHOD = const HighlightRegionType._("METHOD"); 11010 static const HighlightRegionType METHOD = const HighlightRegionType._("METHOD" );
11011 11011
11012 /** 11012 /**
11013 * Only for version 1 of highlight. 11013 * Only for version 1 of highlight.
11014 */ 11014 */
11015 static const METHOD_DECLARATION = const HighlightRegionType._("METHOD_DECLARAT ION"); 11015 static const HighlightRegionType METHOD_DECLARATION = const HighlightRegionTyp e._("METHOD_DECLARATION");
11016 11016
11017 /** 11017 /**
11018 * Only for version 1 of highlight. 11018 * Only for version 1 of highlight.
11019 */ 11019 */
11020 static const METHOD_DECLARATION_STATIC = const HighlightRegionType._("METHOD_D ECLARATION_STATIC"); 11020 static const HighlightRegionType METHOD_DECLARATION_STATIC = const HighlightRe gionType._("METHOD_DECLARATION_STATIC");
11021 11021
11022 /** 11022 /**
11023 * Only for version 1 of highlight. 11023 * Only for version 1 of highlight.
11024 */ 11024 */
11025 static const METHOD_STATIC = const HighlightRegionType._("METHOD_STATIC"); 11025 static const HighlightRegionType METHOD_STATIC = const HighlightRegionType._(" METHOD_STATIC");
11026 11026
11027 /** 11027 /**
11028 * Only for version 1 of highlight. 11028 * Only for version 1 of highlight.
11029 */ 11029 */
11030 static const PARAMETER = const HighlightRegionType._("PARAMETER"); 11030 static const HighlightRegionType PARAMETER = const HighlightRegionType._("PARA METER");
11031 11031
11032 /** 11032 /**
11033 * Only for version 1 of highlight. 11033 * Only for version 1 of highlight.
11034 */ 11034 */
11035 static const SETTER_DECLARATION = const HighlightRegionType._("SETTER_DECLARAT ION"); 11035 static const HighlightRegionType SETTER_DECLARATION = const HighlightRegionTyp e._("SETTER_DECLARATION");
11036 11036
11037 /** 11037 /**
11038 * Only for version 1 of highlight. 11038 * Only for version 1 of highlight.
11039 */ 11039 */
11040 static const TOP_LEVEL_VARIABLE = const HighlightRegionType._("TOP_LEVEL_VARIA BLE"); 11040 static const HighlightRegionType TOP_LEVEL_VARIABLE = const HighlightRegionTyp e._("TOP_LEVEL_VARIABLE");
11041 11041
11042 /** 11042 /**
11043 * Only for version 2 of highlight. 11043 * Only for version 2 of highlight.
11044 */ 11044 */
11045 static const PARAMETER_DECLARATION = const HighlightRegionType._("PARAMETER_DE CLARATION"); 11045 static const HighlightRegionType PARAMETER_DECLARATION = const HighlightRegion Type._("PARAMETER_DECLARATION");
11046 11046
11047 /** 11047 /**
11048 * Only for version 2 of highlight. 11048 * Only for version 2 of highlight.
11049 */ 11049 */
11050 static const PARAMETER_REFERENCE = const HighlightRegionType._("PARAMETER_REFE RENCE"); 11050 static const HighlightRegionType PARAMETER_REFERENCE = const HighlightRegionTy pe._("PARAMETER_REFERENCE");
11051 11051
11052 /** 11052 /**
11053 * Only for version 2 of highlight. 11053 * Only for version 2 of highlight.
11054 */ 11054 */
11055 static const STATIC_FIELD_DECLARATION = const HighlightRegionType._("STATIC_FI ELD_DECLARATION"); 11055 static const HighlightRegionType STATIC_FIELD_DECLARATION = const HighlightReg ionType._("STATIC_FIELD_DECLARATION");
11056 11056
11057 /** 11057 /**
11058 * Only for version 2 of highlight. 11058 * Only for version 2 of highlight.
11059 */ 11059 */
11060 static const STATIC_GETTER_DECLARATION = const HighlightRegionType._("STATIC_G ETTER_DECLARATION"); 11060 static const HighlightRegionType STATIC_GETTER_DECLARATION = const HighlightRe gionType._("STATIC_GETTER_DECLARATION");
11061 11061
11062 /** 11062 /**
11063 * Only for version 2 of highlight. 11063 * Only for version 2 of highlight.
11064 */ 11064 */
11065 static const STATIC_GETTER_REFERENCE = const HighlightRegionType._("STATIC_GET TER_REFERENCE"); 11065 static const HighlightRegionType STATIC_GETTER_REFERENCE = const HighlightRegi onType._("STATIC_GETTER_REFERENCE");
11066 11066
11067 /** 11067 /**
11068 * Only for version 2 of highlight. 11068 * Only for version 2 of highlight.
11069 */ 11069 */
11070 static const STATIC_METHOD_DECLARATION = const HighlightRegionType._("STATIC_M ETHOD_DECLARATION"); 11070 static const HighlightRegionType STATIC_METHOD_DECLARATION = const HighlightRe gionType._("STATIC_METHOD_DECLARATION");
11071 11071
11072 /** 11072 /**
11073 * Only for version 2 of highlight. 11073 * Only for version 2 of highlight.
11074 */ 11074 */
11075 static const STATIC_METHOD_REFERENCE = const HighlightRegionType._("STATIC_MET HOD_REFERENCE"); 11075 static const HighlightRegionType STATIC_METHOD_REFERENCE = const HighlightRegi onType._("STATIC_METHOD_REFERENCE");
11076 11076
11077 /** 11077 /**
11078 * Only for version 2 of highlight. 11078 * Only for version 2 of highlight.
11079 */ 11079 */
11080 static const STATIC_SETTER_DECLARATION = const HighlightRegionType._("STATIC_S ETTER_DECLARATION"); 11080 static const HighlightRegionType STATIC_SETTER_DECLARATION = const HighlightRe gionType._("STATIC_SETTER_DECLARATION");
11081 11081
11082 /** 11082 /**
11083 * Only for version 2 of highlight. 11083 * Only for version 2 of highlight.
11084 */ 11084 */
11085 static const STATIC_SETTER_REFERENCE = const HighlightRegionType._("STATIC_SET TER_REFERENCE"); 11085 static const HighlightRegionType STATIC_SETTER_REFERENCE = const HighlightRegi onType._("STATIC_SETTER_REFERENCE");
11086 11086
11087 /** 11087 /**
11088 * Only for version 2 of highlight. 11088 * Only for version 2 of highlight.
11089 */ 11089 */
11090 static const TOP_LEVEL_FUNCTION_DECLARATION = const HighlightRegionType._("TOP _LEVEL_FUNCTION_DECLARATION"); 11090 static const HighlightRegionType TOP_LEVEL_FUNCTION_DECLARATION = const Highli ghtRegionType._("TOP_LEVEL_FUNCTION_DECLARATION");
11091 11091
11092 /** 11092 /**
11093 * Only for version 2 of highlight. 11093 * Only for version 2 of highlight.
11094 */ 11094 */
11095 static const TOP_LEVEL_FUNCTION_REFERENCE = const HighlightRegionType._("TOP_L EVEL_FUNCTION_REFERENCE"); 11095 static const HighlightRegionType TOP_LEVEL_FUNCTION_REFERENCE = const Highligh tRegionType._("TOP_LEVEL_FUNCTION_REFERENCE");
11096 11096
11097 /** 11097 /**
11098 * Only for version 2 of highlight. 11098 * Only for version 2 of highlight.
11099 */ 11099 */
11100 static const TOP_LEVEL_GETTER_DECLARATION = const HighlightRegionType._("TOP_L EVEL_GETTER_DECLARATION"); 11100 static const HighlightRegionType TOP_LEVEL_GETTER_DECLARATION = const Highligh tRegionType._("TOP_LEVEL_GETTER_DECLARATION");
11101 11101
11102 /** 11102 /**
11103 * Only for version 2 of highlight. 11103 * Only for version 2 of highlight.
11104 */ 11104 */
11105 static const TOP_LEVEL_GETTER_REFERENCE = const HighlightRegionType._("TOP_LEV EL_GETTER_REFERENCE"); 11105 static const HighlightRegionType TOP_LEVEL_GETTER_REFERENCE = const HighlightR egionType._("TOP_LEVEL_GETTER_REFERENCE");
11106 11106
11107 /** 11107 /**
11108 * Only for version 2 of highlight. 11108 * Only for version 2 of highlight.
11109 */ 11109 */
11110 static const TOP_LEVEL_SETTER_DECLARATION = const HighlightRegionType._("TOP_L EVEL_SETTER_DECLARATION"); 11110 static const HighlightRegionType TOP_LEVEL_SETTER_DECLARATION = const Highligh tRegionType._("TOP_LEVEL_SETTER_DECLARATION");
11111 11111
11112 /** 11112 /**
11113 * Only for version 2 of highlight. 11113 * Only for version 2 of highlight.
11114 */ 11114 */
11115 static const TOP_LEVEL_SETTER_REFERENCE = const HighlightRegionType._("TOP_LEV EL_SETTER_REFERENCE"); 11115 static const HighlightRegionType TOP_LEVEL_SETTER_REFERENCE = const HighlightR egionType._("TOP_LEVEL_SETTER_REFERENCE");
11116 11116
11117 /** 11117 /**
11118 * Only for version 2 of highlight. 11118 * Only for version 2 of highlight.
11119 */ 11119 */
11120 static const TOP_LEVEL_VARIABLE_DECLARATION = const HighlightRegionType._("TOP _LEVEL_VARIABLE_DECLARATION"); 11120 static const HighlightRegionType TOP_LEVEL_VARIABLE_DECLARATION = const Highli ghtRegionType._("TOP_LEVEL_VARIABLE_DECLARATION");
11121 11121
11122 static const TYPE_NAME_DYNAMIC = const HighlightRegionType._("TYPE_NAME_DYNAMI C"); 11122 static const HighlightRegionType TYPE_NAME_DYNAMIC = const HighlightRegionType ._("TYPE_NAME_DYNAMIC");
11123 11123
11124 static const TYPE_PARAMETER = const HighlightRegionType._("TYPE_PARAMETER"); 11124 static const HighlightRegionType TYPE_PARAMETER = const HighlightRegionType._( "TYPE_PARAMETER");
11125 11125
11126 /** 11126 /**
11127 * Only for version 2 of highlight. 11127 * Only for version 2 of highlight.
11128 */ 11128 */
11129 static const UNRESOLVED_INSTANCE_MEMBER_REFERENCE = const HighlightRegionType. _("UNRESOLVED_INSTANCE_MEMBER_REFERENCE"); 11129 static const HighlightRegionType UNRESOLVED_INSTANCE_MEMBER_REFERENCE = const HighlightRegionType._("UNRESOLVED_INSTANCE_MEMBER_REFERENCE");
11130 11130
11131 /** 11131 /**
11132 * Only for version 2 of highlight. 11132 * Only for version 2 of highlight.
11133 */ 11133 */
11134 static const VALID_STRING_ESCAPE = const HighlightRegionType._("VALID_STRING_E SCAPE"); 11134 static const HighlightRegionType VALID_STRING_ESCAPE = const HighlightRegionTy pe._("VALID_STRING_ESCAPE");
11135 11135
11136 /** 11136 /**
11137 * A list containing all of the enum values that are defined. 11137 * A list containing all of the enum values that are defined.
11138 */ 11138 */
11139 static const List<HighlightRegionType> VALUES = const <HighlightRegionType>[AN NOTATION, BUILT_IN, CLASS, COMMENT_BLOCK, COMMENT_DOCUMENTATION, COMMENT_END_OF_ LINE, CONSTRUCTOR, DIRECTIVE, DYNAMIC_TYPE, DYNAMIC_LOCAL_VARIABLE_DECLARATION, DYNAMIC_LOCAL_VARIABLE_REFERENCE, DYNAMIC_PARAMETER_DECLARATION, DYNAMIC_PARAMET ER_REFERENCE, ENUM, ENUM_CONSTANT, FIELD, FIELD_STATIC, FUNCTION, FUNCTION_DECLA RATION, FUNCTION_TYPE_ALIAS, GETTER_DECLARATION, IDENTIFIER_DEFAULT, IMPORT_PREF IX, INSTANCE_FIELD_DECLARATION, INSTANCE_FIELD_REFERENCE, INSTANCE_GETTER_DECLAR ATION, INSTANCE_GETTER_REFERENCE, INSTANCE_METHOD_DECLARATION, INSTANCE_METHOD_R EFERENCE, INSTANCE_SETTER_DECLARATION, INSTANCE_SETTER_REFERENCE, INVALID_STRING _ESCAPE, KEYWORD, LABEL, LIBRARY_NAME, LITERAL_BOOLEAN, LITERAL_DOUBLE, LITERAL_ INTEGER, LITERAL_LIST, LITERAL_MAP, LITERAL_STRING, LOCAL_FUNCTION_DECLARATION, LOCAL_FUNCTION_REFERENCE, LOCAL_VARIABLE, LOCAL_VARIABLE_DECLARATION, LOCAL_VARI ABLE_REFERENCE, METHOD, METHOD_DECLARATION, METHOD_DECLARATION_STATIC, METHOD_ST ATIC, PARAMETER, SETTER_DECLARATION, TOP_LEVEL_VARIABLE, PARAMETER_DECLARATION, PARAMETER_REFERENCE, STATIC_FIELD_DECLARATION, STATIC_GETTER_DECLARATION, STATIC _GETTER_REFERENCE, STATIC_METHOD_DECLARATION, STATIC_METHOD_REFERENCE, STATIC_SE TTER_DECLARATION, STATIC_SETTER_REFERENCE, TOP_LEVEL_FUNCTION_DECLARATION, TOP_L EVEL_FUNCTION_REFERENCE, TOP_LEVEL_GETTER_DECLARATION, TOP_LEVEL_GETTER_REFERENC E, TOP_LEVEL_SETTER_DECLARATION, TOP_LEVEL_SETTER_REFERENCE, TOP_LEVEL_VARIABLE_ DECLARATION, TYPE_NAME_DYNAMIC, TYPE_PARAMETER, UNRESOLVED_INSTANCE_MEMBER_REFER ENCE, VALID_STRING_ESCAPE]; 11139 static const List<HighlightRegionType> VALUES = const <HighlightRegionType>[AN NOTATION, BUILT_IN, CLASS, COMMENT_BLOCK, COMMENT_DOCUMENTATION, COMMENT_END_OF_ LINE, CONSTRUCTOR, DIRECTIVE, DYNAMIC_TYPE, DYNAMIC_LOCAL_VARIABLE_DECLARATION, DYNAMIC_LOCAL_VARIABLE_REFERENCE, DYNAMIC_PARAMETER_DECLARATION, DYNAMIC_PARAMET ER_REFERENCE, ENUM, ENUM_CONSTANT, FIELD, FIELD_STATIC, FUNCTION, FUNCTION_DECLA RATION, FUNCTION_TYPE_ALIAS, GETTER_DECLARATION, IDENTIFIER_DEFAULT, IMPORT_PREF IX, INSTANCE_FIELD_DECLARATION, INSTANCE_FIELD_REFERENCE, INSTANCE_GETTER_DECLAR ATION, INSTANCE_GETTER_REFERENCE, INSTANCE_METHOD_DECLARATION, INSTANCE_METHOD_R EFERENCE, INSTANCE_SETTER_DECLARATION, INSTANCE_SETTER_REFERENCE, INVALID_STRING _ESCAPE, KEYWORD, LABEL, LIBRARY_NAME, LITERAL_BOOLEAN, LITERAL_DOUBLE, LITERAL_ INTEGER, LITERAL_LIST, LITERAL_MAP, LITERAL_STRING, LOCAL_FUNCTION_DECLARATION, LOCAL_FUNCTION_REFERENCE, LOCAL_VARIABLE, LOCAL_VARIABLE_DECLARATION, LOCAL_VARI ABLE_REFERENCE, METHOD, METHOD_DECLARATION, METHOD_DECLARATION_STATIC, METHOD_ST ATIC, PARAMETER, SETTER_DECLARATION, TOP_LEVEL_VARIABLE, PARAMETER_DECLARATION, PARAMETER_REFERENCE, STATIC_FIELD_DECLARATION, STATIC_GETTER_DECLARATION, STATIC _GETTER_REFERENCE, STATIC_METHOD_DECLARATION, STATIC_METHOD_REFERENCE, STATIC_SE TTER_DECLARATION, STATIC_SETTER_REFERENCE, TOP_LEVEL_FUNCTION_DECLARATION, TOP_L EVEL_FUNCTION_REFERENCE, TOP_LEVEL_GETTER_DECLARATION, TOP_LEVEL_GETTER_REFERENC E, TOP_LEVEL_SETTER_DECLARATION, TOP_LEVEL_SETTER_REFERENCE, TOP_LEVEL_VARIABLE_ DECLARATION, TYPE_NAME_DYNAMIC, TYPE_PARAMETER, UNRESOLVED_INSTANCE_MEMBER_REFER ENCE, VALID_STRING_ESCAPE];
11140 11140
11141 final String name; 11141 final String name;
11142 11142
11143 const HighlightRegionType._(this.name); 11143 const HighlightRegionType._(this.name);
11144 11144
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
12138 * enum { 12138 * enum {
12139 * METHOD 12139 * METHOD
12140 * PARAMETER 12140 * PARAMETER
12141 * TYPE 12141 * TYPE
12142 * VARIABLE 12142 * VARIABLE
12143 * } 12143 * }
12144 * 12144 *
12145 * Clients may not extend, implement or mix-in this class. 12145 * Clients may not extend, implement or mix-in this class.
12146 */ 12146 */
12147 class LinkedEditSuggestionKind implements Enum { 12147 class LinkedEditSuggestionKind implements Enum {
12148 static const METHOD = const LinkedEditSuggestionKind._("METHOD"); 12148 static const LinkedEditSuggestionKind METHOD = const LinkedEditSuggestionKind. _("METHOD");
12149 12149
12150 static const PARAMETER = const LinkedEditSuggestionKind._("PARAMETER"); 12150 static const LinkedEditSuggestionKind PARAMETER = const LinkedEditSuggestionKi nd._("PARAMETER");
12151 12151
12152 static const TYPE = const LinkedEditSuggestionKind._("TYPE"); 12152 static const LinkedEditSuggestionKind TYPE = const LinkedEditSuggestionKind._( "TYPE");
12153 12153
12154 static const VARIABLE = const LinkedEditSuggestionKind._("VARIABLE"); 12154 static const LinkedEditSuggestionKind VARIABLE = const LinkedEditSuggestionKin d._("VARIABLE");
12155 12155
12156 /** 12156 /**
12157 * A list containing all of the enum values that are defined. 12157 * A list containing all of the enum values that are defined.
12158 */ 12158 */
12159 static const List<LinkedEditSuggestionKind> VALUES = const <LinkedEditSuggesti onKind>[METHOD, PARAMETER, TYPE, VARIABLE]; 12159 static const List<LinkedEditSuggestionKind> VALUES = const <LinkedEditSuggesti onKind>[METHOD, PARAMETER, TYPE, VARIABLE];
12160 12160
12161 final String name; 12161 final String name;
12162 12162
12163 const LinkedEditSuggestionKind._(this.name); 12163 const LinkedEditSuggestionKind._(this.name);
12164 12164
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after
13418 * INLINE_LOCAL_VARIABLE 13418 * INLINE_LOCAL_VARIABLE
13419 * INLINE_METHOD 13419 * INLINE_METHOD
13420 * MOVE_FILE 13420 * MOVE_FILE
13421 * RENAME 13421 * RENAME
13422 * SORT_MEMBERS 13422 * SORT_MEMBERS
13423 * } 13423 * }
13424 * 13424 *
13425 * Clients may not extend, implement or mix-in this class. 13425 * Clients may not extend, implement or mix-in this class.
13426 */ 13426 */
13427 class RefactoringKind implements Enum { 13427 class RefactoringKind implements Enum {
13428 static const CONVERT_GETTER_TO_METHOD = const RefactoringKind._("CONVERT_GETTE R_TO_METHOD"); 13428 static const RefactoringKind CONVERT_GETTER_TO_METHOD = const RefactoringKind. _("CONVERT_GETTER_TO_METHOD");
13429 13429
13430 static const CONVERT_METHOD_TO_GETTER = const RefactoringKind._("CONVERT_METHO D_TO_GETTER"); 13430 static const RefactoringKind CONVERT_METHOD_TO_GETTER = const RefactoringKind. _("CONVERT_METHOD_TO_GETTER");
13431 13431
13432 static const EXTRACT_LOCAL_VARIABLE = const RefactoringKind._("EXTRACT_LOCAL_V ARIABLE"); 13432 static const RefactoringKind EXTRACT_LOCAL_VARIABLE = const RefactoringKind._( "EXTRACT_LOCAL_VARIABLE");
13433 13433
13434 static const EXTRACT_METHOD = const RefactoringKind._("EXTRACT_METHOD"); 13434 static const RefactoringKind EXTRACT_METHOD = const RefactoringKind._("EXTRACT _METHOD");
13435 13435
13436 static const INLINE_LOCAL_VARIABLE = const RefactoringKind._("INLINE_LOCAL_VAR IABLE"); 13436 static const RefactoringKind INLINE_LOCAL_VARIABLE = const RefactoringKind._(" INLINE_LOCAL_VARIABLE");
13437 13437
13438 static const INLINE_METHOD = const RefactoringKind._("INLINE_METHOD"); 13438 static const RefactoringKind INLINE_METHOD = const RefactoringKind._("INLINE_M ETHOD");
13439 13439
13440 static const MOVE_FILE = const RefactoringKind._("MOVE_FILE"); 13440 static const RefactoringKind MOVE_FILE = const RefactoringKind._("MOVE_FILE");
13441 13441
13442 static const RENAME = const RefactoringKind._("RENAME"); 13442 static const RefactoringKind RENAME = const RefactoringKind._("RENAME");
13443 13443
13444 static const SORT_MEMBERS = const RefactoringKind._("SORT_MEMBERS"); 13444 static const RefactoringKind SORT_MEMBERS = const RefactoringKind._("SORT_MEMB ERS");
13445 13445
13446 /** 13446 /**
13447 * A list containing all of the enum values that are defined. 13447 * A list containing all of the enum values that are defined.
13448 */ 13448 */
13449 static const List<RefactoringKind> VALUES = const <RefactoringKind>[CONVERT_GE TTER_TO_METHOD, CONVERT_METHOD_TO_GETTER, EXTRACT_LOCAL_VARIABLE, EXTRACT_METHOD , INLINE_LOCAL_VARIABLE, INLINE_METHOD, MOVE_FILE, RENAME, SORT_MEMBERS]; 13449 static const List<RefactoringKind> VALUES = const <RefactoringKind>[CONVERT_GE TTER_TO_METHOD, CONVERT_METHOD_TO_GETTER, EXTRACT_LOCAL_VARIABLE, EXTRACT_METHOD , INLINE_LOCAL_VARIABLE, INLINE_METHOD, MOVE_FILE, RENAME, SORT_MEMBERS];
13450 13450
13451 final String name; 13451 final String name;
13452 13452
13453 const RefactoringKind._(this.name); 13453 const RefactoringKind._(this.name);
13454 13454
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
13755 * 13755 *
13756 * enum { 13756 * enum {
13757 * REQUIRED 13757 * REQUIRED
13758 * POSITIONAL 13758 * POSITIONAL
13759 * NAMED 13759 * NAMED
13760 * } 13760 * }
13761 * 13761 *
13762 * Clients may not extend, implement or mix-in this class. 13762 * Clients may not extend, implement or mix-in this class.
13763 */ 13763 */
13764 class RefactoringMethodParameterKind implements Enum { 13764 class RefactoringMethodParameterKind implements Enum {
13765 static const REQUIRED = const RefactoringMethodParameterKind._("REQUIRED"); 13765 static const RefactoringMethodParameterKind REQUIRED = const RefactoringMethod ParameterKind._("REQUIRED");
13766 13766
13767 static const POSITIONAL = const RefactoringMethodParameterKind._("POSITIONAL") ; 13767 static const RefactoringMethodParameterKind POSITIONAL = const RefactoringMeth odParameterKind._("POSITIONAL");
13768 13768
13769 static const NAMED = const RefactoringMethodParameterKind._("NAMED"); 13769 static const RefactoringMethodParameterKind NAMED = const RefactoringMethodPar ameterKind._("NAMED");
13770 13770
13771 /** 13771 /**
13772 * A list containing all of the enum values that are defined. 13772 * A list containing all of the enum values that are defined.
13773 */ 13773 */
13774 static const List<RefactoringMethodParameterKind> VALUES = const <RefactoringM ethodParameterKind>[REQUIRED, POSITIONAL, NAMED]; 13774 static const List<RefactoringMethodParameterKind> VALUES = const <RefactoringM ethodParameterKind>[REQUIRED, POSITIONAL, NAMED];
13775 13775
13776 final String name; 13776 final String name;
13777 13777
13778 const RefactoringMethodParameterKind._(this.name); 13778 const RefactoringMethodParameterKind._(this.name);
13779 13779
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
13941 * ERROR 13941 * ERROR
13942 * FATAL 13942 * FATAL
13943 * } 13943 * }
13944 * 13944 *
13945 * Clients may not extend, implement or mix-in this class. 13945 * Clients may not extend, implement or mix-in this class.
13946 */ 13946 */
13947 class RefactoringProblemSeverity implements Enum { 13947 class RefactoringProblemSeverity implements Enum {
13948 /** 13948 /**
13949 * A minor code problem. No example, because it is not used yet. 13949 * A minor code problem. No example, because it is not used yet.
13950 */ 13950 */
13951 static const INFO = const RefactoringProblemSeverity._("INFO"); 13951 static const RefactoringProblemSeverity INFO = const RefactoringProblemSeverit y._("INFO");
13952 13952
13953 /** 13953 /**
13954 * A minor code problem. For example names of local variables should be camel 13954 * A minor code problem. For example names of local variables should be camel
13955 * case and start with a lower case letter. Staring the name of a variable 13955 * case and start with a lower case letter. Staring the name of a variable
13956 * with an upper case is OK from the language point of view, but it is nice 13956 * with an upper case is OK from the language point of view, but it is nice
13957 * to warn the user. 13957 * to warn the user.
13958 */ 13958 */
13959 static const WARNING = const RefactoringProblemSeverity._("WARNING"); 13959 static const RefactoringProblemSeverity WARNING = const RefactoringProblemSeve rity._("WARNING");
13960 13960
13961 /** 13961 /**
13962 * The refactoring technically can be performed, but there is a logical 13962 * The refactoring technically can be performed, but there is a logical
13963 * problem. For example the name of a local variable being extracted 13963 * problem. For example the name of a local variable being extracted
13964 * conflicts with another name in the scope, or duplicate parameter names in 13964 * conflicts with another name in the scope, or duplicate parameter names in
13965 * the method being extracted, or a conflict between a parameter name and a 13965 * the method being extracted, or a conflict between a parameter name and a
13966 * local variable, etc. In some cases the location of the problem is also 13966 * local variable, etc. In some cases the location of the problem is also
13967 * provided, so the IDE can show user the location and the problem, and let 13967 * provided, so the IDE can show user the location and the problem, and let
13968 * the user decide whether she wants to perform the refactoring. For example 13968 * the user decide whether she wants to perform the refactoring. For example
13969 * the name conflict might be expected, and the user wants to fix it 13969 * the name conflict might be expected, and the user wants to fix it
13970 * afterwards. 13970 * afterwards.
13971 */ 13971 */
13972 static const ERROR = const RefactoringProblemSeverity._("ERROR"); 13972 static const RefactoringProblemSeverity ERROR = const RefactoringProblemSeveri ty._("ERROR");
13973 13973
13974 /** 13974 /**
13975 * A fatal error, which prevents performing the refactoring. For example the 13975 * A fatal error, which prevents performing the refactoring. For example the
13976 * name of a local variable being extracted is not a valid identifier, or 13976 * name of a local variable being extracted is not a valid identifier, or
13977 * selection is not a valid expression. 13977 * selection is not a valid expression.
13978 */ 13978 */
13979 static const FATAL = const RefactoringProblemSeverity._("FATAL"); 13979 static const RefactoringProblemSeverity FATAL = const RefactoringProblemSeveri ty._("FATAL");
13980 13980
13981 /** 13981 /**
13982 * A list containing all of the enum values that are defined. 13982 * A list containing all of the enum values that are defined.
13983 */ 13983 */
13984 static const List<RefactoringProblemSeverity> VALUES = const <RefactoringProbl emSeverity>[INFO, WARNING, ERROR, FATAL]; 13984 static const List<RefactoringProblemSeverity> VALUES = const <RefactoringProbl emSeverity>[INFO, WARNING, ERROR, FATAL];
13985 13985
13986 final String name; 13986 final String name;
13987 13987
13988 const RefactoringProblemSeverity._(this.name); 13988 const RefactoringProblemSeverity._(this.name);
13989 13989
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
14230 * } 14230 * }
14231 * 14231 *
14232 * Clients may not extend, implement or mix-in this class. 14232 * Clients may not extend, implement or mix-in this class.
14233 */ 14233 */
14234 class RequestErrorCode implements Enum { 14234 class RequestErrorCode implements Enum {
14235 /** 14235 /**
14236 * An "analysis.getErrors" or "analysis.getNavigation" request could not be 14236 * An "analysis.getErrors" or "analysis.getNavigation" request could not be
14237 * satisfied because the content of the file changed before the requested 14237 * satisfied because the content of the file changed before the requested
14238 * results could be computed. 14238 * results could be computed.
14239 */ 14239 */
14240 static const CONTENT_MODIFIED = const RequestErrorCode._("CONTENT_MODIFIED"); 14240 static const RequestErrorCode CONTENT_MODIFIED = const RequestErrorCode._("CON TENT_MODIFIED");
14241 14241
14242 /** 14242 /**
14243 * A request specified a FilePath which does not match a file in an analysis 14243 * A request specified a FilePath which does not match a file in an analysis
14244 * root, or the requested operation is not available for the file. 14244 * root, or the requested operation is not available for the file.
14245 */ 14245 */
14246 static const FILE_NOT_ANALYZED = const RequestErrorCode._("FILE_NOT_ANALYZED") ; 14246 static const RequestErrorCode FILE_NOT_ANALYZED = const RequestErrorCode._("FI LE_NOT_ANALYZED");
14247 14247
14248 /** 14248 /**
14249 * An "edit.format" request specified a FilePath which does not match a Dart 14249 * An "edit.format" request specified a FilePath which does not match a Dart
14250 * file in an analysis root. 14250 * file in an analysis root.
14251 */ 14251 */
14252 static const FORMAT_INVALID_FILE = const RequestErrorCode._("FORMAT_INVALID_FI LE"); 14252 static const RequestErrorCode FORMAT_INVALID_FILE = const RequestErrorCode._(" FORMAT_INVALID_FILE");
14253 14253
14254 /** 14254 /**
14255 * An "edit.format" request specified a file that contains syntax errors. 14255 * An "edit.format" request specified a file that contains syntax errors.
14256 */ 14256 */
14257 static const FORMAT_WITH_ERRORS = const RequestErrorCode._("FORMAT_WITH_ERRORS "); 14257 static const RequestErrorCode FORMAT_WITH_ERRORS = const RequestErrorCode._("F ORMAT_WITH_ERRORS");
14258 14258
14259 /** 14259 /**
14260 * An "analysis.getErrors" request specified a FilePath which does not match 14260 * An "analysis.getErrors" request specified a FilePath which does not match
14261 * a file currently subject to analysis. 14261 * a file currently subject to analysis.
14262 */ 14262 */
14263 static const GET_ERRORS_INVALID_FILE = const RequestErrorCode._("GET_ERRORS_IN VALID_FILE"); 14263 static const RequestErrorCode GET_ERRORS_INVALID_FILE = const RequestErrorCode ._("GET_ERRORS_INVALID_FILE");
14264 14264
14265 /** 14265 /**
14266 * An "analysis.getNavigation" request specified a FilePath which does not 14266 * An "analysis.getNavigation" request specified a FilePath which does not
14267 * match a file currently subject to analysis. 14267 * match a file currently subject to analysis.
14268 */ 14268 */
14269 static const GET_NAVIGATION_INVALID_FILE = const RequestErrorCode._("GET_NAVIG ATION_INVALID_FILE"); 14269 static const RequestErrorCode GET_NAVIGATION_INVALID_FILE = const RequestError Code._("GET_NAVIGATION_INVALID_FILE");
14270 14270
14271 /** 14271 /**
14272 * An "analysis.getReachableSources" request specified a FilePath which does 14272 * An "analysis.getReachableSources" request specified a FilePath which does
14273 * not match a file currently subject to analysis. 14273 * not match a file currently subject to analysis.
14274 */ 14274 */
14275 static const GET_REACHABLE_SOURCES_INVALID_FILE = const RequestErrorCode._("GE T_REACHABLE_SOURCES_INVALID_FILE"); 14275 static const RequestErrorCode GET_REACHABLE_SOURCES_INVALID_FILE = const Reque stErrorCode._("GET_REACHABLE_SOURCES_INVALID_FILE");
14276 14276
14277 /** 14277 /**
14278 * A path passed as an argument to a request (such as analysis.reanalyze) is 14278 * A path passed as an argument to a request (such as analysis.reanalyze) is
14279 * required to be an analysis root, but isn't. 14279 * required to be an analysis root, but isn't.
14280 */ 14280 */
14281 static const INVALID_ANALYSIS_ROOT = const RequestErrorCode._("INVALID_ANALYSI S_ROOT"); 14281 static const RequestErrorCode INVALID_ANALYSIS_ROOT = const RequestErrorCode._ ("INVALID_ANALYSIS_ROOT");
14282 14282
14283 /** 14283 /**
14284 * The context root used to create an execution context does not exist. 14284 * The context root used to create an execution context does not exist.
14285 */ 14285 */
14286 static const INVALID_EXECUTION_CONTEXT = const RequestErrorCode._("INVALID_EXE CUTION_CONTEXT"); 14286 static const RequestErrorCode INVALID_EXECUTION_CONTEXT = const RequestErrorCo de._("INVALID_EXECUTION_CONTEXT");
14287 14287
14288 /** 14288 /**
14289 * The format of the given file path is invalid, e.g. is not absolute and 14289 * The format of the given file path is invalid, e.g. is not absolute and
14290 * normalized. 14290 * normalized.
14291 */ 14291 */
14292 static const INVALID_FILE_PATH_FORMAT = const RequestErrorCode._("INVALID_FILE _PATH_FORMAT"); 14292 static const RequestErrorCode INVALID_FILE_PATH_FORMAT = const RequestErrorCod e._("INVALID_FILE_PATH_FORMAT");
14293 14293
14294 /** 14294 /**
14295 * An "analysis.updateContent" request contained a ChangeContentOverlay 14295 * An "analysis.updateContent" request contained a ChangeContentOverlay
14296 * object which can't be applied, due to an edit having an offset or length 14296 * object which can't be applied, due to an edit having an offset or length
14297 * that is out of range. 14297 * that is out of range.
14298 */ 14298 */
14299 static const INVALID_OVERLAY_CHANGE = const RequestErrorCode._("INVALID_OVERLA Y_CHANGE"); 14299 static const RequestErrorCode INVALID_OVERLAY_CHANGE = const RequestErrorCode. _("INVALID_OVERLAY_CHANGE");
14300 14300
14301 /** 14301 /**
14302 * One of the method parameters was invalid. 14302 * One of the method parameters was invalid.
14303 */ 14303 */
14304 static const INVALID_PARAMETER = const RequestErrorCode._("INVALID_PARAMETER") ; 14304 static const RequestErrorCode INVALID_PARAMETER = const RequestErrorCode._("IN VALID_PARAMETER");
14305 14305
14306 /** 14306 /**
14307 * A malformed request was received. 14307 * A malformed request was received.
14308 */ 14308 */
14309 static const INVALID_REQUEST = const RequestErrorCode._("INVALID_REQUEST"); 14309 static const RequestErrorCode INVALID_REQUEST = const RequestErrorCode._("INVA LID_REQUEST");
14310 14310
14311 /** 14311 /**
14312 * The "--no-index" flag was passed when the analysis server created, but 14312 * The "--no-index" flag was passed when the analysis server created, but
14313 * this API call requires an index to have been generated. 14313 * this API call requires an index to have been generated.
14314 */ 14314 */
14315 static const NO_INDEX_GENERATED = const RequestErrorCode._("NO_INDEX_GENERATED "); 14315 static const RequestErrorCode NO_INDEX_GENERATED = const RequestErrorCode._("N O_INDEX_GENERATED");
14316 14316
14317 /** 14317 /**
14318 * An "edit.organizeDirectives" request specified a Dart file that cannot be 14318 * An "edit.organizeDirectives" request specified a Dart file that cannot be
14319 * analyzed. The reason is described in the message. 14319 * analyzed. The reason is described in the message.
14320 */ 14320 */
14321 static const ORGANIZE_DIRECTIVES_ERROR = const RequestErrorCode._("ORGANIZE_DI RECTIVES_ERROR"); 14321 static const RequestErrorCode ORGANIZE_DIRECTIVES_ERROR = const RequestErrorCo de._("ORGANIZE_DIRECTIVES_ERROR");
14322 14322
14323 /** 14323 /**
14324 * Another refactoring request was received during processing of this one. 14324 * Another refactoring request was received during processing of this one.
14325 */ 14325 */
14326 static const REFACTORING_REQUEST_CANCELLED = const RequestErrorCode._("REFACTO RING_REQUEST_CANCELLED"); 14326 static const RequestErrorCode REFACTORING_REQUEST_CANCELLED = const RequestErr orCode._("REFACTORING_REQUEST_CANCELLED");
14327 14327
14328 /** 14328 /**
14329 * The analysis server has already been started (and hence won't accept new 14329 * The analysis server has already been started (and hence won't accept new
14330 * connections). 14330 * connections).
14331 * 14331 *
14332 * This error is included for future expansion; at present the analysis 14332 * This error is included for future expansion; at present the analysis
14333 * server can only speak to one client at a time so this error will never 14333 * server can only speak to one client at a time so this error will never
14334 * occur. 14334 * occur.
14335 */ 14335 */
14336 static const SERVER_ALREADY_STARTED = const RequestErrorCode._("SERVER_ALREADY _STARTED"); 14336 static const RequestErrorCode SERVER_ALREADY_STARTED = const RequestErrorCode. _("SERVER_ALREADY_STARTED");
14337 14337
14338 /** 14338 /**
14339 * An internal error occurred in the analysis server. Also see the 14339 * An internal error occurred in the analysis server. Also see the
14340 * server.error notification. 14340 * server.error notification.
14341 */ 14341 */
14342 static const SERVER_ERROR = const RequestErrorCode._("SERVER_ERROR"); 14342 static const RequestErrorCode SERVER_ERROR = const RequestErrorCode._("SERVER_ ERROR");
14343 14343
14344 /** 14344 /**
14345 * An "edit.sortMembers" request specified a FilePath which does not match a 14345 * An "edit.sortMembers" request specified a FilePath which does not match a
14346 * Dart file in an analysis root. 14346 * Dart file in an analysis root.
14347 */ 14347 */
14348 static const SORT_MEMBERS_INVALID_FILE = const RequestErrorCode._("SORT_MEMBER S_INVALID_FILE"); 14348 static const RequestErrorCode SORT_MEMBERS_INVALID_FILE = const RequestErrorCo de._("SORT_MEMBERS_INVALID_FILE");
14349 14349
14350 /** 14350 /**
14351 * An "edit.sortMembers" request specified a Dart file that has scan or parse 14351 * An "edit.sortMembers" request specified a Dart file that has scan or parse
14352 * errors. 14352 * errors.
14353 */ 14353 */
14354 static const SORT_MEMBERS_PARSE_ERRORS = const RequestErrorCode._("SORT_MEMBER S_PARSE_ERRORS"); 14354 static const RequestErrorCode SORT_MEMBERS_PARSE_ERRORS = const RequestErrorCo de._("SORT_MEMBERS_PARSE_ERRORS");
14355 14355
14356 /** 14356 /**
14357 * An "analysis.setPriorityFiles" request includes one or more files that are 14357 * An "analysis.setPriorityFiles" request includes one or more files that are
14358 * not being analyzed. 14358 * not being analyzed.
14359 * 14359 *
14360 * This is a legacy error; it will be removed before the API reaches version 14360 * This is a legacy error; it will be removed before the API reaches version
14361 * 1.0. 14361 * 1.0.
14362 */ 14362 */
14363 static const UNANALYZED_PRIORITY_FILES = const RequestErrorCode._("UNANALYZED_ PRIORITY_FILES"); 14363 static const RequestErrorCode UNANALYZED_PRIORITY_FILES = const RequestErrorCo de._("UNANALYZED_PRIORITY_FILES");
14364 14364
14365 /** 14365 /**
14366 * A request was received which the analysis server does not recognize, or 14366 * A request was received which the analysis server does not recognize, or
14367 * cannot handle in its current configuration. 14367 * cannot handle in its current configuration.
14368 */ 14368 */
14369 static const UNKNOWN_REQUEST = const RequestErrorCode._("UNKNOWN_REQUEST"); 14369 static const RequestErrorCode UNKNOWN_REQUEST = const RequestErrorCode._("UNKN OWN_REQUEST");
14370 14370
14371 /** 14371 /**
14372 * The analysis server was requested to perform an action on a source that 14372 * The analysis server was requested to perform an action on a source that
14373 * does not exist. 14373 * does not exist.
14374 */ 14374 */
14375 static const UNKNOWN_SOURCE = const RequestErrorCode._("UNKNOWN_SOURCE"); 14375 static const RequestErrorCode UNKNOWN_SOURCE = const RequestErrorCode._("UNKNO WN_SOURCE");
14376 14376
14377 /** 14377 /**
14378 * The analysis server was requested to perform an action which is not 14378 * The analysis server was requested to perform an action which is not
14379 * supported. 14379 * supported.
14380 * 14380 *
14381 * This is a legacy error; it will be removed before the API reaches version 14381 * This is a legacy error; it will be removed before the API reaches version
14382 * 1.0. 14382 * 1.0.
14383 */ 14383 */
14384 static const UNSUPPORTED_FEATURE = const RequestErrorCode._("UNSUPPORTED_FEATU RE"); 14384 static const RequestErrorCode UNSUPPORTED_FEATURE = const RequestErrorCode._(" UNSUPPORTED_FEATURE");
14385 14385
14386 /** 14386 /**
14387 * A list containing all of the enum values that are defined. 14387 * A list containing all of the enum values that are defined.
14388 */ 14388 */
14389 static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[CONTENT_ MODIFIED, FILE_NOT_ANALYZED, FORMAT_INVALID_FILE, FORMAT_WITH_ERRORS, GET_ERRORS _INVALID_FILE, GET_NAVIGATION_INVALID_FILE, GET_REACHABLE_SOURCES_INVALID_FILE, INVALID_ANALYSIS_ROOT, INVALID_EXECUTION_CONTEXT, INVALID_FILE_PATH_FORMAT, INVA LID_OVERLAY_CHANGE, INVALID_PARAMETER, INVALID_REQUEST, NO_INDEX_GENERATED, ORGA NIZE_DIRECTIVES_ERROR, REFACTORING_REQUEST_CANCELLED, SERVER_ALREADY_STARTED, SE RVER_ERROR, SORT_MEMBERS_INVALID_FILE, SORT_MEMBERS_PARSE_ERRORS, UNANALYZED_PRI ORITY_FILES, UNKNOWN_REQUEST, UNKNOWN_SOURCE, UNSUPPORTED_FEATURE]; 14389 static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[CONTENT_ MODIFIED, FILE_NOT_ANALYZED, FORMAT_INVALID_FILE, FORMAT_WITH_ERRORS, GET_ERRORS _INVALID_FILE, GET_NAVIGATION_INVALID_FILE, GET_REACHABLE_SOURCES_INVALID_FILE, INVALID_ANALYSIS_ROOT, INVALID_EXECUTION_CONTEXT, INVALID_FILE_PATH_FORMAT, INVA LID_OVERLAY_CHANGE, INVALID_PARAMETER, INVALID_REQUEST, NO_INDEX_GENERATED, ORGA NIZE_DIRECTIVES_ERROR, REFACTORING_REQUEST_CANCELLED, SERVER_ALREADY_STARTED, SE RVER_ERROR, SORT_MEMBERS_INVALID_FILE, SORT_MEMBERS_PARSE_ERRORS, UNANALYZED_PRI ORITY_FILES, UNKNOWN_REQUEST, UNKNOWN_SOURCE, UNSUPPORTED_FEATURE];
14390 14390
14391 final String name; 14391 final String name;
14392 14392
14393 const RequestErrorCode._(this.name); 14393 const RequestErrorCode._(this.name);
14394 14394
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
14634 * UNKNOWN 14634 * UNKNOWN
14635 * WRITE 14635 * WRITE
14636 * } 14636 * }
14637 * 14637 *
14638 * Clients may not extend, implement or mix-in this class. 14638 * Clients may not extend, implement or mix-in this class.
14639 */ 14639 */
14640 class SearchResultKind implements Enum { 14640 class SearchResultKind implements Enum {
14641 /** 14641 /**
14642 * The declaration of an element. 14642 * The declaration of an element.
14643 */ 14643 */
14644 static const DECLARATION = const SearchResultKind._("DECLARATION"); 14644 static const SearchResultKind DECLARATION = const SearchResultKind._("DECLARAT ION");
14645 14645
14646 /** 14646 /**
14647 * The invocation of a function or method. 14647 * The invocation of a function or method.
14648 */ 14648 */
14649 static const INVOCATION = const SearchResultKind._("INVOCATION"); 14649 static const SearchResultKind INVOCATION = const SearchResultKind._("INVOCATIO N");
14650 14650
14651 /** 14651 /**
14652 * A reference to a field, parameter or variable where it is being read. 14652 * A reference to a field, parameter or variable where it is being read.
14653 */ 14653 */
14654 static const READ = const SearchResultKind._("READ"); 14654 static const SearchResultKind READ = const SearchResultKind._("READ");
14655 14655
14656 /** 14656 /**
14657 * A reference to a field, parameter or variable where it is being read and 14657 * A reference to a field, parameter or variable where it is being read and
14658 * written. 14658 * written.
14659 */ 14659 */
14660 static const READ_WRITE = const SearchResultKind._("READ_WRITE"); 14660 static const SearchResultKind READ_WRITE = const SearchResultKind._("READ_WRIT E");
14661 14661
14662 /** 14662 /**
14663 * A reference to an element. 14663 * A reference to an element.
14664 */ 14664 */
14665 static const REFERENCE = const SearchResultKind._("REFERENCE"); 14665 static const SearchResultKind REFERENCE = const SearchResultKind._("REFERENCE" );
14666 14666
14667 /** 14667 /**
14668 * Some other kind of search result. 14668 * Some other kind of search result.
14669 */ 14669 */
14670 static const UNKNOWN = const SearchResultKind._("UNKNOWN"); 14670 static const SearchResultKind UNKNOWN = const SearchResultKind._("UNKNOWN");
14671 14671
14672 /** 14672 /**
14673 * A reference to a field, parameter or variable where it is being written. 14673 * A reference to a field, parameter or variable where it is being written.
14674 */ 14674 */
14675 static const WRITE = const SearchResultKind._("WRITE"); 14675 static const SearchResultKind WRITE = const SearchResultKind._("WRITE");
14676 14676
14677 /** 14677 /**
14678 * A list containing all of the enum values that are defined. 14678 * A list containing all of the enum values that are defined.
14679 */ 14679 */
14680 static const List<SearchResultKind> VALUES = const <SearchResultKind>[DECLARAT ION, INVOCATION, READ, READ_WRITE, REFERENCE, UNKNOWN, WRITE]; 14680 static const List<SearchResultKind> VALUES = const <SearchResultKind>[DECLARAT ION, INVOCATION, READ, READ_WRITE, REFERENCE, UNKNOWN, WRITE];
14681 14681
14682 final String name; 14682 final String name;
14683 14683
14684 const SearchResultKind._(this.name); 14684 const SearchResultKind._(this.name);
14685 14685
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
14723 /** 14723 /**
14724 * ServerService 14724 * ServerService
14725 * 14725 *
14726 * enum { 14726 * enum {
14727 * STATUS 14727 * STATUS
14728 * } 14728 * }
14729 * 14729 *
14730 * Clients may not extend, implement or mix-in this class. 14730 * Clients may not extend, implement or mix-in this class.
14731 */ 14731 */
14732 class ServerService implements Enum { 14732 class ServerService implements Enum {
14733 static const STATUS = const ServerService._("STATUS"); 14733 static const ServerService STATUS = const ServerService._("STATUS");
14734 14734
14735 /** 14735 /**
14736 * A list containing all of the enum values that are defined. 14736 * A list containing all of the enum values that are defined.
14737 */ 14737 */
14738 static const List<ServerService> VALUES = const <ServerService>[STATUS]; 14738 static const List<ServerService> VALUES = const <ServerService>[STATUS];
14739 14739
14740 final String name; 14740 final String name;
14741 14741
14742 const ServerService._(this.name); 14742 const ServerService._(this.name);
14743 14743
(...skipping 2291 matching lines...) Expand 10 before | Expand all | Expand 10 after
17035 return false; 17035 return false;
17036 } 17036 }
17037 17037
17038 @override 17038 @override
17039 int get hashCode { 17039 int get hashCode {
17040 int hash = 0; 17040 int hash = 0;
17041 hash = JenkinsSmiHash.combine(hash, newName.hashCode); 17041 hash = JenkinsSmiHash.combine(hash, newName.hashCode);
17042 return JenkinsSmiHash.finish(hash); 17042 return JenkinsSmiHash.finish(hash);
17043 } 17043 }
17044 } 17044 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/tool/spec/codegen_dart_protocol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698