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

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

Issue 1453433002: Move diagnostics to `diagnostics` domain (#24931). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: master merge Created 5 years, 1 month 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
« no previous file with comments | « pkg/analysis_server/test/test_all.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 * {@code completion.getSuggestions} 266 * {@code completion.getSuggestions}
267 * 267 *
268 * Request that completion suggestions for the given offset in the given file be returned. 268 * Request that completion suggestions for the given offset in the given file be returned.
269 * 269 *
270 * @param file The file containing the point at which suggestions are to be ma de. 270 * @param file The file containing the point at which suggestions are to be ma de.
271 * @param offset The offset within the file at which suggestions are to be mad e. 271 * @param offset The offset within the file at which suggestions are to be mad e.
272 */ 272 */
273 public void completion_getSuggestions(String file, int offset, GetSuggestionsC onsumer consumer); 273 public void completion_getSuggestions(String file, int offset, GetSuggestionsC onsumer consumer);
274 274
275 /** 275 /**
276 * {@code diagnostic.getDiagnostics}
277 *
278 * Return server diagnostics.
279 */
280 public void diagnostic_getDiagnostics(GetDiagnosticsConsumer consumer);
281
282 /**
276 * {@code edit.format} 283 * {@code edit.format}
277 * 284 *
278 * Format the contents of a single file. The currently selected region of text is passed in so that 285 * Format the contents of a single file. The currently selected region of text is passed in so that
279 * the selection can be preserved across the formatting operation. The updated selection will be as 286 * the selection can be preserved across the formatting operation. The updated selection will be as
280 * close to matching the original as possible, but whitespace at the beginning or end of the 287 * close to matching the original as possible, but whitespace at the beginning or end of the
281 * selected region will be ignored. If preserving selection information is not required, zero (0) 288 * selected region will be ignored. If preserving selection information is not required, zero (0)
282 * can be specified for both the selection offset and selection length. 289 * can be specified for both the selection offset and selection length.
283 * 290 *
284 * If a request is made for a file which does not exist, or which is not curre ntly subject to 291 * If a request is made for a file which does not exist, or which is not curre ntly subject to
285 * analysis (e.g. because it is not associated with any analysis root specifie d to 292 * analysis (e.g. because it is not associated with any analysis root specifie d to
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 * Subscribe for services. All previous subscriptions are replaced by the give n set of services. 443 * Subscribe for services. All previous subscriptions are replaced by the give n set of services.
437 * 444 *
438 * It is an error if any of the elements in the list are not valid services. I f there is an error, 445 * It is an error if any of the elements in the list are not valid services. I f there is an error,
439 * then the current subscriptions will remain unchanged. 446 * then the current subscriptions will remain unchanged.
440 * 447 *
441 * @param subscriptions A list of the services being subscribed to. 448 * @param subscriptions A list of the services being subscribed to.
442 */ 449 */
443 public void execution_setSubscriptions(List<String> subscriptions); 450 public void execution_setSubscriptions(List<String> subscriptions);
444 451
445 /** 452 /**
446 * {@code experimental.getDiagnostics}
447 *
448 * Return server diagnostics.
449 */
450 public void experimental_getDiagnostics(GetDiagnosticsConsumer consumer);
451
452 /**
453 * Return {@code true} if the socket is open. 453 * Return {@code true} if the socket is open.
454 */ 454 */
455 public boolean isSocketOpen(); 455 public boolean isSocketOpen();
456 456
457 /** 457 /**
458 * Remove the given listener from the list of listeners that will receive noti fication when new 458 * Remove the given listener from the list of listeners that will receive noti fication when new
459 * analysis results become available. 459 * analysis results become available.
460 * 460 *
461 * @param listener the listener to be removed 461 * @param listener the listener to be removed
462 */ 462 */
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 * the response to this request has been sent. 557 * the response to this request has been sent.
558 */ 558 */
559 public void server_shutdown(); 559 public void server_shutdown();
560 560
561 /** 561 /**
562 * Start the analysis server. 562 * Start the analysis server.
563 */ 563 */
564 public void start() throws Exception; 564 public void start() throws Exception;
565 565
566 } 566 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/test_all.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698