| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 1543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1554 decoder, 'result', result); | 1554 decoder, 'result', result); |
| 1555 } | 1555 } |
| 1556 | 1556 |
| 1557 /** | 1557 /** |
| 1558 * Return a list of all postfix templates currently available. | 1558 * Return a list of all postfix templates currently available. |
| 1559 * | 1559 * |
| 1560 * Returns | 1560 * Returns |
| 1561 * | 1561 * |
| 1562 * templates: List<PostfixTemplateDescriptor> | 1562 * templates: List<PostfixTemplateDescriptor> |
| 1563 * | 1563 * |
| 1564 * The list of available template. | 1564 * The list of available templates. |
| 1565 */ | 1565 */ |
| 1566 Future<EditListPostfixCompletionTemplatesResult> | 1566 Future<EditListPostfixCompletionTemplatesResult> |
| 1567 sendEditListPostfixCompletionTemplates() async { | 1567 sendEditListPostfixCompletionTemplates() async { |
| 1568 var result = await server.send("edit.listPostfixCompletionTemplates", null); | 1568 var result = await server.send("edit.listPostfixCompletionTemplates", null); |
| 1569 ResponseDecoder decoder = new ResponseDecoder(null); | 1569 ResponseDecoder decoder = new ResponseDecoder(null); |
| 1570 return new EditListPostfixCompletionTemplatesResult.fromJson( | 1570 return new EditListPostfixCompletionTemplatesResult.fromJson( |
| 1571 decoder, 'result', result); | 1571 decoder, 'result', result); |
| 1572 } | 1572 } |
| 1573 | 1573 |
| 1574 /** | 1574 /** |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2075 outOfTestExpect(params, isExecutionLaunchDataParams); | 2075 outOfTestExpect(params, isExecutionLaunchDataParams); |
| 2076 _onExecutionLaunchData.add( | 2076 _onExecutionLaunchData.add( |
| 2077 new ExecutionLaunchDataParams.fromJson(decoder, 'params', params)); | 2077 new ExecutionLaunchDataParams.fromJson(decoder, 'params', params)); |
| 2078 break; | 2078 break; |
| 2079 default: | 2079 default: |
| 2080 fail('Unexpected notification: $event'); | 2080 fail('Unexpected notification: $event'); |
| 2081 break; | 2081 break; |
| 2082 } | 2082 } |
| 2083 } | 2083 } |
| 2084 } | 2084 } |
| OLD | NEW |