Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: pkg/analysis_server/lib/src/constants.dart

Issue 362893004: Implementation for 'analysis.getHover'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 // 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_HOVER = 'analysis.getHover';
24 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; 25 const String ANALYSIS_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots';
25 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; 26 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles';
26 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; 27 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions';
27 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; 28 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent';
28 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; 29 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions';
29 const String ANALYSIS_UPDATE_SDKS = 'analysis.updateSdks'; 30 const String ANALYSIS_UPDATE_SDKS = 'analysis.updateSdks';
30 31
31 // 32 //
32 // Analysis notifications 33 // Analysis notifications
33 // 34 //
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 const String EDIT_GET_ASSISTS = 'edit.getAssists'; 70 const String EDIT_GET_ASSISTS = 'edit.getAssists';
70 const String EDIT_GET_FIXES = 'edit.getFixes'; 71 const String EDIT_GET_FIXES = 'edit.getFixes';
71 const String EDIT_GET_REFACTORINGS = 'edit.getRefactorings'; 72 const String EDIT_GET_REFACTORINGS = 'edit.getRefactorings';
72 const String EDIT_SET_REFACTORING_OPTIONS = 'edit.setRefactoringOptions'; 73 const String EDIT_SET_REFACTORING_OPTIONS = 'edit.setRefactoringOptions';
73 74
74 // 75 //
75 // Property names 76 // Property names
76 // 77 //
77 const String ADDED = 'added'; 78 const String ADDED = 'added';
78 const String CHILDREN = 'children'; 79 const String CHILDREN = 'children';
80 const String CONTAINING_LIBRARY_NAME = 'containingLibraryName';
81 const String CONTAINING_LIBRARY_PATH = 'containingLibraryPath';
79 const String CONTENT = 'content'; 82 const String CONTENT = 'content';
80 const String CORRECTION = 'correction'; 83 const String CORRECTION = 'correction';
84 const String DART_DOC = 'dartdoc';
81 const String DEFAULT = 'default'; 85 const String DEFAULT = 'default';
82 const String ELEMENT = 'element'; 86 const String ELEMENT = 'element';
87 const String ELEMENT_DESCRIPTION = 'elementDescription';
83 const String EXCLUDED = 'excluded'; 88 const String EXCLUDED = 'excluded';
84 const String ERROR_CODE = 'errorCode'; 89 const String ERROR_CODE = 'errorCode';
85 const String ERRORS = 'errors'; 90 const String ERRORS = 'errors';
86 const String FILE = 'file'; 91 const String FILE = 'file';
87 const String FILES = 'files'; 92 const String FILES = 'files';
88 const String FIXES = 'fixes'; 93 const String FIXES = 'fixes';
89 const String FLAGS = 'flags'; 94 const String FLAGS = 'flags';
95 const String HOVERS = 'hovers';
90 const String ID = 'id'; 96 const String ID = 'id';
91 const String INCLUDED = 'included'; 97 const String INCLUDED = 'included';
92 const String IS_ABSTRACT = 'isAbstract'; 98 const String IS_ABSTRACT = 'isAbstract';
93 const String IS_STATIC = 'isStatic'; 99 const String IS_STATIC = 'isStatic';
94 const String KIND = 'kind'; 100 const String KIND = 'kind';
95 const String LENGTH = 'length'; 101 const String LENGTH = 'length';
96 const String LOCATION = 'location'; 102 const String LOCATION = 'location';
97 const String MESSAGE = 'message'; 103 const String MESSAGE = 'message';
98 const String NAME = 'name'; 104 const String NAME = 'name';
99 const String NEW_LENGTH = 'newLength'; 105 const String NEW_LENGTH = 'newLength';
100 const String OFFSET = 'offset'; 106 const String OFFSET = 'offset';
101 const String OLD_LENGTH = 'oldLength'; 107 const String OLD_LENGTH = 'oldLength';
102 const String OPTIONS = 'options'; 108 const String OPTIONS = 'options';
103 const String OUTLINE = 'outline'; 109 const String OUTLINE = 'outline';
110 const String PARAMETER = 'parameter';
104 const String PARAMETERS = 'parameters'; 111 const String PARAMETERS = 'parameters';
105 const String PATTERN = 'pattern'; 112 const String PATTERN = 'pattern';
113 const String PROPAGATED_TYPE = 'propagatedType';
106 const String REFACTORINGS = 'refactorings'; 114 const String REFACTORINGS = 'refactorings';
107 const String REGIONS = 'regions'; 115 const String REGIONS = 'regions';
108 const String REMOVED = 'removed'; 116 const String REMOVED = 'removed';
109 const String RETURN_TYPE = 'returnType'; 117 const String RETURN_TYPE = 'returnType';
110 const String SEVERITY = 'severity'; 118 const String SEVERITY = 'severity';
111 const String START_COLUMN = 'startColumn'; 119 const String START_COLUMN = 'startColumn';
112 const String START_LINE = 'startLine'; 120 const String START_LINE = 'startLine';
121 const String STATIC_TYPE = 'staticType';
113 const String SUBSCRIPTIONS = 'subscriptions'; 122 const String SUBSCRIPTIONS = 'subscriptions';
114 const String TARGETS = 'targets'; 123 const String TARGETS = 'targets';
115 const String TYPE = 'type'; 124 const String TYPE = 'type';
116 const String VERSION = 'version'; 125 const String VERSION = 'version';
117 126
118 // 127 //
119 // Analysis option names 128 // Analysis option names
120 // 129 //
121 const String ANALYZE_ANGULAR = 'analyzeAngular'; // boolean 130 const String ANALYZE_ANGULAR = 'analyzeAngular'; // boolean
122 const String ANALYZE_POLYMER = 'analyzePolymer'; // boolean 131 const String ANALYZE_POLYMER = 'analyzePolymer'; // boolean
123 const String ENABLE_ASYNC = 'enableAsync'; // boolean 132 const String ENABLE_ASYNC = 'enableAsync'; // boolean
124 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean 133 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean
125 const String ENABLE_ENUMS = 'enableEnums'; // boolean 134 const String ENABLE_ENUMS = 'enableEnums'; // boolean
126 const String GENERATE_DART2JS_HINTS = 'generateDart2jsHints'; // boolean 135 const String GENERATE_DART2JS_HINTS = 'generateDart2jsHints'; // boolean
127 const String GENERATE_HINTS = 'generateHints'; // boolean 136 const String GENERATE_HINTS = 'generateHints'; // boolean
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/computer/computer_hover.dart ('k') | pkg/analysis_server/lib/src/domain_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698