| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'dart:convert' hide JsonDecoder; | 9 import 'dart:convert' hide JsonDecoder; |
| 10 | 10 |
| (...skipping 12993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13004 * RequestErrorCode | 13004 * RequestErrorCode |
| 13005 * | 13005 * |
| 13006 * enum { | 13006 * enum { |
| 13007 * CONTENT_MODIFIED | 13007 * CONTENT_MODIFIED |
| 13008 * DEBUG_PORT_COULD_NOT_BE_OPENED | 13008 * DEBUG_PORT_COULD_NOT_BE_OPENED |
| 13009 * FILE_NOT_ANALYZED | 13009 * FILE_NOT_ANALYZED |
| 13010 * FORMAT_INVALID_FILE | 13010 * FORMAT_INVALID_FILE |
| 13011 * FORMAT_WITH_ERRORS | 13011 * FORMAT_WITH_ERRORS |
| 13012 * GET_ERRORS_INVALID_FILE | 13012 * GET_ERRORS_INVALID_FILE |
| 13013 * GET_IMPORTED_ELEMENTS_INVALID_FILE | 13013 * GET_IMPORTED_ELEMENTS_INVALID_FILE |
| 13014 * GET_KYTHE_ENTRIES_INVALID_FILE |
| 13014 * GET_NAVIGATION_INVALID_FILE | 13015 * GET_NAVIGATION_INVALID_FILE |
| 13015 * GET_REACHABLE_SOURCES_INVALID_FILE | 13016 * GET_REACHABLE_SOURCES_INVALID_FILE |
| 13016 * IMPORT_ELEMENTS_INVALID_FILE | 13017 * IMPORT_ELEMENTS_INVALID_FILE |
| 13017 * INVALID_ANALYSIS_ROOT | 13018 * INVALID_ANALYSIS_ROOT |
| 13018 * INVALID_EXECUTION_CONTEXT | 13019 * INVALID_EXECUTION_CONTEXT |
| 13019 * INVALID_FILE_PATH_FORMAT | 13020 * INVALID_FILE_PATH_FORMAT |
| 13020 * INVALID_OVERLAY_CHANGE | 13021 * INVALID_OVERLAY_CHANGE |
| 13021 * INVALID_PARAMETER | 13022 * INVALID_PARAMETER |
| 13022 * INVALID_REQUEST | 13023 * INVALID_REQUEST |
| 13023 * ORGANIZE_DIRECTIVES_ERROR | 13024 * ORGANIZE_DIRECTIVES_ERROR |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13077 const RequestErrorCode._("GET_ERRORS_INVALID_FILE"); | 13078 const RequestErrorCode._("GET_ERRORS_INVALID_FILE"); |
| 13078 | 13079 |
| 13079 /** | 13080 /** |
| 13080 * An "analysis.getImportedElements" request specified a FilePath that does | 13081 * An "analysis.getImportedElements" request specified a FilePath that does |
| 13081 * not match a file currently subject to analysis. | 13082 * not match a file currently subject to analysis. |
| 13082 */ | 13083 */ |
| 13083 static const RequestErrorCode GET_IMPORTED_ELEMENTS_INVALID_FILE = | 13084 static const RequestErrorCode GET_IMPORTED_ELEMENTS_INVALID_FILE = |
| 13084 const RequestErrorCode._("GET_IMPORTED_ELEMENTS_INVALID_FILE"); | 13085 const RequestErrorCode._("GET_IMPORTED_ELEMENTS_INVALID_FILE"); |
| 13085 | 13086 |
| 13086 /** | 13087 /** |
| 13088 * An "analysis.getKytheEntries" request specified a FilePath that does not |
| 13089 * match a file that is currently subject to analysis. |
| 13090 */ |
| 13091 static const RequestErrorCode GET_KYTHE_ENTRIES_INVALID_FILE = |
| 13092 const RequestErrorCode._("GET_KYTHE_ENTRIES_INVALID_FILE"); |
| 13093 |
| 13094 /** |
| 13087 * An "analysis.getNavigation" request specified a FilePath which does not | 13095 * An "analysis.getNavigation" request specified a FilePath which does not |
| 13088 * match a file currently subject to analysis. | 13096 * match a file currently subject to analysis. |
| 13089 */ | 13097 */ |
| 13090 static const RequestErrorCode GET_NAVIGATION_INVALID_FILE = | 13098 static const RequestErrorCode GET_NAVIGATION_INVALID_FILE = |
| 13091 const RequestErrorCode._("GET_NAVIGATION_INVALID_FILE"); | 13099 const RequestErrorCode._("GET_NAVIGATION_INVALID_FILE"); |
| 13092 | 13100 |
| 13093 /** | 13101 /** |
| 13094 * An "analysis.getReachableSources" request specified a FilePath which does | 13102 * An "analysis.getReachableSources" request specified a FilePath which does |
| 13095 * not match a file currently subject to analysis. | 13103 * not match a file currently subject to analysis. |
| 13096 */ | 13104 */ |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13227 * A list containing all of the enum values that are defined. | 13235 * A list containing all of the enum values that are defined. |
| 13228 */ | 13236 */ |
| 13229 static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[ | 13237 static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[ |
| 13230 CONTENT_MODIFIED, | 13238 CONTENT_MODIFIED, |
| 13231 DEBUG_PORT_COULD_NOT_BE_OPENED, | 13239 DEBUG_PORT_COULD_NOT_BE_OPENED, |
| 13232 FILE_NOT_ANALYZED, | 13240 FILE_NOT_ANALYZED, |
| 13233 FORMAT_INVALID_FILE, | 13241 FORMAT_INVALID_FILE, |
| 13234 FORMAT_WITH_ERRORS, | 13242 FORMAT_WITH_ERRORS, |
| 13235 GET_ERRORS_INVALID_FILE, | 13243 GET_ERRORS_INVALID_FILE, |
| 13236 GET_IMPORTED_ELEMENTS_INVALID_FILE, | 13244 GET_IMPORTED_ELEMENTS_INVALID_FILE, |
| 13245 GET_KYTHE_ENTRIES_INVALID_FILE, |
| 13237 GET_NAVIGATION_INVALID_FILE, | 13246 GET_NAVIGATION_INVALID_FILE, |
| 13238 GET_REACHABLE_SOURCES_INVALID_FILE, | 13247 GET_REACHABLE_SOURCES_INVALID_FILE, |
| 13239 IMPORT_ELEMENTS_INVALID_FILE, | 13248 IMPORT_ELEMENTS_INVALID_FILE, |
| 13240 INVALID_ANALYSIS_ROOT, | 13249 INVALID_ANALYSIS_ROOT, |
| 13241 INVALID_EXECUTION_CONTEXT, | 13250 INVALID_EXECUTION_CONTEXT, |
| 13242 INVALID_FILE_PATH_FORMAT, | 13251 INVALID_FILE_PATH_FORMAT, |
| 13243 INVALID_OVERLAY_CHANGE, | 13252 INVALID_OVERLAY_CHANGE, |
| 13244 INVALID_PARAMETER, | 13253 INVALID_PARAMETER, |
| 13245 INVALID_REQUEST, | 13254 INVALID_REQUEST, |
| 13246 ORGANIZE_DIRECTIVES_ERROR, | 13255 ORGANIZE_DIRECTIVES_ERROR, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 13269 case "FILE_NOT_ANALYZED": | 13278 case "FILE_NOT_ANALYZED": |
| 13270 return FILE_NOT_ANALYZED; | 13279 return FILE_NOT_ANALYZED; |
| 13271 case "FORMAT_INVALID_FILE": | 13280 case "FORMAT_INVALID_FILE": |
| 13272 return FORMAT_INVALID_FILE; | 13281 return FORMAT_INVALID_FILE; |
| 13273 case "FORMAT_WITH_ERRORS": | 13282 case "FORMAT_WITH_ERRORS": |
| 13274 return FORMAT_WITH_ERRORS; | 13283 return FORMAT_WITH_ERRORS; |
| 13275 case "GET_ERRORS_INVALID_FILE": | 13284 case "GET_ERRORS_INVALID_FILE": |
| 13276 return GET_ERRORS_INVALID_FILE; | 13285 return GET_ERRORS_INVALID_FILE; |
| 13277 case "GET_IMPORTED_ELEMENTS_INVALID_FILE": | 13286 case "GET_IMPORTED_ELEMENTS_INVALID_FILE": |
| 13278 return GET_IMPORTED_ELEMENTS_INVALID_FILE; | 13287 return GET_IMPORTED_ELEMENTS_INVALID_FILE; |
| 13288 case "GET_KYTHE_ENTRIES_INVALID_FILE": |
| 13289 return GET_KYTHE_ENTRIES_INVALID_FILE; |
| 13279 case "GET_NAVIGATION_INVALID_FILE": | 13290 case "GET_NAVIGATION_INVALID_FILE": |
| 13280 return GET_NAVIGATION_INVALID_FILE; | 13291 return GET_NAVIGATION_INVALID_FILE; |
| 13281 case "GET_REACHABLE_SOURCES_INVALID_FILE": | 13292 case "GET_REACHABLE_SOURCES_INVALID_FILE": |
| 13282 return GET_REACHABLE_SOURCES_INVALID_FILE; | 13293 return GET_REACHABLE_SOURCES_INVALID_FILE; |
| 13283 case "IMPORT_ELEMENTS_INVALID_FILE": | 13294 case "IMPORT_ELEMENTS_INVALID_FILE": |
| 13284 return IMPORT_ELEMENTS_INVALID_FILE; | 13295 return IMPORT_ELEMENTS_INVALID_FILE; |
| 13285 case "INVALID_ANALYSIS_ROOT": | 13296 case "INVALID_ANALYSIS_ROOT": |
| 13286 return INVALID_ANALYSIS_ROOT; | 13297 return INVALID_ANALYSIS_ROOT; |
| 13287 case "INVALID_EXECUTION_CONTEXT": | 13298 case "INVALID_EXECUTION_CONTEXT": |
| 13288 return INVALID_EXECUTION_CONTEXT; | 13299 return INVALID_EXECUTION_CONTEXT; |
| (...skipping 2491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15780 hash = JenkinsSmiHash.combine(hash, classElement.hashCode); | 15791 hash = JenkinsSmiHash.combine(hash, classElement.hashCode); |
| 15781 hash = JenkinsSmiHash.combine(hash, displayName.hashCode); | 15792 hash = JenkinsSmiHash.combine(hash, displayName.hashCode); |
| 15782 hash = JenkinsSmiHash.combine(hash, memberElement.hashCode); | 15793 hash = JenkinsSmiHash.combine(hash, memberElement.hashCode); |
| 15783 hash = JenkinsSmiHash.combine(hash, superclass.hashCode); | 15794 hash = JenkinsSmiHash.combine(hash, superclass.hashCode); |
| 15784 hash = JenkinsSmiHash.combine(hash, interfaces.hashCode); | 15795 hash = JenkinsSmiHash.combine(hash, interfaces.hashCode); |
| 15785 hash = JenkinsSmiHash.combine(hash, mixins.hashCode); | 15796 hash = JenkinsSmiHash.combine(hash, mixins.hashCode); |
| 15786 hash = JenkinsSmiHash.combine(hash, subclasses.hashCode); | 15797 hash = JenkinsSmiHash.combine(hash, subclasses.hashCode); |
| 15787 return JenkinsSmiHash.finish(hash); | 15798 return JenkinsSmiHash.finish(hash); |
| 15788 } | 15799 } |
| 15789 } | 15800 } |
| OLD | NEW |