| 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'; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 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_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; | 26 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; |
| 27 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; | 27 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; |
| 28 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; | 28 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; |
| 29 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; | 29 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; |
| 30 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; | 30 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; |
| 31 | 31 |
| 32 | |
| 33 // | 32 // |
| 34 // Analysis notifications | 33 // Analysis notifications |
| 35 // | 34 // |
| 36 const String ANALYSIS_ERRORS = 'analysis.errors'; | 35 const String ANALYSIS_ERRORS = 'analysis.errors'; |
| 37 const String ANALYSIS_HIGHLIGHTS = 'analysis.highlights'; | 36 const String ANALYSIS_HIGHLIGHTS = 'analysis.highlights'; |
| 38 const String ANALYSIS_NAVIGATION = 'analysis.navigation'; | 37 const String ANALYSIS_NAVIGATION = 'analysis.navigation'; |
| 39 const String ANALYSIS_OCCURRENCES = 'analysis.occurrences'; | 38 const String ANALYSIS_OCCURRENCES = 'analysis.occurrences'; |
| 40 const String ANALYSIS_OUTLINE = 'analysis.outline'; | 39 const String ANALYSIS_OUTLINE = 'analysis.outline'; |
| 41 const String ANALYSIS_OVERRIDES = 'analysis.overrides'; | 40 const String ANALYSIS_OVERRIDES = 'analysis.overrides'; |
| 42 | 41 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 67 | 66 |
| 68 // | 67 // |
| 69 // Edit methods | 68 // Edit methods |
| 70 // | 69 // |
| 71 const String EDIT_GET_ASSISTS = 'edit.getAssists'; | 70 const String EDIT_GET_ASSISTS = 'edit.getAssists'; |
| 72 const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings'; | 71 const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings'; |
| 73 const String EDIT_GET_FIXES = 'edit.getFixes'; | 72 const String EDIT_GET_FIXES = 'edit.getFixes'; |
| 74 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; | 73 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; |
| 75 | 74 |
| 76 // | 75 // |
| 76 // Execution methods |
| 77 // |
| 78 const String EXECUTION_CREATE_CONTEXT = 'execution.createContext'; |
| 79 const String EXECUTION_DELETE_CONTEXT = 'execution.deleteContext'; |
| 80 const String EXECUTION_MAP_URI = 'execution.mapUri'; |
| 81 const String EXECUTION_SET_SUBSCRIPTIONS = 'execution.setSubscriptions'; |
| 82 |
| 83 // |
| 84 // Execution notifications |
| 85 // |
| 86 const String EXECUTION_LAUNCH_DATA = 'execution.launchData'; |
| 87 |
| 88 // |
| 77 // Analysis option names | 89 // Analysis option names |
| 78 // | 90 // |
| 79 const String ANALYZE_ANGULAR = 'analyzeAngular'; // boolean | 91 const String ANALYZE_ANGULAR = 'analyzeAngular'; // boolean |
| 80 const String ANALYZE_POLYMER = 'analyzePolymer'; // boolean | 92 const String ANALYZE_POLYMER = 'analyzePolymer'; // boolean |
| 81 const String ENABLE_ASYNC = 'enableAsync'; // boolean | 93 const String ENABLE_ASYNC = 'enableAsync'; // boolean |
| 82 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean | 94 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean |
| 83 const String ENABLE_ENUMS = 'enableEnums'; // boolean | 95 const String ENABLE_ENUMS = 'enableEnums'; // boolean |
| 84 const String GENERATE_DART2JS_HINTS = 'generateDart2jsHints'; // boolean | 96 const String GENERATE_DART2JS_HINTS = 'generateDart2jsHints'; // boolean |
| 85 const String GENERATE_HINTS = 'generateHints'; // boolean | 97 const String GENERATE_HINTS = 'generateHints'; // boolean |
| 86 | 98 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 const String STATIC_TYPE = 'staticType'; | 181 const String STATIC_TYPE = 'staticType'; |
| 170 const String SUBCLASSES = 'subclasses'; | 182 const String SUBCLASSES = 'subclasses'; |
| 171 const String SUBSCRIPTIONS = 'subscriptions'; | 183 const String SUBSCRIPTIONS = 'subscriptions'; |
| 172 const String SUGGESTIONS = 'suggestions'; | 184 const String SUGGESTIONS = 'suggestions'; |
| 173 const String SUPERCLASS = 'superclass'; | 185 const String SUPERCLASS = 'superclass'; |
| 174 const String SUPER_CLASS_MEMBER = 'superclassMember'; | 186 const String SUPER_CLASS_MEMBER = 'superclassMember'; |
| 175 const String TARGETS = 'targets'; | 187 const String TARGETS = 'targets'; |
| 176 const String TYPE = 'type'; | 188 const String TYPE = 'type'; |
| 177 const String VALUE = 'value'; | 189 const String VALUE = 'value'; |
| 178 const String VERSION = 'version'; | 190 const String VERSION = 'version'; |
| OLD | NEW |