Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(823)

Side by Side Diff: pkg/analysis_server/lib/src/generated_protocol.dart

Issue 868893003: update analysis server spec and regen files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 protocol; 9 part of protocol;
10 /** 10 /**
(...skipping 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 return false; 1398 return false;
1399 } 1399 }
1400 1400
1401 @override 1401 @override
1402 int get hashCode { 1402 int get hashCode {
1403 int hash = 0; 1403 int hash = 0;
1404 hash = _JenkinsSmiHash.combine(hash, files.hashCode); 1404 hash = _JenkinsSmiHash.combine(hash, files.hashCode);
1405 return _JenkinsSmiHash.finish(hash); 1405 return _JenkinsSmiHash.finish(hash);
1406 } 1406 }
1407 } 1407 }
1408
1408 /** 1409 /**
1409 * analysis.updateContent result 1410 * analysis.updateContent result
1411 *
1412 * {
1413 * }
1410 */ 1414 */
1411 class AnalysisUpdateContentResult { 1415 class AnalysisUpdateContentResult implements HasToJson {
1416 AnalysisUpdateContentResult();
1417
1418 factory AnalysisUpdateContentResult.fromJson(JsonDecoder jsonDecoder, String j sonPath, Object json) {
1419 if (json == null) {
1420 json = {};
1421 }
1422 if (json is Map) {
1423 return new AnalysisUpdateContentResult();
1424 } else {
1425 throw jsonDecoder.mismatch(jsonPath, "analysis.updateContent result");
1426 }
1427 }
1428
1429 factory AnalysisUpdateContentResult.fromResponse(Response response) {
1430 return new AnalysisUpdateContentResult.fromJson(
1431 new ResponseDecoder(REQUEST_ID_REFACTORING_KINDS.remove(response.id)), " result", response._result);
1432 }
1433
1434 Map<String, dynamic> toJson() {
1435 Map<String, dynamic> result = {};
1436 return result;
1437 }
1438
1412 Response toResponse(String id) { 1439 Response toResponse(String id) {
1413 return new Response(id, result: null); 1440 return new Response(id, result: toJson());
1414 } 1441 }
1415 1442
1416 @override 1443 @override
1444 String toString() => JSON.encode(toJson());
1445
1446 @override
1417 bool operator==(other) { 1447 bool operator==(other) {
1418 if (other is AnalysisUpdateContentResult) { 1448 if (other is AnalysisUpdateContentResult) {
1419 return true; 1449 return true;
1420 } 1450 }
1421 return false; 1451 return false;
1422 } 1452 }
1423 1453
1424 @override 1454 @override
1425 int get hashCode { 1455 int get hashCode {
1426 return 468798730; 1456 int hash = 0;
1457 return _JenkinsSmiHash.finish(hash);
1427 } 1458 }
1428 } 1459 }
1429 1460
1430 /** 1461 /**
1431 * analysis.updateOptions params 1462 * analysis.updateOptions params
1432 * 1463 *
1433 * { 1464 * {
1434 * "options": AnalysisOptions 1465 * "options": AnalysisOptions
1435 * } 1466 * }
1436 */ 1467 */
(...skipping 9696 matching lines...) Expand 10 before | Expand all | Expand 10 after
11133 return false; 11164 return false;
11134 } 11165 }
11135 11166
11136 @override 11167 @override
11137 int get hashCode { 11168 int get hashCode {
11138 int hash = 0; 11169 int hash = 0;
11139 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); 11170 hash = _JenkinsSmiHash.combine(hash, newName.hashCode);
11140 return _JenkinsSmiHash.finish(hash); 11171 return _JenkinsSmiHash.finish(hash);
11141 } 11172 }
11142 } 11173 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/test/integration/integration_test_methods.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698