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 ADD = 'add'; | 10 const String ADD = 'add'; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; | 90 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; |
91 const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives'; | 91 const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives'; |
92 const String EDIT_SORT_MEMBERS = 'edit.sortMembers'; | 92 const String EDIT_SORT_MEMBERS = 'edit.sortMembers'; |
93 | 93 |
94 // | 94 // |
95 // Execution notifications | 95 // Execution notifications |
96 // | 96 // |
97 const String EDITS = 'edits'; | 97 const String EDITS = 'edits'; |
98 | 98 |
99 // | 99 // |
| 100 // Diagnostics methods |
| 101 // |
| 102 const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics'; |
| 103 const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort'; |
| 104 |
| 105 // |
100 // Analysis option names | 106 // Analysis option names |
101 // | 107 // |
102 const String ELEMENT = 'element'; // boolean | 108 const String ELEMENT = 'element'; // boolean |
103 const String ELEMENT_DESCRIPTION = 'elementDescription'; // boolean | 109 const String ELEMENT_DESCRIPTION = 'elementDescription'; // boolean |
104 const String ELEMENT_KIND = 'elementKind'; // boolean | 110 const String ELEMENT_KIND = 'elementKind'; // boolean |
105 const String ENABLE_ASYNC = 'enableAsync'; // boolean | 111 const String ENABLE_ASYNC = 'enableAsync'; // boolean |
106 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean | 112 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean |
107 | 113 |
108 // | 114 // |
109 // Property names | 115 // Property names |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 const String STATIC_TYPE = 'staticType'; | 198 const String STATIC_TYPE = 'staticType'; |
193 const String SUBCLASSES = 'subclasses'; | 199 const String SUBCLASSES = 'subclasses'; |
194 const String SUBSCRIPTIONS = 'subscriptions'; | 200 const String SUBSCRIPTIONS = 'subscriptions'; |
195 const String SUGGESTIONS = 'suggestions'; | 201 const String SUGGESTIONS = 'suggestions'; |
196 const String SUPER_CLASS_MEMBER = 'superclassMember'; | 202 const String SUPER_CLASS_MEMBER = 'superclassMember'; |
197 const String SUPERCLASS = 'superclass'; | 203 const String SUPERCLASS = 'superclass'; |
198 const String TARGETS = 'targets'; | 204 const String TARGETS = 'targets'; |
199 const String TYPE = 'type'; | 205 const String TYPE = 'type'; |
200 const String VALUE = 'value'; | 206 const String VALUE = 'value'; |
201 const String VERSION = 'version'; | 207 const String VERSION = 'version'; |
OLD | NEW |