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 part of analysis_server.plugin.protocol.protocol; | 9 part of analysis_server.plugin.protocol.protocol; |
10 | 10 |
11 /** | 11 /** |
12 * server.getVersion params | 12 * server.getVersion params |
13 * | 13 * |
14 * Clients are not expected to subtype this class. | 14 * Clients may not extend, implement or mix-in this class. |
15 */ | 15 */ |
16 class ServerGetVersionParams { | 16 class ServerGetVersionParams { |
17 Request toRequest(String id) { | 17 Request toRequest(String id) { |
18 return new Request(id, "server.getVersion", null); | 18 return new Request(id, "server.getVersion", null); |
19 } | 19 } |
20 | 20 |
21 @override | 21 @override |
22 bool operator==(other) { | 22 bool operator==(other) { |
23 if (other is ServerGetVersionParams) { | 23 if (other is ServerGetVersionParams) { |
24 return true; | 24 return true; |
25 } | 25 } |
26 return false; | 26 return false; |
27 } | 27 } |
28 | 28 |
29 @override | 29 @override |
30 int get hashCode { | 30 int get hashCode { |
31 return 55877452; | 31 return 55877452; |
32 } | 32 } |
33 } | 33 } |
34 | 34 |
35 /** | 35 /** |
36 * server.getVersion result | 36 * server.getVersion result |
37 * | 37 * |
38 * { | 38 * { |
39 * "version": String | 39 * "version": String |
40 * } | 40 * } |
41 * | 41 * |
42 * Clients are not expected to subtype this class. | 42 * Clients may not extend, implement or mix-in this class. |
43 */ | 43 */ |
44 class ServerGetVersionResult implements HasToJson { | 44 class ServerGetVersionResult implements HasToJson { |
45 String _version; | 45 String _version; |
46 | 46 |
47 /** | 47 /** |
48 * The version number of the analysis server. | 48 * The version number of the analysis server. |
49 */ | 49 */ |
50 String get version => _version; | 50 String get version => _version; |
51 | 51 |
52 /** | 52 /** |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 @override | 107 @override |
108 int get hashCode { | 108 int get hashCode { |
109 int hash = 0; | 109 int hash = 0; |
110 hash = JenkinsSmiHash.combine(hash, version.hashCode); | 110 hash = JenkinsSmiHash.combine(hash, version.hashCode); |
111 return JenkinsSmiHash.finish(hash); | 111 return JenkinsSmiHash.finish(hash); |
112 } | 112 } |
113 } | 113 } |
114 /** | 114 /** |
115 * server.shutdown params | 115 * server.shutdown params |
116 * | 116 * |
117 * Clients are not expected to subtype this class. | 117 * Clients may not extend, implement or mix-in this class. |
118 */ | 118 */ |
119 class ServerShutdownParams { | 119 class ServerShutdownParams { |
120 Request toRequest(String id) { | 120 Request toRequest(String id) { |
121 return new Request(id, "server.shutdown", null); | 121 return new Request(id, "server.shutdown", null); |
122 } | 122 } |
123 | 123 |
124 @override | 124 @override |
125 bool operator==(other) { | 125 bool operator==(other) { |
126 if (other is ServerShutdownParams) { | 126 if (other is ServerShutdownParams) { |
127 return true; | 127 return true; |
128 } | 128 } |
129 return false; | 129 return false; |
130 } | 130 } |
131 | 131 |
132 @override | 132 @override |
133 int get hashCode { | 133 int get hashCode { |
134 return 366630911; | 134 return 366630911; |
135 } | 135 } |
136 } | 136 } |
137 /** | 137 /** |
138 * server.shutdown result | 138 * server.shutdown result |
139 * | 139 * |
140 * Clients are not expected to subtype this class. | 140 * Clients may not extend, implement or mix-in this class. |
141 */ | 141 */ |
142 class ServerShutdownResult { | 142 class ServerShutdownResult { |
143 Response toResponse(String id) { | 143 Response toResponse(String id) { |
144 return new Response(id, result: null); | 144 return new Response(id, result: null); |
145 } | 145 } |
146 | 146 |
147 @override | 147 @override |
148 bool operator==(other) { | 148 bool operator==(other) { |
149 if (other is ServerShutdownResult) { | 149 if (other is ServerShutdownResult) { |
150 return true; | 150 return true; |
151 } | 151 } |
152 return false; | 152 return false; |
153 } | 153 } |
154 | 154 |
155 @override | 155 @override |
156 int get hashCode { | 156 int get hashCode { |
157 return 193626532; | 157 return 193626532; |
158 } | 158 } |
159 } | 159 } |
160 | 160 |
161 /** | 161 /** |
162 * server.setSubscriptions params | 162 * server.setSubscriptions params |
163 * | 163 * |
164 * { | 164 * { |
165 * "subscriptions": List<ServerService> | 165 * "subscriptions": List<ServerService> |
166 * } | 166 * } |
167 * | 167 * |
168 * Clients are not expected to subtype this class. | 168 * Clients may not extend, implement or mix-in this class. |
169 */ | 169 */ |
170 class ServerSetSubscriptionsParams implements HasToJson { | 170 class ServerSetSubscriptionsParams implements HasToJson { |
171 List<ServerService> _subscriptions; | 171 List<ServerService> _subscriptions; |
172 | 172 |
173 /** | 173 /** |
174 * A list of the services being subscribed to. | 174 * A list of the services being subscribed to. |
175 */ | 175 */ |
176 List<ServerService> get subscriptions => _subscriptions; | 176 List<ServerService> get subscriptions => _subscriptions; |
177 | 177 |
178 /** | 178 /** |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 @override | 233 @override |
234 int get hashCode { | 234 int get hashCode { |
235 int hash = 0; | 235 int hash = 0; |
236 hash = JenkinsSmiHash.combine(hash, subscriptions.hashCode); | 236 hash = JenkinsSmiHash.combine(hash, subscriptions.hashCode); |
237 return JenkinsSmiHash.finish(hash); | 237 return JenkinsSmiHash.finish(hash); |
238 } | 238 } |
239 } | 239 } |
240 /** | 240 /** |
241 * server.setSubscriptions result | 241 * server.setSubscriptions result |
242 * | 242 * |
243 * Clients are not expected to subtype this class. | 243 * Clients may not extend, implement or mix-in this class. |
244 */ | 244 */ |
245 class ServerSetSubscriptionsResult { | 245 class ServerSetSubscriptionsResult { |
246 Response toResponse(String id) { | 246 Response toResponse(String id) { |
247 return new Response(id, result: null); | 247 return new Response(id, result: null); |
248 } | 248 } |
249 | 249 |
250 @override | 250 @override |
251 bool operator==(other) { | 251 bool operator==(other) { |
252 if (other is ServerSetSubscriptionsResult) { | 252 if (other is ServerSetSubscriptionsResult) { |
253 return true; | 253 return true; |
254 } | 254 } |
255 return false; | 255 return false; |
256 } | 256 } |
257 | 257 |
258 @override | 258 @override |
259 int get hashCode { | 259 int get hashCode { |
260 return 748820900; | 260 return 748820900; |
261 } | 261 } |
262 } | 262 } |
263 | 263 |
264 /** | 264 /** |
265 * server.connected params | 265 * server.connected params |
266 * | 266 * |
267 * { | 267 * { |
268 * "version": String | 268 * "version": String |
269 * } | 269 * } |
270 * | 270 * |
271 * Clients are not expected to subtype this class. | 271 * Clients may not extend, implement or mix-in this class. |
272 */ | 272 */ |
273 class ServerConnectedParams implements HasToJson { | 273 class ServerConnectedParams implements HasToJson { |
274 String _version; | 274 String _version; |
275 | 275 |
276 /** | 276 /** |
277 * The version number of the analysis server. | 277 * The version number of the analysis server. |
278 */ | 278 */ |
279 String get version => _version; | 279 String get version => _version; |
280 | 280 |
281 /** | 281 /** |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 | 343 |
344 /** | 344 /** |
345 * server.error params | 345 * server.error params |
346 * | 346 * |
347 * { | 347 * { |
348 * "isFatal": bool | 348 * "isFatal": bool |
349 * "message": String | 349 * "message": String |
350 * "stackTrace": String | 350 * "stackTrace": String |
351 * } | 351 * } |
352 * | 352 * |
353 * Clients are not expected to subtype this class. | 353 * Clients may not extend, implement or mix-in this class. |
354 */ | 354 */ |
355 class ServerErrorParams implements HasToJson { | 355 class ServerErrorParams implements HasToJson { |
356 bool _isFatal; | 356 bool _isFatal; |
357 | 357 |
358 String _message; | 358 String _message; |
359 | 359 |
360 String _stackTrace; | 360 String _stackTrace; |
361 | 361 |
362 /** | 362 /** |
363 * True if the error is a fatal error, meaning that the server will shutdown | 363 * True if the error is a fatal error, meaning that the server will shutdown |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 } | 478 } |
479 | 479 |
480 /** | 480 /** |
481 * server.status params | 481 * server.status params |
482 * | 482 * |
483 * { | 483 * { |
484 * "analysis": optional AnalysisStatus | 484 * "analysis": optional AnalysisStatus |
485 * "pub": optional PubStatus | 485 * "pub": optional PubStatus |
486 * } | 486 * } |
487 * | 487 * |
488 * Clients are not expected to subtype this class. | 488 * Clients may not extend, implement or mix-in this class. |
489 */ | 489 */ |
490 class ServerStatusParams implements HasToJson { | 490 class ServerStatusParams implements HasToJson { |
491 AnalysisStatus _analysis; | 491 AnalysisStatus _analysis; |
492 | 492 |
493 PubStatus _pub; | 493 PubStatus _pub; |
494 | 494 |
495 /** | 495 /** |
496 * The current status of analysis, including whether analysis is being | 496 * The current status of analysis, including whether analysis is being |
497 * performed and if so what is being analyzed. | 497 * performed and if so what is being analyzed. |
498 */ | 498 */ |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 } | 585 } |
586 } | 586 } |
587 | 587 |
588 /** | 588 /** |
589 * analysis.getErrors params | 589 * analysis.getErrors params |
590 * | 590 * |
591 * { | 591 * { |
592 * "file": FilePath | 592 * "file": FilePath |
593 * } | 593 * } |
594 * | 594 * |
595 * Clients are not expected to subtype this class. | 595 * Clients may not extend, implement or mix-in this class. |
596 */ | 596 */ |
597 class AnalysisGetErrorsParams implements HasToJson { | 597 class AnalysisGetErrorsParams implements HasToJson { |
598 String _file; | 598 String _file; |
599 | 599 |
600 /** | 600 /** |
601 * The file for which errors are being requested. | 601 * The file for which errors are being requested. |
602 */ | 602 */ |
603 String get file => _file; | 603 String get file => _file; |
604 | 604 |
605 /** | 605 /** |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 } | 665 } |
666 } | 666 } |
667 | 667 |
668 /** | 668 /** |
669 * analysis.getErrors result | 669 * analysis.getErrors result |
670 * | 670 * |
671 * { | 671 * { |
672 * "errors": List<AnalysisError> | 672 * "errors": List<AnalysisError> |
673 * } | 673 * } |
674 * | 674 * |
675 * Clients are not expected to subtype this class. | 675 * Clients may not extend, implement or mix-in this class. |
676 */ | 676 */ |
677 class AnalysisGetErrorsResult implements HasToJson { | 677 class AnalysisGetErrorsResult implements HasToJson { |
678 List<AnalysisError> _errors; | 678 List<AnalysisError> _errors; |
679 | 679 |
680 /** | 680 /** |
681 * The errors associated with the file. | 681 * The errors associated with the file. |
682 */ | 682 */ |
683 List<AnalysisError> get errors => _errors; | 683 List<AnalysisError> get errors => _errors; |
684 | 684 |
685 /** | 685 /** |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 } | 746 } |
747 | 747 |
748 /** | 748 /** |
749 * analysis.getHover params | 749 * analysis.getHover params |
750 * | 750 * |
751 * { | 751 * { |
752 * "file": FilePath | 752 * "file": FilePath |
753 * "offset": int | 753 * "offset": int |
754 * } | 754 * } |
755 * | 755 * |
756 * Clients are not expected to subtype this class. | 756 * Clients may not extend, implement or mix-in this class. |
757 */ | 757 */ |
758 class AnalysisGetHoverParams implements HasToJson { | 758 class AnalysisGetHoverParams implements HasToJson { |
759 String _file; | 759 String _file; |
760 | 760 |
761 int _offset; | 761 int _offset; |
762 | 762 |
763 /** | 763 /** |
764 * The file in which hover information is being requested. | 764 * The file in which hover information is being requested. |
765 */ | 765 */ |
766 String get file => _file; | 766 String get file => _file; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 } | 851 } |
852 } | 852 } |
853 | 853 |
854 /** | 854 /** |
855 * analysis.getHover result | 855 * analysis.getHover result |
856 * | 856 * |
857 * { | 857 * { |
858 * "hovers": List<HoverInformation> | 858 * "hovers": List<HoverInformation> |
859 * } | 859 * } |
860 * | 860 * |
861 * Clients are not expected to subtype this class. | 861 * Clients may not extend, implement or mix-in this class. |
862 */ | 862 */ |
863 class AnalysisGetHoverResult implements HasToJson { | 863 class AnalysisGetHoverResult implements HasToJson { |
864 List<HoverInformation> _hovers; | 864 List<HoverInformation> _hovers; |
865 | 865 |
866 /** | 866 /** |
867 * The hover information associated with the location. The list will be empty | 867 * The hover information associated with the location. The list will be empty |
868 * if no information could be determined for the location. The list can | 868 * if no information could be determined for the location. The list can |
869 * contain multiple items if the file is being analyzed in multiple contexts | 869 * contain multiple items if the file is being analyzed in multiple contexts |
870 * in conflicting ways (such as a part that is included in multiple | 870 * in conflicting ways (such as a part that is included in multiple |
871 * libraries). | 871 * libraries). |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 @override | 934 @override |
935 int get hashCode { | 935 int get hashCode { |
936 int hash = 0; | 936 int hash = 0; |
937 hash = JenkinsSmiHash.combine(hash, hovers.hashCode); | 937 hash = JenkinsSmiHash.combine(hash, hovers.hashCode); |
938 return JenkinsSmiHash.finish(hash); | 938 return JenkinsSmiHash.finish(hash); |
939 } | 939 } |
940 } | 940 } |
941 /** | 941 /** |
942 * analysis.getLibraryDependencies params | 942 * analysis.getLibraryDependencies params |
943 * | 943 * |
944 * Clients are not expected to subtype this class. | 944 * Clients may not extend, implement or mix-in this class. |
945 */ | 945 */ |
946 class AnalysisGetLibraryDependenciesParams { | 946 class AnalysisGetLibraryDependenciesParams { |
947 Request toRequest(String id) { | 947 Request toRequest(String id) { |
948 return new Request(id, "analysis.getLibraryDependencies", null); | 948 return new Request(id, "analysis.getLibraryDependencies", null); |
949 } | 949 } |
950 | 950 |
951 @override | 951 @override |
952 bool operator==(other) { | 952 bool operator==(other) { |
953 if (other is AnalysisGetLibraryDependenciesParams) { | 953 if (other is AnalysisGetLibraryDependenciesParams) { |
954 return true; | 954 return true; |
955 } | 955 } |
956 return false; | 956 return false; |
957 } | 957 } |
958 | 958 |
959 @override | 959 @override |
960 int get hashCode { | 960 int get hashCode { |
961 return 246577680; | 961 return 246577680; |
962 } | 962 } |
963 } | 963 } |
964 | 964 |
965 /** | 965 /** |
966 * analysis.getLibraryDependencies result | 966 * analysis.getLibraryDependencies result |
967 * | 967 * |
968 * { | 968 * { |
969 * "libraries": List<FilePath> | 969 * "libraries": List<FilePath> |
970 * "packageMap": Map<String, Map<String, List<FilePath>>> | 970 * "packageMap": Map<String, Map<String, List<FilePath>>> |
971 * } | 971 * } |
972 * | 972 * |
973 * Clients are not expected to subtype this class. | 973 * Clients may not extend, implement or mix-in this class. |
974 */ | 974 */ |
975 class AnalysisGetLibraryDependenciesResult implements HasToJson { | 975 class AnalysisGetLibraryDependenciesResult implements HasToJson { |
976 List<String> _libraries; | 976 List<String> _libraries; |
977 | 977 |
978 Map<String, Map<String, List<String>>> _packageMap; | 978 Map<String, Map<String, List<String>>> _packageMap; |
979 | 979 |
980 /** | 980 /** |
981 * A list of the paths of library elements referenced by files in existing | 981 * A list of the paths of library elements referenced by files in existing |
982 * analysis roots. | 982 * analysis roots. |
983 */ | 983 */ |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1074 | 1074 |
1075 /** | 1075 /** |
1076 * analysis.getNavigation params | 1076 * analysis.getNavigation params |
1077 * | 1077 * |
1078 * { | 1078 * { |
1079 * "file": FilePath | 1079 * "file": FilePath |
1080 * "offset": int | 1080 * "offset": int |
1081 * "length": int | 1081 * "length": int |
1082 * } | 1082 * } |
1083 * | 1083 * |
1084 * Clients are not expected to subtype this class. | 1084 * Clients may not extend, implement or mix-in this class. |
1085 */ | 1085 */ |
1086 class AnalysisGetNavigationParams implements HasToJson { | 1086 class AnalysisGetNavigationParams implements HasToJson { |
1087 String _file; | 1087 String _file; |
1088 | 1088 |
1089 int _offset; | 1089 int _offset; |
1090 | 1090 |
1091 int _length; | 1091 int _length; |
1092 | 1092 |
1093 /** | 1093 /** |
1094 * The file in which navigation information is being requested. | 1094 * The file in which navigation information is being requested. |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 | 1210 |
1211 /** | 1211 /** |
1212 * analysis.getNavigation result | 1212 * analysis.getNavigation result |
1213 * | 1213 * |
1214 * { | 1214 * { |
1215 * "files": List<FilePath> | 1215 * "files": List<FilePath> |
1216 * "targets": List<NavigationTarget> | 1216 * "targets": List<NavigationTarget> |
1217 * "regions": List<NavigationRegion> | 1217 * "regions": List<NavigationRegion> |
1218 * } | 1218 * } |
1219 * | 1219 * |
1220 * Clients are not expected to subtype this class. | 1220 * Clients may not extend, implement or mix-in this class. |
1221 */ | 1221 */ |
1222 class AnalysisGetNavigationResult implements HasToJson { | 1222 class AnalysisGetNavigationResult implements HasToJson { |
1223 List<String> _files; | 1223 List<String> _files; |
1224 | 1224 |
1225 List<NavigationTarget> _targets; | 1225 List<NavigationTarget> _targets; |
1226 | 1226 |
1227 List<NavigationRegion> _regions; | 1227 List<NavigationRegion> _regions; |
1228 | 1228 |
1229 /** | 1229 /** |
1230 * A list of the paths of files that are referenced by the navigation | 1230 * A list of the paths of files that are referenced by the navigation |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1344 } | 1344 } |
1345 } | 1345 } |
1346 | 1346 |
1347 /** | 1347 /** |
1348 * analysis.reanalyze params | 1348 * analysis.reanalyze params |
1349 * | 1349 * |
1350 * { | 1350 * { |
1351 * "roots": optional List<FilePath> | 1351 * "roots": optional List<FilePath> |
1352 * } | 1352 * } |
1353 * | 1353 * |
1354 * Clients are not expected to subtype this class. | 1354 * Clients may not extend, implement or mix-in this class. |
1355 */ | 1355 */ |
1356 class AnalysisReanalyzeParams implements HasToJson { | 1356 class AnalysisReanalyzeParams implements HasToJson { |
1357 List<String> _roots; | 1357 List<String> _roots; |
1358 | 1358 |
1359 /** | 1359 /** |
1360 * A list of the analysis roots that are to be re-analyzed. | 1360 * A list of the analysis roots that are to be re-analyzed. |
1361 */ | 1361 */ |
1362 List<String> get roots => _roots; | 1362 List<String> get roots => _roots; |
1363 | 1363 |
1364 /** | 1364 /** |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1418 @override | 1418 @override |
1419 int get hashCode { | 1419 int get hashCode { |
1420 int hash = 0; | 1420 int hash = 0; |
1421 hash = JenkinsSmiHash.combine(hash, roots.hashCode); | 1421 hash = JenkinsSmiHash.combine(hash, roots.hashCode); |
1422 return JenkinsSmiHash.finish(hash); | 1422 return JenkinsSmiHash.finish(hash); |
1423 } | 1423 } |
1424 } | 1424 } |
1425 /** | 1425 /** |
1426 * analysis.reanalyze result | 1426 * analysis.reanalyze result |
1427 * | 1427 * |
1428 * Clients are not expected to subtype this class. | 1428 * Clients may not extend, implement or mix-in this class. |
1429 */ | 1429 */ |
1430 class AnalysisReanalyzeResult { | 1430 class AnalysisReanalyzeResult { |
1431 Response toResponse(String id) { | 1431 Response toResponse(String id) { |
1432 return new Response(id, result: null); | 1432 return new Response(id, result: null); |
1433 } | 1433 } |
1434 | 1434 |
1435 @override | 1435 @override |
1436 bool operator==(other) { | 1436 bool operator==(other) { |
1437 if (other is AnalysisReanalyzeResult) { | 1437 if (other is AnalysisReanalyzeResult) { |
1438 return true; | 1438 return true; |
1439 } | 1439 } |
1440 return false; | 1440 return false; |
1441 } | 1441 } |
1442 | 1442 |
1443 @override | 1443 @override |
1444 int get hashCode { | 1444 int get hashCode { |
1445 return 846803925; | 1445 return 846803925; |
1446 } | 1446 } |
1447 } | 1447 } |
1448 | 1448 |
1449 /** | 1449 /** |
1450 * analysis.setAnalysisRoots params | 1450 * analysis.setAnalysisRoots params |
1451 * | 1451 * |
1452 * { | 1452 * { |
1453 * "included": List<FilePath> | 1453 * "included": List<FilePath> |
1454 * "excluded": List<FilePath> | 1454 * "excluded": List<FilePath> |
1455 * "packageRoots": optional Map<FilePath, FilePath> | 1455 * "packageRoots": optional Map<FilePath, FilePath> |
1456 * } | 1456 * } |
1457 * | 1457 * |
1458 * Clients are not expected to subtype this class. | 1458 * Clients may not extend, implement or mix-in this class. |
1459 */ | 1459 */ |
1460 class AnalysisSetAnalysisRootsParams implements HasToJson { | 1460 class AnalysisSetAnalysisRootsParams implements HasToJson { |
1461 List<String> _included; | 1461 List<String> _included; |
1462 | 1462 |
1463 List<String> _excluded; | 1463 List<String> _excluded; |
1464 | 1464 |
1465 Map<String, String> _packageRoots; | 1465 Map<String, String> _packageRoots; |
1466 | 1466 |
1467 /** | 1467 /** |
1468 * A list of the files and directories that should be analyzed. | 1468 * A list of the files and directories that should be analyzed. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1596 int hash = 0; | 1596 int hash = 0; |
1597 hash = JenkinsSmiHash.combine(hash, included.hashCode); | 1597 hash = JenkinsSmiHash.combine(hash, included.hashCode); |
1598 hash = JenkinsSmiHash.combine(hash, excluded.hashCode); | 1598 hash = JenkinsSmiHash.combine(hash, excluded.hashCode); |
1599 hash = JenkinsSmiHash.combine(hash, packageRoots.hashCode); | 1599 hash = JenkinsSmiHash.combine(hash, packageRoots.hashCode); |
1600 return JenkinsSmiHash.finish(hash); | 1600 return JenkinsSmiHash.finish(hash); |
1601 } | 1601 } |
1602 } | 1602 } |
1603 /** | 1603 /** |
1604 * analysis.setAnalysisRoots result | 1604 * analysis.setAnalysisRoots result |
1605 * | 1605 * |
1606 * Clients are not expected to subtype this class. | 1606 * Clients may not extend, implement or mix-in this class. |
1607 */ | 1607 */ |
1608 class AnalysisSetAnalysisRootsResult { | 1608 class AnalysisSetAnalysisRootsResult { |
1609 Response toResponse(String id) { | 1609 Response toResponse(String id) { |
1610 return new Response(id, result: null); | 1610 return new Response(id, result: null); |
1611 } | 1611 } |
1612 | 1612 |
1613 @override | 1613 @override |
1614 bool operator==(other) { | 1614 bool operator==(other) { |
1615 if (other is AnalysisSetAnalysisRootsResult) { | 1615 if (other is AnalysisSetAnalysisRootsResult) { |
1616 return true; | 1616 return true; |
1617 } | 1617 } |
1618 return false; | 1618 return false; |
1619 } | 1619 } |
1620 | 1620 |
1621 @override | 1621 @override |
1622 int get hashCode { | 1622 int get hashCode { |
1623 return 866004753; | 1623 return 866004753; |
1624 } | 1624 } |
1625 } | 1625 } |
1626 | 1626 |
1627 /** | 1627 /** |
1628 * analysis.setGeneralSubscriptions params | 1628 * analysis.setGeneralSubscriptions params |
1629 * | 1629 * |
1630 * { | 1630 * { |
1631 * "subscriptions": List<GeneralAnalysisService> | 1631 * "subscriptions": List<GeneralAnalysisService> |
1632 * } | 1632 * } |
1633 * | 1633 * |
1634 * Clients are not expected to subtype this class. | 1634 * Clients may not extend, implement or mix-in this class. |
1635 */ | 1635 */ |
1636 class AnalysisSetGeneralSubscriptionsParams implements HasToJson { | 1636 class AnalysisSetGeneralSubscriptionsParams implements HasToJson { |
1637 List<GeneralAnalysisService> _subscriptions; | 1637 List<GeneralAnalysisService> _subscriptions; |
1638 | 1638 |
1639 /** | 1639 /** |
1640 * A list of the services being subscribed to. | 1640 * A list of the services being subscribed to. |
1641 */ | 1641 */ |
1642 List<GeneralAnalysisService> get subscriptions => _subscriptions; | 1642 List<GeneralAnalysisService> get subscriptions => _subscriptions; |
1643 | 1643 |
1644 /** | 1644 /** |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1699 @override | 1699 @override |
1700 int get hashCode { | 1700 int get hashCode { |
1701 int hash = 0; | 1701 int hash = 0; |
1702 hash = JenkinsSmiHash.combine(hash, subscriptions.hashCode); | 1702 hash = JenkinsSmiHash.combine(hash, subscriptions.hashCode); |
1703 return JenkinsSmiHash.finish(hash); | 1703 return JenkinsSmiHash.finish(hash); |
1704 } | 1704 } |
1705 } | 1705 } |
1706 /** | 1706 /** |
1707 * analysis.setGeneralSubscriptions result | 1707 * analysis.setGeneralSubscriptions result |
1708 * | 1708 * |
1709 * Clients are not expected to subtype this class. | 1709 * Clients may not extend, implement or mix-in this class. |
1710 */ | 1710 */ |
1711 class AnalysisSetGeneralSubscriptionsResult { | 1711 class AnalysisSetGeneralSubscriptionsResult { |
1712 Response toResponse(String id) { | 1712 Response toResponse(String id) { |
1713 return new Response(id, result: null); | 1713 return new Response(id, result: null); |
1714 } | 1714 } |
1715 | 1715 |
1716 @override | 1716 @override |
1717 bool operator==(other) { | 1717 bool operator==(other) { |
1718 if (other is AnalysisSetGeneralSubscriptionsResult) { | 1718 if (other is AnalysisSetGeneralSubscriptionsResult) { |
1719 return true; | 1719 return true; |
1720 } | 1720 } |
1721 return false; | 1721 return false; |
1722 } | 1722 } |
1723 | 1723 |
1724 @override | 1724 @override |
1725 int get hashCode { | 1725 int get hashCode { |
1726 return 386759562; | 1726 return 386759562; |
1727 } | 1727 } |
1728 } | 1728 } |
1729 | 1729 |
1730 /** | 1730 /** |
1731 * analysis.setPriorityFiles params | 1731 * analysis.setPriorityFiles params |
1732 * | 1732 * |
1733 * { | 1733 * { |
1734 * "files": List<FilePath> | 1734 * "files": List<FilePath> |
1735 * } | 1735 * } |
1736 * | 1736 * |
1737 * Clients are not expected to subtype this class. | 1737 * Clients may not extend, implement or mix-in this class. |
1738 */ | 1738 */ |
1739 class AnalysisSetPriorityFilesParams implements HasToJson { | 1739 class AnalysisSetPriorityFilesParams implements HasToJson { |
1740 List<String> _files; | 1740 List<String> _files; |
1741 | 1741 |
1742 /** | 1742 /** |
1743 * The files that are to be a priority for analysis. | 1743 * The files that are to be a priority for analysis. |
1744 */ | 1744 */ |
1745 List<String> get files => _files; | 1745 List<String> get files => _files; |
1746 | 1746 |
1747 /** | 1747 /** |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1802 @override | 1802 @override |
1803 int get hashCode { | 1803 int get hashCode { |
1804 int hash = 0; | 1804 int hash = 0; |
1805 hash = JenkinsSmiHash.combine(hash, files.hashCode); | 1805 hash = JenkinsSmiHash.combine(hash, files.hashCode); |
1806 return JenkinsSmiHash.finish(hash); | 1806 return JenkinsSmiHash.finish(hash); |
1807 } | 1807 } |
1808 } | 1808 } |
1809 /** | 1809 /** |
1810 * analysis.setPriorityFiles result | 1810 * analysis.setPriorityFiles result |
1811 * | 1811 * |
1812 * Clients are not expected to subtype this class. | 1812 * Clients may not extend, implement or mix-in this class. |
1813 */ | 1813 */ |
1814 class AnalysisSetPriorityFilesResult { | 1814 class AnalysisSetPriorityFilesResult { |
1815 Response toResponse(String id) { | 1815 Response toResponse(String id) { |
1816 return new Response(id, result: null); | 1816 return new Response(id, result: null); |
1817 } | 1817 } |
1818 | 1818 |
1819 @override | 1819 @override |
1820 bool operator==(other) { | 1820 bool operator==(other) { |
1821 if (other is AnalysisSetPriorityFilesResult) { | 1821 if (other is AnalysisSetPriorityFilesResult) { |
1822 return true; | 1822 return true; |
1823 } | 1823 } |
1824 return false; | 1824 return false; |
1825 } | 1825 } |
1826 | 1826 |
1827 @override | 1827 @override |
1828 int get hashCode { | 1828 int get hashCode { |
1829 return 330050055; | 1829 return 330050055; |
1830 } | 1830 } |
1831 } | 1831 } |
1832 | 1832 |
1833 /** | 1833 /** |
1834 * analysis.setSubscriptions params | 1834 * analysis.setSubscriptions params |
1835 * | 1835 * |
1836 * { | 1836 * { |
1837 * "subscriptions": Map<AnalysisService, List<FilePath>> | 1837 * "subscriptions": Map<AnalysisService, List<FilePath>> |
1838 * } | 1838 * } |
1839 * | 1839 * |
1840 * Clients are not expected to subtype this class. | 1840 * Clients may not extend, implement or mix-in this class. |
1841 */ | 1841 */ |
1842 class AnalysisSetSubscriptionsParams implements HasToJson { | 1842 class AnalysisSetSubscriptionsParams implements HasToJson { |
1843 Map<AnalysisService, List<String>> _subscriptions; | 1843 Map<AnalysisService, List<String>> _subscriptions; |
1844 | 1844 |
1845 /** | 1845 /** |
1846 * A table mapping services to a list of the files being subscribed to the | 1846 * A table mapping services to a list of the files being subscribed to the |
1847 * service. | 1847 * service. |
1848 */ | 1848 */ |
1849 Map<AnalysisService, List<String>> get subscriptions => _subscriptions; | 1849 Map<AnalysisService, List<String>> get subscriptions => _subscriptions; |
1850 | 1850 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1907 @override | 1907 @override |
1908 int get hashCode { | 1908 int get hashCode { |
1909 int hash = 0; | 1909 int hash = 0; |
1910 hash = JenkinsSmiHash.combine(hash, subscriptions.hashCode); | 1910 hash = JenkinsSmiHash.combine(hash, subscriptions.hashCode); |
1911 return JenkinsSmiHash.finish(hash); | 1911 return JenkinsSmiHash.finish(hash); |
1912 } | 1912 } |
1913 } | 1913 } |
1914 /** | 1914 /** |
1915 * analysis.setSubscriptions result | 1915 * analysis.setSubscriptions result |
1916 * | 1916 * |
1917 * Clients are not expected to subtype this class. | 1917 * Clients may not extend, implement or mix-in this class. |
1918 */ | 1918 */ |
1919 class AnalysisSetSubscriptionsResult { | 1919 class AnalysisSetSubscriptionsResult { |
1920 Response toResponse(String id) { | 1920 Response toResponse(String id) { |
1921 return new Response(id, result: null); | 1921 return new Response(id, result: null); |
1922 } | 1922 } |
1923 | 1923 |
1924 @override | 1924 @override |
1925 bool operator==(other) { | 1925 bool operator==(other) { |
1926 if (other is AnalysisSetSubscriptionsResult) { | 1926 if (other is AnalysisSetSubscriptionsResult) { |
1927 return true; | 1927 return true; |
1928 } | 1928 } |
1929 return false; | 1929 return false; |
1930 } | 1930 } |
1931 | 1931 |
1932 @override | 1932 @override |
1933 int get hashCode { | 1933 int get hashCode { |
1934 return 218088493; | 1934 return 218088493; |
1935 } | 1935 } |
1936 } | 1936 } |
1937 | 1937 |
1938 /** | 1938 /** |
1939 * analysis.updateContent params | 1939 * analysis.updateContent params |
1940 * | 1940 * |
1941 * { | 1941 * { |
1942 * "files": Map<FilePath, AddContentOverlay | ChangeContentOverlay | RemoveCon
tentOverlay> | 1942 * "files": Map<FilePath, AddContentOverlay | ChangeContentOverlay | RemoveCon
tentOverlay> |
1943 * } | 1943 * } |
1944 * | 1944 * |
1945 * Clients are not expected to subtype this class. | 1945 * Clients may not extend, implement or mix-in this class. |
1946 */ | 1946 */ |
1947 class AnalysisUpdateContentParams implements HasToJson { | 1947 class AnalysisUpdateContentParams implements HasToJson { |
1948 Map<String, dynamic> _files; | 1948 Map<String, dynamic> _files; |
1949 | 1949 |
1950 /** | 1950 /** |
1951 * A table mapping the files whose content has changed to a description of | 1951 * A table mapping the files whose content has changed to a description of |
1952 * the content change. | 1952 * the content change. |
1953 */ | 1953 */ |
1954 Map<String, dynamic> get files => _files; | 1954 Map<String, dynamic> get files => _files; |
1955 | 1955 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2016 return JenkinsSmiHash.finish(hash); | 2016 return JenkinsSmiHash.finish(hash); |
2017 } | 2017 } |
2018 } | 2018 } |
2019 | 2019 |
2020 /** | 2020 /** |
2021 * analysis.updateContent result | 2021 * analysis.updateContent result |
2022 * | 2022 * |
2023 * { | 2023 * { |
2024 * } | 2024 * } |
2025 * | 2025 * |
2026 * Clients are not expected to subtype this class. | 2026 * Clients may not extend, implement or mix-in this class. |
2027 */ | 2027 */ |
2028 class AnalysisUpdateContentResult implements HasToJson { | 2028 class AnalysisUpdateContentResult implements HasToJson { |
2029 AnalysisUpdateContentResult(); | 2029 AnalysisUpdateContentResult(); |
2030 | 2030 |
2031 factory AnalysisUpdateContentResult.fromJson(JsonDecoder jsonDecoder, String j
sonPath, Object json) { | 2031 factory AnalysisUpdateContentResult.fromJson(JsonDecoder jsonDecoder, String j
sonPath, Object json) { |
2032 if (json == null) { | 2032 if (json == null) { |
2033 json = {}; | 2033 json = {}; |
2034 } | 2034 } |
2035 if (json is Map) { | 2035 if (json is Map) { |
2036 return new AnalysisUpdateContentResult(); | 2036 return new AnalysisUpdateContentResult(); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2071 } | 2071 } |
2072 } | 2072 } |
2073 | 2073 |
2074 /** | 2074 /** |
2075 * analysis.updateOptions params | 2075 * analysis.updateOptions params |
2076 * | 2076 * |
2077 * { | 2077 * { |
2078 * "options": AnalysisOptions | 2078 * "options": AnalysisOptions |
2079 * } | 2079 * } |
2080 * | 2080 * |
2081 * Clients are not expected to subtype this class. | 2081 * Clients may not extend, implement or mix-in this class. |
2082 */ | 2082 */ |
2083 class AnalysisUpdateOptionsParams implements HasToJson { | 2083 class AnalysisUpdateOptionsParams implements HasToJson { |
2084 AnalysisOptions _options; | 2084 AnalysisOptions _options; |
2085 | 2085 |
2086 /** | 2086 /** |
2087 * The options that are to be used to control analysis. | 2087 * The options that are to be used to control analysis. |
2088 */ | 2088 */ |
2089 AnalysisOptions get options => _options; | 2089 AnalysisOptions get options => _options; |
2090 | 2090 |
2091 /** | 2091 /** |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2146 @override | 2146 @override |
2147 int get hashCode { | 2147 int get hashCode { |
2148 int hash = 0; | 2148 int hash = 0; |
2149 hash = JenkinsSmiHash.combine(hash, options.hashCode); | 2149 hash = JenkinsSmiHash.combine(hash, options.hashCode); |
2150 return JenkinsSmiHash.finish(hash); | 2150 return JenkinsSmiHash.finish(hash); |
2151 } | 2151 } |
2152 } | 2152 } |
2153 /** | 2153 /** |
2154 * analysis.updateOptions result | 2154 * analysis.updateOptions result |
2155 * | 2155 * |
2156 * Clients are not expected to subtype this class. | 2156 * Clients may not extend, implement or mix-in this class. |
2157 */ | 2157 */ |
2158 class AnalysisUpdateOptionsResult { | 2158 class AnalysisUpdateOptionsResult { |
2159 Response toResponse(String id) { | 2159 Response toResponse(String id) { |
2160 return new Response(id, result: null); | 2160 return new Response(id, result: null); |
2161 } | 2161 } |
2162 | 2162 |
2163 @override | 2163 @override |
2164 bool operator==(other) { | 2164 bool operator==(other) { |
2165 if (other is AnalysisUpdateOptionsResult) { | 2165 if (other is AnalysisUpdateOptionsResult) { |
2166 return true; | 2166 return true; |
2167 } | 2167 } |
2168 return false; | 2168 return false; |
2169 } | 2169 } |
2170 | 2170 |
2171 @override | 2171 @override |
2172 int get hashCode { | 2172 int get hashCode { |
2173 return 179689467; | 2173 return 179689467; |
2174 } | 2174 } |
2175 } | 2175 } |
2176 | 2176 |
2177 /** | 2177 /** |
2178 * analysis.analyzedFiles params | 2178 * analysis.analyzedFiles params |
2179 * | 2179 * |
2180 * { | 2180 * { |
2181 * "directories": List<FilePath> | 2181 * "directories": List<FilePath> |
2182 * } | 2182 * } |
2183 * | 2183 * |
2184 * Clients are not expected to subtype this class. | 2184 * Clients may not extend, implement or mix-in this class. |
2185 */ | 2185 */ |
2186 class AnalysisAnalyzedFilesParams implements HasToJson { | 2186 class AnalysisAnalyzedFilesParams implements HasToJson { |
2187 List<String> _directories; | 2187 List<String> _directories; |
2188 | 2188 |
2189 /** | 2189 /** |
2190 * A list of the paths of the files that are being analyzed. | 2190 * A list of the paths of the files that are being analyzed. |
2191 */ | 2191 */ |
2192 List<String> get directories => _directories; | 2192 List<String> get directories => _directories; |
2193 | 2193 |
2194 /** | 2194 /** |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2255 } | 2255 } |
2256 | 2256 |
2257 /** | 2257 /** |
2258 * analysis.errors params | 2258 * analysis.errors params |
2259 * | 2259 * |
2260 * { | 2260 * { |
2261 * "file": FilePath | 2261 * "file": FilePath |
2262 * "errors": List<AnalysisError> | 2262 * "errors": List<AnalysisError> |
2263 * } | 2263 * } |
2264 * | 2264 * |
2265 * Clients are not expected to subtype this class. | 2265 * Clients may not extend, implement or mix-in this class. |
2266 */ | 2266 */ |
2267 class AnalysisErrorsParams implements HasToJson { | 2267 class AnalysisErrorsParams implements HasToJson { |
2268 String _file; | 2268 String _file; |
2269 | 2269 |
2270 List<AnalysisError> _errors; | 2270 List<AnalysisError> _errors; |
2271 | 2271 |
2272 /** | 2272 /** |
2273 * The file containing the errors. | 2273 * The file containing the errors. |
2274 */ | 2274 */ |
2275 String get file => _file; | 2275 String get file => _file; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2360 } | 2360 } |
2361 } | 2361 } |
2362 | 2362 |
2363 /** | 2363 /** |
2364 * analysis.flushResults params | 2364 * analysis.flushResults params |
2365 * | 2365 * |
2366 * { | 2366 * { |
2367 * "files": List<FilePath> | 2367 * "files": List<FilePath> |
2368 * } | 2368 * } |
2369 * | 2369 * |
2370 * Clients are not expected to subtype this class. | 2370 * Clients may not extend, implement or mix-in this class. |
2371 */ | 2371 */ |
2372 class AnalysisFlushResultsParams implements HasToJson { | 2372 class AnalysisFlushResultsParams implements HasToJson { |
2373 List<String> _files; | 2373 List<String> _files; |
2374 | 2374 |
2375 /** | 2375 /** |
2376 * The files that are no longer being analyzed. | 2376 * The files that are no longer being analyzed. |
2377 */ | 2377 */ |
2378 List<String> get files => _files; | 2378 List<String> get files => _files; |
2379 | 2379 |
2380 /** | 2380 /** |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2441 } | 2441 } |
2442 | 2442 |
2443 /** | 2443 /** |
2444 * analysis.folding params | 2444 * analysis.folding params |
2445 * | 2445 * |
2446 * { | 2446 * { |
2447 * "file": FilePath | 2447 * "file": FilePath |
2448 * "regions": List<FoldingRegion> | 2448 * "regions": List<FoldingRegion> |
2449 * } | 2449 * } |
2450 * | 2450 * |
2451 * Clients are not expected to subtype this class. | 2451 * Clients may not extend, implement or mix-in this class. |
2452 */ | 2452 */ |
2453 class AnalysisFoldingParams implements HasToJson { | 2453 class AnalysisFoldingParams implements HasToJson { |
2454 String _file; | 2454 String _file; |
2455 | 2455 |
2456 List<FoldingRegion> _regions; | 2456 List<FoldingRegion> _regions; |
2457 | 2457 |
2458 /** | 2458 /** |
2459 * The file containing the folding regions. | 2459 * The file containing the folding regions. |
2460 */ | 2460 */ |
2461 String get file => _file; | 2461 String get file => _file; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2547 } | 2547 } |
2548 | 2548 |
2549 /** | 2549 /** |
2550 * analysis.highlights params | 2550 * analysis.highlights params |
2551 * | 2551 * |
2552 * { | 2552 * { |
2553 * "file": FilePath | 2553 * "file": FilePath |
2554 * "regions": List<HighlightRegion> | 2554 * "regions": List<HighlightRegion> |
2555 * } | 2555 * } |
2556 * | 2556 * |
2557 * Clients are not expected to subtype this class. | 2557 * Clients may not extend, implement or mix-in this class. |
2558 */ | 2558 */ |
2559 class AnalysisHighlightsParams implements HasToJson { | 2559 class AnalysisHighlightsParams implements HasToJson { |
2560 String _file; | 2560 String _file; |
2561 | 2561 |
2562 List<HighlightRegion> _regions; | 2562 List<HighlightRegion> _regions; |
2563 | 2563 |
2564 /** | 2564 /** |
2565 * The file containing the highlight regions. | 2565 * The file containing the highlight regions. |
2566 */ | 2566 */ |
2567 String get file => _file; | 2567 String get file => _file; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2662 | 2662 |
2663 /** | 2663 /** |
2664 * analysis.implemented params | 2664 * analysis.implemented params |
2665 * | 2665 * |
2666 * { | 2666 * { |
2667 * "file": FilePath | 2667 * "file": FilePath |
2668 * "classes": List<ImplementedClass> | 2668 * "classes": List<ImplementedClass> |
2669 * "members": List<ImplementedMember> | 2669 * "members": List<ImplementedMember> |
2670 * } | 2670 * } |
2671 * | 2671 * |
2672 * Clients are not expected to subtype this class. | 2672 * Clients may not extend, implement or mix-in this class. |
2673 */ | 2673 */ |
2674 class AnalysisImplementedParams implements HasToJson { | 2674 class AnalysisImplementedParams implements HasToJson { |
2675 String _file; | 2675 String _file; |
2676 | 2676 |
2677 List<ImplementedClass> _classes; | 2677 List<ImplementedClass> _classes; |
2678 | 2678 |
2679 List<ImplementedMember> _members; | 2679 List<ImplementedMember> _members; |
2680 | 2680 |
2681 /** | 2681 /** |
2682 * The file with which the implementations are associated. | 2682 * The file with which the implementations are associated. |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2795 /** | 2795 /** |
2796 * analysis.invalidate params | 2796 * analysis.invalidate params |
2797 * | 2797 * |
2798 * { | 2798 * { |
2799 * "file": FilePath | 2799 * "file": FilePath |
2800 * "offset": int | 2800 * "offset": int |
2801 * "length": int | 2801 * "length": int |
2802 * "delta": int | 2802 * "delta": int |
2803 * } | 2803 * } |
2804 * | 2804 * |
2805 * Clients are not expected to subtype this class. | 2805 * Clients may not extend, implement or mix-in this class. |
2806 */ | 2806 */ |
2807 class AnalysisInvalidateParams implements HasToJson { | 2807 class AnalysisInvalidateParams implements HasToJson { |
2808 String _file; | 2808 String _file; |
2809 | 2809 |
2810 int _offset; | 2810 int _offset; |
2811 | 2811 |
2812 int _length; | 2812 int _length; |
2813 | 2813 |
2814 int _delta; | 2814 int _delta; |
2815 | 2815 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2957 /** | 2957 /** |
2958 * analysis.navigation params | 2958 * analysis.navigation params |
2959 * | 2959 * |
2960 * { | 2960 * { |
2961 * "file": FilePath | 2961 * "file": FilePath |
2962 * "regions": List<NavigationRegion> | 2962 * "regions": List<NavigationRegion> |
2963 * "targets": List<NavigationTarget> | 2963 * "targets": List<NavigationTarget> |
2964 * "files": List<FilePath> | 2964 * "files": List<FilePath> |
2965 * } | 2965 * } |
2966 * | 2966 * |
2967 * Clients are not expected to subtype this class. | 2967 * Clients may not extend, implement or mix-in this class. |
2968 */ | 2968 */ |
2969 class AnalysisNavigationParams implements HasToJson { | 2969 class AnalysisNavigationParams implements HasToJson { |
2970 String _file; | 2970 String _file; |
2971 | 2971 |
2972 List<NavigationRegion> _regions; | 2972 List<NavigationRegion> _regions; |
2973 | 2973 |
2974 List<NavigationTarget> _targets; | 2974 List<NavigationTarget> _targets; |
2975 | 2975 |
2976 List<String> _files; | 2976 List<String> _files; |
2977 | 2977 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3129 } | 3129 } |
3130 | 3130 |
3131 /** | 3131 /** |
3132 * analysis.occurrences params | 3132 * analysis.occurrences params |
3133 * | 3133 * |
3134 * { | 3134 * { |
3135 * "file": FilePath | 3135 * "file": FilePath |
3136 * "occurrences": List<Occurrences> | 3136 * "occurrences": List<Occurrences> |
3137 * } | 3137 * } |
3138 * | 3138 * |
3139 * Clients are not expected to subtype this class. | 3139 * Clients may not extend, implement or mix-in this class. |
3140 */ | 3140 */ |
3141 class AnalysisOccurrencesParams implements HasToJson { | 3141 class AnalysisOccurrencesParams implements HasToJson { |
3142 String _file; | 3142 String _file; |
3143 | 3143 |
3144 List<Occurrences> _occurrences; | 3144 List<Occurrences> _occurrences; |
3145 | 3145 |
3146 /** | 3146 /** |
3147 * The file in which the references occur. | 3147 * The file in which the references occur. |
3148 */ | 3148 */ |
3149 String get file => _file; | 3149 String get file => _file; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3237 /** | 3237 /** |
3238 * analysis.outline params | 3238 * analysis.outline params |
3239 * | 3239 * |
3240 * { | 3240 * { |
3241 * "file": FilePath | 3241 * "file": FilePath |
3242 * "kind": FileKind | 3242 * "kind": FileKind |
3243 * "libraryName": optional String | 3243 * "libraryName": optional String |
3244 * "outline": Outline | 3244 * "outline": Outline |
3245 * } | 3245 * } |
3246 * | 3246 * |
3247 * Clients are not expected to subtype this class. | 3247 * Clients may not extend, implement or mix-in this class. |
3248 */ | 3248 */ |
3249 class AnalysisOutlineParams implements HasToJson { | 3249 class AnalysisOutlineParams implements HasToJson { |
3250 String _file; | 3250 String _file; |
3251 | 3251 |
3252 FileKind _kind; | 3252 FileKind _kind; |
3253 | 3253 |
3254 String _libraryName; | 3254 String _libraryName; |
3255 | 3255 |
3256 Outline _outline; | 3256 Outline _outline; |
3257 | 3257 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3400 } | 3400 } |
3401 | 3401 |
3402 /** | 3402 /** |
3403 * analysis.overrides params | 3403 * analysis.overrides params |
3404 * | 3404 * |
3405 * { | 3405 * { |
3406 * "file": FilePath | 3406 * "file": FilePath |
3407 * "overrides": List<Override> | 3407 * "overrides": List<Override> |
3408 * } | 3408 * } |
3409 * | 3409 * |
3410 * Clients are not expected to subtype this class. | 3410 * Clients may not extend, implement or mix-in this class. |
3411 */ | 3411 */ |
3412 class AnalysisOverridesParams implements HasToJson { | 3412 class AnalysisOverridesParams implements HasToJson { |
3413 String _file; | 3413 String _file; |
3414 | 3414 |
3415 List<Override> _overrides; | 3415 List<Override> _overrides; |
3416 | 3416 |
3417 /** | 3417 /** |
3418 * The file with which the overrides are associated. | 3418 * The file with which the overrides are associated. |
3419 */ | 3419 */ |
3420 String get file => _file; | 3420 String get file => _file; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3506 } | 3506 } |
3507 | 3507 |
3508 /** | 3508 /** |
3509 * completion.getSuggestions params | 3509 * completion.getSuggestions params |
3510 * | 3510 * |
3511 * { | 3511 * { |
3512 * "file": FilePath | 3512 * "file": FilePath |
3513 * "offset": int | 3513 * "offset": int |
3514 * } | 3514 * } |
3515 * | 3515 * |
3516 * Clients are not expected to subtype this class. | 3516 * Clients may not extend, implement or mix-in this class. |
3517 */ | 3517 */ |
3518 class CompletionGetSuggestionsParams implements HasToJson { | 3518 class CompletionGetSuggestionsParams implements HasToJson { |
3519 String _file; | 3519 String _file; |
3520 | 3520 |
3521 int _offset; | 3521 int _offset; |
3522 | 3522 |
3523 /** | 3523 /** |
3524 * The file containing the point at which suggestions are to be made. | 3524 * The file containing the point at which suggestions are to be made. |
3525 */ | 3525 */ |
3526 String get file => _file; | 3526 String get file => _file; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3611 } | 3611 } |
3612 } | 3612 } |
3613 | 3613 |
3614 /** | 3614 /** |
3615 * completion.getSuggestions result | 3615 * completion.getSuggestions result |
3616 * | 3616 * |
3617 * { | 3617 * { |
3618 * "id": CompletionId | 3618 * "id": CompletionId |
3619 * } | 3619 * } |
3620 * | 3620 * |
3621 * Clients are not expected to subtype this class. | 3621 * Clients may not extend, implement or mix-in this class. |
3622 */ | 3622 */ |
3623 class CompletionGetSuggestionsResult implements HasToJson { | 3623 class CompletionGetSuggestionsResult implements HasToJson { |
3624 String _id; | 3624 String _id; |
3625 | 3625 |
3626 /** | 3626 /** |
3627 * The identifier used to associate results with this completion request. | 3627 * The identifier used to associate results with this completion request. |
3628 */ | 3628 */ |
3629 String get id => _id; | 3629 String get id => _id; |
3630 | 3630 |
3631 /** | 3631 /** |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3695 * completion.results params | 3695 * completion.results params |
3696 * | 3696 * |
3697 * { | 3697 * { |
3698 * "id": CompletionId | 3698 * "id": CompletionId |
3699 * "replacementOffset": int | 3699 * "replacementOffset": int |
3700 * "replacementLength": int | 3700 * "replacementLength": int |
3701 * "results": List<CompletionSuggestion> | 3701 * "results": List<CompletionSuggestion> |
3702 * "isLast": bool | 3702 * "isLast": bool |
3703 * } | 3703 * } |
3704 * | 3704 * |
3705 * Clients are not expected to subtype this class. | 3705 * Clients may not extend, implement or mix-in this class. |
3706 */ | 3706 */ |
3707 class CompletionResultsParams implements HasToJson { | 3707 class CompletionResultsParams implements HasToJson { |
3708 String _id; | 3708 String _id; |
3709 | 3709 |
3710 int _replacementOffset; | 3710 int _replacementOffset; |
3711 | 3711 |
3712 int _replacementLength; | 3712 int _replacementLength; |
3713 | 3713 |
3714 List<CompletionSuggestion> _results; | 3714 List<CompletionSuggestion> _results; |
3715 | 3715 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3897 | 3897 |
3898 /** | 3898 /** |
3899 * search.findElementReferences params | 3899 * search.findElementReferences params |
3900 * | 3900 * |
3901 * { | 3901 * { |
3902 * "file": FilePath | 3902 * "file": FilePath |
3903 * "offset": int | 3903 * "offset": int |
3904 * "includePotential": bool | 3904 * "includePotential": bool |
3905 * } | 3905 * } |
3906 * | 3906 * |
3907 * Clients are not expected to subtype this class. | 3907 * Clients may not extend, implement or mix-in this class. |
3908 */ | 3908 */ |
3909 class SearchFindElementReferencesParams implements HasToJson { | 3909 class SearchFindElementReferencesParams implements HasToJson { |
3910 String _file; | 3910 String _file; |
3911 | 3911 |
3912 int _offset; | 3912 int _offset; |
3913 | 3913 |
3914 bool _includePotential; | 3914 bool _includePotential; |
3915 | 3915 |
3916 /** | 3916 /** |
3917 * The file containing the declaration of or reference to the element used to | 3917 * The file containing the declaration of or reference to the element used to |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4032 } | 4032 } |
4033 | 4033 |
4034 /** | 4034 /** |
4035 * search.findElementReferences result | 4035 * search.findElementReferences result |
4036 * | 4036 * |
4037 * { | 4037 * { |
4038 * "id": optional SearchId | 4038 * "id": optional SearchId |
4039 * "element": optional Element | 4039 * "element": optional Element |
4040 * } | 4040 * } |
4041 * | 4041 * |
4042 * Clients are not expected to subtype this class. | 4042 * Clients may not extend, implement or mix-in this class. |
4043 */ | 4043 */ |
4044 class SearchFindElementReferencesResult implements HasToJson { | 4044 class SearchFindElementReferencesResult implements HasToJson { |
4045 String _id; | 4045 String _id; |
4046 | 4046 |
4047 Element _element; | 4047 Element _element; |
4048 | 4048 |
4049 /** | 4049 /** |
4050 * The identifier used to associate results with this search request. | 4050 * The identifier used to associate results with this search request. |
4051 * | 4051 * |
4052 * If no element was found at the given location, this field will be absent, | 4052 * If no element was found at the given location, this field will be absent, |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4147 } | 4147 } |
4148 } | 4148 } |
4149 | 4149 |
4150 /** | 4150 /** |
4151 * search.findMemberDeclarations params | 4151 * search.findMemberDeclarations params |
4152 * | 4152 * |
4153 * { | 4153 * { |
4154 * "name": String | 4154 * "name": String |
4155 * } | 4155 * } |
4156 * | 4156 * |
4157 * Clients are not expected to subtype this class. | 4157 * Clients may not extend, implement or mix-in this class. |
4158 */ | 4158 */ |
4159 class SearchFindMemberDeclarationsParams implements HasToJson { | 4159 class SearchFindMemberDeclarationsParams implements HasToJson { |
4160 String _name; | 4160 String _name; |
4161 | 4161 |
4162 /** | 4162 /** |
4163 * The name of the declarations to be found. | 4163 * The name of the declarations to be found. |
4164 */ | 4164 */ |
4165 String get name => _name; | 4165 String get name => _name; |
4166 | 4166 |
4167 /** | 4167 /** |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4227 } | 4227 } |
4228 } | 4228 } |
4229 | 4229 |
4230 /** | 4230 /** |
4231 * search.findMemberDeclarations result | 4231 * search.findMemberDeclarations result |
4232 * | 4232 * |
4233 * { | 4233 * { |
4234 * "id": SearchId | 4234 * "id": SearchId |
4235 * } | 4235 * } |
4236 * | 4236 * |
4237 * Clients are not expected to subtype this class. | 4237 * Clients may not extend, implement or mix-in this class. |
4238 */ | 4238 */ |
4239 class SearchFindMemberDeclarationsResult implements HasToJson { | 4239 class SearchFindMemberDeclarationsResult implements HasToJson { |
4240 String _id; | 4240 String _id; |
4241 | 4241 |
4242 /** | 4242 /** |
4243 * The identifier used to associate results with this search request. | 4243 * The identifier used to associate results with this search request. |
4244 */ | 4244 */ |
4245 String get id => _id; | 4245 String get id => _id; |
4246 | 4246 |
4247 /** | 4247 /** |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4307 } | 4307 } |
4308 } | 4308 } |
4309 | 4309 |
4310 /** | 4310 /** |
4311 * search.findMemberReferences params | 4311 * search.findMemberReferences params |
4312 * | 4312 * |
4313 * { | 4313 * { |
4314 * "name": String | 4314 * "name": String |
4315 * } | 4315 * } |
4316 * | 4316 * |
4317 * Clients are not expected to subtype this class. | 4317 * Clients may not extend, implement or mix-in this class. |
4318 */ | 4318 */ |
4319 class SearchFindMemberReferencesParams implements HasToJson { | 4319 class SearchFindMemberReferencesParams implements HasToJson { |
4320 String _name; | 4320 String _name; |
4321 | 4321 |
4322 /** | 4322 /** |
4323 * The name of the references to be found. | 4323 * The name of the references to be found. |
4324 */ | 4324 */ |
4325 String get name => _name; | 4325 String get name => _name; |
4326 | 4326 |
4327 /** | 4327 /** |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4387 } | 4387 } |
4388 } | 4388 } |
4389 | 4389 |
4390 /** | 4390 /** |
4391 * search.findMemberReferences result | 4391 * search.findMemberReferences result |
4392 * | 4392 * |
4393 * { | 4393 * { |
4394 * "id": SearchId | 4394 * "id": SearchId |
4395 * } | 4395 * } |
4396 * | 4396 * |
4397 * Clients are not expected to subtype this class. | 4397 * Clients may not extend, implement or mix-in this class. |
4398 */ | 4398 */ |
4399 class SearchFindMemberReferencesResult implements HasToJson { | 4399 class SearchFindMemberReferencesResult implements HasToJson { |
4400 String _id; | 4400 String _id; |
4401 | 4401 |
4402 /** | 4402 /** |
4403 * The identifier used to associate results with this search request. | 4403 * The identifier used to associate results with this search request. |
4404 */ | 4404 */ |
4405 String get id => _id; | 4405 String get id => _id; |
4406 | 4406 |
4407 /** | 4407 /** |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4467 } | 4467 } |
4468 } | 4468 } |
4469 | 4469 |
4470 /** | 4470 /** |
4471 * search.findTopLevelDeclarations params | 4471 * search.findTopLevelDeclarations params |
4472 * | 4472 * |
4473 * { | 4473 * { |
4474 * "pattern": String | 4474 * "pattern": String |
4475 * } | 4475 * } |
4476 * | 4476 * |
4477 * Clients are not expected to subtype this class. | 4477 * Clients may not extend, implement or mix-in this class. |
4478 */ | 4478 */ |
4479 class SearchFindTopLevelDeclarationsParams implements HasToJson { | 4479 class SearchFindTopLevelDeclarationsParams implements HasToJson { |
4480 String _pattern; | 4480 String _pattern; |
4481 | 4481 |
4482 /** | 4482 /** |
4483 * The regular expression used to match the names of the declarations to be | 4483 * The regular expression used to match the names of the declarations to be |
4484 * found. | 4484 * found. |
4485 */ | 4485 */ |
4486 String get pattern => _pattern; | 4486 String get pattern => _pattern; |
4487 | 4487 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4549 } | 4549 } |
4550 } | 4550 } |
4551 | 4551 |
4552 /** | 4552 /** |
4553 * search.findTopLevelDeclarations result | 4553 * search.findTopLevelDeclarations result |
4554 * | 4554 * |
4555 * { | 4555 * { |
4556 * "id": SearchId | 4556 * "id": SearchId |
4557 * } | 4557 * } |
4558 * | 4558 * |
4559 * Clients are not expected to subtype this class. | 4559 * Clients may not extend, implement or mix-in this class. |
4560 */ | 4560 */ |
4561 class SearchFindTopLevelDeclarationsResult implements HasToJson { | 4561 class SearchFindTopLevelDeclarationsResult implements HasToJson { |
4562 String _id; | 4562 String _id; |
4563 | 4563 |
4564 /** | 4564 /** |
4565 * The identifier used to associate results with this search request. | 4565 * The identifier used to associate results with this search request. |
4566 */ | 4566 */ |
4567 String get id => _id; | 4567 String get id => _id; |
4568 | 4568 |
4569 /** | 4569 /** |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4631 | 4631 |
4632 /** | 4632 /** |
4633 * search.getTypeHierarchy params | 4633 * search.getTypeHierarchy params |
4634 * | 4634 * |
4635 * { | 4635 * { |
4636 * "file": FilePath | 4636 * "file": FilePath |
4637 * "offset": int | 4637 * "offset": int |
4638 * "superOnly": optional bool | 4638 * "superOnly": optional bool |
4639 * } | 4639 * } |
4640 * | 4640 * |
4641 * Clients are not expected to subtype this class. | 4641 * Clients may not extend, implement or mix-in this class. |
4642 */ | 4642 */ |
4643 class SearchGetTypeHierarchyParams implements HasToJson { | 4643 class SearchGetTypeHierarchyParams implements HasToJson { |
4644 String _file; | 4644 String _file; |
4645 | 4645 |
4646 int _offset; | 4646 int _offset; |
4647 | 4647 |
4648 bool _superOnly; | 4648 bool _superOnly; |
4649 | 4649 |
4650 /** | 4650 /** |
4651 * The file containing the declaration or reference to the type for which a | 4651 * The file containing the declaration or reference to the type for which a |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4764 } | 4764 } |
4765 } | 4765 } |
4766 | 4766 |
4767 /** | 4767 /** |
4768 * search.getTypeHierarchy result | 4768 * search.getTypeHierarchy result |
4769 * | 4769 * |
4770 * { | 4770 * { |
4771 * "hierarchyItems": optional List<TypeHierarchyItem> | 4771 * "hierarchyItems": optional List<TypeHierarchyItem> |
4772 * } | 4772 * } |
4773 * | 4773 * |
4774 * Clients are not expected to subtype this class. | 4774 * Clients may not extend, implement or mix-in this class. |
4775 */ | 4775 */ |
4776 class SearchGetTypeHierarchyResult implements HasToJson { | 4776 class SearchGetTypeHierarchyResult implements HasToJson { |
4777 List<TypeHierarchyItem> _hierarchyItems; | 4777 List<TypeHierarchyItem> _hierarchyItems; |
4778 | 4778 |
4779 /** | 4779 /** |
4780 * A list of the types in the requested hierarchy. The first element of the | 4780 * A list of the types in the requested hierarchy. The first element of the |
4781 * list is the item representing the type for which the hierarchy was | 4781 * list is the item representing the type for which the hierarchy was |
4782 * requested. The index of other elements of the list is unspecified, but | 4782 * requested. The index of other elements of the list is unspecified, but |
4783 * correspond to the integers used to reference supertype and subtype items | 4783 * correspond to the integers used to reference supertype and subtype items |
4784 * within the items. | 4784 * within the items. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4861 | 4861 |
4862 /** | 4862 /** |
4863 * search.results params | 4863 * search.results params |
4864 * | 4864 * |
4865 * { | 4865 * { |
4866 * "id": SearchId | 4866 * "id": SearchId |
4867 * "results": List<SearchResult> | 4867 * "results": List<SearchResult> |
4868 * "isLast": bool | 4868 * "isLast": bool |
4869 * } | 4869 * } |
4870 * | 4870 * |
4871 * Clients are not expected to subtype this class. | 4871 * Clients may not extend, implement or mix-in this class. |
4872 */ | 4872 */ |
4873 class SearchResultsParams implements HasToJson { | 4873 class SearchResultsParams implements HasToJson { |
4874 String _id; | 4874 String _id; |
4875 | 4875 |
4876 List<SearchResult> _results; | 4876 List<SearchResult> _results; |
4877 | 4877 |
4878 bool _isLast; | 4878 bool _isLast; |
4879 | 4879 |
4880 /** | 4880 /** |
4881 * The id associated with the search. | 4881 * The id associated with the search. |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4996 /** | 4996 /** |
4997 * edit.format params | 4997 * edit.format params |
4998 * | 4998 * |
4999 * { | 4999 * { |
5000 * "file": FilePath | 5000 * "file": FilePath |
5001 * "selectionOffset": int | 5001 * "selectionOffset": int |
5002 * "selectionLength": int | 5002 * "selectionLength": int |
5003 * "lineLength": optional int | 5003 * "lineLength": optional int |
5004 * } | 5004 * } |
5005 * | 5005 * |
5006 * Clients are not expected to subtype this class. | 5006 * Clients may not extend, implement or mix-in this class. |
5007 */ | 5007 */ |
5008 class EditFormatParams implements HasToJson { | 5008 class EditFormatParams implements HasToJson { |
5009 String _file; | 5009 String _file; |
5010 | 5010 |
5011 int _selectionOffset; | 5011 int _selectionOffset; |
5012 | 5012 |
5013 int _selectionLength; | 5013 int _selectionLength; |
5014 | 5014 |
5015 int _lineLength; | 5015 int _lineLength; |
5016 | 5016 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5152 | 5152 |
5153 /** | 5153 /** |
5154 * edit.format result | 5154 * edit.format result |
5155 * | 5155 * |
5156 * { | 5156 * { |
5157 * "edits": List<SourceEdit> | 5157 * "edits": List<SourceEdit> |
5158 * "selectionOffset": int | 5158 * "selectionOffset": int |
5159 * "selectionLength": int | 5159 * "selectionLength": int |
5160 * } | 5160 * } |
5161 * | 5161 * |
5162 * Clients are not expected to subtype this class. | 5162 * Clients may not extend, implement or mix-in this class. |
5163 */ | 5163 */ |
5164 class EditFormatResult implements HasToJson { | 5164 class EditFormatResult implements HasToJson { |
5165 List<SourceEdit> _edits; | 5165 List<SourceEdit> _edits; |
5166 | 5166 |
5167 int _selectionOffset; | 5167 int _selectionOffset; |
5168 | 5168 |
5169 int _selectionLength; | 5169 int _selectionLength; |
5170 | 5170 |
5171 /** | 5171 /** |
5172 * The edit(s) to be applied in order to format the code. The list will be | 5172 * The edit(s) to be applied in order to format the code. The list will be |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5286 | 5286 |
5287 /** | 5287 /** |
5288 * edit.getAssists params | 5288 * edit.getAssists params |
5289 * | 5289 * |
5290 * { | 5290 * { |
5291 * "file": FilePath | 5291 * "file": FilePath |
5292 * "offset": int | 5292 * "offset": int |
5293 * "length": int | 5293 * "length": int |
5294 * } | 5294 * } |
5295 * | 5295 * |
5296 * Clients are not expected to subtype this class. | 5296 * Clients may not extend, implement or mix-in this class. |
5297 */ | 5297 */ |
5298 class EditGetAssistsParams implements HasToJson { | 5298 class EditGetAssistsParams implements HasToJson { |
5299 String _file; | 5299 String _file; |
5300 | 5300 |
5301 int _offset; | 5301 int _offset; |
5302 | 5302 |
5303 int _length; | 5303 int _length; |
5304 | 5304 |
5305 /** | 5305 /** |
5306 * The file containing the code for which assists are being requested. | 5306 * The file containing the code for which assists are being requested. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5416 } | 5416 } |
5417 } | 5417 } |
5418 | 5418 |
5419 /** | 5419 /** |
5420 * edit.getAssists result | 5420 * edit.getAssists result |
5421 * | 5421 * |
5422 * { | 5422 * { |
5423 * "assists": List<SourceChange> | 5423 * "assists": List<SourceChange> |
5424 * } | 5424 * } |
5425 * | 5425 * |
5426 * Clients are not expected to subtype this class. | 5426 * Clients may not extend, implement or mix-in this class. |
5427 */ | 5427 */ |
5428 class EditGetAssistsResult implements HasToJson { | 5428 class EditGetAssistsResult implements HasToJson { |
5429 List<SourceChange> _assists; | 5429 List<SourceChange> _assists; |
5430 | 5430 |
5431 /** | 5431 /** |
5432 * The assists that are available at the given location. | 5432 * The assists that are available at the given location. |
5433 */ | 5433 */ |
5434 List<SourceChange> get assists => _assists; | 5434 List<SourceChange> get assists => _assists; |
5435 | 5435 |
5436 /** | 5436 /** |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5498 | 5498 |
5499 /** | 5499 /** |
5500 * edit.getAvailableRefactorings params | 5500 * edit.getAvailableRefactorings params |
5501 * | 5501 * |
5502 * { | 5502 * { |
5503 * "file": FilePath | 5503 * "file": FilePath |
5504 * "offset": int | 5504 * "offset": int |
5505 * "length": int | 5505 * "length": int |
5506 * } | 5506 * } |
5507 * | 5507 * |
5508 * Clients are not expected to subtype this class. | 5508 * Clients may not extend, implement or mix-in this class. |
5509 */ | 5509 */ |
5510 class EditGetAvailableRefactoringsParams implements HasToJson { | 5510 class EditGetAvailableRefactoringsParams implements HasToJson { |
5511 String _file; | 5511 String _file; |
5512 | 5512 |
5513 int _offset; | 5513 int _offset; |
5514 | 5514 |
5515 int _length; | 5515 int _length; |
5516 | 5516 |
5517 /** | 5517 /** |
5518 * The file containing the code on which the refactoring would be based. | 5518 * The file containing the code on which the refactoring would be based. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5628 } | 5628 } |
5629 } | 5629 } |
5630 | 5630 |
5631 /** | 5631 /** |
5632 * edit.getAvailableRefactorings result | 5632 * edit.getAvailableRefactorings result |
5633 * | 5633 * |
5634 * { | 5634 * { |
5635 * "kinds": List<RefactoringKind> | 5635 * "kinds": List<RefactoringKind> |
5636 * } | 5636 * } |
5637 * | 5637 * |
5638 * Clients are not expected to subtype this class. | 5638 * Clients may not extend, implement or mix-in this class. |
5639 */ | 5639 */ |
5640 class EditGetAvailableRefactoringsResult implements HasToJson { | 5640 class EditGetAvailableRefactoringsResult implements HasToJson { |
5641 List<RefactoringKind> _kinds; | 5641 List<RefactoringKind> _kinds; |
5642 | 5642 |
5643 /** | 5643 /** |
5644 * The kinds of refactorings that are valid for the given selection. | 5644 * The kinds of refactorings that are valid for the given selection. |
5645 */ | 5645 */ |
5646 List<RefactoringKind> get kinds => _kinds; | 5646 List<RefactoringKind> get kinds => _kinds; |
5647 | 5647 |
5648 /** | 5648 /** |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5709 } | 5709 } |
5710 | 5710 |
5711 /** | 5711 /** |
5712 * edit.getFixes params | 5712 * edit.getFixes params |
5713 * | 5713 * |
5714 * { | 5714 * { |
5715 * "file": FilePath | 5715 * "file": FilePath |
5716 * "offset": int | 5716 * "offset": int |
5717 * } | 5717 * } |
5718 * | 5718 * |
5719 * Clients are not expected to subtype this class. | 5719 * Clients may not extend, implement or mix-in this class. |
5720 */ | 5720 */ |
5721 class EditGetFixesParams implements HasToJson { | 5721 class EditGetFixesParams implements HasToJson { |
5722 String _file; | 5722 String _file; |
5723 | 5723 |
5724 int _offset; | 5724 int _offset; |
5725 | 5725 |
5726 /** | 5726 /** |
5727 * The file containing the errors for which fixes are being requested. | 5727 * The file containing the errors for which fixes are being requested. |
5728 */ | 5728 */ |
5729 String get file => _file; | 5729 String get file => _file; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5814 } | 5814 } |
5815 } | 5815 } |
5816 | 5816 |
5817 /** | 5817 /** |
5818 * edit.getFixes result | 5818 * edit.getFixes result |
5819 * | 5819 * |
5820 * { | 5820 * { |
5821 * "fixes": List<AnalysisErrorFixes> | 5821 * "fixes": List<AnalysisErrorFixes> |
5822 * } | 5822 * } |
5823 * | 5823 * |
5824 * Clients are not expected to subtype this class. | 5824 * Clients may not extend, implement or mix-in this class. |
5825 */ | 5825 */ |
5826 class EditGetFixesResult implements HasToJson { | 5826 class EditGetFixesResult implements HasToJson { |
5827 List<AnalysisErrorFixes> _fixes; | 5827 List<AnalysisErrorFixes> _fixes; |
5828 | 5828 |
5829 /** | 5829 /** |
5830 * The fixes that are available for the errors at the given offset. | 5830 * The fixes that are available for the errors at the given offset. |
5831 */ | 5831 */ |
5832 List<AnalysisErrorFixes> get fixes => _fixes; | 5832 List<AnalysisErrorFixes> get fixes => _fixes; |
5833 | 5833 |
5834 /** | 5834 /** |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5899 * | 5899 * |
5900 * { | 5900 * { |
5901 * "kind": RefactoringKind | 5901 * "kind": RefactoringKind |
5902 * "file": FilePath | 5902 * "file": FilePath |
5903 * "offset": int | 5903 * "offset": int |
5904 * "length": int | 5904 * "length": int |
5905 * "validateOnly": bool | 5905 * "validateOnly": bool |
5906 * "options": optional RefactoringOptions | 5906 * "options": optional RefactoringOptions |
5907 * } | 5907 * } |
5908 * | 5908 * |
5909 * Clients are not expected to subtype this class. | 5909 * Clients may not extend, implement or mix-in this class. |
5910 */ | 5910 */ |
5911 class EditGetRefactoringParams implements HasToJson { | 5911 class EditGetRefactoringParams implements HasToJson { |
5912 RefactoringKind _kind; | 5912 RefactoringKind _kind; |
5913 | 5913 |
5914 String _file; | 5914 String _file; |
5915 | 5915 |
5916 int _offset; | 5916 int _offset; |
5917 | 5917 |
5918 int _length; | 5918 int _length; |
5919 | 5919 |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6120 * | 6120 * |
6121 * { | 6121 * { |
6122 * "initialProblems": List<RefactoringProblem> | 6122 * "initialProblems": List<RefactoringProblem> |
6123 * "optionsProblems": List<RefactoringProblem> | 6123 * "optionsProblems": List<RefactoringProblem> |
6124 * "finalProblems": List<RefactoringProblem> | 6124 * "finalProblems": List<RefactoringProblem> |
6125 * "feedback": optional RefactoringFeedback | 6125 * "feedback": optional RefactoringFeedback |
6126 * "change": optional SourceChange | 6126 * "change": optional SourceChange |
6127 * "potentialEdits": optional List<String> | 6127 * "potentialEdits": optional List<String> |
6128 * } | 6128 * } |
6129 * | 6129 * |
6130 * Clients are not expected to subtype this class. | 6130 * Clients may not extend, implement or mix-in this class. |
6131 */ | 6131 */ |
6132 class EditGetRefactoringResult implements HasToJson { | 6132 class EditGetRefactoringResult implements HasToJson { |
6133 List<RefactoringProblem> _initialProblems; | 6133 List<RefactoringProblem> _initialProblems; |
6134 | 6134 |
6135 List<RefactoringProblem> _optionsProblems; | 6135 List<RefactoringProblem> _optionsProblems; |
6136 | 6136 |
6137 List<RefactoringProblem> _finalProblems; | 6137 List<RefactoringProblem> _finalProblems; |
6138 | 6138 |
6139 RefactoringFeedback _feedback; | 6139 RefactoringFeedback _feedback; |
6140 | 6140 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6356 } | 6356 } |
6357 } | 6357 } |
6358 | 6358 |
6359 /** | 6359 /** |
6360 * edit.sortMembers params | 6360 * edit.sortMembers params |
6361 * | 6361 * |
6362 * { | 6362 * { |
6363 * "file": FilePath | 6363 * "file": FilePath |
6364 * } | 6364 * } |
6365 * | 6365 * |
6366 * Clients are not expected to subtype this class. | 6366 * Clients may not extend, implement or mix-in this class. |
6367 */ | 6367 */ |
6368 class EditSortMembersParams implements HasToJson { | 6368 class EditSortMembersParams implements HasToJson { |
6369 String _file; | 6369 String _file; |
6370 | 6370 |
6371 /** | 6371 /** |
6372 * The Dart file to sort. | 6372 * The Dart file to sort. |
6373 */ | 6373 */ |
6374 String get file => _file; | 6374 String get file => _file; |
6375 | 6375 |
6376 /** | 6376 /** |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6436 } | 6436 } |
6437 } | 6437 } |
6438 | 6438 |
6439 /** | 6439 /** |
6440 * edit.sortMembers result | 6440 * edit.sortMembers result |
6441 * | 6441 * |
6442 * { | 6442 * { |
6443 * "edit": SourceFileEdit | 6443 * "edit": SourceFileEdit |
6444 * } | 6444 * } |
6445 * | 6445 * |
6446 * Clients are not expected to subtype this class. | 6446 * Clients may not extend, implement or mix-in this class. |
6447 */ | 6447 */ |
6448 class EditSortMembersResult implements HasToJson { | 6448 class EditSortMembersResult implements HasToJson { |
6449 SourceFileEdit _edit; | 6449 SourceFileEdit _edit; |
6450 | 6450 |
6451 /** | 6451 /** |
6452 * The file edit that is to be applied to the given file to effect the | 6452 * The file edit that is to be applied to the given file to effect the |
6453 * sorting. | 6453 * sorting. |
6454 */ | 6454 */ |
6455 SourceFileEdit get edit => _edit; | 6455 SourceFileEdit get edit => _edit; |
6456 | 6456 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6518 } | 6518 } |
6519 } | 6519 } |
6520 | 6520 |
6521 /** | 6521 /** |
6522 * edit.organizeDirectives params | 6522 * edit.organizeDirectives params |
6523 * | 6523 * |
6524 * { | 6524 * { |
6525 * "file": FilePath | 6525 * "file": FilePath |
6526 * } | 6526 * } |
6527 * | 6527 * |
6528 * Clients are not expected to subtype this class. | 6528 * Clients may not extend, implement or mix-in this class. |
6529 */ | 6529 */ |
6530 class EditOrganizeDirectivesParams implements HasToJson { | 6530 class EditOrganizeDirectivesParams implements HasToJson { |
6531 String _file; | 6531 String _file; |
6532 | 6532 |
6533 /** | 6533 /** |
6534 * The Dart file to organize directives in. | 6534 * The Dart file to organize directives in. |
6535 */ | 6535 */ |
6536 String get file => _file; | 6536 String get file => _file; |
6537 | 6537 |
6538 /** | 6538 /** |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6598 } | 6598 } |
6599 } | 6599 } |
6600 | 6600 |
6601 /** | 6601 /** |
6602 * edit.organizeDirectives result | 6602 * edit.organizeDirectives result |
6603 * | 6603 * |
6604 * { | 6604 * { |
6605 * "edit": SourceFileEdit | 6605 * "edit": SourceFileEdit |
6606 * } | 6606 * } |
6607 * | 6607 * |
6608 * Clients are not expected to subtype this class. | 6608 * Clients may not extend, implement or mix-in this class. |
6609 */ | 6609 */ |
6610 class EditOrganizeDirectivesResult implements HasToJson { | 6610 class EditOrganizeDirectivesResult implements HasToJson { |
6611 SourceFileEdit _edit; | 6611 SourceFileEdit _edit; |
6612 | 6612 |
6613 /** | 6613 /** |
6614 * The file edit that is to be applied to the given file to effect the | 6614 * The file edit that is to be applied to the given file to effect the |
6615 * organizing. | 6615 * organizing. |
6616 */ | 6616 */ |
6617 SourceFileEdit get edit => _edit; | 6617 SourceFileEdit get edit => _edit; |
6618 | 6618 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6680 } | 6680 } |
6681 } | 6681 } |
6682 | 6682 |
6683 /** | 6683 /** |
6684 * execution.createContext params | 6684 * execution.createContext params |
6685 * | 6685 * |
6686 * { | 6686 * { |
6687 * "contextRoot": FilePath | 6687 * "contextRoot": FilePath |
6688 * } | 6688 * } |
6689 * | 6689 * |
6690 * Clients are not expected to subtype this class. | 6690 * Clients may not extend, implement or mix-in this class. |
6691 */ | 6691 */ |
6692 class ExecutionCreateContextParams implements HasToJson { | 6692 class ExecutionCreateContextParams implements HasToJson { |
6693 String _contextRoot; | 6693 String _contextRoot; |
6694 | 6694 |
6695 /** | 6695 /** |
6696 * The path of the Dart or HTML file that will be launched, or the path of | 6696 * The path of the Dart or HTML file that will be launched, or the path of |
6697 * the directory containing the file. | 6697 * the directory containing the file. |
6698 */ | 6698 */ |
6699 String get contextRoot => _contextRoot; | 6699 String get contextRoot => _contextRoot; |
6700 | 6700 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6762 } | 6762 } |
6763 } | 6763 } |
6764 | 6764 |
6765 /** | 6765 /** |
6766 * execution.createContext result | 6766 * execution.createContext result |
6767 * | 6767 * |
6768 * { | 6768 * { |
6769 * "id": ExecutionContextId | 6769 * "id": ExecutionContextId |
6770 * } | 6770 * } |
6771 * | 6771 * |
6772 * Clients are not expected to subtype this class. | 6772 * Clients may not extend, implement or mix-in this class. |
6773 */ | 6773 */ |
6774 class ExecutionCreateContextResult implements HasToJson { | 6774 class ExecutionCreateContextResult implements HasToJson { |
6775 String _id; | 6775 String _id; |
6776 | 6776 |
6777 /** | 6777 /** |
6778 * The identifier used to refer to the execution context that was created. | 6778 * The identifier used to refer to the execution context that was created. |
6779 */ | 6779 */ |
6780 String get id => _id; | 6780 String get id => _id; |
6781 | 6781 |
6782 /** | 6782 /** |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6842 } | 6842 } |
6843 } | 6843 } |
6844 | 6844 |
6845 /** | 6845 /** |
6846 * execution.deleteContext params | 6846 * execution.deleteContext params |
6847 * | 6847 * |
6848 * { | 6848 * { |
6849 * "id": ExecutionContextId | 6849 * "id": ExecutionContextId |
6850 * } | 6850 * } |
6851 * | 6851 * |
6852 * Clients are not expected to subtype this class. | 6852 * Clients may not extend, implement or mix-in this class. |
6853 */ | 6853 */ |
6854 class ExecutionDeleteContextParams implements HasToJson { | 6854 class ExecutionDeleteContextParams implements HasToJson { |
6855 String _id; | 6855 String _id; |
6856 | 6856 |
6857 /** | 6857 /** |
6858 * The identifier of the execution context that is to be deleted. | 6858 * The identifier of the execution context that is to be deleted. |
6859 */ | 6859 */ |
6860 String get id => _id; | 6860 String get id => _id; |
6861 | 6861 |
6862 /** | 6862 /** |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6917 @override | 6917 @override |
6918 int get hashCode { | 6918 int get hashCode { |
6919 int hash = 0; | 6919 int hash = 0; |
6920 hash = JenkinsSmiHash.combine(hash, id.hashCode); | 6920 hash = JenkinsSmiHash.combine(hash, id.hashCode); |
6921 return JenkinsSmiHash.finish(hash); | 6921 return JenkinsSmiHash.finish(hash); |
6922 } | 6922 } |
6923 } | 6923 } |
6924 /** | 6924 /** |
6925 * execution.deleteContext result | 6925 * execution.deleteContext result |
6926 * | 6926 * |
6927 * Clients are not expected to subtype this class. | 6927 * Clients may not extend, implement or mix-in this class. |
6928 */ | 6928 */ |
6929 class ExecutionDeleteContextResult { | 6929 class ExecutionDeleteContextResult { |
6930 Response toResponse(String id) { | 6930 Response toResponse(String id) { |
6931 return new Response(id, result: null); | 6931 return new Response(id, result: null); |
6932 } | 6932 } |
6933 | 6933 |
6934 @override | 6934 @override |
6935 bool operator==(other) { | 6935 bool operator==(other) { |
6936 if (other is ExecutionDeleteContextResult) { | 6936 if (other is ExecutionDeleteContextResult) { |
6937 return true; | 6937 return true; |
6938 } | 6938 } |
6939 return false; | 6939 return false; |
6940 } | 6940 } |
6941 | 6941 |
6942 @override | 6942 @override |
6943 int get hashCode { | 6943 int get hashCode { |
6944 return 479954425; | 6944 return 479954425; |
6945 } | 6945 } |
6946 } | 6946 } |
6947 | 6947 |
6948 /** | 6948 /** |
6949 * execution.mapUri params | 6949 * execution.mapUri params |
6950 * | 6950 * |
6951 * { | 6951 * { |
6952 * "id": ExecutionContextId | 6952 * "id": ExecutionContextId |
6953 * "file": optional FilePath | 6953 * "file": optional FilePath |
6954 * "uri": optional String | 6954 * "uri": optional String |
6955 * } | 6955 * } |
6956 * | 6956 * |
6957 * Clients are not expected to subtype this class. | 6957 * Clients may not extend, implement or mix-in this class. |
6958 */ | 6958 */ |
6959 class ExecutionMapUriParams implements HasToJson { | 6959 class ExecutionMapUriParams implements HasToJson { |
6960 String _id; | 6960 String _id; |
6961 | 6961 |
6962 String _file; | 6962 String _file; |
6963 | 6963 |
6964 String _uri; | 6964 String _uri; |
6965 | 6965 |
6966 /** | 6966 /** |
6967 * The identifier of the execution context in which the URI is to be mapped. | 6967 * The identifier of the execution context in which the URI is to be mapped. |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7076 } | 7076 } |
7077 | 7077 |
7078 /** | 7078 /** |
7079 * execution.mapUri result | 7079 * execution.mapUri result |
7080 * | 7080 * |
7081 * { | 7081 * { |
7082 * "file": optional FilePath | 7082 * "file": optional FilePath |
7083 * "uri": optional String | 7083 * "uri": optional String |
7084 * } | 7084 * } |
7085 * | 7085 * |
7086 * Clients are not expected to subtype this class. | 7086 * Clients may not extend, implement or mix-in this class. |
7087 */ | 7087 */ |
7088 class ExecutionMapUriResult implements HasToJson { | 7088 class ExecutionMapUriResult implements HasToJson { |
7089 String _file; | 7089 String _file; |
7090 | 7090 |
7091 String _uri; | 7091 String _uri; |
7092 | 7092 |
7093 /** | 7093 /** |
7094 * The file to which the URI was mapped. This field is omitted if the uri | 7094 * The file to which the URI was mapped. This field is omitted if the uri |
7095 * field was not given in the request. | 7095 * field was not given in the request. |
7096 */ | 7096 */ |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7183 } | 7183 } |
7184 } | 7184 } |
7185 | 7185 |
7186 /** | 7186 /** |
7187 * execution.setSubscriptions params | 7187 * execution.setSubscriptions params |
7188 * | 7188 * |
7189 * { | 7189 * { |
7190 * "subscriptions": List<ExecutionService> | 7190 * "subscriptions": List<ExecutionService> |
7191 * } | 7191 * } |
7192 * | 7192 * |
7193 * Clients are not expected to subtype this class. | 7193 * Clients may not extend, implement or mix-in this class. |
7194 */ | 7194 */ |
7195 class ExecutionSetSubscriptionsParams implements HasToJson { | 7195 class ExecutionSetSubscriptionsParams implements HasToJson { |
7196 List<ExecutionService> _subscriptions; | 7196 List<ExecutionService> _subscriptions; |
7197 | 7197 |
7198 /** | 7198 /** |
7199 * A list of the services being subscribed to. | 7199 * A list of the services being subscribed to. |
7200 */ | 7200 */ |
7201 List<ExecutionService> get subscriptions => _subscriptions; | 7201 List<ExecutionService> get subscriptions => _subscriptions; |
7202 | 7202 |
7203 /** | 7203 /** |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7258 @override | 7258 @override |
7259 int get hashCode { | 7259 int get hashCode { |
7260 int hash = 0; | 7260 int hash = 0; |
7261 hash = JenkinsSmiHash.combine(hash, subscriptions.hashCode); | 7261 hash = JenkinsSmiHash.combine(hash, subscriptions.hashCode); |
7262 return JenkinsSmiHash.finish(hash); | 7262 return JenkinsSmiHash.finish(hash); |
7263 } | 7263 } |
7264 } | 7264 } |
7265 /** | 7265 /** |
7266 * execution.setSubscriptions result | 7266 * execution.setSubscriptions result |
7267 * | 7267 * |
7268 * Clients are not expected to subtype this class. | 7268 * Clients may not extend, implement or mix-in this class. |
7269 */ | 7269 */ |
7270 class ExecutionSetSubscriptionsResult { | 7270 class ExecutionSetSubscriptionsResult { |
7271 Response toResponse(String id) { | 7271 Response toResponse(String id) { |
7272 return new Response(id, result: null); | 7272 return new Response(id, result: null); |
7273 } | 7273 } |
7274 | 7274 |
7275 @override | 7275 @override |
7276 bool operator==(other) { | 7276 bool operator==(other) { |
7277 if (other is ExecutionSetSubscriptionsResult) { | 7277 if (other is ExecutionSetSubscriptionsResult) { |
7278 return true; | 7278 return true; |
7279 } | 7279 } |
7280 return false; | 7280 return false; |
7281 } | 7281 } |
7282 | 7282 |
7283 @override | 7283 @override |
7284 int get hashCode { | 7284 int get hashCode { |
7285 return 287678780; | 7285 return 287678780; |
7286 } | 7286 } |
7287 } | 7287 } |
7288 | 7288 |
7289 /** | 7289 /** |
7290 * execution.launchData params | 7290 * execution.launchData params |
7291 * | 7291 * |
7292 * { | 7292 * { |
7293 * "file": FilePath | 7293 * "file": FilePath |
7294 * "kind": optional ExecutableKind | 7294 * "kind": optional ExecutableKind |
7295 * "referencedFiles": optional List<FilePath> | 7295 * "referencedFiles": optional List<FilePath> |
7296 * } | 7296 * } |
7297 * | 7297 * |
7298 * Clients are not expected to subtype this class. | 7298 * Clients may not extend, implement or mix-in this class. |
7299 */ | 7299 */ |
7300 class ExecutionLaunchDataParams implements HasToJson { | 7300 class ExecutionLaunchDataParams implements HasToJson { |
7301 String _file; | 7301 String _file; |
7302 | 7302 |
7303 ExecutableKind _kind; | 7303 ExecutableKind _kind; |
7304 | 7304 |
7305 List<String> _referencedFiles; | 7305 List<String> _referencedFiles; |
7306 | 7306 |
7307 /** | 7307 /** |
7308 * The file for which launch data is being provided. This will either be a | 7308 * The file for which launch data is being provided. This will either be a |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7423 } | 7423 } |
7424 | 7424 |
7425 /** | 7425 /** |
7426 * AddContentOverlay | 7426 * AddContentOverlay |
7427 * | 7427 * |
7428 * { | 7428 * { |
7429 * "type": "add" | 7429 * "type": "add" |
7430 * "content": String | 7430 * "content": String |
7431 * } | 7431 * } |
7432 * | 7432 * |
7433 * Clients are not expected to subtype this class. | 7433 * Clients may not extend, implement or mix-in this class. |
7434 */ | 7434 */ |
7435 class AddContentOverlay implements HasToJson { | 7435 class AddContentOverlay implements HasToJson { |
7436 String _content; | 7436 String _content; |
7437 | 7437 |
7438 /** | 7438 /** |
7439 * The new content of the file. | 7439 * The new content of the file. |
7440 */ | 7440 */ |
7441 String get content => _content; | 7441 String get content => _content; |
7442 | 7442 |
7443 /** | 7443 /** |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7504 * | 7504 * |
7505 * { | 7505 * { |
7506 * "severity": AnalysisErrorSeverity | 7506 * "severity": AnalysisErrorSeverity |
7507 * "type": AnalysisErrorType | 7507 * "type": AnalysisErrorType |
7508 * "location": Location | 7508 * "location": Location |
7509 * "message": String | 7509 * "message": String |
7510 * "correction": optional String | 7510 * "correction": optional String |
7511 * "hasFix": optional bool | 7511 * "hasFix": optional bool |
7512 * } | 7512 * } |
7513 * | 7513 * |
7514 * Clients are not expected to subtype this class. | 7514 * Clients may not extend, implement or mix-in this class. |
7515 */ | 7515 */ |
7516 class AnalysisError implements HasToJson { | 7516 class AnalysisError implements HasToJson { |
7517 AnalysisErrorSeverity _severity; | 7517 AnalysisErrorSeverity _severity; |
7518 | 7518 |
7519 AnalysisErrorType _type; | 7519 AnalysisErrorType _type; |
7520 | 7520 |
7521 Location _location; | 7521 Location _location; |
7522 | 7522 |
7523 String _message; | 7523 String _message; |
7524 | 7524 |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7719 } | 7719 } |
7720 | 7720 |
7721 /** | 7721 /** |
7722 * AnalysisErrorFixes | 7722 * AnalysisErrorFixes |
7723 * | 7723 * |
7724 * { | 7724 * { |
7725 * "error": AnalysisError | 7725 * "error": AnalysisError |
7726 * "fixes": List<SourceChange> | 7726 * "fixes": List<SourceChange> |
7727 * } | 7727 * } |
7728 * | 7728 * |
7729 * Clients are not expected to subtype this class. | 7729 * Clients may not extend, implement or mix-in this class. |
7730 */ | 7730 */ |
7731 class AnalysisErrorFixes implements HasToJson { | 7731 class AnalysisErrorFixes implements HasToJson { |
7732 AnalysisError _error; | 7732 AnalysisError _error; |
7733 | 7733 |
7734 List<SourceChange> _fixes; | 7734 List<SourceChange> _fixes; |
7735 | 7735 |
7736 /** | 7736 /** |
7737 * The error with which the fixes are associated. | 7737 * The error with which the fixes are associated. |
7738 */ | 7738 */ |
7739 AnalysisError get error => _error; | 7739 AnalysisError get error => _error; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7821 | 7821 |
7822 /** | 7822 /** |
7823 * AnalysisErrorSeverity | 7823 * AnalysisErrorSeverity |
7824 * | 7824 * |
7825 * enum { | 7825 * enum { |
7826 * INFO | 7826 * INFO |
7827 * WARNING | 7827 * WARNING |
7828 * ERROR | 7828 * ERROR |
7829 * } | 7829 * } |
7830 * | 7830 * |
7831 * Clients are not expected to subtype this class. | 7831 * Clients may not extend, implement or mix-in this class. |
7832 */ | 7832 */ |
7833 class AnalysisErrorSeverity implements Enum { | 7833 class AnalysisErrorSeverity implements Enum { |
7834 static const INFO = const AnalysisErrorSeverity._("INFO"); | 7834 static const INFO = const AnalysisErrorSeverity._("INFO"); |
7835 | 7835 |
7836 static const WARNING = const AnalysisErrorSeverity._("WARNING"); | 7836 static const WARNING = const AnalysisErrorSeverity._("WARNING"); |
7837 | 7837 |
7838 static const ERROR = const AnalysisErrorSeverity._("ERROR"); | 7838 static const ERROR = const AnalysisErrorSeverity._("ERROR"); |
7839 | 7839 |
7840 /** | 7840 /** |
7841 * A list containing all of the enum values that are defined. | 7841 * A list containing all of the enum values that are defined. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7882 * CHECKED_MODE_COMPILE_TIME_ERROR | 7882 * CHECKED_MODE_COMPILE_TIME_ERROR |
7883 * COMPILE_TIME_ERROR | 7883 * COMPILE_TIME_ERROR |
7884 * HINT | 7884 * HINT |
7885 * LINT | 7885 * LINT |
7886 * STATIC_TYPE_WARNING | 7886 * STATIC_TYPE_WARNING |
7887 * STATIC_WARNING | 7887 * STATIC_WARNING |
7888 * SYNTACTIC_ERROR | 7888 * SYNTACTIC_ERROR |
7889 * TODO | 7889 * TODO |
7890 * } | 7890 * } |
7891 * | 7891 * |
7892 * Clients are not expected to subtype this class. | 7892 * Clients may not extend, implement or mix-in this class. |
7893 */ | 7893 */ |
7894 class AnalysisErrorType implements Enum { | 7894 class AnalysisErrorType implements Enum { |
7895 static const CHECKED_MODE_COMPILE_TIME_ERROR = const AnalysisErrorType._("CHEC
KED_MODE_COMPILE_TIME_ERROR"); | 7895 static const CHECKED_MODE_COMPILE_TIME_ERROR = const AnalysisErrorType._("CHEC
KED_MODE_COMPILE_TIME_ERROR"); |
7896 | 7896 |
7897 static const COMPILE_TIME_ERROR = const AnalysisErrorType._("COMPILE_TIME_ERRO
R"); | 7897 static const COMPILE_TIME_ERROR = const AnalysisErrorType._("COMPILE_TIME_ERRO
R"); |
7898 | 7898 |
7899 static const HINT = const AnalysisErrorType._("HINT"); | 7899 static const HINT = const AnalysisErrorType._("HINT"); |
7900 | 7900 |
7901 static const LINT = const AnalysisErrorType._("LINT"); | 7901 static const LINT = const AnalysisErrorType._("LINT"); |
7902 | 7902 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7963 * "enableAsync": optional bool | 7963 * "enableAsync": optional bool |
7964 * "enableDeferredLoading": optional bool | 7964 * "enableDeferredLoading": optional bool |
7965 * "enableEnums": optional bool | 7965 * "enableEnums": optional bool |
7966 * "enableNullAwareOperators": optional bool | 7966 * "enableNullAwareOperators": optional bool |
7967 * "enableSuperMixins": optional bool | 7967 * "enableSuperMixins": optional bool |
7968 * "generateDart2jsHints": optional bool | 7968 * "generateDart2jsHints": optional bool |
7969 * "generateHints": optional bool | 7969 * "generateHints": optional bool |
7970 * "generateLints": optional bool | 7970 * "generateLints": optional bool |
7971 * } | 7971 * } |
7972 * | 7972 * |
7973 * Clients are not expected to subtype this class. | 7973 * Clients may not extend, implement or mix-in this class. |
7974 */ | 7974 */ |
7975 class AnalysisOptions implements HasToJson { | 7975 class AnalysisOptions implements HasToJson { |
7976 bool _enableAsync; | 7976 bool _enableAsync; |
7977 | 7977 |
7978 bool _enableDeferredLoading; | 7978 bool _enableDeferredLoading; |
7979 | 7979 |
7980 bool _enableEnums; | 7980 bool _enableEnums; |
7981 | 7981 |
7982 bool _enableNullAwareOperators; | 7982 bool _enableNullAwareOperators; |
7983 | 7983 |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8236 * FOLDING | 8236 * FOLDING |
8237 * HIGHLIGHTS | 8237 * HIGHLIGHTS |
8238 * IMPLEMENTED | 8238 * IMPLEMENTED |
8239 * INVALIDATE | 8239 * INVALIDATE |
8240 * NAVIGATION | 8240 * NAVIGATION |
8241 * OCCURRENCES | 8241 * OCCURRENCES |
8242 * OUTLINE | 8242 * OUTLINE |
8243 * OVERRIDES | 8243 * OVERRIDES |
8244 * } | 8244 * } |
8245 * | 8245 * |
8246 * Clients are not expected to subtype this class. | 8246 * Clients may not extend, implement or mix-in this class. |
8247 */ | 8247 */ |
8248 class AnalysisService implements Enum { | 8248 class AnalysisService implements Enum { |
8249 static const FOLDING = const AnalysisService._("FOLDING"); | 8249 static const FOLDING = const AnalysisService._("FOLDING"); |
8250 | 8250 |
8251 static const HIGHLIGHTS = const AnalysisService._("HIGHLIGHTS"); | 8251 static const HIGHLIGHTS = const AnalysisService._("HIGHLIGHTS"); |
8252 | 8252 |
8253 static const IMPLEMENTED = const AnalysisService._("IMPLEMENTED"); | 8253 static const IMPLEMENTED = const AnalysisService._("IMPLEMENTED"); |
8254 | 8254 |
8255 /** | 8255 /** |
8256 * This service is not currently implemented and will become a | 8256 * This service is not currently implemented and will become a |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8315 } | 8315 } |
8316 | 8316 |
8317 /** | 8317 /** |
8318 * AnalysisStatus | 8318 * AnalysisStatus |
8319 * | 8319 * |
8320 * { | 8320 * { |
8321 * "isAnalyzing": bool | 8321 * "isAnalyzing": bool |
8322 * "analysisTarget": optional String | 8322 * "analysisTarget": optional String |
8323 * } | 8323 * } |
8324 * | 8324 * |
8325 * Clients are not expected to subtype this class. | 8325 * Clients may not extend, implement or mix-in this class. |
8326 */ | 8326 */ |
8327 class AnalysisStatus implements HasToJson { | 8327 class AnalysisStatus implements HasToJson { |
8328 bool _isAnalyzing; | 8328 bool _isAnalyzing; |
8329 | 8329 |
8330 String _analysisTarget; | 8330 String _analysisTarget; |
8331 | 8331 |
8332 /** | 8332 /** |
8333 * True if analysis is currently being performed. | 8333 * True if analysis is currently being performed. |
8334 */ | 8334 */ |
8335 bool get isAnalyzing => _isAnalyzing; | 8335 bool get isAnalyzing => _isAnalyzing; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8413 } | 8413 } |
8414 | 8414 |
8415 /** | 8415 /** |
8416 * ChangeContentOverlay | 8416 * ChangeContentOverlay |
8417 * | 8417 * |
8418 * { | 8418 * { |
8419 * "type": "change" | 8419 * "type": "change" |
8420 * "edits": List<SourceEdit> | 8420 * "edits": List<SourceEdit> |
8421 * } | 8421 * } |
8422 * | 8422 * |
8423 * Clients are not expected to subtype this class. | 8423 * Clients may not extend, implement or mix-in this class. |
8424 */ | 8424 */ |
8425 class ChangeContentOverlay implements HasToJson { | 8425 class ChangeContentOverlay implements HasToJson { |
8426 List<SourceEdit> _edits; | 8426 List<SourceEdit> _edits; |
8427 | 8427 |
8428 /** | 8428 /** |
8429 * The edits to be applied to the file. | 8429 * The edits to be applied to the file. |
8430 */ | 8430 */ |
8431 List<SourceEdit> get edits => _edits; | 8431 List<SourceEdit> get edits => _edits; |
8432 | 8432 |
8433 /** | 8433 /** |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8507 * "returnType": optional String | 8507 * "returnType": optional String |
8508 * "parameterNames": optional List<String> | 8508 * "parameterNames": optional List<String> |
8509 * "parameterTypes": optional List<String> | 8509 * "parameterTypes": optional List<String> |
8510 * "requiredParameterCount": optional int | 8510 * "requiredParameterCount": optional int |
8511 * "hasNamedParameters": optional bool | 8511 * "hasNamedParameters": optional bool |
8512 * "parameterName": optional String | 8512 * "parameterName": optional String |
8513 * "parameterType": optional String | 8513 * "parameterType": optional String |
8514 * "importUri": optional String | 8514 * "importUri": optional String |
8515 * } | 8515 * } |
8516 * | 8516 * |
8517 * Clients are not expected to subtype this class. | 8517 * Clients may not extend, implement or mix-in this class. |
8518 */ | 8518 */ |
8519 class CompletionSuggestion implements HasToJson { | 8519 class CompletionSuggestion implements HasToJson { |
8520 CompletionSuggestionKind _kind; | 8520 CompletionSuggestionKind _kind; |
8521 | 8521 |
8522 int _relevance; | 8522 int _relevance; |
8523 | 8523 |
8524 String _completion; | 8524 String _completion; |
8525 | 8525 |
8526 int _selectionOffset; | 8526 int _selectionOffset; |
8527 | 8527 |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9065 * ARGUMENT_LIST | 9065 * ARGUMENT_LIST |
9066 * IMPORT | 9066 * IMPORT |
9067 * IDENTIFIER | 9067 * IDENTIFIER |
9068 * INVOCATION | 9068 * INVOCATION |
9069 * KEYWORD | 9069 * KEYWORD |
9070 * NAMED_ARGUMENT | 9070 * NAMED_ARGUMENT |
9071 * OPTIONAL_ARGUMENT | 9071 * OPTIONAL_ARGUMENT |
9072 * PARAMETER | 9072 * PARAMETER |
9073 * } | 9073 * } |
9074 * | 9074 * |
9075 * Clients are not expected to subtype this class. | 9075 * Clients may not extend, implement or mix-in this class. |
9076 */ | 9076 */ |
9077 class CompletionSuggestionKind implements Enum { | 9077 class CompletionSuggestionKind implements Enum { |
9078 /** | 9078 /** |
9079 * A list of arguments for the method or function that is being invoked. For | 9079 * A list of arguments for the method or function that is being invoked. For |
9080 * this suggestion kind, the completion field is a textual representation of | 9080 * this suggestion kind, the completion field is a textual representation of |
9081 * the invocation and the parameterNames, parameterTypes, and | 9081 * the invocation and the parameterNames, parameterTypes, and |
9082 * requiredParameterCount attributes are defined. | 9082 * requiredParameterCount attributes are defined. |
9083 */ | 9083 */ |
9084 static const ARGUMENT_LIST = const CompletionSuggestionKind._("ARGUMENT_LIST")
; | 9084 static const ARGUMENT_LIST = const CompletionSuggestionKind._("ARGUMENT_LIST")
; |
9085 | 9085 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9172 * { | 9172 * { |
9173 * "kind": ElementKind | 9173 * "kind": ElementKind |
9174 * "name": String | 9174 * "name": String |
9175 * "location": optional Location | 9175 * "location": optional Location |
9176 * "flags": int | 9176 * "flags": int |
9177 * "parameters": optional String | 9177 * "parameters": optional String |
9178 * "returnType": optional String | 9178 * "returnType": optional String |
9179 * "typeParameters": optional String | 9179 * "typeParameters": optional String |
9180 * } | 9180 * } |
9181 * | 9181 * |
9182 * Clients are not expected to subtype this class. | 9182 * Clients may not extend, implement or mix-in this class. |
9183 */ | 9183 */ |
9184 class Element implements HasToJson { | 9184 class Element implements HasToJson { |
9185 static const int FLAG_ABSTRACT = 0x01; | 9185 static const int FLAG_ABSTRACT = 0x01; |
9186 static const int FLAG_CONST = 0x02; | 9186 static const int FLAG_CONST = 0x02; |
9187 static const int FLAG_FINAL = 0x04; | 9187 static const int FLAG_FINAL = 0x04; |
9188 static const int FLAG_STATIC = 0x08; | 9188 static const int FLAG_STATIC = 0x08; |
9189 static const int FLAG_PRIVATE = 0x10; | 9189 static const int FLAG_PRIVATE = 0x10; |
9190 static const int FLAG_DEPRECATED = 0x20; | 9190 static const int FLAG_DEPRECATED = 0x20; |
9191 | 9191 |
9192 static int makeFlags({isAbstract: false, isConst: false, isFinal: false, isSta
tic: false, isPrivate: false, isDeprecated: false}) { | 9192 static int makeFlags({isAbstract: false, isConst: false, isFinal: false, isSta
tic: false, isPrivate: false, isDeprecated: false}) { |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9465 * PARAMETER | 9465 * PARAMETER |
9466 * PREFIX | 9466 * PREFIX |
9467 * SETTER | 9467 * SETTER |
9468 * TOP_LEVEL_VARIABLE | 9468 * TOP_LEVEL_VARIABLE |
9469 * TYPE_PARAMETER | 9469 * TYPE_PARAMETER |
9470 * UNIT_TEST_GROUP | 9470 * UNIT_TEST_GROUP |
9471 * UNIT_TEST_TEST | 9471 * UNIT_TEST_TEST |
9472 * UNKNOWN | 9472 * UNKNOWN |
9473 * } | 9473 * } |
9474 * | 9474 * |
9475 * Clients are not expected to subtype this class. | 9475 * Clients may not extend, implement or mix-in this class. |
9476 */ | 9476 */ |
9477 class ElementKind implements Enum { | 9477 class ElementKind implements Enum { |
9478 static const CLASS = const ElementKind._("CLASS"); | 9478 static const CLASS = const ElementKind._("CLASS"); |
9479 | 9479 |
9480 static const CLASS_TYPE_ALIAS = const ElementKind._("CLASS_TYPE_ALIAS"); | 9480 static const CLASS_TYPE_ALIAS = const ElementKind._("CLASS_TYPE_ALIAS"); |
9481 | 9481 |
9482 static const COMPILATION_UNIT = const ElementKind._("COMPILATION_UNIT"); | 9482 static const COMPILATION_UNIT = const ElementKind._("COMPILATION_UNIT"); |
9483 | 9483 |
9484 static const CONSTRUCTOR = const ElementKind._("CONSTRUCTOR"); | 9484 static const CONSTRUCTOR = const ElementKind._("CONSTRUCTOR"); |
9485 | 9485 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9596 } | 9596 } |
9597 | 9597 |
9598 /** | 9598 /** |
9599 * ExecutableFile | 9599 * ExecutableFile |
9600 * | 9600 * |
9601 * { | 9601 * { |
9602 * "file": FilePath | 9602 * "file": FilePath |
9603 * "kind": ExecutableKind | 9603 * "kind": ExecutableKind |
9604 * } | 9604 * } |
9605 * | 9605 * |
9606 * Clients are not expected to subtype this class. | 9606 * Clients may not extend, implement or mix-in this class. |
9607 */ | 9607 */ |
9608 class ExecutableFile implements HasToJson { | 9608 class ExecutableFile implements HasToJson { |
9609 String _file; | 9609 String _file; |
9610 | 9610 |
9611 ExecutableKind _kind; | 9611 ExecutableKind _kind; |
9612 | 9612 |
9613 /** | 9613 /** |
9614 * The path of the executable file. | 9614 * The path of the executable file. |
9615 */ | 9615 */ |
9616 String get file => _file; | 9616 String get file => _file; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9695 /** | 9695 /** |
9696 * ExecutableKind | 9696 * ExecutableKind |
9697 * | 9697 * |
9698 * enum { | 9698 * enum { |
9699 * CLIENT | 9699 * CLIENT |
9700 * EITHER | 9700 * EITHER |
9701 * NOT_EXECUTABLE | 9701 * NOT_EXECUTABLE |
9702 * SERVER | 9702 * SERVER |
9703 * } | 9703 * } |
9704 * | 9704 * |
9705 * Clients are not expected to subtype this class. | 9705 * Clients may not extend, implement or mix-in this class. |
9706 */ | 9706 */ |
9707 class ExecutableKind implements Enum { | 9707 class ExecutableKind implements Enum { |
9708 static const CLIENT = const ExecutableKind._("CLIENT"); | 9708 static const CLIENT = const ExecutableKind._("CLIENT"); |
9709 | 9709 |
9710 static const EITHER = const ExecutableKind._("EITHER"); | 9710 static const EITHER = const ExecutableKind._("EITHER"); |
9711 | 9711 |
9712 static const NOT_EXECUTABLE = const ExecutableKind._("NOT_EXECUTABLE"); | 9712 static const NOT_EXECUTABLE = const ExecutableKind._("NOT_EXECUTABLE"); |
9713 | 9713 |
9714 static const SERVER = const ExecutableKind._("SERVER"); | 9714 static const SERVER = const ExecutableKind._("SERVER"); |
9715 | 9715 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9753 String toJson() => name; | 9753 String toJson() => name; |
9754 } | 9754 } |
9755 | 9755 |
9756 /** | 9756 /** |
9757 * ExecutionService | 9757 * ExecutionService |
9758 * | 9758 * |
9759 * enum { | 9759 * enum { |
9760 * LAUNCH_DATA | 9760 * LAUNCH_DATA |
9761 * } | 9761 * } |
9762 * | 9762 * |
9763 * Clients are not expected to subtype this class. | 9763 * Clients may not extend, implement or mix-in this class. |
9764 */ | 9764 */ |
9765 class ExecutionService implements Enum { | 9765 class ExecutionService implements Enum { |
9766 static const LAUNCH_DATA = const ExecutionService._("LAUNCH_DATA"); | 9766 static const LAUNCH_DATA = const ExecutionService._("LAUNCH_DATA"); |
9767 | 9767 |
9768 /** | 9768 /** |
9769 * A list containing all of the enum values that are defined. | 9769 * A list containing all of the enum values that are defined. |
9770 */ | 9770 */ |
9771 static const List<ExecutionService> VALUES = const <ExecutionService>[LAUNCH_D
ATA]; | 9771 static const List<ExecutionService> VALUES = const <ExecutionService>[LAUNCH_D
ATA]; |
9772 | 9772 |
9773 final String name; | 9773 final String name; |
(...skipping 26 matching lines...) Expand all Loading... |
9800 } | 9800 } |
9801 | 9801 |
9802 /** | 9802 /** |
9803 * FileKind | 9803 * FileKind |
9804 * | 9804 * |
9805 * enum { | 9805 * enum { |
9806 * LIBRARY | 9806 * LIBRARY |
9807 * PART | 9807 * PART |
9808 * } | 9808 * } |
9809 * | 9809 * |
9810 * Clients are not expected to subtype this class. | 9810 * Clients may not extend, implement or mix-in this class. |
9811 */ | 9811 */ |
9812 class FileKind implements Enum { | 9812 class FileKind implements Enum { |
9813 static const LIBRARY = const FileKind._("LIBRARY"); | 9813 static const LIBRARY = const FileKind._("LIBRARY"); |
9814 | 9814 |
9815 static const PART = const FileKind._("PART"); | 9815 static const PART = const FileKind._("PART"); |
9816 | 9816 |
9817 /** | 9817 /** |
9818 * A list containing all of the enum values that are defined. | 9818 * A list containing all of the enum values that are defined. |
9819 */ | 9819 */ |
9820 static const List<FileKind> VALUES = const <FileKind>[LIBRARY, PART]; | 9820 static const List<FileKind> VALUES = const <FileKind>[LIBRARY, PART]; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9854 * FoldingKind | 9854 * FoldingKind |
9855 * | 9855 * |
9856 * enum { | 9856 * enum { |
9857 * COMMENT | 9857 * COMMENT |
9858 * CLASS_MEMBER | 9858 * CLASS_MEMBER |
9859 * DIRECTIVES | 9859 * DIRECTIVES |
9860 * DOCUMENTATION_COMMENT | 9860 * DOCUMENTATION_COMMENT |
9861 * TOP_LEVEL_DECLARATION | 9861 * TOP_LEVEL_DECLARATION |
9862 * } | 9862 * } |
9863 * | 9863 * |
9864 * Clients are not expected to subtype this class. | 9864 * Clients may not extend, implement or mix-in this class. |
9865 */ | 9865 */ |
9866 class FoldingKind implements Enum { | 9866 class FoldingKind implements Enum { |
9867 static const COMMENT = const FoldingKind._("COMMENT"); | 9867 static const COMMENT = const FoldingKind._("COMMENT"); |
9868 | 9868 |
9869 static const CLASS_MEMBER = const FoldingKind._("CLASS_MEMBER"); | 9869 static const CLASS_MEMBER = const FoldingKind._("CLASS_MEMBER"); |
9870 | 9870 |
9871 static const DIRECTIVES = const FoldingKind._("DIRECTIVES"); | 9871 static const DIRECTIVES = const FoldingKind._("DIRECTIVES"); |
9872 | 9872 |
9873 static const DOCUMENTATION_COMMENT = const FoldingKind._("DOCUMENTATION_COMMEN
T"); | 9873 static const DOCUMENTATION_COMMENT = const FoldingKind._("DOCUMENTATION_COMMEN
T"); |
9874 | 9874 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9918 | 9918 |
9919 /** | 9919 /** |
9920 * FoldingRegion | 9920 * FoldingRegion |
9921 * | 9921 * |
9922 * { | 9922 * { |
9923 * "kind": FoldingKind | 9923 * "kind": FoldingKind |
9924 * "offset": int | 9924 * "offset": int |
9925 * "length": int | 9925 * "length": int |
9926 * } | 9926 * } |
9927 * | 9927 * |
9928 * Clients are not expected to subtype this class. | 9928 * Clients may not extend, implement or mix-in this class. |
9929 */ | 9929 */ |
9930 class FoldingRegion implements HasToJson { | 9930 class FoldingRegion implements HasToJson { |
9931 FoldingKind _kind; | 9931 FoldingKind _kind; |
9932 | 9932 |
9933 int _offset; | 9933 int _offset; |
9934 | 9934 |
9935 int _length; | 9935 int _length; |
9936 | 9936 |
9937 /** | 9937 /** |
9938 * The kind of the region. | 9938 * The kind of the region. |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10039 } | 10039 } |
10040 } | 10040 } |
10041 | 10041 |
10042 /** | 10042 /** |
10043 * GeneralAnalysisService | 10043 * GeneralAnalysisService |
10044 * | 10044 * |
10045 * enum { | 10045 * enum { |
10046 * ANALYZED_FILES | 10046 * ANALYZED_FILES |
10047 * } | 10047 * } |
10048 * | 10048 * |
10049 * Clients are not expected to subtype this class. | 10049 * Clients may not extend, implement or mix-in this class. |
10050 */ | 10050 */ |
10051 class GeneralAnalysisService implements Enum { | 10051 class GeneralAnalysisService implements Enum { |
10052 static const ANALYZED_FILES = const GeneralAnalysisService._("ANALYZED_FILES")
; | 10052 static const ANALYZED_FILES = const GeneralAnalysisService._("ANALYZED_FILES")
; |
10053 | 10053 |
10054 /** | 10054 /** |
10055 * A list containing all of the enum values that are defined. | 10055 * A list containing all of the enum values that are defined. |
10056 */ | 10056 */ |
10057 static const List<GeneralAnalysisService> VALUES = const <GeneralAnalysisServi
ce>[ANALYZED_FILES]; | 10057 static const List<GeneralAnalysisService> VALUES = const <GeneralAnalysisServi
ce>[ANALYZED_FILES]; |
10058 | 10058 |
10059 final String name; | 10059 final String name; |
(...skipping 27 matching lines...) Expand all Loading... |
10087 | 10087 |
10088 /** | 10088 /** |
10089 * HighlightRegion | 10089 * HighlightRegion |
10090 * | 10090 * |
10091 * { | 10091 * { |
10092 * "type": HighlightRegionType | 10092 * "type": HighlightRegionType |
10093 * "offset": int | 10093 * "offset": int |
10094 * "length": int | 10094 * "length": int |
10095 * } | 10095 * } |
10096 * | 10096 * |
10097 * Clients are not expected to subtype this class. | 10097 * Clients may not extend, implement or mix-in this class. |
10098 */ | 10098 */ |
10099 class HighlightRegion implements HasToJson { | 10099 class HighlightRegion implements HasToJson { |
10100 HighlightRegionType _type; | 10100 HighlightRegionType _type; |
10101 | 10101 |
10102 int _offset; | 10102 int _offset; |
10103 | 10103 |
10104 int _length; | 10104 int _length; |
10105 | 10105 |
10106 /** | 10106 /** |
10107 * The type of highlight associated with the region. | 10107 * The type of highlight associated with the region. |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10280 * TOP_LEVEL_GETTER_REFERENCE | 10280 * TOP_LEVEL_GETTER_REFERENCE |
10281 * TOP_LEVEL_SETTER_DECLARATION | 10281 * TOP_LEVEL_SETTER_DECLARATION |
10282 * TOP_LEVEL_SETTER_REFERENCE | 10282 * TOP_LEVEL_SETTER_REFERENCE |
10283 * TOP_LEVEL_VARIABLE_DECLARATION | 10283 * TOP_LEVEL_VARIABLE_DECLARATION |
10284 * TYPE_NAME_DYNAMIC | 10284 * TYPE_NAME_DYNAMIC |
10285 * TYPE_PARAMETER | 10285 * TYPE_PARAMETER |
10286 * UNRESOLVED_INSTANCE_MEMBER_REFERENCE | 10286 * UNRESOLVED_INSTANCE_MEMBER_REFERENCE |
10287 * VALID_STRING_ESCAPE | 10287 * VALID_STRING_ESCAPE |
10288 * } | 10288 * } |
10289 * | 10289 * |
10290 * Clients are not expected to subtype this class. | 10290 * Clients may not extend, implement or mix-in this class. |
10291 */ | 10291 */ |
10292 class HighlightRegionType implements Enum { | 10292 class HighlightRegionType implements Enum { |
10293 static const ANNOTATION = const HighlightRegionType._("ANNOTATION"); | 10293 static const ANNOTATION = const HighlightRegionType._("ANNOTATION"); |
10294 | 10294 |
10295 static const BUILT_IN = const HighlightRegionType._("BUILT_IN"); | 10295 static const BUILT_IN = const HighlightRegionType._("BUILT_IN"); |
10296 | 10296 |
10297 static const CLASS = const HighlightRegionType._("CLASS"); | 10297 static const CLASS = const HighlightRegionType._("CLASS"); |
10298 | 10298 |
10299 static const COMMENT_BLOCK = const HighlightRegionType._("COMMENT_BLOCK"); | 10299 static const COMMENT_BLOCK = const HighlightRegionType._("COMMENT_BLOCK"); |
10300 | 10300 |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10771 * "containingLibraryName": optional String | 10771 * "containingLibraryName": optional String |
10772 * "containingClassDescription": optional String | 10772 * "containingClassDescription": optional String |
10773 * "dartdoc": optional String | 10773 * "dartdoc": optional String |
10774 * "elementDescription": optional String | 10774 * "elementDescription": optional String |
10775 * "elementKind": optional String | 10775 * "elementKind": optional String |
10776 * "parameter": optional String | 10776 * "parameter": optional String |
10777 * "propagatedType": optional String | 10777 * "propagatedType": optional String |
10778 * "staticType": optional String | 10778 * "staticType": optional String |
10779 * } | 10779 * } |
10780 * | 10780 * |
10781 * Clients are not expected to subtype this class. | 10781 * Clients may not extend, implement or mix-in this class. |
10782 */ | 10782 */ |
10783 class HoverInformation implements HasToJson { | 10783 class HoverInformation implements HasToJson { |
10784 int _offset; | 10784 int _offset; |
10785 | 10785 |
10786 int _length; | 10786 int _length; |
10787 | 10787 |
10788 String _containingLibraryPath; | 10788 String _containingLibraryPath; |
10789 | 10789 |
10790 String _containingLibraryName; | 10790 String _containingLibraryName; |
10791 | 10791 |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11122 } | 11122 } |
11123 | 11123 |
11124 /** | 11124 /** |
11125 * ImplementedClass | 11125 * ImplementedClass |
11126 * | 11126 * |
11127 * { | 11127 * { |
11128 * "offset": int | 11128 * "offset": int |
11129 * "length": int | 11129 * "length": int |
11130 * } | 11130 * } |
11131 * | 11131 * |
11132 * Clients are not expected to subtype this class. | 11132 * Clients may not extend, implement or mix-in this class. |
11133 */ | 11133 */ |
11134 class ImplementedClass implements HasToJson { | 11134 class ImplementedClass implements HasToJson { |
11135 int _offset; | 11135 int _offset; |
11136 | 11136 |
11137 int _length; | 11137 int _length; |
11138 | 11138 |
11139 /** | 11139 /** |
11140 * The offset of the name of the implemented class. | 11140 * The offset of the name of the implemented class. |
11141 */ | 11141 */ |
11142 int get offset => _offset; | 11142 int get offset => _offset; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11219 } | 11219 } |
11220 | 11220 |
11221 /** | 11221 /** |
11222 * ImplementedMember | 11222 * ImplementedMember |
11223 * | 11223 * |
11224 * { | 11224 * { |
11225 * "offset": int | 11225 * "offset": int |
11226 * "length": int | 11226 * "length": int |
11227 * } | 11227 * } |
11228 * | 11228 * |
11229 * Clients are not expected to subtype this class. | 11229 * Clients may not extend, implement or mix-in this class. |
11230 */ | 11230 */ |
11231 class ImplementedMember implements HasToJson { | 11231 class ImplementedMember implements HasToJson { |
11232 int _offset; | 11232 int _offset; |
11233 | 11233 |
11234 int _length; | 11234 int _length; |
11235 | 11235 |
11236 /** | 11236 /** |
11237 * The offset of the name of the implemented member. | 11237 * The offset of the name of the implemented member. |
11238 */ | 11238 */ |
11239 int get offset => _offset; | 11239 int get offset => _offset; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11317 | 11317 |
11318 /** | 11318 /** |
11319 * LinkedEditGroup | 11319 * LinkedEditGroup |
11320 * | 11320 * |
11321 * { | 11321 * { |
11322 * "positions": List<Position> | 11322 * "positions": List<Position> |
11323 * "length": int | 11323 * "length": int |
11324 * "suggestions": List<LinkedEditSuggestion> | 11324 * "suggestions": List<LinkedEditSuggestion> |
11325 * } | 11325 * } |
11326 * | 11326 * |
11327 * Clients are not expected to subtype this class. | 11327 * Clients may not extend, implement or mix-in this class. |
11328 */ | 11328 */ |
11329 class LinkedEditGroup implements HasToJson { | 11329 class LinkedEditGroup implements HasToJson { |
11330 List<Position> _positions; | 11330 List<Position> _positions; |
11331 | 11331 |
11332 int _length; | 11332 int _length; |
11333 | 11333 |
11334 List<LinkedEditSuggestion> _suggestions; | 11334 List<LinkedEditSuggestion> _suggestions; |
11335 | 11335 |
11336 /** | 11336 /** |
11337 * The positions of the regions that should be edited simultaneously. | 11337 * The positions of the regions that should be edited simultaneously. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11461 } | 11461 } |
11462 | 11462 |
11463 /** | 11463 /** |
11464 * LinkedEditSuggestion | 11464 * LinkedEditSuggestion |
11465 * | 11465 * |
11466 * { | 11466 * { |
11467 * "value": String | 11467 * "value": String |
11468 * "kind": LinkedEditSuggestionKind | 11468 * "kind": LinkedEditSuggestionKind |
11469 * } | 11469 * } |
11470 * | 11470 * |
11471 * Clients are not expected to subtype this class. | 11471 * Clients may not extend, implement or mix-in this class. |
11472 */ | 11472 */ |
11473 class LinkedEditSuggestion implements HasToJson { | 11473 class LinkedEditSuggestion implements HasToJson { |
11474 String _value; | 11474 String _value; |
11475 | 11475 |
11476 LinkedEditSuggestionKind _kind; | 11476 LinkedEditSuggestionKind _kind; |
11477 | 11477 |
11478 /** | 11478 /** |
11479 * The value that could be used to replace all of the linked edit regions. | 11479 * The value that could be used to replace all of the linked edit regions. |
11480 */ | 11480 */ |
11481 String get value => _value; | 11481 String get value => _value; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11560 /** | 11560 /** |
11561 * LinkedEditSuggestionKind | 11561 * LinkedEditSuggestionKind |
11562 * | 11562 * |
11563 * enum { | 11563 * enum { |
11564 * METHOD | 11564 * METHOD |
11565 * PARAMETER | 11565 * PARAMETER |
11566 * TYPE | 11566 * TYPE |
11567 * VARIABLE | 11567 * VARIABLE |
11568 * } | 11568 * } |
11569 * | 11569 * |
11570 * Clients are not expected to subtype this class. | 11570 * Clients may not extend, implement or mix-in this class. |
11571 */ | 11571 */ |
11572 class LinkedEditSuggestionKind implements Enum { | 11572 class LinkedEditSuggestionKind implements Enum { |
11573 static const METHOD = const LinkedEditSuggestionKind._("METHOD"); | 11573 static const METHOD = const LinkedEditSuggestionKind._("METHOD"); |
11574 | 11574 |
11575 static const PARAMETER = const LinkedEditSuggestionKind._("PARAMETER"); | 11575 static const PARAMETER = const LinkedEditSuggestionKind._("PARAMETER"); |
11576 | 11576 |
11577 static const TYPE = const LinkedEditSuggestionKind._("TYPE"); | 11577 static const TYPE = const LinkedEditSuggestionKind._("TYPE"); |
11578 | 11578 |
11579 static const VARIABLE = const LinkedEditSuggestionKind._("VARIABLE"); | 11579 static const VARIABLE = const LinkedEditSuggestionKind._("VARIABLE"); |
11580 | 11580 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11622 * Location | 11622 * Location |
11623 * | 11623 * |
11624 * { | 11624 * { |
11625 * "file": FilePath | 11625 * "file": FilePath |
11626 * "offset": int | 11626 * "offset": int |
11627 * "length": int | 11627 * "length": int |
11628 * "startLine": int | 11628 * "startLine": int |
11629 * "startColumn": int | 11629 * "startColumn": int |
11630 * } | 11630 * } |
11631 * | 11631 * |
11632 * Clients are not expected to subtype this class. | 11632 * Clients may not extend, implement or mix-in this class. |
11633 */ | 11633 */ |
11634 class Location implements HasToJson { | 11634 class Location implements HasToJson { |
11635 String _file; | 11635 String _file; |
11636 | 11636 |
11637 int _offset; | 11637 int _offset; |
11638 | 11638 |
11639 int _length; | 11639 int _length; |
11640 | 11640 |
11641 int _startLine; | 11641 int _startLine; |
11642 | 11642 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11799 | 11799 |
11800 /** | 11800 /** |
11801 * NavigationRegion | 11801 * NavigationRegion |
11802 * | 11802 * |
11803 * { | 11803 * { |
11804 * "offset": int | 11804 * "offset": int |
11805 * "length": int | 11805 * "length": int |
11806 * "targets": List<int> | 11806 * "targets": List<int> |
11807 * } | 11807 * } |
11808 * | 11808 * |
11809 * Clients are not expected to subtype this class. | 11809 * Clients may not extend, implement or mix-in this class. |
11810 */ | 11810 */ |
11811 class NavigationRegion implements HasToJson { | 11811 class NavigationRegion implements HasToJson { |
11812 int _offset; | 11812 int _offset; |
11813 | 11813 |
11814 int _length; | 11814 int _length; |
11815 | 11815 |
11816 List<int> _targets; | 11816 List<int> _targets; |
11817 | 11817 |
11818 /** | 11818 /** |
11819 * The offset of the region from which the user can navigate. | 11819 * The offset of the region from which the user can navigate. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11929 * | 11929 * |
11930 * { | 11930 * { |
11931 * "kind": ElementKind | 11931 * "kind": ElementKind |
11932 * "fileIndex": int | 11932 * "fileIndex": int |
11933 * "offset": int | 11933 * "offset": int |
11934 * "length": int | 11934 * "length": int |
11935 * "startLine": int | 11935 * "startLine": int |
11936 * "startColumn": int | 11936 * "startColumn": int |
11937 * } | 11937 * } |
11938 * | 11938 * |
11939 * Clients are not expected to subtype this class. | 11939 * Clients may not extend, implement or mix-in this class. |
11940 */ | 11940 */ |
11941 class NavigationTarget implements HasToJson { | 11941 class NavigationTarget implements HasToJson { |
11942 ElementKind _kind; | 11942 ElementKind _kind; |
11943 | 11943 |
11944 int _fileIndex; | 11944 int _fileIndex; |
11945 | 11945 |
11946 int _offset; | 11946 int _offset; |
11947 | 11947 |
11948 int _length; | 11948 int _length; |
11949 | 11949 |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12133 | 12133 |
12134 /** | 12134 /** |
12135 * Occurrences | 12135 * Occurrences |
12136 * | 12136 * |
12137 * { | 12137 * { |
12138 * "element": Element | 12138 * "element": Element |
12139 * "offsets": List<int> | 12139 * "offsets": List<int> |
12140 * "length": int | 12140 * "length": int |
12141 * } | 12141 * } |
12142 * | 12142 * |
12143 * Clients are not expected to subtype this class. | 12143 * Clients may not extend, implement or mix-in this class. |
12144 */ | 12144 */ |
12145 class Occurrences implements HasToJson { | 12145 class Occurrences implements HasToJson { |
12146 Element _element; | 12146 Element _element; |
12147 | 12147 |
12148 List<int> _offsets; | 12148 List<int> _offsets; |
12149 | 12149 |
12150 int _length; | 12150 int _length; |
12151 | 12151 |
12152 /** | 12152 /** |
12153 * The element that was referenced. | 12153 * The element that was referenced. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12257 /** | 12257 /** |
12258 * Outline | 12258 * Outline |
12259 * | 12259 * |
12260 * { | 12260 * { |
12261 * "element": Element | 12261 * "element": Element |
12262 * "offset": int | 12262 * "offset": int |
12263 * "length": int | 12263 * "length": int |
12264 * "children": optional List<Outline> | 12264 * "children": optional List<Outline> |
12265 * } | 12265 * } |
12266 * | 12266 * |
12267 * Clients are not expected to subtype this class. | 12267 * Clients may not extend, implement or mix-in this class. |
12268 */ | 12268 */ |
12269 class Outline implements HasToJson { | 12269 class Outline implements HasToJson { |
12270 Element _element; | 12270 Element _element; |
12271 | 12271 |
12272 int _offset; | 12272 int _offset; |
12273 | 12273 |
12274 int _length; | 12274 int _length; |
12275 | 12275 |
12276 List<Outline> _children; | 12276 List<Outline> _children; |
12277 | 12277 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12413 /** | 12413 /** |
12414 * Override | 12414 * Override |
12415 * | 12415 * |
12416 * { | 12416 * { |
12417 * "offset": int | 12417 * "offset": int |
12418 * "length": int | 12418 * "length": int |
12419 * "superclassMember": optional OverriddenMember | 12419 * "superclassMember": optional OverriddenMember |
12420 * "interfaceMembers": optional List<OverriddenMember> | 12420 * "interfaceMembers": optional List<OverriddenMember> |
12421 * } | 12421 * } |
12422 * | 12422 * |
12423 * Clients are not expected to subtype this class. | 12423 * Clients may not extend, implement or mix-in this class. |
12424 */ | 12424 */ |
12425 class Override implements HasToJson { | 12425 class Override implements HasToJson { |
12426 int _offset; | 12426 int _offset; |
12427 | 12427 |
12428 int _length; | 12428 int _length; |
12429 | 12429 |
12430 OverriddenMember _superclassMember; | 12430 OverriddenMember _superclassMember; |
12431 | 12431 |
12432 List<OverriddenMember> _interfaceMembers; | 12432 List<OverriddenMember> _interfaceMembers; |
12433 | 12433 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12566 } | 12566 } |
12567 | 12567 |
12568 /** | 12568 /** |
12569 * OverriddenMember | 12569 * OverriddenMember |
12570 * | 12570 * |
12571 * { | 12571 * { |
12572 * "element": Element | 12572 * "element": Element |
12573 * "className": String | 12573 * "className": String |
12574 * } | 12574 * } |
12575 * | 12575 * |
12576 * Clients are not expected to subtype this class. | 12576 * Clients may not extend, implement or mix-in this class. |
12577 */ | 12577 */ |
12578 class OverriddenMember implements HasToJson { | 12578 class OverriddenMember implements HasToJson { |
12579 Element _element; | 12579 Element _element; |
12580 | 12580 |
12581 String _className; | 12581 String _className; |
12582 | 12582 |
12583 /** | 12583 /** |
12584 * The element that is being overridden. | 12584 * The element that is being overridden. |
12585 */ | 12585 */ |
12586 Element get element => _element; | 12586 Element get element => _element; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12663 } | 12663 } |
12664 | 12664 |
12665 /** | 12665 /** |
12666 * Position | 12666 * Position |
12667 * | 12667 * |
12668 * { | 12668 * { |
12669 * "file": FilePath | 12669 * "file": FilePath |
12670 * "offset": int | 12670 * "offset": int |
12671 * } | 12671 * } |
12672 * | 12672 * |
12673 * Clients are not expected to subtype this class. | 12673 * Clients may not extend, implement or mix-in this class. |
12674 */ | 12674 */ |
12675 class Position implements HasToJson { | 12675 class Position implements HasToJson { |
12676 String _file; | 12676 String _file; |
12677 | 12677 |
12678 int _offset; | 12678 int _offset; |
12679 | 12679 |
12680 /** | 12680 /** |
12681 * The file containing the position. | 12681 * The file containing the position. |
12682 */ | 12682 */ |
12683 String get file => _file; | 12683 String get file => _file; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12759 } | 12759 } |
12760 } | 12760 } |
12761 | 12761 |
12762 /** | 12762 /** |
12763 * PubStatus | 12763 * PubStatus |
12764 * | 12764 * |
12765 * { | 12765 * { |
12766 * "isListingPackageDirs": bool | 12766 * "isListingPackageDirs": bool |
12767 * } | 12767 * } |
12768 * | 12768 * |
12769 * Clients are not expected to subtype this class. | 12769 * Clients may not extend, implement or mix-in this class. |
12770 */ | 12770 */ |
12771 class PubStatus implements HasToJson { | 12771 class PubStatus implements HasToJson { |
12772 bool _isListingPackageDirs; | 12772 bool _isListingPackageDirs; |
12773 | 12773 |
12774 /** | 12774 /** |
12775 * True if the server is currently running pub to produce a list of package | 12775 * True if the server is currently running pub to produce a list of package |
12776 * directories. | 12776 * directories. |
12777 */ | 12777 */ |
12778 bool get isListingPackageDirs => _isListingPackageDirs; | 12778 bool get isListingPackageDirs => _isListingPackageDirs; |
12779 | 12779 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12840 * CONVERT_METHOD_TO_GETTER | 12840 * CONVERT_METHOD_TO_GETTER |
12841 * EXTRACT_LOCAL_VARIABLE | 12841 * EXTRACT_LOCAL_VARIABLE |
12842 * EXTRACT_METHOD | 12842 * EXTRACT_METHOD |
12843 * INLINE_LOCAL_VARIABLE | 12843 * INLINE_LOCAL_VARIABLE |
12844 * INLINE_METHOD | 12844 * INLINE_METHOD |
12845 * MOVE_FILE | 12845 * MOVE_FILE |
12846 * RENAME | 12846 * RENAME |
12847 * SORT_MEMBERS | 12847 * SORT_MEMBERS |
12848 * } | 12848 * } |
12849 * | 12849 * |
12850 * Clients are not expected to subtype this class. | 12850 * Clients may not extend, implement or mix-in this class. |
12851 */ | 12851 */ |
12852 class RefactoringKind implements Enum { | 12852 class RefactoringKind implements Enum { |
12853 static const CONVERT_GETTER_TO_METHOD = const RefactoringKind._("CONVERT_GETTE
R_TO_METHOD"); | 12853 static const CONVERT_GETTER_TO_METHOD = const RefactoringKind._("CONVERT_GETTE
R_TO_METHOD"); |
12854 | 12854 |
12855 static const CONVERT_METHOD_TO_GETTER = const RefactoringKind._("CONVERT_METHO
D_TO_GETTER"); | 12855 static const CONVERT_METHOD_TO_GETTER = const RefactoringKind._("CONVERT_METHO
D_TO_GETTER"); |
12856 | 12856 |
12857 static const EXTRACT_LOCAL_VARIABLE = const RefactoringKind._("EXTRACT_LOCAL_V
ARIABLE"); | 12857 static const EXTRACT_LOCAL_VARIABLE = const RefactoringKind._("EXTRACT_LOCAL_V
ARIABLE"); |
12858 | 12858 |
12859 static const EXTRACT_METHOD = const RefactoringKind._("EXTRACT_METHOD"); | 12859 static const EXTRACT_METHOD = const RefactoringKind._("EXTRACT_METHOD"); |
12860 | 12860 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12922 * RefactoringMethodParameter | 12922 * RefactoringMethodParameter |
12923 * | 12923 * |
12924 * { | 12924 * { |
12925 * "id": optional String | 12925 * "id": optional String |
12926 * "kind": RefactoringMethodParameterKind | 12926 * "kind": RefactoringMethodParameterKind |
12927 * "type": String | 12927 * "type": String |
12928 * "name": String | 12928 * "name": String |
12929 * "parameters": optional String | 12929 * "parameters": optional String |
12930 * } | 12930 * } |
12931 * | 12931 * |
12932 * Clients are not expected to subtype this class. | 12932 * Clients may not extend, implement or mix-in this class. |
12933 */ | 12933 */ |
12934 class RefactoringMethodParameter implements HasToJson { | 12934 class RefactoringMethodParameter implements HasToJson { |
12935 String _id; | 12935 String _id; |
12936 | 12936 |
12937 RefactoringMethodParameterKind _kind; | 12937 RefactoringMethodParameterKind _kind; |
12938 | 12938 |
12939 String _type; | 12939 String _type; |
12940 | 12940 |
12941 String _name; | 12941 String _name; |
12942 | 12942 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13098 return JenkinsSmiHash.finish(hash); | 13098 return JenkinsSmiHash.finish(hash); |
13099 } | 13099 } |
13100 } | 13100 } |
13101 | 13101 |
13102 /** | 13102 /** |
13103 * RefactoringFeedback | 13103 * RefactoringFeedback |
13104 * | 13104 * |
13105 * { | 13105 * { |
13106 * } | 13106 * } |
13107 * | 13107 * |
13108 * Clients are not expected to subtype this class. | 13108 * Clients may not extend, implement or mix-in this class. |
13109 */ | 13109 */ |
13110 class RefactoringFeedback implements HasToJson { | 13110 class RefactoringFeedback implements HasToJson { |
13111 RefactoringFeedback(); | 13111 RefactoringFeedback(); |
13112 | 13112 |
13113 factory RefactoringFeedback.fromJson(JsonDecoder jsonDecoder, String jsonPath,
Object json, Map responseJson) { | 13113 factory RefactoringFeedback.fromJson(JsonDecoder jsonDecoder, String jsonPath,
Object json, Map responseJson) { |
13114 return refactoringFeedbackFromJson(jsonDecoder, jsonPath, json, responseJson
); | 13114 return refactoringFeedbackFromJson(jsonDecoder, jsonPath, json, responseJson
); |
13115 } | 13115 } |
13116 | 13116 |
13117 Map<String, dynamic> toJson() { | 13117 Map<String, dynamic> toJson() { |
13118 Map<String, dynamic> result = {}; | 13118 Map<String, dynamic> result = {}; |
(...skipping 17 matching lines...) Expand all Loading... |
13136 return JenkinsSmiHash.finish(hash); | 13136 return JenkinsSmiHash.finish(hash); |
13137 } | 13137 } |
13138 } | 13138 } |
13139 | 13139 |
13140 /** | 13140 /** |
13141 * RefactoringOptions | 13141 * RefactoringOptions |
13142 * | 13142 * |
13143 * { | 13143 * { |
13144 * } | 13144 * } |
13145 * | 13145 * |
13146 * Clients are not expected to subtype this class. | 13146 * Clients may not extend, implement or mix-in this class. |
13147 */ | 13147 */ |
13148 class RefactoringOptions implements HasToJson { | 13148 class RefactoringOptions implements HasToJson { |
13149 RefactoringOptions(); | 13149 RefactoringOptions(); |
13150 | 13150 |
13151 factory RefactoringOptions.fromJson(JsonDecoder jsonDecoder, String jsonPath,
Object json, RefactoringKind kind) { | 13151 factory RefactoringOptions.fromJson(JsonDecoder jsonDecoder, String jsonPath,
Object json, RefactoringKind kind) { |
13152 return refactoringOptionsFromJson(jsonDecoder, jsonPath, json, kind); | 13152 return refactoringOptionsFromJson(jsonDecoder, jsonPath, json, kind); |
13153 } | 13153 } |
13154 | 13154 |
13155 Map<String, dynamic> toJson() { | 13155 Map<String, dynamic> toJson() { |
13156 Map<String, dynamic> result = {}; | 13156 Map<String, dynamic> result = {}; |
(...skipping 20 matching lines...) Expand all Loading... |
13177 | 13177 |
13178 /** | 13178 /** |
13179 * RefactoringMethodParameterKind | 13179 * RefactoringMethodParameterKind |
13180 * | 13180 * |
13181 * enum { | 13181 * enum { |
13182 * REQUIRED | 13182 * REQUIRED |
13183 * POSITIONAL | 13183 * POSITIONAL |
13184 * NAMED | 13184 * NAMED |
13185 * } | 13185 * } |
13186 * | 13186 * |
13187 * Clients are not expected to subtype this class. | 13187 * Clients may not extend, implement or mix-in this class. |
13188 */ | 13188 */ |
13189 class RefactoringMethodParameterKind implements Enum { | 13189 class RefactoringMethodParameterKind implements Enum { |
13190 static const REQUIRED = const RefactoringMethodParameterKind._("REQUIRED"); | 13190 static const REQUIRED = const RefactoringMethodParameterKind._("REQUIRED"); |
13191 | 13191 |
13192 static const POSITIONAL = const RefactoringMethodParameterKind._("POSITIONAL")
; | 13192 static const POSITIONAL = const RefactoringMethodParameterKind._("POSITIONAL")
; |
13193 | 13193 |
13194 static const NAMED = const RefactoringMethodParameterKind._("NAMED"); | 13194 static const NAMED = const RefactoringMethodParameterKind._("NAMED"); |
13195 | 13195 |
13196 /** | 13196 /** |
13197 * A list containing all of the enum values that are defined. | 13197 * A list containing all of the enum values that are defined. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13233 | 13233 |
13234 /** | 13234 /** |
13235 * RefactoringProblem | 13235 * RefactoringProblem |
13236 * | 13236 * |
13237 * { | 13237 * { |
13238 * "severity": RefactoringProblemSeverity | 13238 * "severity": RefactoringProblemSeverity |
13239 * "message": String | 13239 * "message": String |
13240 * "location": optional Location | 13240 * "location": optional Location |
13241 * } | 13241 * } |
13242 * | 13242 * |
13243 * Clients are not expected to subtype this class. | 13243 * Clients may not extend, implement or mix-in this class. |
13244 */ | 13244 */ |
13245 class RefactoringProblem implements HasToJson { | 13245 class RefactoringProblem implements HasToJson { |
13246 RefactoringProblemSeverity _severity; | 13246 RefactoringProblemSeverity _severity; |
13247 | 13247 |
13248 String _message; | 13248 String _message; |
13249 | 13249 |
13250 Location _location; | 13250 Location _location; |
13251 | 13251 |
13252 /** | 13252 /** |
13253 * The severity of the problem being represented. | 13253 * The severity of the problem being represented. |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13360 /** | 13360 /** |
13361 * RefactoringProblemSeverity | 13361 * RefactoringProblemSeverity |
13362 * | 13362 * |
13363 * enum { | 13363 * enum { |
13364 * INFO | 13364 * INFO |
13365 * WARNING | 13365 * WARNING |
13366 * ERROR | 13366 * ERROR |
13367 * FATAL | 13367 * FATAL |
13368 * } | 13368 * } |
13369 * | 13369 * |
13370 * Clients are not expected to subtype this class. | 13370 * Clients may not extend, implement or mix-in this class. |
13371 */ | 13371 */ |
13372 class RefactoringProblemSeverity implements Enum { | 13372 class RefactoringProblemSeverity implements Enum { |
13373 static const INFO = const RefactoringProblemSeverity._("INFO"); | 13373 static const INFO = const RefactoringProblemSeverity._("INFO"); |
13374 | 13374 |
13375 static const WARNING = const RefactoringProblemSeverity._("WARNING"); | 13375 static const WARNING = const RefactoringProblemSeverity._("WARNING"); |
13376 | 13376 |
13377 static const ERROR = const RefactoringProblemSeverity._("ERROR"); | 13377 static const ERROR = const RefactoringProblemSeverity._("ERROR"); |
13378 | 13378 |
13379 static const FATAL = const RefactoringProblemSeverity._("FATAL"); | 13379 static const FATAL = const RefactoringProblemSeverity._("FATAL"); |
13380 | 13380 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13424 String toJson() => name; | 13424 String toJson() => name; |
13425 } | 13425 } |
13426 | 13426 |
13427 /** | 13427 /** |
13428 * RemoveContentOverlay | 13428 * RemoveContentOverlay |
13429 * | 13429 * |
13430 * { | 13430 * { |
13431 * "type": "remove" | 13431 * "type": "remove" |
13432 * } | 13432 * } |
13433 * | 13433 * |
13434 * Clients are not expected to subtype this class. | 13434 * Clients may not extend, implement or mix-in this class. |
13435 */ | 13435 */ |
13436 class RemoveContentOverlay implements HasToJson { | 13436 class RemoveContentOverlay implements HasToJson { |
13437 RemoveContentOverlay(); | 13437 RemoveContentOverlay(); |
13438 | 13438 |
13439 factory RemoveContentOverlay.fromJson(JsonDecoder jsonDecoder, String jsonPath
, Object json) { | 13439 factory RemoveContentOverlay.fromJson(JsonDecoder jsonDecoder, String jsonPath
, Object json) { |
13440 if (json == null) { | 13440 if (json == null) { |
13441 json = {}; | 13441 json = {}; |
13442 } | 13442 } |
13443 if (json is Map) { | 13443 if (json is Map) { |
13444 if (json["type"] != "remove") { | 13444 if (json["type"] != "remove") { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13477 | 13477 |
13478 /** | 13478 /** |
13479 * RequestError | 13479 * RequestError |
13480 * | 13480 * |
13481 * { | 13481 * { |
13482 * "code": RequestErrorCode | 13482 * "code": RequestErrorCode |
13483 * "message": String | 13483 * "message": String |
13484 * "stackTrace": optional String | 13484 * "stackTrace": optional String |
13485 * } | 13485 * } |
13486 * | 13486 * |
13487 * Clients are not expected to subtype this class. | 13487 * Clients may not extend, implement or mix-in this class. |
13488 */ | 13488 */ |
13489 class RequestError implements HasToJson { | 13489 class RequestError implements HasToJson { |
13490 RequestErrorCode _code; | 13490 RequestErrorCode _code; |
13491 | 13491 |
13492 String _message; | 13492 String _message; |
13493 | 13493 |
13494 String _stackTrace; | 13494 String _stackTrace; |
13495 | 13495 |
13496 /** | 13496 /** |
13497 * A code that uniquely identifies the error that occurred. | 13497 * A code that uniquely identifies the error that occurred. |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13620 * SERVER_ALREADY_STARTED | 13620 * SERVER_ALREADY_STARTED |
13621 * SERVER_ERROR | 13621 * SERVER_ERROR |
13622 * SORT_MEMBERS_INVALID_FILE | 13622 * SORT_MEMBERS_INVALID_FILE |
13623 * SORT_MEMBERS_PARSE_ERRORS | 13623 * SORT_MEMBERS_PARSE_ERRORS |
13624 * UNANALYZED_PRIORITY_FILES | 13624 * UNANALYZED_PRIORITY_FILES |
13625 * UNKNOWN_REQUEST | 13625 * UNKNOWN_REQUEST |
13626 * UNKNOWN_SOURCE | 13626 * UNKNOWN_SOURCE |
13627 * UNSUPPORTED_FEATURE | 13627 * UNSUPPORTED_FEATURE |
13628 * } | 13628 * } |
13629 * | 13629 * |
13630 * Clients are not expected to subtype this class. | 13630 * Clients may not extend, implement or mix-in this class. |
13631 */ | 13631 */ |
13632 class RequestErrorCode implements Enum { | 13632 class RequestErrorCode implements Enum { |
13633 /** | 13633 /** |
13634 * An "analysis.getErrors" or "analysis.getNavigation" request could not be | 13634 * An "analysis.getErrors" or "analysis.getNavigation" request could not be |
13635 * satisfied because the content of the file changed before the requested | 13635 * satisfied because the content of the file changed before the requested |
13636 * results could be computed. | 13636 * results could be computed. |
13637 */ | 13637 */ |
13638 static const CONTENT_MODIFIED = const RequestErrorCode._("CONTENT_MODIFIED"); | 13638 static const CONTENT_MODIFIED = const RequestErrorCode._("CONTENT_MODIFIED"); |
13639 | 13639 |
13640 /** | 13640 /** |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13848 /** | 13848 /** |
13849 * SearchResult | 13849 * SearchResult |
13850 * | 13850 * |
13851 * { | 13851 * { |
13852 * "location": Location | 13852 * "location": Location |
13853 * "kind": SearchResultKind | 13853 * "kind": SearchResultKind |
13854 * "isPotential": bool | 13854 * "isPotential": bool |
13855 * "path": List<Element> | 13855 * "path": List<Element> |
13856 * } | 13856 * } |
13857 * | 13857 * |
13858 * Clients are not expected to subtype this class. | 13858 * Clients may not extend, implement or mix-in this class. |
13859 */ | 13859 */ |
13860 class SearchResult implements HasToJson { | 13860 class SearchResult implements HasToJson { |
13861 Location _location; | 13861 Location _location; |
13862 | 13862 |
13863 SearchResultKind _kind; | 13863 SearchResultKind _kind; |
13864 | 13864 |
13865 bool _isPotential; | 13865 bool _isPotential; |
13866 | 13866 |
13867 List<Element> _path; | 13867 List<Element> _path; |
13868 | 13868 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14010 * enum { | 14010 * enum { |
14011 * DECLARATION | 14011 * DECLARATION |
14012 * INVOCATION | 14012 * INVOCATION |
14013 * READ | 14013 * READ |
14014 * READ_WRITE | 14014 * READ_WRITE |
14015 * REFERENCE | 14015 * REFERENCE |
14016 * UNKNOWN | 14016 * UNKNOWN |
14017 * WRITE | 14017 * WRITE |
14018 * } | 14018 * } |
14019 * | 14019 * |
14020 * Clients are not expected to subtype this class. | 14020 * Clients may not extend, implement or mix-in this class. |
14021 */ | 14021 */ |
14022 class SearchResultKind implements Enum { | 14022 class SearchResultKind implements Enum { |
14023 /** | 14023 /** |
14024 * The declaration of an element. | 14024 * The declaration of an element. |
14025 */ | 14025 */ |
14026 static const DECLARATION = const SearchResultKind._("DECLARATION"); | 14026 static const DECLARATION = const SearchResultKind._("DECLARATION"); |
14027 | 14027 |
14028 /** | 14028 /** |
14029 * The invocation of a function or method. | 14029 * The invocation of a function or method. |
14030 */ | 14030 */ |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14102 String toJson() => name; | 14102 String toJson() => name; |
14103 } | 14103 } |
14104 | 14104 |
14105 /** | 14105 /** |
14106 * ServerService | 14106 * ServerService |
14107 * | 14107 * |
14108 * enum { | 14108 * enum { |
14109 * STATUS | 14109 * STATUS |
14110 * } | 14110 * } |
14111 * | 14111 * |
14112 * Clients are not expected to subtype this class. | 14112 * Clients may not extend, implement or mix-in this class. |
14113 */ | 14113 */ |
14114 class ServerService implements Enum { | 14114 class ServerService implements Enum { |
14115 static const STATUS = const ServerService._("STATUS"); | 14115 static const STATUS = const ServerService._("STATUS"); |
14116 | 14116 |
14117 /** | 14117 /** |
14118 * A list containing all of the enum values that are defined. | 14118 * A list containing all of the enum values that are defined. |
14119 */ | 14119 */ |
14120 static const List<ServerService> VALUES = const <ServerService>[STATUS]; | 14120 static const List<ServerService> VALUES = const <ServerService>[STATUS]; |
14121 | 14121 |
14122 final String name; | 14122 final String name; |
(...skipping 28 matching lines...) Expand all Loading... |
14151 /** | 14151 /** |
14152 * SourceChange | 14152 * SourceChange |
14153 * | 14153 * |
14154 * { | 14154 * { |
14155 * "message": String | 14155 * "message": String |
14156 * "edits": List<SourceFileEdit> | 14156 * "edits": List<SourceFileEdit> |
14157 * "linkedEditGroups": List<LinkedEditGroup> | 14157 * "linkedEditGroups": List<LinkedEditGroup> |
14158 * "selection": optional Position | 14158 * "selection": optional Position |
14159 * } | 14159 * } |
14160 * | 14160 * |
14161 * Clients are not expected to subtype this class. | 14161 * Clients may not extend, implement or mix-in this class. |
14162 */ | 14162 */ |
14163 class SourceChange implements HasToJson { | 14163 class SourceChange implements HasToJson { |
14164 String _message; | 14164 String _message; |
14165 | 14165 |
14166 List<SourceFileEdit> _edits; | 14166 List<SourceFileEdit> _edits; |
14167 | 14167 |
14168 List<LinkedEditGroup> _linkedEditGroups; | 14168 List<LinkedEditGroup> _linkedEditGroups; |
14169 | 14169 |
14170 Position _selection; | 14170 Position _selection; |
14171 | 14171 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14335 /** | 14335 /** |
14336 * SourceEdit | 14336 * SourceEdit |
14337 * | 14337 * |
14338 * { | 14338 * { |
14339 * "offset": int | 14339 * "offset": int |
14340 * "length": int | 14340 * "length": int |
14341 * "replacement": String | 14341 * "replacement": String |
14342 * "id": optional String | 14342 * "id": optional String |
14343 * } | 14343 * } |
14344 * | 14344 * |
14345 * Clients are not expected to subtype this class. | 14345 * Clients may not extend, implement or mix-in this class. |
14346 */ | 14346 */ |
14347 class SourceEdit implements HasToJson { | 14347 class SourceEdit implements HasToJson { |
14348 /** | 14348 /** |
14349 * Get the result of applying a set of [edits] to the given [code]. Edits are | 14349 * Get the result of applying a set of [edits] to the given [code]. Edits are |
14350 * applied in the order they appear in [edits]. | 14350 * applied in the order they appear in [edits]. |
14351 */ | 14351 */ |
14352 static String applySequence(String code, Iterable<SourceEdit> edits) => | 14352 static String applySequence(String code, Iterable<SourceEdit> edits) => |
14353 applySequenceOfEdits(code, edits); | 14353 applySequenceOfEdits(code, edits); |
14354 | 14354 |
14355 int _offset; | 14355 int _offset; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14513 | 14513 |
14514 /** | 14514 /** |
14515 * SourceFileEdit | 14515 * SourceFileEdit |
14516 * | 14516 * |
14517 * { | 14517 * { |
14518 * "file": FilePath | 14518 * "file": FilePath |
14519 * "fileStamp": long | 14519 * "fileStamp": long |
14520 * "edits": List<SourceEdit> | 14520 * "edits": List<SourceEdit> |
14521 * } | 14521 * } |
14522 * | 14522 * |
14523 * Clients are not expected to subtype this class. | 14523 * Clients may not extend, implement or mix-in this class. |
14524 */ | 14524 */ |
14525 class SourceFileEdit implements HasToJson { | 14525 class SourceFileEdit implements HasToJson { |
14526 String _file; | 14526 String _file; |
14527 | 14527 |
14528 int _fileStamp; | 14528 int _fileStamp; |
14529 | 14529 |
14530 List<SourceEdit> _edits; | 14530 List<SourceEdit> _edits; |
14531 | 14531 |
14532 /** | 14532 /** |
14533 * The file containing the code to be modified. | 14533 * The file containing the code to be modified. |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14663 * { | 14663 * { |
14664 * "classElement": Element | 14664 * "classElement": Element |
14665 * "displayName": optional String | 14665 * "displayName": optional String |
14666 * "memberElement": optional Element | 14666 * "memberElement": optional Element |
14667 * "superclass": optional int | 14667 * "superclass": optional int |
14668 * "interfaces": List<int> | 14668 * "interfaces": List<int> |
14669 * "mixins": List<int> | 14669 * "mixins": List<int> |
14670 * "subclasses": List<int> | 14670 * "subclasses": List<int> |
14671 * } | 14671 * } |
14672 * | 14672 * |
14673 * Clients are not expected to subtype this class. | 14673 * Clients may not extend, implement or mix-in this class. |
14674 */ | 14674 */ |
14675 class TypeHierarchyItem implements HasToJson { | 14675 class TypeHierarchyItem implements HasToJson { |
14676 Element _classElement; | 14676 Element _classElement; |
14677 | 14677 |
14678 String _displayName; | 14678 String _displayName; |
14679 | 14679 |
14680 Element _memberElement; | 14680 Element _memberElement; |
14681 | 14681 |
14682 int _superclass; | 14682 int _superclass; |
14683 | 14683 |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14910 hash = JenkinsSmiHash.combine(hash, superclass.hashCode); | 14910 hash = JenkinsSmiHash.combine(hash, superclass.hashCode); |
14911 hash = JenkinsSmiHash.combine(hash, interfaces.hashCode); | 14911 hash = JenkinsSmiHash.combine(hash, interfaces.hashCode); |
14912 hash = JenkinsSmiHash.combine(hash, mixins.hashCode); | 14912 hash = JenkinsSmiHash.combine(hash, mixins.hashCode); |
14913 hash = JenkinsSmiHash.combine(hash, subclasses.hashCode); | 14913 hash = JenkinsSmiHash.combine(hash, subclasses.hashCode); |
14914 return JenkinsSmiHash.finish(hash); | 14914 return JenkinsSmiHash.finish(hash); |
14915 } | 14915 } |
14916 } | 14916 } |
14917 /** | 14917 /** |
14918 * convertGetterToMethod feedback | 14918 * convertGetterToMethod feedback |
14919 * | 14919 * |
14920 * Clients are not expected to subtype this class. | 14920 * Clients may not extend, implement or mix-in this class. |
14921 */ | 14921 */ |
14922 class ConvertGetterToMethodFeedback { | 14922 class ConvertGetterToMethodFeedback { |
14923 @override | 14923 @override |
14924 bool operator==(other) { | 14924 bool operator==(other) { |
14925 if (other is ConvertGetterToMethodFeedback) { | 14925 if (other is ConvertGetterToMethodFeedback) { |
14926 return true; | 14926 return true; |
14927 } | 14927 } |
14928 return false; | 14928 return false; |
14929 } | 14929 } |
14930 | 14930 |
14931 @override | 14931 @override |
14932 int get hashCode { | 14932 int get hashCode { |
14933 return 616032599; | 14933 return 616032599; |
14934 } | 14934 } |
14935 } | 14935 } |
14936 /** | 14936 /** |
14937 * convertGetterToMethod options | 14937 * convertGetterToMethod options |
14938 * | 14938 * |
14939 * Clients are not expected to subtype this class. | 14939 * Clients may not extend, implement or mix-in this class. |
14940 */ | 14940 */ |
14941 class ConvertGetterToMethodOptions { | 14941 class ConvertGetterToMethodOptions { |
14942 @override | 14942 @override |
14943 bool operator==(other) { | 14943 bool operator==(other) { |
14944 if (other is ConvertGetterToMethodOptions) { | 14944 if (other is ConvertGetterToMethodOptions) { |
14945 return true; | 14945 return true; |
14946 } | 14946 } |
14947 return false; | 14947 return false; |
14948 } | 14948 } |
14949 | 14949 |
14950 @override | 14950 @override |
14951 int get hashCode { | 14951 int get hashCode { |
14952 return 488848400; | 14952 return 488848400; |
14953 } | 14953 } |
14954 } | 14954 } |
14955 /** | 14955 /** |
14956 * convertMethodToGetter feedback | 14956 * convertMethodToGetter feedback |
14957 * | 14957 * |
14958 * Clients are not expected to subtype this class. | 14958 * Clients may not extend, implement or mix-in this class. |
14959 */ | 14959 */ |
14960 class ConvertMethodToGetterFeedback { | 14960 class ConvertMethodToGetterFeedback { |
14961 @override | 14961 @override |
14962 bool operator==(other) { | 14962 bool operator==(other) { |
14963 if (other is ConvertMethodToGetterFeedback) { | 14963 if (other is ConvertMethodToGetterFeedback) { |
14964 return true; | 14964 return true; |
14965 } | 14965 } |
14966 return false; | 14966 return false; |
14967 } | 14967 } |
14968 | 14968 |
14969 @override | 14969 @override |
14970 int get hashCode { | 14970 int get hashCode { |
14971 return 165291526; | 14971 return 165291526; |
14972 } | 14972 } |
14973 } | 14973 } |
14974 /** | 14974 /** |
14975 * convertMethodToGetter options | 14975 * convertMethodToGetter options |
14976 * | 14976 * |
14977 * Clients are not expected to subtype this class. | 14977 * Clients may not extend, implement or mix-in this class. |
14978 */ | 14978 */ |
14979 class ConvertMethodToGetterOptions { | 14979 class ConvertMethodToGetterOptions { |
14980 @override | 14980 @override |
14981 bool operator==(other) { | 14981 bool operator==(other) { |
14982 if (other is ConvertMethodToGetterOptions) { | 14982 if (other is ConvertMethodToGetterOptions) { |
14983 return true; | 14983 return true; |
14984 } | 14984 } |
14985 return false; | 14985 return false; |
14986 } | 14986 } |
14987 | 14987 |
14988 @override | 14988 @override |
14989 int get hashCode { | 14989 int get hashCode { |
14990 return 27952290; | 14990 return 27952290; |
14991 } | 14991 } |
14992 } | 14992 } |
14993 | 14993 |
14994 /** | 14994 /** |
14995 * extractLocalVariable feedback | 14995 * extractLocalVariable feedback |
14996 * | 14996 * |
14997 * { | 14997 * { |
14998 * "coveringExpressionOffsets": List<int> | 14998 * "coveringExpressionOffsets": List<int> |
14999 * "coveringExpressionLengths": List<int> | 14999 * "coveringExpressionLengths": List<int> |
15000 * "names": List<String> | 15000 * "names": List<String> |
15001 * "offsets": List<int> | 15001 * "offsets": List<int> |
15002 * "lengths": List<int> | 15002 * "lengths": List<int> |
15003 * } | 15003 * } |
15004 * | 15004 * |
15005 * Clients are not expected to subtype this class. | 15005 * Clients may not extend, implement or mix-in this class. |
15006 */ | 15006 */ |
15007 class ExtractLocalVariableFeedback extends RefactoringFeedback implements HasToJ
son { | 15007 class ExtractLocalVariableFeedback extends RefactoringFeedback implements HasToJ
son { |
15008 List<int> _coveringExpressionOffsets; | 15008 List<int> _coveringExpressionOffsets; |
15009 | 15009 |
15010 List<int> _coveringExpressionLengths; | 15010 List<int> _coveringExpressionLengths; |
15011 | 15011 |
15012 List<String> _names; | 15012 List<String> _names; |
15013 | 15013 |
15014 List<int> _offsets; | 15014 List<int> _offsets; |
15015 | 15015 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15179 } | 15179 } |
15180 | 15180 |
15181 /** | 15181 /** |
15182 * extractLocalVariable options | 15182 * extractLocalVariable options |
15183 * | 15183 * |
15184 * { | 15184 * { |
15185 * "name": String | 15185 * "name": String |
15186 * "extractAll": bool | 15186 * "extractAll": bool |
15187 * } | 15187 * } |
15188 * | 15188 * |
15189 * Clients are not expected to subtype this class. | 15189 * Clients may not extend, implement or mix-in this class. |
15190 */ | 15190 */ |
15191 class ExtractLocalVariableOptions extends RefactoringOptions implements HasToJso
n { | 15191 class ExtractLocalVariableOptions extends RefactoringOptions implements HasToJso
n { |
15192 String _name; | 15192 String _name; |
15193 | 15193 |
15194 bool _extractAll; | 15194 bool _extractAll; |
15195 | 15195 |
15196 /** | 15196 /** |
15197 * The name that the local variable should be given. | 15197 * The name that the local variable should be given. |
15198 */ | 15198 */ |
15199 String get name => _name; | 15199 String get name => _name; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15293 * "offset": int | 15293 * "offset": int |
15294 * "length": int | 15294 * "length": int |
15295 * "returnType": String | 15295 * "returnType": String |
15296 * "names": List<String> | 15296 * "names": List<String> |
15297 * "canCreateGetter": bool | 15297 * "canCreateGetter": bool |
15298 * "parameters": List<RefactoringMethodParameter> | 15298 * "parameters": List<RefactoringMethodParameter> |
15299 * "offsets": List<int> | 15299 * "offsets": List<int> |
15300 * "lengths": List<int> | 15300 * "lengths": List<int> |
15301 * } | 15301 * } |
15302 * | 15302 * |
15303 * Clients are not expected to subtype this class. | 15303 * Clients may not extend, implement or mix-in this class. |
15304 */ | 15304 */ |
15305 class ExtractMethodFeedback extends RefactoringFeedback implements HasToJson { | 15305 class ExtractMethodFeedback extends RefactoringFeedback implements HasToJson { |
15306 int _offset; | 15306 int _offset; |
15307 | 15307 |
15308 int _length; | 15308 int _length; |
15309 | 15309 |
15310 String _returnType; | 15310 String _returnType; |
15311 | 15311 |
15312 List<String> _names; | 15312 List<String> _names; |
15313 | 15313 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15557 * extractMethod options | 15557 * extractMethod options |
15558 * | 15558 * |
15559 * { | 15559 * { |
15560 * "returnType": String | 15560 * "returnType": String |
15561 * "createGetter": bool | 15561 * "createGetter": bool |
15562 * "name": String | 15562 * "name": String |
15563 * "parameters": List<RefactoringMethodParameter> | 15563 * "parameters": List<RefactoringMethodParameter> |
15564 * "extractAll": bool | 15564 * "extractAll": bool |
15565 * } | 15565 * } |
15566 * | 15566 * |
15567 * Clients are not expected to subtype this class. | 15567 * Clients may not extend, implement or mix-in this class. |
15568 */ | 15568 */ |
15569 class ExtractMethodOptions extends RefactoringOptions implements HasToJson { | 15569 class ExtractMethodOptions extends RefactoringOptions implements HasToJson { |
15570 String _returnType; | 15570 String _returnType; |
15571 | 15571 |
15572 bool _createGetter; | 15572 bool _createGetter; |
15573 | 15573 |
15574 String _name; | 15574 String _name; |
15575 | 15575 |
15576 List<RefactoringMethodParameter> _parameters; | 15576 List<RefactoringMethodParameter> _parameters; |
15577 | 15577 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15758 } | 15758 } |
15759 | 15759 |
15760 /** | 15760 /** |
15761 * inlineLocalVariable feedback | 15761 * inlineLocalVariable feedback |
15762 * | 15762 * |
15763 * { | 15763 * { |
15764 * "name": String | 15764 * "name": String |
15765 * "occurrences": int | 15765 * "occurrences": int |
15766 * } | 15766 * } |
15767 * | 15767 * |
15768 * Clients are not expected to subtype this class. | 15768 * Clients may not extend, implement or mix-in this class. |
15769 */ | 15769 */ |
15770 class InlineLocalVariableFeedback extends RefactoringFeedback implements HasToJs
on { | 15770 class InlineLocalVariableFeedback extends RefactoringFeedback implements HasToJs
on { |
15771 String _name; | 15771 String _name; |
15772 | 15772 |
15773 int _occurrences; | 15773 int _occurrences; |
15774 | 15774 |
15775 /** | 15775 /** |
15776 * The name of the variable being inlined. | 15776 * The name of the variable being inlined. |
15777 */ | 15777 */ |
15778 String get name => _name; | 15778 String get name => _name; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15849 int get hashCode { | 15849 int get hashCode { |
15850 int hash = 0; | 15850 int hash = 0; |
15851 hash = JenkinsSmiHash.combine(hash, name.hashCode); | 15851 hash = JenkinsSmiHash.combine(hash, name.hashCode); |
15852 hash = JenkinsSmiHash.combine(hash, occurrences.hashCode); | 15852 hash = JenkinsSmiHash.combine(hash, occurrences.hashCode); |
15853 return JenkinsSmiHash.finish(hash); | 15853 return JenkinsSmiHash.finish(hash); |
15854 } | 15854 } |
15855 } | 15855 } |
15856 /** | 15856 /** |
15857 * inlineLocalVariable options | 15857 * inlineLocalVariable options |
15858 * | 15858 * |
15859 * Clients are not expected to subtype this class. | 15859 * Clients may not extend, implement or mix-in this class. |
15860 */ | 15860 */ |
15861 class InlineLocalVariableOptions { | 15861 class InlineLocalVariableOptions { |
15862 @override | 15862 @override |
15863 bool operator==(other) { | 15863 bool operator==(other) { |
15864 if (other is InlineLocalVariableOptions) { | 15864 if (other is InlineLocalVariableOptions) { |
15865 return true; | 15865 return true; |
15866 } | 15866 } |
15867 return false; | 15867 return false; |
15868 } | 15868 } |
15869 | 15869 |
15870 @override | 15870 @override |
15871 int get hashCode { | 15871 int get hashCode { |
15872 return 540364977; | 15872 return 540364977; |
15873 } | 15873 } |
15874 } | 15874 } |
15875 | 15875 |
15876 /** | 15876 /** |
15877 * inlineMethod feedback | 15877 * inlineMethod feedback |
15878 * | 15878 * |
15879 * { | 15879 * { |
15880 * "className": optional String | 15880 * "className": optional String |
15881 * "methodName": String | 15881 * "methodName": String |
15882 * "isDeclaration": bool | 15882 * "isDeclaration": bool |
15883 * } | 15883 * } |
15884 * | 15884 * |
15885 * Clients are not expected to subtype this class. | 15885 * Clients may not extend, implement or mix-in this class. |
15886 */ | 15886 */ |
15887 class InlineMethodFeedback extends RefactoringFeedback implements HasToJson { | 15887 class InlineMethodFeedback extends RefactoringFeedback implements HasToJson { |
15888 String _className; | 15888 String _className; |
15889 | 15889 |
15890 String _methodName; | 15890 String _methodName; |
15891 | 15891 |
15892 bool _isDeclaration; | 15892 bool _isDeclaration; |
15893 | 15893 |
15894 /** | 15894 /** |
15895 * The name of the class enclosing the method being inlined. If not a class | 15895 * The name of the class enclosing the method being inlined. If not a class |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16000 } | 16000 } |
16001 | 16001 |
16002 /** | 16002 /** |
16003 * inlineMethod options | 16003 * inlineMethod options |
16004 * | 16004 * |
16005 * { | 16005 * { |
16006 * "deleteSource": bool | 16006 * "deleteSource": bool |
16007 * "inlineAll": bool | 16007 * "inlineAll": bool |
16008 * } | 16008 * } |
16009 * | 16009 * |
16010 * Clients are not expected to subtype this class. | 16010 * Clients may not extend, implement or mix-in this class. |
16011 */ | 16011 */ |
16012 class InlineMethodOptions extends RefactoringOptions implements HasToJson { | 16012 class InlineMethodOptions extends RefactoringOptions implements HasToJson { |
16013 bool _deleteSource; | 16013 bool _deleteSource; |
16014 | 16014 |
16015 bool _inlineAll; | 16015 bool _inlineAll; |
16016 | 16016 |
16017 /** | 16017 /** |
16018 * True if the method being inlined should be removed. It is an error if this | 16018 * True if the method being inlined should be removed. It is an error if this |
16019 * field is true and inlineAll is false. | 16019 * field is true and inlineAll is false. |
16020 */ | 16020 */ |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16100 int get hashCode { | 16100 int get hashCode { |
16101 int hash = 0; | 16101 int hash = 0; |
16102 hash = JenkinsSmiHash.combine(hash, deleteSource.hashCode); | 16102 hash = JenkinsSmiHash.combine(hash, deleteSource.hashCode); |
16103 hash = JenkinsSmiHash.combine(hash, inlineAll.hashCode); | 16103 hash = JenkinsSmiHash.combine(hash, inlineAll.hashCode); |
16104 return JenkinsSmiHash.finish(hash); | 16104 return JenkinsSmiHash.finish(hash); |
16105 } | 16105 } |
16106 } | 16106 } |
16107 /** | 16107 /** |
16108 * moveFile feedback | 16108 * moveFile feedback |
16109 * | 16109 * |
16110 * Clients are not expected to subtype this class. | 16110 * Clients may not extend, implement or mix-in this class. |
16111 */ | 16111 */ |
16112 class MoveFileFeedback { | 16112 class MoveFileFeedback { |
16113 @override | 16113 @override |
16114 bool operator==(other) { | 16114 bool operator==(other) { |
16115 if (other is MoveFileFeedback) { | 16115 if (other is MoveFileFeedback) { |
16116 return true; | 16116 return true; |
16117 } | 16117 } |
16118 return false; | 16118 return false; |
16119 } | 16119 } |
16120 | 16120 |
16121 @override | 16121 @override |
16122 int get hashCode { | 16122 int get hashCode { |
16123 return 438975893; | 16123 return 438975893; |
16124 } | 16124 } |
16125 } | 16125 } |
16126 | 16126 |
16127 /** | 16127 /** |
16128 * moveFile options | 16128 * moveFile options |
16129 * | 16129 * |
16130 * { | 16130 * { |
16131 * "newFile": FilePath | 16131 * "newFile": FilePath |
16132 * } | 16132 * } |
16133 * | 16133 * |
16134 * Clients are not expected to subtype this class. | 16134 * Clients may not extend, implement or mix-in this class. |
16135 */ | 16135 */ |
16136 class MoveFileOptions extends RefactoringOptions implements HasToJson { | 16136 class MoveFileOptions extends RefactoringOptions implements HasToJson { |
16137 String _newFile; | 16137 String _newFile; |
16138 | 16138 |
16139 /** | 16139 /** |
16140 * The new file path to which the given file is being moved. | 16140 * The new file path to which the given file is being moved. |
16141 */ | 16141 */ |
16142 String get newFile => _newFile; | 16142 String get newFile => _newFile; |
16143 | 16143 |
16144 /** | 16144 /** |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16203 /** | 16203 /** |
16204 * rename feedback | 16204 * rename feedback |
16205 * | 16205 * |
16206 * { | 16206 * { |
16207 * "offset": int | 16207 * "offset": int |
16208 * "length": int | 16208 * "length": int |
16209 * "elementKindName": String | 16209 * "elementKindName": String |
16210 * "oldName": String | 16210 * "oldName": String |
16211 * } | 16211 * } |
16212 * | 16212 * |
16213 * Clients are not expected to subtype this class. | 16213 * Clients may not extend, implement or mix-in this class. |
16214 */ | 16214 */ |
16215 class RenameFeedback extends RefactoringFeedback implements HasToJson { | 16215 class RenameFeedback extends RefactoringFeedback implements HasToJson { |
16216 int _offset; | 16216 int _offset; |
16217 | 16217 |
16218 int _length; | 16218 int _length; |
16219 | 16219 |
16220 String _elementKindName; | 16220 String _elementKindName; |
16221 | 16221 |
16222 String _oldName; | 16222 String _oldName; |
16223 | 16223 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16351 } | 16351 } |
16352 } | 16352 } |
16353 | 16353 |
16354 /** | 16354 /** |
16355 * rename options | 16355 * rename options |
16356 * | 16356 * |
16357 * { | 16357 * { |
16358 * "newName": String | 16358 * "newName": String |
16359 * } | 16359 * } |
16360 * | 16360 * |
16361 * Clients are not expected to subtype this class. | 16361 * Clients may not extend, implement or mix-in this class. |
16362 */ | 16362 */ |
16363 class RenameOptions extends RefactoringOptions implements HasToJson { | 16363 class RenameOptions extends RefactoringOptions implements HasToJson { |
16364 String _newName; | 16364 String _newName; |
16365 | 16365 |
16366 /** | 16366 /** |
16367 * The name that the element should have after the refactoring. | 16367 * The name that the element should have after the refactoring. |
16368 */ | 16368 */ |
16369 String get newName => _newName; | 16369 String get newName => _newName; |
16370 | 16370 |
16371 /** | 16371 /** |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16419 return false; | 16419 return false; |
16420 } | 16420 } |
16421 | 16421 |
16422 @override | 16422 @override |
16423 int get hashCode { | 16423 int get hashCode { |
16424 int hash = 0; | 16424 int hash = 0; |
16425 hash = JenkinsSmiHash.combine(hash, newName.hashCode); | 16425 hash = JenkinsSmiHash.combine(hash, newName.hashCode); |
16426 return JenkinsSmiHash.finish(hash); | 16426 return JenkinsSmiHash.finish(hash); |
16427 } | 16427 } |
16428 } | 16428 } |
OLD | NEW |