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

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

Issue 1258563008: Proposal for the 'edit.organizeDirectives' request. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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) 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
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 * validated and no change be generated. 344 * validated and no change be generated.
345 * @param options Data used to provide values provided by the user. The struct ure of the data is 345 * @param options Data used to provide values provided by the user. The struct ure of the data is
346 * dependent on the kind of refactoring being performed. The data that is expected is 346 * dependent on the kind of refactoring being performed. The data that is expected is
347 * documented in the section titled Refactorings, labeled as “Options” . This field can be 347 * documented in the section titled Refactorings, labeled as “Options” . This field can be
348 * omitted if the refactoring does not require any options or if the v alues of those 348 * omitted if the refactoring does not require any options or if the v alues of those
349 * options are not known. 349 * options are not known.
350 */ 350 */
351 public void edit_getRefactoring(String kind, String file, int offset, int leng th, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer con sumer); 351 public void edit_getRefactoring(String kind, String file, int offset, int leng th, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer con sumer);
352 352
353 /** 353 /**
354 * {@code edit.organizeDirectives}
355 *
356 * Organizes all of the directives - removes unused imports and sorts directiv es of the given Dart
357 * file.
358 *
359 * If a request is made for a file that does not exist, does not belong to an analysis root or is
360 * not a Dart file, ORGANIZE_DIRECTIVES_INVALID_FILE will be generated.
361 *
362 * If the Dart file has scan or parse errors, ORGANIZE_DIRECTIVES_PARSE_ERRORS will be generated.
363 *
364 * @param file The Dart file to organize directives in.
365 */
366 public void edit_organizeDirectives(String file, OrganizeDirectivesConsumer co nsumer);
367
368 /**
354 * {@code edit.sortMembers} 369 * {@code edit.sortMembers}
355 * 370 *
356 * Sort all of the directives, unit and class members of the given Dart file. 371 * Sort all of the directives, unit and class members of the given Dart file.
357 * 372 *
358 * If a request is made for a file that does not exist, does not belong to an analysis root or is 373 * If a request is made for a file that does not exist, does not belong to an analysis root or is
359 * not a Dart file, SORT_MEMBERS_INVALID_FILE will be generated. 374 * not a Dart file, SORT_MEMBERS_INVALID_FILE will be generated.
360 * 375 *
361 * If the Dart file has scan or parse errors, SORT_MEMBERS_PARSE_ERRORS will b e generated. 376 * If the Dart file has scan or parse errors, SORT_MEMBERS_PARSE_ERRORS will b e generated.
362 * 377 *
363 * @param file The Dart file to sort. 378 * @param file The Dart file to sort.
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 * the response to this request has been sent. 547 * the response to this request has been sent.
533 */ 548 */
534 public void server_shutdown(); 549 public void server_shutdown();
535 550
536 /** 551 /**
537 * Start the analysis server. 552 * Start the analysis server.
538 */ 553 */
539 public void start() throws Exception; 554 public void start() throws Exception;
540 555
541 } 556 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698