| 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_HOVER = 'analysis.getHover'; | 25 const String ANALYSIS_GET_HOVER = 'analysis.getHover'; |
| 25 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; | 26 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; |
| 26 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; | 27 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; |
| 27 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; | 28 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; |
| 28 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; | 29 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; |
| 29 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; | 30 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; |
| 30 const String ANALYSIS_UPDATE_SDKS = 'analysis.updateSdks'; | 31 const String ANALYSIS_UPDATE_SDKS = 'analysis.updateSdks'; |
| 31 | 32 |
| 32 // | 33 // |
| 33 // Analysis notifications | 34 // Analysis notifications |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // | 78 // |
| 78 // Analysis option names | 79 // Analysis option names |
| 79 // | 80 // |
| 80 const String ANALYZE_ANGULAR = 'analyzeAngular'; // boolean | 81 const String ANALYZE_ANGULAR = 'analyzeAngular'; // boolean |
| 81 const String ANALYZE_POLYMER = 'analyzePolymer'; // boolean | 82 const String ANALYZE_POLYMER = 'analyzePolymer'; // boolean |
| 82 const String ENABLE_ASYNC = 'enableAsync'; // boolean | 83 const String ENABLE_ASYNC = 'enableAsync'; // boolean |
| 83 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean | 84 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean |
| 84 const String ENABLE_ENUMS = 'enableEnums'; // boolean | 85 const String ENABLE_ENUMS = 'enableEnums'; // boolean |
| 85 const String GENERATE_DART2JS_HINTS = 'generateDart2jsHints'; // boolean | 86 const String GENERATE_DART2JS_HINTS = 'generateDart2jsHints'; // boolean |
| 86 const String GENERATE_HINTS = 'generateHints'; // boolean | 87 const String GENERATE_HINTS = 'generateHints'; // boolean |
| OLD | NEW |