| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This file has been automatically generated. Please do not edit it manually. | 5 // This file has been automatically generated. Please do not edit it manually. |
| 6 // To regenerate the file, use the script | 6 // To regenerate the file, use the script |
| 7 // "pkg/analysis_server/tool/spec/generate_files". | 7 // "pkg/analysis_server/tool/spec/generate_files". |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * Convenience methods for running integration tests | 10 * Convenience methods for running integration tests |
| (...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1051 * FORMAT_INVALID_FILE will be generated. | 1051 * FORMAT_INVALID_FILE will be generated. |
| 1052 * | 1052 * |
| 1053 * Parameters | 1053 * Parameters |
| 1054 * | 1054 * |
| 1055 * file ( FilePath ) | 1055 * file ( FilePath ) |
| 1056 * | 1056 * |
| 1057 * The file containing the code to be formatted. | 1057 * The file containing the code to be formatted. |
| 1058 * | 1058 * |
| 1059 * selectionOffset ( int ) | 1059 * selectionOffset ( int ) |
| 1060 * | 1060 * |
| 1061 * The offset of the current selection in the file. | 1061 * The offset of the current selection in the file. In case preserving, |
| 1062 * selection information is not required, 0 can be specified for both |
| 1063 * selection offset and length. |
| 1062 * | 1064 * |
| 1063 * selectionLength ( int ) | 1065 * selectionLength ( int ) |
| 1064 * | 1066 * |
| 1065 * The length of the current selection in the file. | 1067 * The length of the current selection in the file. In case preserving, |
| 1068 * selection information is not required, 0 can be specified for both |
| 1069 * selection offset and length. |
| 1066 * | 1070 * |
| 1067 * Returns | 1071 * Returns |
| 1068 * | 1072 * |
| 1069 * edits ( List<SourceEdit> ) | 1073 * edits ( List<SourceEdit> ) |
| 1070 * | 1074 * |
| 1071 * The edit(s) to be applied in order to format the code. The list will be | 1075 * The edit(s) to be applied in order to format the code. The list will be |
| 1072 * empty if the code was already formatted (there are no changes). | 1076 * empty if the code was already formatted (there are no changes). |
| 1073 * | 1077 * |
| 1074 * selectionOffset ( int ) | 1078 * selectionOffset ( int ) |
| 1075 * | 1079 * |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1568 case "execution.launchData": | 1572 case "execution.launchData": |
| 1569 expect(params, isExecutionLaunchDataParams); | 1573 expect(params, isExecutionLaunchDataParams); |
| 1570 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); | 1574 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); |
| 1571 break; | 1575 break; |
| 1572 default: | 1576 default: |
| 1573 fail('Unexpected notification: $event'); | 1577 fail('Unexpected notification: $event'); |
| 1574 break; | 1578 break; |
| 1575 } | 1579 } |
| 1576 } | 1580 } |
| 1577 } | 1581 } |
| OLD | NEW |