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 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 * text is passed in so that the selection can be preserved across the | 1066 * text is passed in so that the selection can be preserved across the |
1067 * formatting operation. The updated selection will be as close to matching | 1067 * formatting operation. The updated selection will be as close to matching |
1068 * the original as possible, but whitespace at the beginning or end of the | 1068 * the original as possible, but whitespace at the beginning or end of the |
1069 * selected region will be ignored. If preserving selection information is | 1069 * selected region will be ignored. If preserving selection information is |
1070 * not required, zero (0) can be specified for both the selection offset and | 1070 * not required, zero (0) can be specified for both the selection offset and |
1071 * selection length. | 1071 * selection length. |
1072 * | 1072 * |
1073 * If a request is made for a file which does not exist, or which is not | 1073 * If a request is made for a file which does not exist, or which is not |
1074 * currently subject to analysis (e.g. because it is not associated with any | 1074 * currently subject to analysis (e.g. because it is not associated with any |
1075 * analysis root specified to analysis.setAnalysisRoots), an error of type | 1075 * analysis root specified to analysis.setAnalysisRoots), an error of type |
1076 * FORMAT_INVALID_FILE will be generated. | 1076 * FORMAT_INVALID_FILE will be generated. If the source contains syntax |
| 1077 * errors, an error of type FORMAT_WITH_ERRORS will be generated. |
1077 * | 1078 * |
1078 * Parameters | 1079 * Parameters |
1079 * | 1080 * |
1080 * file ( FilePath ) | 1081 * file ( FilePath ) |
1081 * | 1082 * |
1082 * The file containing the code to be formatted. | 1083 * The file containing the code to be formatted. |
1083 * | 1084 * |
1084 * selectionOffset ( int ) | 1085 * selectionOffset ( int ) |
1085 * | 1086 * |
1086 * The offset of the current selection in the file. | 1087 * The offset of the current selection in the file. |
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1594 case "execution.launchData": | 1595 case "execution.launchData": |
1595 expect(params, isExecutionLaunchDataParams); | 1596 expect(params, isExecutionLaunchDataParams); |
1596 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); | 1597 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); |
1597 break; | 1598 break; |
1598 default: | 1599 default: |
1599 fail('Unexpected notification: $event'); | 1600 fail('Unexpected notification: $event'); |
1600 break; | 1601 break; |
1601 } | 1602 } |
1602 } | 1603 } |
1603 } | 1604 } |
OLD | NEW |