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

Side by Side Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/FindElementReferencesConsumer.java

Issue 542323003: Search domain implementation in the Remote java server, using generated types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove some now unused classes Created 6 years, 3 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 /* 1 /*
2 * Copyright (c) 2014, the Dart project authors. 2 * Copyright (c) 2014, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
11 * or implied. See the License for the specific language governing permissions a nd limitations under 11 * or implied. See the License for the specific language governing permissions a nd limitations under
12 * the License. 12 * the License.
13 */ 13 */
14 package com.google.dart.server; 14 package com.google.dart.server;
15 15
16 import com.google.dart.server.generated.types.Element;
17
16 /** 18 /**
17 * The interface {@code FindElementReferencesConsumer} defines the behavior of o bjects that .. TODO 19 * The interface {@code FindElementReferencesConsumer} defines the behavior of o bjects consume the
scheglov 2014/09/06 17:52:41 Maybe "that consume" or "consuming"? Here and in o
20 * find element references request.
18 * 21 *
19 * @coverage dart.server 22 * @coverage dart.server
20 */ 23 */
21 public class FindElementReferencesConsumer implements Consumer { 24 public interface FindElementReferencesConsumer extends Consumer {
22 // TODO (jwren) implement, class added simply to have AnalysisServer compile 25 /**
26 * A search id {@link String}.
27 *
28 * @param searchId the identifier used to associate results with this search r equest
29 * @param element the element referenced or defined at the given offset and wh ose references will
30 * be returned in the search results. If no element was found at the given location, this
31 * field will be absent.
32 */
33 public void computedElementReferences(String searchId, Element element);
23 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698