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

Side by Side Diff: pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java

Issue 3000823002: Forward Kythe requests to plugins and merge in the results (Closed)
Patch Set: Created 3 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015, the Dart project authors. 2 * Copyright (c) 2015, 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
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 * Return {@code true} if the socket is open. 630 * Return {@code true} if the socket is open.
631 */ 631 */
632 public boolean isSocketOpen(); 632 public boolean isSocketOpen();
633 633
634 /** 634 /**
635 * {@code kythe.getKytheEntries} 635 * {@code kythe.getKytheEntries}
636 * 636 *
637 * Return the list of KytheEntry objects for some file, given the current stat e of the file system 637 * Return the list of KytheEntry objects for some file, given the current stat e of the file system
638 * populated by "analysis.updateContent". 638 * populated by "analysis.updateContent".
639 * 639 *
640 * If a request is made for a file that does not exist, or that is not current ly subject to
641 * analysis (e.g. because it is not associated with any analysis root specifie d to
642 * analysis.setAnalysisRoots), an error of type GET_KYTHE_ENTRIES_INVALID_FILE will be generated.
643 *
640 * @param file The file containing the code for which the Kythe Entry objects are being requested. 644 * @param file The file containing the code for which the Kythe Entry objects are being requested.
641 */ 645 */
642 public void kythe_getKytheEntries(String file, GetKytheEntriesConsumer consume r); 646 public void kythe_getKytheEntries(String file, GetKytheEntriesConsumer consume r);
643 647
644 /** 648 /**
645 * Remove the given listener from the list of listeners that will receive noti fication when new 649 * Remove the given listener from the list of listeners that will receive noti fication when new
646 * analysis results become available. 650 * analysis results become available.
647 * 651 *
648 * @param listener the listener to be removed 652 * @param listener the listener to be removed
649 */ 653 */
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 * the response to this request has been sent. 748 * the response to this request has been sent.
745 */ 749 */
746 public void server_shutdown(); 750 public void server_shutdown();
747 751
748 /** 752 /**
749 * Start the analysis server. 753 * Start the analysis server.
750 */ 754 */
751 public void start() throws Exception; 755 public void start() throws Exception;
752 756
753 } 757 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698