| OLD | NEW |
| 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 4692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4703 | 4703 |
| 4704 /** | 4704 /** |
| 4705 * AnalysisErrorSeverity | 4705 * AnalysisErrorSeverity |
| 4706 * | 4706 * |
| 4707 * enum { | 4707 * enum { |
| 4708 * INFO | 4708 * INFO |
| 4709 * WARNING | 4709 * WARNING |
| 4710 * ERROR | 4710 * ERROR |
| 4711 * } | 4711 * } |
| 4712 */ | 4712 */ |
| 4713 class AnalysisErrorSeverity { | 4713 class AnalysisErrorSeverity implements Enum { |
| 4714 static const INFO = const AnalysisErrorSeverity._("INFO"); | 4714 static const INFO = const AnalysisErrorSeverity._("INFO"); |
| 4715 | 4715 |
| 4716 static const WARNING = const AnalysisErrorSeverity._("WARNING"); | 4716 static const WARNING = const AnalysisErrorSeverity._("WARNING"); |
| 4717 | 4717 |
| 4718 static const ERROR = const AnalysisErrorSeverity._("ERROR"); | 4718 static const ERROR = const AnalysisErrorSeverity._("ERROR"); |
| 4719 | 4719 |
| 4720 final String name; | 4720 final String name; |
| 4721 | 4721 |
| 4722 const AnalysisErrorSeverity._(this.name); | 4722 const AnalysisErrorSeverity._(this.name); |
| 4723 | 4723 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4758 * CHECKED_MODE_COMPILE_TIME_ERROR | 4758 * CHECKED_MODE_COMPILE_TIME_ERROR |
| 4759 * COMPILE_TIME_ERROR | 4759 * COMPILE_TIME_ERROR |
| 4760 * HINT | 4760 * HINT |
| 4761 * POLYMER | 4761 * POLYMER |
| 4762 * STATIC_TYPE_WARNING | 4762 * STATIC_TYPE_WARNING |
| 4763 * STATIC_WARNING | 4763 * STATIC_WARNING |
| 4764 * SYNTACTIC_ERROR | 4764 * SYNTACTIC_ERROR |
| 4765 * TODO | 4765 * TODO |
| 4766 * } | 4766 * } |
| 4767 */ | 4767 */ |
| 4768 class AnalysisErrorType { | 4768 class AnalysisErrorType implements Enum { |
| 4769 static const ANGULAR = const AnalysisErrorType._("ANGULAR"); | 4769 static const ANGULAR = const AnalysisErrorType._("ANGULAR"); |
| 4770 | 4770 |
| 4771 static const CHECKED_MODE_COMPILE_TIME_ERROR = const AnalysisErrorType._("CHEC
KED_MODE_COMPILE_TIME_ERROR"); | 4771 static const CHECKED_MODE_COMPILE_TIME_ERROR = const AnalysisErrorType._("CHEC
KED_MODE_COMPILE_TIME_ERROR"); |
| 4772 | 4772 |
| 4773 static const COMPILE_TIME_ERROR = const AnalysisErrorType._("COMPILE_TIME_ERRO
R"); | 4773 static const COMPILE_TIME_ERROR = const AnalysisErrorType._("COMPILE_TIME_ERRO
R"); |
| 4774 | 4774 |
| 4775 static const HINT = const AnalysisErrorType._("HINT"); | 4775 static const HINT = const AnalysisErrorType._("HINT"); |
| 4776 | 4776 |
| 4777 static const POLYMER = const AnalysisErrorType._("POLYMER"); | 4777 static const POLYMER = const AnalysisErrorType._("POLYMER"); |
| 4778 | 4778 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4954 * | 4954 * |
| 4955 * enum { | 4955 * enum { |
| 4956 * FOLDING | 4956 * FOLDING |
| 4957 * HIGHLIGHTS | 4957 * HIGHLIGHTS |
| 4958 * NAVIGATION | 4958 * NAVIGATION |
| 4959 * OCCURRENCES | 4959 * OCCURRENCES |
| 4960 * OUTLINE | 4960 * OUTLINE |
| 4961 * OVERRIDES | 4961 * OVERRIDES |
| 4962 * } | 4962 * } |
| 4963 */ | 4963 */ |
| 4964 class AnalysisService { | 4964 class AnalysisService implements Enum { |
| 4965 static const FOLDING = const AnalysisService._("FOLDING"); | 4965 static const FOLDING = const AnalysisService._("FOLDING"); |
| 4966 | 4966 |
| 4967 static const HIGHLIGHTS = const AnalysisService._("HIGHLIGHTS"); | 4967 static const HIGHLIGHTS = const AnalysisService._("HIGHLIGHTS"); |
| 4968 | 4968 |
| 4969 static const NAVIGATION = const AnalysisService._("NAVIGATION"); | 4969 static const NAVIGATION = const AnalysisService._("NAVIGATION"); |
| 4970 | 4970 |
| 4971 static const OCCURRENCES = const AnalysisService._("OCCURRENCES"); | 4971 static const OCCURRENCES = const AnalysisService._("OCCURRENCES"); |
| 4972 | 4972 |
| 4973 static const OUTLINE = const AnalysisService._("OUTLINE"); | 4973 static const OUTLINE = const AnalysisService._("OUTLINE"); |
| 4974 | 4974 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5151 | 5151 |
| 5152 /** | 5152 /** |
| 5153 * CompletionRelevance | 5153 * CompletionRelevance |
| 5154 * | 5154 * |
| 5155 * enum { | 5155 * enum { |
| 5156 * LOW | 5156 * LOW |
| 5157 * DEFAULT | 5157 * DEFAULT |
| 5158 * HIGH | 5158 * HIGH |
| 5159 * } | 5159 * } |
| 5160 */ | 5160 */ |
| 5161 class CompletionRelevance { | 5161 class CompletionRelevance implements Enum { |
| 5162 static const LOW = const CompletionRelevance._("LOW"); | 5162 static const LOW = const CompletionRelevance._("LOW"); |
| 5163 | 5163 |
| 5164 static const DEFAULT = const CompletionRelevance._("DEFAULT"); | 5164 static const DEFAULT = const CompletionRelevance._("DEFAULT"); |
| 5165 | 5165 |
| 5166 static const HIGH = const CompletionRelevance._("HIGH"); | 5166 static const HIGH = const CompletionRelevance._("HIGH"); |
| 5167 | 5167 |
| 5168 final String name; | 5168 final String name; |
| 5169 | 5169 |
| 5170 const CompletionRelevance._(this.name); | 5170 const CompletionRelevance._(this.name); |
| 5171 | 5171 |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5549 * METHOD | 5549 * METHOD |
| 5550 * METHOD_NAME | 5550 * METHOD_NAME |
| 5551 * NAMED_ARGUMENT | 5551 * NAMED_ARGUMENT |
| 5552 * OPTIONAL_ARGUMENT | 5552 * OPTIONAL_ARGUMENT |
| 5553 * PARAMETER | 5553 * PARAMETER |
| 5554 * SETTER | 5554 * SETTER |
| 5555 * TOP_LEVEL_VARIABLE | 5555 * TOP_LEVEL_VARIABLE |
| 5556 * TYPE_PARAMETER | 5556 * TYPE_PARAMETER |
| 5557 * } | 5557 * } |
| 5558 */ | 5558 */ |
| 5559 class CompletionSuggestionKind { | 5559 class CompletionSuggestionKind implements Enum { |
| 5560 static const ARGUMENT_LIST = const CompletionSuggestionKind._("ARGUMENT_LIST")
; | 5560 static const ARGUMENT_LIST = const CompletionSuggestionKind._("ARGUMENT_LIST")
; |
| 5561 | 5561 |
| 5562 static const CLASS = const CompletionSuggestionKind._("CLASS"); | 5562 static const CLASS = const CompletionSuggestionKind._("CLASS"); |
| 5563 | 5563 |
| 5564 static const CLASS_ALIAS = const CompletionSuggestionKind._("CLASS_ALIAS"); | 5564 static const CLASS_ALIAS = const CompletionSuggestionKind._("CLASS_ALIAS"); |
| 5565 | 5565 |
| 5566 static const CONSTRUCTOR = const CompletionSuggestionKind._("CONSTRUCTOR"); | 5566 static const CONSTRUCTOR = const CompletionSuggestionKind._("CONSTRUCTOR"); |
| 5567 | 5567 |
| 5568 static const FIELD = const CompletionSuggestionKind._("FIELD"); | 5568 static const FIELD = const CompletionSuggestionKind._("FIELD"); |
| 5569 | 5569 |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5857 * PARAMETER | 5857 * PARAMETER |
| 5858 * PREFIX | 5858 * PREFIX |
| 5859 * SETTER | 5859 * SETTER |
| 5860 * TOP_LEVEL_VARIABLE | 5860 * TOP_LEVEL_VARIABLE |
| 5861 * TYPE_PARAMETER | 5861 * TYPE_PARAMETER |
| 5862 * UNIT_TEST_GROUP | 5862 * UNIT_TEST_GROUP |
| 5863 * UNIT_TEST_TEST | 5863 * UNIT_TEST_TEST |
| 5864 * UNKNOWN | 5864 * UNKNOWN |
| 5865 * } | 5865 * } |
| 5866 */ | 5866 */ |
| 5867 class ElementKind { | 5867 class ElementKind implements Enum { |
| 5868 static const CLASS = const ElementKind._("CLASS"); | 5868 static const CLASS = const ElementKind._("CLASS"); |
| 5869 | 5869 |
| 5870 static const CLASS_TYPE_ALIAS = const ElementKind._("CLASS_TYPE_ALIAS"); | 5870 static const CLASS_TYPE_ALIAS = const ElementKind._("CLASS_TYPE_ALIAS"); |
| 5871 | 5871 |
| 5872 static const COMPILATION_UNIT = const ElementKind._("COMPILATION_UNIT"); | 5872 static const COMPILATION_UNIT = const ElementKind._("COMPILATION_UNIT"); |
| 5873 | 5873 |
| 5874 static const CONSTRUCTOR = const ElementKind._("CONSTRUCTOR"); | 5874 static const CONSTRUCTOR = const ElementKind._("CONSTRUCTOR"); |
| 5875 | 5875 |
| 5876 static const FIELD = const ElementKind._("FIELD"); | 5876 static const FIELD = const ElementKind._("FIELD"); |
| 5877 | 5877 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6047 /** | 6047 /** |
| 6048 * ExecutableKind | 6048 * ExecutableKind |
| 6049 * | 6049 * |
| 6050 * enum { | 6050 * enum { |
| 6051 * CLIENT | 6051 * CLIENT |
| 6052 * EITHER | 6052 * EITHER |
| 6053 * NOT_EXECUTABLE | 6053 * NOT_EXECUTABLE |
| 6054 * SERVER | 6054 * SERVER |
| 6055 * } | 6055 * } |
| 6056 */ | 6056 */ |
| 6057 class ExecutableKind { | 6057 class ExecutableKind implements Enum { |
| 6058 static const CLIENT = const ExecutableKind._("CLIENT"); | 6058 static const CLIENT = const ExecutableKind._("CLIENT"); |
| 6059 | 6059 |
| 6060 static const EITHER = const ExecutableKind._("EITHER"); | 6060 static const EITHER = const ExecutableKind._("EITHER"); |
| 6061 | 6061 |
| 6062 static const NOT_EXECUTABLE = const ExecutableKind._("NOT_EXECUTABLE"); | 6062 static const NOT_EXECUTABLE = const ExecutableKind._("NOT_EXECUTABLE"); |
| 6063 | 6063 |
| 6064 static const SERVER = const ExecutableKind._("SERVER"); | 6064 static const SERVER = const ExecutableKind._("SERVER"); |
| 6065 | 6065 |
| 6066 final String name; | 6066 final String name; |
| 6067 | 6067 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 6098 String toJson() => name; | 6098 String toJson() => name; |
| 6099 } | 6099 } |
| 6100 | 6100 |
| 6101 /** | 6101 /** |
| 6102 * ExecutionService | 6102 * ExecutionService |
| 6103 * | 6103 * |
| 6104 * enum { | 6104 * enum { |
| 6105 * LAUNCH_DATA | 6105 * LAUNCH_DATA |
| 6106 * } | 6106 * } |
| 6107 */ | 6107 */ |
| 6108 class ExecutionService { | 6108 class ExecutionService implements Enum { |
| 6109 static const LAUNCH_DATA = const ExecutionService._("LAUNCH_DATA"); | 6109 static const LAUNCH_DATA = const ExecutionService._("LAUNCH_DATA"); |
| 6110 | 6110 |
| 6111 final String name; | 6111 final String name; |
| 6112 | 6112 |
| 6113 const ExecutionService._(this.name); | 6113 const ExecutionService._(this.name); |
| 6114 | 6114 |
| 6115 factory ExecutionService(String name) { | 6115 factory ExecutionService(String name) { |
| 6116 switch (name) { | 6116 switch (name) { |
| 6117 case "LAUNCH_DATA": | 6117 case "LAUNCH_DATA": |
| 6118 return LAUNCH_DATA; | 6118 return LAUNCH_DATA; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 6141 * FoldingKind | 6141 * FoldingKind |
| 6142 * | 6142 * |
| 6143 * enum { | 6143 * enum { |
| 6144 * COMMENT | 6144 * COMMENT |
| 6145 * CLASS_MEMBER | 6145 * CLASS_MEMBER |
| 6146 * DIRECTIVES | 6146 * DIRECTIVES |
| 6147 * DOCUMENTATION_COMMENT | 6147 * DOCUMENTATION_COMMENT |
| 6148 * TOP_LEVEL_DECLARATION | 6148 * TOP_LEVEL_DECLARATION |
| 6149 * } | 6149 * } |
| 6150 */ | 6150 */ |
| 6151 class FoldingKind { | 6151 class FoldingKind implements Enum { |
| 6152 static const COMMENT = const FoldingKind._("COMMENT"); | 6152 static const COMMENT = const FoldingKind._("COMMENT"); |
| 6153 | 6153 |
| 6154 static const CLASS_MEMBER = const FoldingKind._("CLASS_MEMBER"); | 6154 static const CLASS_MEMBER = const FoldingKind._("CLASS_MEMBER"); |
| 6155 | 6155 |
| 6156 static const DIRECTIVES = const FoldingKind._("DIRECTIVES"); | 6156 static const DIRECTIVES = const FoldingKind._("DIRECTIVES"); |
| 6157 | 6157 |
| 6158 static const DOCUMENTATION_COMMENT = const FoldingKind._("DOCUMENTATION_COMMEN
T"); | 6158 static const DOCUMENTATION_COMMENT = const FoldingKind._("DOCUMENTATION_COMMEN
T"); |
| 6159 | 6159 |
| 6160 static const TOP_LEVEL_DECLARATION = const FoldingKind._("TOP_LEVEL_DECLARATIO
N"); | 6160 static const TOP_LEVEL_DECLARATION = const FoldingKind._("TOP_LEVEL_DECLARATIO
N"); |
| 6161 | 6161 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6405 * METHOD_DECLARATION | 6405 * METHOD_DECLARATION |
| 6406 * METHOD_DECLARATION_STATIC | 6406 * METHOD_DECLARATION_STATIC |
| 6407 * METHOD_STATIC | 6407 * METHOD_STATIC |
| 6408 * PARAMETER | 6408 * PARAMETER |
| 6409 * SETTER_DECLARATION | 6409 * SETTER_DECLARATION |
| 6410 * TOP_LEVEL_VARIABLE | 6410 * TOP_LEVEL_VARIABLE |
| 6411 * TYPE_NAME_DYNAMIC | 6411 * TYPE_NAME_DYNAMIC |
| 6412 * TYPE_PARAMETER | 6412 * TYPE_PARAMETER |
| 6413 * } | 6413 * } |
| 6414 */ | 6414 */ |
| 6415 class HighlightRegionType { | 6415 class HighlightRegionType implements Enum { |
| 6416 static const ANNOTATION = const HighlightRegionType._("ANNOTATION"); | 6416 static const ANNOTATION = const HighlightRegionType._("ANNOTATION"); |
| 6417 | 6417 |
| 6418 static const BUILT_IN = const HighlightRegionType._("BUILT_IN"); | 6418 static const BUILT_IN = const HighlightRegionType._("BUILT_IN"); |
| 6419 | 6419 |
| 6420 static const CLASS = const HighlightRegionType._("CLASS"); | 6420 static const CLASS = const HighlightRegionType._("CLASS"); |
| 6421 | 6421 |
| 6422 static const COMMENT_BLOCK = const HighlightRegionType._("COMMENT_BLOCK"); | 6422 static const COMMENT_BLOCK = const HighlightRegionType._("COMMENT_BLOCK"); |
| 6423 | 6423 |
| 6424 static const COMMENT_DOCUMENTATION = const HighlightRegionType._("COMMENT_DOCU
MENTATION"); | 6424 static const COMMENT_DOCUMENTATION = const HighlightRegionType._("COMMENT_DOCU
MENTATION"); |
| 6425 | 6425 |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6976 /** | 6976 /** |
| 6977 * LinkedEditSuggestionKind | 6977 * LinkedEditSuggestionKind |
| 6978 * | 6978 * |
| 6979 * enum { | 6979 * enum { |
| 6980 * METHOD | 6980 * METHOD |
| 6981 * PARAMETER | 6981 * PARAMETER |
| 6982 * TYPE | 6982 * TYPE |
| 6983 * VARIABLE | 6983 * VARIABLE |
| 6984 * } | 6984 * } |
| 6985 */ | 6985 */ |
| 6986 class LinkedEditSuggestionKind { | 6986 class LinkedEditSuggestionKind implements Enum { |
| 6987 static const METHOD = const LinkedEditSuggestionKind._("METHOD"); | 6987 static const METHOD = const LinkedEditSuggestionKind._("METHOD"); |
| 6988 | 6988 |
| 6989 static const PARAMETER = const LinkedEditSuggestionKind._("PARAMETER"); | 6989 static const PARAMETER = const LinkedEditSuggestionKind._("PARAMETER"); |
| 6990 | 6990 |
| 6991 static const TYPE = const LinkedEditSuggestionKind._("TYPE"); | 6991 static const TYPE = const LinkedEditSuggestionKind._("TYPE"); |
| 6992 | 6992 |
| 6993 static const VARIABLE = const LinkedEditSuggestionKind._("VARIABLE"); | 6993 static const VARIABLE = const LinkedEditSuggestionKind._("VARIABLE"); |
| 6994 | 6994 |
| 6995 final String name; | 6995 final String name; |
| 6996 | 6996 |
| (...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7685 * CONVERT_METHOD_TO_GETTER | 7685 * CONVERT_METHOD_TO_GETTER |
| 7686 * EXTRACT_LOCAL_VARIABLE | 7686 * EXTRACT_LOCAL_VARIABLE |
| 7687 * EXTRACT_METHOD | 7687 * EXTRACT_METHOD |
| 7688 * INLINE_LOCAL_VARIABLE | 7688 * INLINE_LOCAL_VARIABLE |
| 7689 * INLINE_METHOD | 7689 * INLINE_METHOD |
| 7690 * MOVE_FILE | 7690 * MOVE_FILE |
| 7691 * RENAME | 7691 * RENAME |
| 7692 * SORT_MEMBERS | 7692 * SORT_MEMBERS |
| 7693 * } | 7693 * } |
| 7694 */ | 7694 */ |
| 7695 class RefactoringKind { | 7695 class RefactoringKind implements Enum { |
| 7696 static const CONVERT_GETTER_TO_METHOD = const RefactoringKind._("CONVERT_GETTE
R_TO_METHOD"); | 7696 static const CONVERT_GETTER_TO_METHOD = const RefactoringKind._("CONVERT_GETTE
R_TO_METHOD"); |
| 7697 | 7697 |
| 7698 static const CONVERT_METHOD_TO_GETTER = const RefactoringKind._("CONVERT_METHO
D_TO_GETTER"); | 7698 static const CONVERT_METHOD_TO_GETTER = const RefactoringKind._("CONVERT_METHO
D_TO_GETTER"); |
| 7699 | 7699 |
| 7700 static const EXTRACT_LOCAL_VARIABLE = const RefactoringKind._("EXTRACT_LOCAL_V
ARIABLE"); | 7700 static const EXTRACT_LOCAL_VARIABLE = const RefactoringKind._("EXTRACT_LOCAL_V
ARIABLE"); |
| 7701 | 7701 |
| 7702 static const EXTRACT_METHOD = const RefactoringKind._("EXTRACT_METHOD"); | 7702 static const EXTRACT_METHOD = const RefactoringKind._("EXTRACT_METHOD"); |
| 7703 | 7703 |
| 7704 static const INLINE_LOCAL_VARIABLE = const RefactoringKind._("INLINE_LOCAL_VAR
IABLE"); | 7704 static const INLINE_LOCAL_VARIABLE = const RefactoringKind._("INLINE_LOCAL_VAR
IABLE"); |
| 7705 | 7705 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7951 | 7951 |
| 7952 /** | 7952 /** |
| 7953 * RefactoringMethodParameterKind | 7953 * RefactoringMethodParameterKind |
| 7954 * | 7954 * |
| 7955 * enum { | 7955 * enum { |
| 7956 * REQUIRED | 7956 * REQUIRED |
| 7957 * POSITIONAL | 7957 * POSITIONAL |
| 7958 * NAMED | 7958 * NAMED |
| 7959 * } | 7959 * } |
| 7960 */ | 7960 */ |
| 7961 class RefactoringMethodParameterKind { | 7961 class RefactoringMethodParameterKind implements Enum { |
| 7962 static const REQUIRED = const RefactoringMethodParameterKind._("REQUIRED"); | 7962 static const REQUIRED = const RefactoringMethodParameterKind._("REQUIRED"); |
| 7963 | 7963 |
| 7964 static const POSITIONAL = const RefactoringMethodParameterKind._("POSITIONAL")
; | 7964 static const POSITIONAL = const RefactoringMethodParameterKind._("POSITIONAL")
; |
| 7965 | 7965 |
| 7966 static const NAMED = const RefactoringMethodParameterKind._("NAMED"); | 7966 static const NAMED = const RefactoringMethodParameterKind._("NAMED"); |
| 7967 | 7967 |
| 7968 final String name; | 7968 final String name; |
| 7969 | 7969 |
| 7970 const RefactoringMethodParameterKind._(this.name); | 7970 const RefactoringMethodParameterKind._(this.name); |
| 7971 | 7971 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8090 /** | 8090 /** |
| 8091 * RefactoringProblemSeverity | 8091 * RefactoringProblemSeverity |
| 8092 * | 8092 * |
| 8093 * enum { | 8093 * enum { |
| 8094 * INFO | 8094 * INFO |
| 8095 * WARNING | 8095 * WARNING |
| 8096 * ERROR | 8096 * ERROR |
| 8097 * FATAL | 8097 * FATAL |
| 8098 * } | 8098 * } |
| 8099 */ | 8099 */ |
| 8100 class RefactoringProblemSeverity { | 8100 class RefactoringProblemSeverity implements Enum { |
| 8101 static const INFO = const RefactoringProblemSeverity._("INFO"); | 8101 static const INFO = const RefactoringProblemSeverity._("INFO"); |
| 8102 | 8102 |
| 8103 static const WARNING = const RefactoringProblemSeverity._("WARNING"); | 8103 static const WARNING = const RefactoringProblemSeverity._("WARNING"); |
| 8104 | 8104 |
| 8105 static const ERROR = const RefactoringProblemSeverity._("ERROR"); | 8105 static const ERROR = const RefactoringProblemSeverity._("ERROR"); |
| 8106 | 8106 |
| 8107 static const FATAL = const RefactoringProblemSeverity._("FATAL"); | 8107 static const FATAL = const RefactoringProblemSeverity._("FATAL"); |
| 8108 | 8108 |
| 8109 final String name; | 8109 final String name; |
| 8110 | 8110 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8294 * INVALID_REQUEST | 8294 * INVALID_REQUEST |
| 8295 * SERVER_ALREADY_STARTED | 8295 * SERVER_ALREADY_STARTED |
| 8296 * SERVER_ERROR | 8296 * SERVER_ERROR |
| 8297 * SORT_MEMBERS_INVALID_FILE | 8297 * SORT_MEMBERS_INVALID_FILE |
| 8298 * SORT_MEMBERS_PARSE_ERRORS | 8298 * SORT_MEMBERS_PARSE_ERRORS |
| 8299 * UNANALYZED_PRIORITY_FILES | 8299 * UNANALYZED_PRIORITY_FILES |
| 8300 * UNKNOWN_REQUEST | 8300 * UNKNOWN_REQUEST |
| 8301 * UNSUPPORTED_FEATURE | 8301 * UNSUPPORTED_FEATURE |
| 8302 * } | 8302 * } |
| 8303 */ | 8303 */ |
| 8304 class RequestErrorCode { | 8304 class RequestErrorCode implements Enum { |
| 8305 /** | 8305 /** |
| 8306 * An "analysis.getErrors" request specified a FilePath which does not match | 8306 * An "analysis.getErrors" request specified a FilePath which does not match |
| 8307 * a file currently subject to analysis. | 8307 * a file currently subject to analysis. |
| 8308 */ | 8308 */ |
| 8309 static const GET_ERRORS_INVALID_FILE = const RequestErrorCode._("GET_ERRORS_IN
VALID_FILE"); | 8309 static const GET_ERRORS_INVALID_FILE = const RequestErrorCode._("GET_ERRORS_IN
VALID_FILE"); |
| 8310 | 8310 |
| 8311 /** | 8311 /** |
| 8312 * An analysis.updateContent request contained a ChangeContentOverlay object | 8312 * An analysis.updateContent request contained a ChangeContentOverlay object |
| 8313 * which can't be applied, due to an edit having an offset or length that is | 8313 * which can't be applied, due to an edit having an offset or length that is |
| 8314 * out of range. | 8314 * out of range. |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8539 * enum { | 8539 * enum { |
| 8540 * DECLARATION | 8540 * DECLARATION |
| 8541 * INVOCATION | 8541 * INVOCATION |
| 8542 * READ | 8542 * READ |
| 8543 * READ_WRITE | 8543 * READ_WRITE |
| 8544 * REFERENCE | 8544 * REFERENCE |
| 8545 * UNKNOWN | 8545 * UNKNOWN |
| 8546 * WRITE | 8546 * WRITE |
| 8547 * } | 8547 * } |
| 8548 */ | 8548 */ |
| 8549 class SearchResultKind { | 8549 class SearchResultKind implements Enum { |
| 8550 /** | 8550 /** |
| 8551 * The declaration of an element. | 8551 * The declaration of an element. |
| 8552 */ | 8552 */ |
| 8553 static const DECLARATION = const SearchResultKind._("DECLARATION"); | 8553 static const DECLARATION = const SearchResultKind._("DECLARATION"); |
| 8554 | 8554 |
| 8555 /** | 8555 /** |
| 8556 * The invocation of a function or method. | 8556 * The invocation of a function or method. |
| 8557 */ | 8557 */ |
| 8558 static const INVOCATION = const SearchResultKind._("INVOCATION"); | 8558 static const INVOCATION = const SearchResultKind._("INVOCATION"); |
| 8559 | 8559 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8624 String toJson() => name; | 8624 String toJson() => name; |
| 8625 } | 8625 } |
| 8626 | 8626 |
| 8627 /** | 8627 /** |
| 8628 * ServerService | 8628 * ServerService |
| 8629 * | 8629 * |
| 8630 * enum { | 8630 * enum { |
| 8631 * STATUS | 8631 * STATUS |
| 8632 * } | 8632 * } |
| 8633 */ | 8633 */ |
| 8634 class ServerService { | 8634 class ServerService implements Enum { |
| 8635 static const STATUS = const ServerService._("STATUS"); | 8635 static const STATUS = const ServerService._("STATUS"); |
| 8636 | 8636 |
| 8637 final String name; | 8637 final String name; |
| 8638 | 8638 |
| 8639 const ServerService._(this.name); | 8639 const ServerService._(this.name); |
| 8640 | 8640 |
| 8641 factory ServerService(String name) { | 8641 factory ServerService(String name) { |
| 8642 switch (name) { | 8642 switch (name) { |
| 8643 case "STATUS": | 8643 case "STATUS": |
| 8644 return STATUS; | 8644 return STATUS; |
| (...skipping 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10233 return false; | 10233 return false; |
| 10234 } | 10234 } |
| 10235 | 10235 |
| 10236 @override | 10236 @override |
| 10237 int get hashCode { | 10237 int get hashCode { |
| 10238 int hash = 0; | 10238 int hash = 0; |
| 10239 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); | 10239 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); |
| 10240 return _JenkinsSmiHash.finish(hash); | 10240 return _JenkinsSmiHash.finish(hash); |
| 10241 } | 10241 } |
| 10242 } | 10242 } |
| OLD | NEW |