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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 * after this request was received but before a response could be sent, then | 270 * after this request was received but before a response could be sent, then |
271 * an error of type CONTENT_MODIFIED will be generated. | 271 * an error of type CONTENT_MODIFIED will be generated. |
272 * | 272 * |
273 * If a navigation region overlaps (but extends either before or after) the | 273 * If a navigation region overlaps (but extends either before or after) the |
274 * given region of the file it will be included in the result. This means | 274 * given region of the file it will be included in the result. This means |
275 * that it is theoretically possible to get the same navigation region in | 275 * that it is theoretically possible to get the same navigation region in |
276 * response to multiple requests. Clients can avoid this by always choosing a | 276 * response to multiple requests. Clients can avoid this by always choosing a |
277 * region that starts at the beginning of a line and ends at the end of a | 277 * region that starts at the beginning of a line and ends at the end of a |
278 * (possibly different) line in the file. | 278 * (possibly different) line in the file. |
279 * | 279 * |
| 280 * If a request is made for a file which does not exist, or which is not |
| 281 * currently subject to analysis (e.g. because it is not associated with any |
| 282 * analysis root specified to analysis.setAnalysisRoots), an error of type |
| 283 * GET_NAVIGATION_INVALID_FILE will be generated. |
| 284 * |
280 * Parameters | 285 * Parameters |
281 * | 286 * |
282 * file ( FilePath ) | 287 * file ( FilePath ) |
283 * | 288 * |
284 * The file in which navigation information is being requested. | 289 * The file in which navigation information is being requested. |
285 * | 290 * |
286 * offset ( int ) | 291 * offset ( int ) |
287 * | 292 * |
288 * The offset of the region for which navigation information is being | 293 * The offset of the region for which navigation information is being |
289 * requested. | 294 * requested. |
(...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1599 case "execution.launchData": | 1604 case "execution.launchData": |
1600 expect(params, isExecutionLaunchDataParams); | 1605 expect(params, isExecutionLaunchDataParams); |
1601 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); | 1606 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); |
1602 break; | 1607 break; |
1603 default: | 1608 default: |
1604 fail('Unexpected notification: $event'); | 1609 fail('Unexpected notification: $event'); |
1605 break; | 1610 break; |
1606 } | 1611 } |
1607 } | 1612 } |
1608 } | 1613 } |
OLD | NEW |