| 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 // |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 // | 33 // |
| 34 // Analysis notifications | 34 // Analysis notifications |
| 35 // | 35 // |
| 36 const String NOTIFICATION_ERRORS = 'analysis.errors'; | 36 const String NOTIFICATION_ERRORS = 'analysis.errors'; |
| 37 const String NOTIFICATION_HIGHLIGHTS = 'analysis.highlights'; | 37 const String NOTIFICATION_HIGHLIGHTS = 'analysis.highlights'; |
| 38 const String NOTIFICATION_NAVIGATION = 'analysis.navigation'; | 38 const String NOTIFICATION_NAVIGATION = 'analysis.navigation'; |
| 39 const String NOTIFICATION_OUTLINE = 'analysis.outline'; | 39 const String NOTIFICATION_OUTLINE = 'analysis.outline'; |
| 40 | 40 |
| 41 | 41 |
| 42 const String ADDED = 'added'; | 42 const String ADDED = 'added'; |
| 43 const String ARGUMENTS = 'arguments'; | |
| 44 const String CHILDREN = 'children'; | 43 const String CHILDREN = 'children'; |
| 45 const String CONTENT = 'content'; | 44 const String CONTENT = 'content'; |
| 46 const String DEFAULT = 'default'; | 45 const String DEFAULT = 'default'; |
| 47 const String ELEMENT_LENGTH = 'elementLength'; | 46 const String ELEMENT_LENGTH = 'elementLength'; |
| 48 const String ELEMENT_OFFSET = 'elementOffset'; | 47 const String ELEMENT_OFFSET = 'elementOffset'; |
| 49 const String EXCLUDED = 'excluded'; | 48 const String EXCLUDED = 'excluded'; |
| 50 const String ERRORS = 'errors'; | 49 const String ERRORS = 'errors'; |
| 51 const String FILE = 'file'; | 50 const String FILE = 'file'; |
| 52 const String FILES = 'files'; | 51 const String FILES = 'files'; |
| 53 const String FIXES = 'fixes'; | 52 const String FIXES = 'fixes'; |
| 54 const String INCLUDED = 'included'; | 53 const String INCLUDED = 'included'; |
| 55 const String IS_ABSTRACT = 'isAbstract'; | 54 const String IS_ABSTRACT = 'isAbstract'; |
| 56 const String IS_STATIC = 'isStatic'; | 55 const String IS_STATIC = 'isStatic'; |
| 57 const String KIND = 'kind'; | 56 const String KIND = 'kind'; |
| 58 const String LENGTH = 'length'; | 57 const String LENGTH = 'length'; |
| 59 const String NAME = 'name'; | 58 const String NAME = 'name'; |
| 60 const String NAME_LENGTH = 'nameLength'; | 59 const String NAME_LENGTH = 'nameLength'; |
| 61 const String NAME_OFFSET = 'nameOffset'; | 60 const String NAME_OFFSET = 'nameOffset'; |
| 62 const String NEW_LENGTH = 'newLength'; | 61 const String NEW_LENGTH = 'newLength'; |
| 63 const String OFFSET = 'offset'; | 62 const String OFFSET = 'offset'; |
| 64 const String OLD_LENGTH = 'oldLength'; | 63 const String OLD_LENGTH = 'oldLength'; |
| 65 const String OPTIONS = 'options'; | 64 const String OPTIONS = 'options'; |
| 66 const String OUTLINE = 'outline'; | 65 const String OUTLINE = 'outline'; |
| 66 const String PARAMETERS = 'parameters'; |
| 67 const String REFACTORINGS = 'refactorings'; | 67 const String REFACTORINGS = 'refactorings'; |
| 68 const String REGIONS = 'regions'; | 68 const String REGIONS = 'regions'; |
| 69 const String REMOVED = 'removed'; | 69 const String REMOVED = 'removed'; |
| 70 const String RETURN_TYPE = 'returnType'; | 70 const String RETURN_TYPE = 'returnType'; |
| 71 const String SUBSCRIPTIONS = 'subscriptions'; | 71 const String SUBSCRIPTIONS = 'subscriptions'; |
| 72 const String VERSION = 'version'; | 72 const String VERSION = 'version'; |
| 73 | 73 |
| 74 | 74 |
| 75 // TODO(scheglov) remove it with ContextDomain | 75 // TODO(scheglov) remove it with ContextDomain |
| 76 const String APPLY_CHANGES_NAME = 'context.applyChanges'; | 76 const String APPLY_CHANGES_NAME = 'context.applyChanges'; |
| 77 const String GET_FIXES_NAME = 'context.getFixes'; | 77 const String GET_FIXES_NAME = 'context.getFixes'; |
| 78 const String SET_OPTIONS_NAME = 'context.setOptions'; | 78 const String SET_OPTIONS_NAME = 'context.setOptions'; |
| 79 const String SET_PRIORITY_SOURCES_NAME = 'context.setPrioritySources'; | 79 const String SET_PRIORITY_SOURCES_NAME = 'context.setPrioritySources'; |
| 80 const String CHANGES_PARAM = 'changes'; | 80 const String CHANGES_PARAM = 'changes'; |
| 81 const String CONTEXT_ID_PARAM = 'contextId'; | 81 const String CONTEXT_ID_PARAM = 'contextId'; |
| 82 const String MODIFIED_PARAM = "modified"; | 82 const String MODIFIED_PARAM = "modified"; |
| 83 const String SOURCES_PARAM = 'sources'; | 83 const String SOURCES_PARAM = 'sources'; |
| 84 const String CACHE_SIZE_OPTION = 'cacheSize'; | 84 const String CACHE_SIZE_OPTION = 'cacheSize'; |
| 85 const String GENERATE_HINTS_OPTION = 'generateHints'; | 85 const String GENERATE_HINTS_OPTION = 'generateHints'; |
| 86 const String GENERATE_DART2JS_OPTION = 'generateDart2jsHints'; | 86 const String GENERATE_DART2JS_OPTION = 'generateDart2jsHints'; |
| 87 const String PROVIDE_ERRORS_OPTION = 'provideErrors'; | 87 const String PROVIDE_ERRORS_OPTION = 'provideErrors'; |
| 88 const String PROVIDE_NAVIGATION_OPTION = 'provideNavigation'; | 88 const String PROVIDE_NAVIGATION_OPTION = 'provideNavigation'; |
| 89 const String PROVIDE_OUTLINE_OPTION = 'provideOutline'; | 89 const String PROVIDE_OUTLINE_OPTION = 'provideOutline'; |
| OLD | NEW |