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_REANALYZE = 'analysis.reanalyze'; | 29 const String ANALYSIS_REANALYZE = 'analysis.reanalyze'; |
29 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; | 30 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; |
30 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; | 31 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; |
31 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; | 32 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; |
32 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; | 33 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; |
33 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; | 34 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; |
34 | 35 |
35 // | 36 // |
36 // Analysis notifications | 37 // Analysis notifications |
37 // | 38 // |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 const String STATIC_TYPE = 'staticType'; | 185 const String STATIC_TYPE = 'staticType'; |
185 const String SUBCLASSES = 'subclasses'; | 186 const String SUBCLASSES = 'subclasses'; |
186 const String SUBSCRIPTIONS = 'subscriptions'; | 187 const String SUBSCRIPTIONS = 'subscriptions'; |
187 const String SUGGESTIONS = 'suggestions'; | 188 const String SUGGESTIONS = 'suggestions'; |
188 const String SUPERCLASS = 'superclass'; | 189 const String SUPERCLASS = 'superclass'; |
189 const String SUPER_CLASS_MEMBER = 'superclassMember'; | 190 const String SUPER_CLASS_MEMBER = 'superclassMember'; |
190 const String TARGETS = 'targets'; | 191 const String TARGETS = 'targets'; |
191 const String TYPE = 'type'; | 192 const String TYPE = 'type'; |
192 const String VALUE = 'value'; | 193 const String VALUE = 'value'; |
193 const String VERSION = 'version'; | 194 const String VERSION = 'version'; |
OLD | NEW |