| 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 constants; | 5 library constants; |
| 6 | 6 |
| 7 | 7 |
| 8 // | 8 // |
| 9 // Server methods | 9 // Server methods |
| 10 // | 10 // |
| 11 const String METHOD_GET_VERSION = 'server.getVersion'; | 11 const String METHOD_GET_VERSION = 'server.getVersion'; |
| 12 const String METHOD_SHUTDOWN = 'server.shutdown'; | 12 const String METHOD_SHUTDOWN = 'server.shutdown'; |
| 13 const String METHOD_SET_SERVER_SUBSCRIPTIONS = 'server.setSubscriptions'; |
| 13 | 14 |
| 14 // | 15 // |
| 15 // Analysis methods | 16 // Analysis methods |
| 16 // | 17 // |
| 17 const String METHOD_GET_FIXES = 'analysis.getFixes'; | 18 const String METHOD_GET_FIXES = 'analysis.getFixes'; |
| 18 const String METHOD_GET_MINOR_REFACTORINGS = 'analysis.getMinorRefactorings'; | 19 const String METHOD_GET_MINOR_REFACTORINGS = 'analysis.getMinorRefactorings'
; |
| 19 const String METHOD_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; | 20 const String METHOD_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; |
| 20 const String METHOD_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; | 21 const String METHOD_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; |
| 21 const String METHOD_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; | 22 const String METHOD_SET_ANALYSIS_SUBSCRIPTIONS = 'analysis.setSubscriptions'; |
| 22 const String METHOD_UPDATE_CONTENT = 'analysis.updateContent'; | 23 const String METHOD_UPDATE_CONTENT = 'analysis.updateContent'; |
| 23 const String METHOD_UPDATE_OPTIONS = 'analysis.updateOptions'; | 24 const String METHOD_UPDATE_OPTIONS = 'analysis.updateOptions'; |
| 24 const String METHOD_UPDATE_SDKS = 'analysis.updateSdks'; | 25 const String METHOD_UPDATE_SDKS = 'analysis.updateSdks'; |
| 25 | 26 |
| 26 // | 27 // |
| 27 // Server notifications | 28 // Server notifications |
| 28 // | 29 // |
| 29 const String NOTIFICATION_CONNECTED = 'server.connected'; | 30 const String NOTIFICATION_CONNECTED = 'server.connected'; |
| 30 const String NOTIFICATION_STATUS = 'server.status'; | 31 const String NOTIFICATION_STATUS = 'server.status'; |
| 31 | 32 |
| 32 // | 33 // |
| 33 // Analysis notifications | 34 // Analysis notifications |
| 34 // | 35 // |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 const String CHANGES_PARAM = 'changes'; | 69 const String CHANGES_PARAM = 'changes'; |
| 69 const String CONTEXT_ID_PARAM = 'contextId'; | 70 const String CONTEXT_ID_PARAM = 'contextId'; |
| 70 const String MODIFIED_PARAM = "modified"; | 71 const String MODIFIED_PARAM = "modified"; |
| 71 const String SOURCES_PARAM = 'sources'; | 72 const String SOURCES_PARAM = 'sources'; |
| 72 const String CACHE_SIZE_OPTION = 'cacheSize'; | 73 const String CACHE_SIZE_OPTION = 'cacheSize'; |
| 73 const String GENERATE_HINTS_OPTION = 'generateHints'; | 74 const String GENERATE_HINTS_OPTION = 'generateHints'; |
| 74 const String GENERATE_DART2JS_OPTION = 'generateDart2jsHints'; | 75 const String GENERATE_DART2JS_OPTION = 'generateDart2jsHints'; |
| 75 const String PROVIDE_ERRORS_OPTION = 'provideErrors'; | 76 const String PROVIDE_ERRORS_OPTION = 'provideErrors'; |
| 76 const String PROVIDE_NAVIGATION_OPTION = 'provideNavigation'; | 77 const String PROVIDE_NAVIGATION_OPTION = 'provideNavigation'; |
| 77 const String PROVIDE_OUTLINE_OPTION = 'provideOutline'; | 78 const String PROVIDE_OUTLINE_OPTION = 'provideOutline'; |
| OLD | NEW |