| 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 library server.constants; | 5 library server.constants; |
| 6 | 6 |
| 7 // | 7 // |
| 8 // Server methods | 8 // Server methods |
| 9 // | 9 // |
| 10 const String SERVER_GET_VERSION = 'server.getVersion'; | 10 const String SERVER_GET_VERSION = 'server.getVersion'; |
| 11 const String SERVER_SHUTDOWN = 'server.shutdown'; | 11 const String SERVER_SHUTDOWN = 'server.shutdown'; |
| 12 const String SERVER_SET_SUBSCRIPTIONS = 'server.setSubscriptions'; | 12 const String SERVER_SET_SUBSCRIPTIONS = 'server.setSubscriptions'; |
| 13 | 13 |
| 14 // | 14 // |
| 15 // Server notifications | 15 // Server notifications |
| 16 // | 16 // |
| 17 const String SERVER_CONNECTED = 'server.connected'; | 17 const String SERVER_CONNECTED = 'server.connected'; |
| 18 const String SERVER_ERROR = 'server.error'; | 18 const String SERVER_ERROR = 'server.error'; |
| 19 const String SERVER_STATUS = 'server.status'; | 19 const String SERVER_STATUS = 'server.status'; |
| 20 | 20 |
| 21 // | 21 // |
| 22 // Analysis methods | 22 // Analysis methods |
| 23 // | 23 // |
| 24 const String ANALYSIS_GET_ERRORS = 'analysis.getErrors'; | 24 const String ANALYSIS_GET_ERRORS = 'analysis.getErrors'; |
| 25 const String ANALYSIS_GET_HOVER = 'analysis.getHover'; | 25 const String ANALYSIS_GET_HOVER = 'analysis.getHover'; |
| 26 const String ANALYSIS_GET_LIBRARY_DEPENDENCIES = | 26 const String ANALYSIS_GET_LIBRARY_DEPENDENCIES = |
| 27 'analysis.getLibraryDependencies'; | 27 'analysis.getLibraryDependencies'; |
| 28 const String ANALYSIS_GET_NAVIGATION = 'analysis.getNavigation'; | 28 const String ANALYSIS_GET_NAVIGATION = 'analysis.getNavigation'; |
| 29 const String ANALYSIS_GET_REACHABLE_SOURCES = 'analysis.getReachableSources'; |
| 29 const String ANALYSIS_REANALYZE = 'analysis.reanalyze'; | 30 const String ANALYSIS_REANALYZE = 'analysis.reanalyze'; |
| 30 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; | 31 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; |
| 31 const String ANALYSIS_SET_GENERAL_SUBSCRIPTIONS = | 32 const String ANALYSIS_SET_GENERAL_SUBSCRIPTIONS = |
| 32 'analysis.setGeneralSubscriptions'; | 33 'analysis.setGeneralSubscriptions'; |
| 33 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; | 34 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; |
| 34 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; | 35 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; |
| 35 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; | 36 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; |
| 36 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; | 37 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; |
| 37 | 38 |
| 38 // | 39 // |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 const String STATIC_TYPE = 'staticType'; | 192 const String STATIC_TYPE = 'staticType'; |
| 192 const String SUBCLASSES = 'subclasses'; | 193 const String SUBCLASSES = 'subclasses'; |
| 193 const String SUBSCRIPTIONS = 'subscriptions'; | 194 const String SUBSCRIPTIONS = 'subscriptions'; |
| 194 const String SUGGESTIONS = 'suggestions'; | 195 const String SUGGESTIONS = 'suggestions'; |
| 195 const String SUPERCLASS = 'superclass'; | 196 const String SUPERCLASS = 'superclass'; |
| 196 const String SUPER_CLASS_MEMBER = 'superclassMember'; | 197 const String SUPER_CLASS_MEMBER = 'superclassMember'; |
| 197 const String TARGETS = 'targets'; | 198 const String TARGETS = 'targets'; |
| 198 const String TYPE = 'type'; | 199 const String TYPE = 'type'; |
| 199 const String VALUE = 'value'; | 200 const String VALUE = 'value'; |
| 200 const String VERSION = 'version'; | 201 const String VERSION = 'version'; |
| OLD | NEW |