| 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/spec/generate_files". | 7 // "pkg/analysis_server/spec/generate_files". |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * Convenience methods for running integration tests | 10 * Convenience methods for running integration tests |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 * | 757 * |
| 758 * The offset within the file of the declaration of or reference to the | 758 * The offset within the file of the declaration of or reference to the |
| 759 * element. | 759 * element. |
| 760 * | 760 * |
| 761 * includePotential ( bool ) | 761 * includePotential ( bool ) |
| 762 * | 762 * |
| 763 * True if potential matches are to be included in the results. | 763 * True if potential matches are to be included in the results. |
| 764 * | 764 * |
| 765 * Returns | 765 * Returns |
| 766 * | 766 * |
| 767 * id ( SearchId ) | 767 * id ( optional SearchId ) |
| 768 * | 768 * |
| 769 * The identifier used to associate results with this search request. | 769 * The identifier used to associate results with this search request. |
| 770 * | 770 * |
| 771 * If no element was found at the given location, this field will be |
| 772 * absent, and no results will be reported via the search.results |
| 773 * notification. |
| 774 * |
| 771 * element ( optional Element ) | 775 * element ( optional Element ) |
| 772 * | 776 * |
| 773 * The element referenced or defined at the given offset and whose | 777 * The element referenced or defined at the given offset and whose |
| 774 * references will be returned in the search results. | 778 * references will be returned in the search results. |
| 775 * | 779 * |
| 776 * If no element was found at the given location, this field will be | 780 * If no element was found at the given location, this field will be |
| 777 * absent. | 781 * absent. |
| 778 */ | 782 */ |
| 779 Future sendSearchFindElementReferences(String file, int offset, bool includePo
tential, {bool checkTypes: true}) { | 783 Future sendSearchFindElementReferences(String file, int offset, bool includePo
tential, {bool checkTypes: true}) { |
| 780 Map<String, dynamic> params = {}; | 784 Map<String, dynamic> params = {}; |
| (...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1454 case "debug.launchData": | 1458 case "debug.launchData": |
| 1455 expect(params, isDebugLaunchDataParams); | 1459 expect(params, isDebugLaunchDataParams); |
| 1456 _onDebugLaunchData.add(params); | 1460 _onDebugLaunchData.add(params); |
| 1457 break; | 1461 break; |
| 1458 default: | 1462 default: |
| 1459 fail('Unexpected notification: $event'); | 1463 fail('Unexpected notification: $event'); |
| 1460 break; | 1464 break; |
| 1461 } | 1465 } |
| 1462 } | 1466 } |
| 1463 } | 1467 } |
| OLD | NEW |