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

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

Issue 2972833002: Initial implementation of copy/paste support (Closed)
Patch Set: Created 3 years, 5 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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 * @param offset The offset used to identify the statement to be completed. 495 * @param offset The offset used to identify the statement to be completed.
496 */ 496 */
497 public void edit_getStatementCompletion(String file, int offset, GetStatementC ompletionConsumer consumer); 497 public void edit_getStatementCompletion(String file, int offset, GetStatementC ompletionConsumer consumer);
498 498
499 /** 499 /**
500 * {@code edit.importElements} 500 * {@code edit.importElements}
501 * 501 *
502 * Return a list of edits that would need to be applied in order to ensure tha t all of the elements 502 * Return a list of edits that would need to be applied in order to ensure tha t all of the elements
503 * in the specified list of imported elements are accessible within the librar y. 503 * in the specified list of imported elements are accessible within the librar y.
504 * 504 *
505 * If a request is made for a file that does not exist, or that is not current ly subject to
506 * analysis (e.g. because it is not associated with any analysis root specifie d via
507 * analysis.setAnalysisRoots), an error of type IMPORT_ELEMENTS_INVALID_FILE w ill be generated.
508 *
505 * @param file The file in which the specified elements are to be made accessi ble. 509 * @param file The file in which the specified elements are to be made accessi ble.
506 * @param elements The elements to be made accessible in the specified file. 510 * @param elements The elements to be made accessible in the specified file.
507 */ 511 */
508 public void edit_importElements(String file, List<ImportedElements> elements, ImportElementsConsumer consumer); 512 public void edit_importElements(String file, List<ImportedElements> elements, ImportElementsConsumer consumer);
509 513
510 /** 514 /**
511 * {@code edit.isPostfixCompletionApplicable} 515 * {@code edit.isPostfixCompletionApplicable}
512 * 516 *
513 * Determine if the request postfix completion template is applicable at the g iven location in the 517 * Determine if the request postfix completion template is applicable at the g iven location in the
514 * given file. 518 * given file.
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 * the response to this request has been sent. 734 * the response to this request has been sent.
731 */ 735 */
732 public void server_shutdown(); 736 public void server_shutdown();
733 737
734 /** 738 /**
735 * Start the analysis server. 739 * Start the analysis server.
736 */ 740 */
737 public void start() throws Exception; 741 public void start() throws Exception;
738 742
739 } 743 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698