| 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 = |
| 27 'analysis.getLibraryDependencies'; |
| 26 const String ANALYSIS_REANALYZE = 'analysis.reanalyze'; | 28 const String ANALYSIS_REANALYZE = 'analysis.reanalyze'; |
| 27 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; | 29 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; |
| 28 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; | 30 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; |
| 29 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; | 31 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; |
| 30 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; | 32 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; |
| 31 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; | 33 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; |
| 32 | 34 |
| 33 // | 35 // |
| 34 // Analysis notifications | 36 // Analysis notifications |
| 35 // | 37 // |
| (...skipping 13 matching lines...) Expand all Loading... |
| 49 // Code Completion notifications | 51 // Code Completion notifications |
| 50 // | 52 // |
| 51 const String COMPLETION_RESULTS = 'completion.results'; | 53 const String COMPLETION_RESULTS = 'completion.results'; |
| 52 | 54 |
| 53 // | 55 // |
| 54 // Search methods | 56 // Search methods |
| 55 // | 57 // |
| 56 const String SEARCH_FIND_ELEMENT_REFERENCES = 'search.findElementReferences'; | 58 const String SEARCH_FIND_ELEMENT_REFERENCES = 'search.findElementReferences'; |
| 57 const String SEARCH_FIND_MEMBER_DECLARATIONS = 'search.findMemberDeclarations'; | 59 const String SEARCH_FIND_MEMBER_DECLARATIONS = 'search.findMemberDeclarations'; |
| 58 const String SEARCH_FIND_MEMBER_REFERENCES = 'search.findMemberReferences'; | 60 const String SEARCH_FIND_MEMBER_REFERENCES = 'search.findMemberReferences'; |
| 59 const String SEARCH_FIND_TOP_LEVEL_DECLARATIONS = 'search.findTopLevelDeclaratio
ns'; | 61 const String SEARCH_FIND_TOP_LEVEL_DECLARATIONS = |
| 62 'search.findTopLevelDeclarations'; |
| 60 const String SEARCH_GET_TYPE_HIERARCHY = 'search.getTypeHierarchy'; | 63 const String SEARCH_GET_TYPE_HIERARCHY = 'search.getTypeHierarchy'; |
| 61 | 64 |
| 62 // | 65 // |
| 63 // Search notifications | 66 // Search notifications |
| 64 // | 67 // |
| 65 const String SEARCH_RESULTS = 'search.results'; | 68 const String SEARCH_RESULTS = 'search.results'; |
| 66 | 69 |
| 67 // | 70 // |
| 68 // Edit methods | 71 // Edit methods |
| 69 // | 72 // |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 const String STATIC_TYPE = 'staticType'; | 184 const String STATIC_TYPE = 'staticType'; |
| 182 const String SUBCLASSES = 'subclasses'; | 185 const String SUBCLASSES = 'subclasses'; |
| 183 const String SUBSCRIPTIONS = 'subscriptions'; | 186 const String SUBSCRIPTIONS = 'subscriptions'; |
| 184 const String SUGGESTIONS = 'suggestions'; | 187 const String SUGGESTIONS = 'suggestions'; |
| 185 const String SUPERCLASS = 'superclass'; | 188 const String SUPERCLASS = 'superclass'; |
| 186 const String SUPER_CLASS_MEMBER = 'superclassMember'; | 189 const String SUPER_CLASS_MEMBER = 'superclassMember'; |
| 187 const String TARGETS = 'targets'; | 190 const String TARGETS = 'targets'; |
| 188 const String TYPE = 'type'; | 191 const String TYPE = 'type'; |
| 189 const String VALUE = 'value'; | 192 const String VALUE = 'value'; |
| 190 const String VERSION = 'version'; | 193 const String VERSION = 'version'; |
| OLD | NEW |