| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 const String COMPLETION_RESULTS = 'completion.results'; | 51 const String COMPLETION_RESULTS = 'completion.results'; |
| 52 | 52 |
| 53 // | 53 // |
| 54 // Search methods | 54 // Search methods |
| 55 // | 55 // |
| 56 const String SEARCH_FIND_ELEMENT_REFERENCES = 'search.findElementReferences'; | 56 const String SEARCH_FIND_ELEMENT_REFERENCES = 'search.findElementReferences'; |
| 57 const String SEARCH_FIND_MEMBER_DECLARATIONS = 'search.findMemberDeclarations'; | 57 const String SEARCH_FIND_MEMBER_DECLARATIONS = 'search.findMemberDeclarations'; |
| 58 const String SEARCH_FIND_MEMBER_REFERENCES = 'search.findMemberReferences'; | 58 const String SEARCH_FIND_MEMBER_REFERENCES = 'search.findMemberReferences'; |
| 59 const String SEARCH_FIND_TOP_LEVEL_DECLARATIONS = | 59 const String SEARCH_FIND_TOP_LEVEL_DECLARATIONS = |
| 60 'search.findTopLevelDeclarations'; | 60 'search.findTopLevelDeclarations'; |
| 61 const String SEARCH_GET_TYPE_HIERARCHY = 'search.getTypeHierarchy'; |
| 61 | 62 |
| 62 // | 63 // |
| 63 // Search notifications | 64 // Search notifications |
| 64 // | 65 // |
| 65 const String SEARCH_RESULTS = 'search.results'; | 66 const String SEARCH_RESULTS = 'search.results'; |
| 66 | 67 |
| 67 // | 68 // |
| 68 // Edit methods | 69 // Edit methods |
| 69 // | 70 // |
| 70 const String EDIT_APPLY_REFACTORING = 'edit.applyRefactoring'; | 71 const String EDIT_APPLY_REFACTORING = 'edit.applyRefactoring'; |
| 71 const String EDIT_CREATE_REFACTORING = 'edit.createRefactoring'; | 72 const String EDIT_CREATE_REFACTORING = 'edit.createRefactoring'; |
| 72 const String EDIT_DELETE_REFACTORING = 'edit.deleteRefactoring'; | 73 const String EDIT_DELETE_REFACTORING = 'edit.deleteRefactoring'; |
| 73 const String EDIT_GET_ASSISTS = 'edit.getAssists'; | 74 const String EDIT_GET_ASSISTS = 'edit.getAssists'; |
| 74 const String EDIT_GET_FIXES = 'edit.getFixes'; | 75 const String EDIT_GET_FIXES = 'edit.getFixes'; |
| 75 const String EDIT_GET_REFACTORINGS = 'edit.getRefactorings'; | 76 const String EDIT_GET_REFACTORINGS = 'edit.getRefactorings'; |
| 76 const String EDIT_SET_REFACTORING_OPTIONS = 'edit.setRefactoringOptions'; | 77 const String EDIT_SET_REFACTORING_OPTIONS = 'edit.setRefactoringOptions'; |
| 77 | 78 |
| 78 // | 79 // |
| 79 // Analysis option names | 80 // Analysis option names |
| 80 // | 81 // |
| 81 const String ANALYZE_ANGULAR = 'analyzeAngular'; // boolean | 82 const String ANALYZE_ANGULAR = 'analyzeAngular'; // boolean |
| 82 const String ANALYZE_POLYMER = 'analyzePolymer'; // boolean | 83 const String ANALYZE_POLYMER = 'analyzePolymer'; // boolean |
| 83 const String ENABLE_ASYNC = 'enableAsync'; // boolean | 84 const String ENABLE_ASYNC = 'enableAsync'; // boolean |
| 84 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean | 85 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean |
| 85 const String ENABLE_ENUMS = 'enableEnums'; // boolean | 86 const String ENABLE_ENUMS = 'enableEnums'; // boolean |
| 86 const String GENERATE_DART2JS_HINTS = 'generateDart2jsHints'; // boolean | 87 const String GENERATE_DART2JS_HINTS = 'generateDart2jsHints'; // boolean |
| 87 const String GENERATE_HINTS = 'generateHints'; // boolean | 88 const String GENERATE_HINTS = 'generateHints'; // boolean |
| OLD | NEW |