| 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 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 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // | 68 // |
| 69 const String EDIT_APPLY_REFACTORING = 'edit.applyRefactoring'; | 69 const String EDIT_APPLY_REFACTORING = 'edit.applyRefactoring'; |
| 70 const String EDIT_CREATE_REFACTORING = 'edit.createRefactoring'; | 70 const String EDIT_CREATE_REFACTORING = 'edit.createRefactoring'; |
| 71 const String EDIT_DELETE_REFACTORING = 'edit.deleteRefactoring'; | 71 const String EDIT_DELETE_REFACTORING = 'edit.deleteRefactoring'; |
| 72 const String EDIT_GET_ASSISTS = 'edit.getAssists'; | 72 const String EDIT_GET_ASSISTS = 'edit.getAssists'; |
| 73 const String EDIT_GET_FIXES = 'edit.getFixes'; | 73 const String EDIT_GET_FIXES = 'edit.getFixes'; |
| 74 const String EDIT_GET_REFACTORINGS = 'edit.getRefactorings'; | 74 const String EDIT_GET_REFACTORINGS = 'edit.getRefactorings'; |
| 75 const String EDIT_SET_REFACTORING_OPTIONS = 'edit.setRefactoringOptions'; | 75 const String EDIT_SET_REFACTORING_OPTIONS = 'edit.setRefactoringOptions'; |
| 76 | 76 |
| 77 // | 77 // |
| 78 // Property names | |
| 79 // | |
| 80 const String ADDED = 'added'; | |
| 81 const String CHILDREN = 'children'; | |
| 82 const String COMPLETION = 'completion'; | |
| 83 const String CONTAINING_LIBRARY_NAME = 'containingLibraryName'; | |
| 84 const String CONTAINING_LIBRARY_PATH = 'containingLibraryPath'; | |
| 85 const String CONTENT = 'content'; | |
| 86 const String CORRECTION = 'correction'; | |
| 87 const String DART_DOC = 'dartdoc'; | |
| 88 const String DEFAULT = 'default'; | |
| 89 const String ELEMENT = 'element'; | |
| 90 const String ELEMENT_DESCRIPTION = 'elementDescription'; | |
| 91 const String ELEMENT_KIND = 'elementKind'; | |
| 92 const String EXCLUDED = 'excluded'; | |
| 93 const String ERRORS = 'errors'; | |
| 94 const String FILE = 'file'; | |
| 95 const String FILES = 'files'; | |
| 96 const String FIXES = 'fixes'; | |
| 97 const String FLAGS = 'flags'; | |
| 98 const String HOVERS = 'hovers'; | |
| 99 const String ID = 'id'; | |
| 100 const String INCLUDE_POTENTIAL = 'includePotential'; | |
| 101 const String INCLUDED = 'included'; | |
| 102 const String INTERFACE_ELEMENTS = 'interfaceElements'; | |
| 103 const String IS_ABSTRACT = 'isAbstract'; | |
| 104 const String IS_POTENTIAL = 'isPotential'; | |
| 105 const String IS_STATIC = 'isStatic'; | |
| 106 const String KIND = 'kind'; | |
| 107 const String LAST = 'last'; | |
| 108 const String LENGTH = 'length'; | |
| 109 const String LOCATION = 'location'; | |
| 110 const String MESSAGE = 'message'; | |
| 111 const String NAME = 'name'; | |
| 112 const String NEW_LENGTH = 'newLength'; | |
| 113 const String OCCURRENCES = 'occurrences'; | |
| 114 const String OFFSET = 'offset'; | |
| 115 const String OFFSETS = 'offsets'; | |
| 116 const String OLD_LENGTH = 'oldLength'; | |
| 117 const String OPTIONS = 'options'; | |
| 118 const String OUTLINE = 'outline'; | |
| 119 const String OVERRIDES = 'overrides'; | |
| 120 const String PARAMETER = 'parameter'; | |
| 121 const String PARAMETERS = 'parameters'; | |
| 122 const String PATH = 'path'; | |
| 123 const String PATTERN = 'pattern'; | |
| 124 const String PROPAGATED_TYPE = 'propagatedType'; | |
| 125 const String REFACTORINGS = 'refactorings'; | |
| 126 const String REGIONS = 'regions'; | |
| 127 const String REMOVED = 'removed'; | |
| 128 const String RETURN_TYPE = 'returnType'; | |
| 129 const String RESULTS = 'results'; | |
| 130 const String SEVERITY = 'severity'; | |
| 131 const String START_COLUMN = 'startColumn'; | |
| 132 const String START_LINE = 'startLine'; | |
| 133 const String STATIC_TYPE = 'staticType'; | |
| 134 const String SUBSCRIPTIONS = 'subscriptions'; | |
| 135 const String SUPER_CLASS_ELEMENT = 'superclassElement'; | |
| 136 const String TARGETS = 'targets'; | |
| 137 const String TYPE = 'type'; | |
| 138 const String VERSION = 'version'; | |
| 139 | |
| 140 // | |
| 141 // Analysis option names | 78 // Analysis option names |
| 142 // | 79 // |
| 143 const String ANALYZE_ANGULAR = 'analyzeAngular'; // boolean | 80 const String ANALYZE_ANGULAR = 'analyzeAngular'; // boolean |
| 144 const String ANALYZE_POLYMER = 'analyzePolymer'; // boolean | 81 const String ANALYZE_POLYMER = 'analyzePolymer'; // boolean |
| 145 const String ENABLE_ASYNC = 'enableAsync'; // boolean | 82 const String ENABLE_ASYNC = 'enableAsync'; // boolean |
| 146 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean | 83 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean |
| 147 const String ENABLE_ENUMS = 'enableEnums'; // boolean | 84 const String ENABLE_ENUMS = 'enableEnums'; // boolean |
| 148 const String GENERATE_DART2JS_HINTS = 'generateDart2jsHints'; // boolean | 85 const String GENERATE_DART2JS_HINTS = 'generateDart2jsHints'; // boolean |
| 149 const String GENERATE_HINTS = 'generateHints'; // boolean | 86 const String GENERATE_HINTS = 'generateHints'; // boolean |
| OLD | NEW |