| 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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1353 return null; | 1353 return null; |
| 1354 }); | 1354 }); |
| 1355 } | 1355 } |
| 1356 | 1356 |
| 1357 /** | 1357 /** |
| 1358 * Map a URI from the execution context to the file that it corresponds to, | 1358 * Map a URI from the execution context to the file that it corresponds to, |
| 1359 * or map a file to the URI that it corresponds to in the execution context. | 1359 * or map a file to the URI that it corresponds to in the execution context. |
| 1360 * | 1360 * |
| 1361 * Exactly one of the file and uri fields must be provided. | 1361 * Exactly one of the file and uri fields must be provided. |
| 1362 * | 1362 * |
| 1363 * If the root of the execution context is a directory rather than a file, |
| 1364 * then an error of type MAP_URI_FOR_DIRECTORY will be generated. |
| 1365 * |
| 1363 * Parameters | 1366 * Parameters |
| 1364 * | 1367 * |
| 1365 * id ( ExecutionContextId ) | 1368 * id ( ExecutionContextId ) |
| 1366 * | 1369 * |
| 1367 * The identifier of the execution context in which the URI is to be | 1370 * The identifier of the execution context in which the URI is to be |
| 1368 * mapped. | 1371 * mapped. |
| 1369 * | 1372 * |
| 1370 * file ( optional FilePath ) | 1373 * file ( optional FilePath ) |
| 1371 * | 1374 * |
| 1372 * The path of the file to be mapped into a URI. | 1375 * The path of the file to be mapped into a URI. |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1553 case "execution.launchData": | 1556 case "execution.launchData": |
| 1554 expect(params, isExecutionLaunchDataParams); | 1557 expect(params, isExecutionLaunchDataParams); |
| 1555 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); | 1558 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); |
| 1556 break; | 1559 break; |
| 1557 default: | 1560 default: |
| 1558 fail('Unexpected notification: $event'); | 1561 fail('Unexpected notification: $event'); |
| 1559 break; | 1562 break; |
| 1560 } | 1563 } |
| 1561 } | 1564 } |
| 1562 } | 1565 } |
| OLD | NEW |