| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 * Reports that an unexpected error has occurred while executing the server. | 108 * Reports that an unexpected error has occurred while executing the server. |
| 109 * This notification is not used for problems with specific requests (which | 109 * This notification is not used for problems with specific requests (which |
| 110 * are returned as part of the response) but is used for exceptions that | 110 * are returned as part of the response) but is used for exceptions that |
| 111 * occur while performing other tasks, such as analysis or preparing | 111 * occur while performing other tasks, such as analysis or preparing |
| 112 * notifications. | 112 * notifications. |
| 113 * | 113 * |
| 114 * It is not possible to subscribe to or unsubscribe from this notification. | 114 * It is not possible to subscribe to or unsubscribe from this notification. |
| 115 * | 115 * |
| 116 * Parameters | 116 * Parameters |
| 117 * | 117 * |
| 118 * fatal ( bool ) | 118 * isFatal ( bool ) |
| 119 * | 119 * |
| 120 * True if the error is a fatal error, meaning that the server will | 120 * True if the error is a fatal error, meaning that the server will |
| 121 * shutdown automatically after sending this notification. | 121 * shutdown automatically after sending this notification. |
| 122 * | 122 * |
| 123 * message ( String ) | 123 * message ( String ) |
| 124 * | 124 * |
| 125 * The error message indicating what kind of error was encountered. | 125 * The error message indicating what kind of error was encountered. |
| 126 * | 126 * |
| 127 * stackTrace ( String ) | 127 * stackTrace ( String ) |
| 128 * | 128 * |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 * (that is, the number of characters in the existing identifier). | 720 * (that is, the number of characters in the existing identifier). |
| 721 * | 721 * |
| 722 * results ( List<CompletionSuggestion> ) | 722 * results ( List<CompletionSuggestion> ) |
| 723 * | 723 * |
| 724 * The completion suggestions being reported. The notification contains all | 724 * The completion suggestions being reported. The notification contains all |
| 725 * possible completions at the requested cursor position, even those that | 725 * possible completions at the requested cursor position, even those that |
| 726 * do not match the characters the user has already typed. This allows the | 726 * do not match the characters the user has already typed. This allows the |
| 727 * client to respond to further keystrokes from the user without having to | 727 * client to respond to further keystrokes from the user without having to |
| 728 * make additional requests. | 728 * make additional requests. |
| 729 * | 729 * |
| 730 * last ( bool ) | 730 * isLast ( bool ) |
| 731 * | 731 * |
| 732 * True if this is that last set of results that will be returned for the | 732 * True if this is that last set of results that will be returned for the |
| 733 * indicated completion. | 733 * indicated completion. |
| 734 */ | 734 */ |
| 735 Stream onCompletionResults; | 735 Stream onCompletionResults; |
| 736 | 736 |
| 737 /** | 737 /** |
| 738 * Stream controller for [onCompletionResults]. | 738 * Stream controller for [onCompletionResults]. |
| 739 */ | 739 */ |
| 740 StreamController _onCompletionResults; | 740 StreamController _onCompletionResults; |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 953 * Parameters | 953 * Parameters |
| 954 * | 954 * |
| 955 * id ( SearchId ) | 955 * id ( SearchId ) |
| 956 * | 956 * |
| 957 * The id associated with the search. | 957 * The id associated with the search. |
| 958 * | 958 * |
| 959 * results ( List<SearchResult> ) | 959 * results ( List<SearchResult> ) |
| 960 * | 960 * |
| 961 * The search results being reported. | 961 * The search results being reported. |
| 962 * | 962 * |
| 963 * last ( bool ) | 963 * isLast ( bool ) |
| 964 * | 964 * |
| 965 * True if this is that last set of results that will be returned for the | 965 * True if this is that last set of results that will be returned for the |
| 966 * indicated search. | 966 * indicated search. |
| 967 */ | 967 */ |
| 968 Stream onSearchResults; | 968 Stream onSearchResults; |
| 969 | 969 |
| 970 /** | 970 /** |
| 971 * Stream controller for [onSearchResults]. | 971 * Stream controller for [onSearchResults]. |
| 972 */ | 972 */ |
| 973 StreamController _onSearchResults; | 973 StreamController _onSearchResults; |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1454 case "debug.launchData": | 1454 case "debug.launchData": |
| 1455 expect(params, isDebugLaunchDataParams); | 1455 expect(params, isDebugLaunchDataParams); |
| 1456 _onDebugLaunchData.add(params); | 1456 _onDebugLaunchData.add(params); |
| 1457 break; | 1457 break; |
| 1458 default: | 1458 default: |
| 1459 fail('Unexpected notification: $event'); | 1459 fail('Unexpected notification: $event'); |
| 1460 break; | 1460 break; |
| 1461 } | 1461 } |
| 1462 } | 1462 } |
| 1463 } | 1463 } |
| OLD | NEW |