| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright (c) 2014, the Dart project authors. | |
| 3 * | |
| 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 | |
| 6 * | |
| 7 * http://www.eclipse.org/legal/epl-v10.html | |
| 8 * | |
| 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 | |
| 11 * or implied. See the License for the specific language governing permissions a
nd limitations under | |
| 12 * the License. | |
| 13 */ | |
| 14 package com.google.dart.server; | |
| 15 | |
| 16 /** | |
| 17 * The interface {@link SourceFileEdit} is a description of a set of changes to
a single file. | |
| 18 * | |
| 19 * @coverage dart.server | |
| 20 */ | |
| 21 public interface SourceFileEdit { | |
| 22 /** | |
| 23 * An empty array of source file edits. | |
| 24 */ | |
| 25 public final SourceFileEdit[] EMPTY_ARRAY = new SourceFileEdit[0]; | |
| 26 | |
| 27 /** | |
| 28 * A list of the edits used to effect the change. | |
| 29 * | |
| 30 * @return a list of the edits used to effect the change. | |
| 31 */ | |
| 32 public SourceEdit[] getEdits(); | |
| 33 | |
| 34 /** | |
| 35 * The file containing the code to be modified. | |
| 36 * | |
| 37 * @return the file containing the code to be modified | |
| 38 */ | |
| 39 public String getFile(); | |
| 40 | |
| 41 } | |
| OLD | NEW |