Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 } |
| OLD | NEW |