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

Side by Side Diff: pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart

Issue 2668733002: Update server generator (Closed)
Patch Set: re-ran generator Created 3 years, 10 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
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 analysis_server.plugin.protocol.protocol; 9 part of analysis_server.plugin.protocol.protocol;
10 10
(...skipping 12537 matching lines...) Expand 10 before | Expand all | Expand 10 after
12548 /** 12548 /**
12549 * The index of the file (in the enclosing navigation response) to navigate 12549 * The index of the file (in the enclosing navigation response) to navigate
12550 * to. 12550 * to.
12551 */ 12551 */
12552 void set fileIndex(int value) { 12552 void set fileIndex(int value) {
12553 assert(value != null); 12553 assert(value != null);
12554 this._fileIndex = value; 12554 this._fileIndex = value;
12555 } 12555 }
12556 12556
12557 /** 12557 /**
12558 * The offset of the region from which the user can navigate. 12558 * The offset of the region to which the user can navigate.
12559 */ 12559 */
12560 int get offset => _offset; 12560 int get offset => _offset;
12561 12561
12562 /** 12562 /**
12563 * The offset of the region from which the user can navigate. 12563 * The offset of the region to which the user can navigate.
12564 */ 12564 */
12565 void set offset(int value) { 12565 void set offset(int value) {
12566 assert(value != null); 12566 assert(value != null);
12567 this._offset = value; 12567 this._offset = value;
12568 } 12568 }
12569 12569
12570 /** 12570 /**
12571 * The length of the region from which the user can navigate. 12571 * The length of the region to which the user can navigate.
12572 */ 12572 */
12573 int get length => _length; 12573 int get length => _length;
12574 12574
12575 /** 12575 /**
12576 * The length of the region from which the user can navigate. 12576 * The length of the region to which the user can navigate.
12577 */ 12577 */
12578 void set length(int value) { 12578 void set length(int value) {
12579 assert(value != null); 12579 assert(value != null);
12580 this._length = value; 12580 this._length = value;
12581 } 12581 }
12582 12582
12583 /** 12583 /**
12584 * The one-based index of the line containing the first character of the 12584 * The one-based index of the line containing the first character of the
12585 * region. 12585 * region.
12586 */ 12586 */
(...skipping 2943 matching lines...) Expand 10 before | Expand all | Expand 10 after
15530 hash = JenkinsSmiHash.combine(hash, mixins.hashCode); 15530 hash = JenkinsSmiHash.combine(hash, mixins.hashCode);
15531 hash = JenkinsSmiHash.combine(hash, subclasses.hashCode); 15531 hash = JenkinsSmiHash.combine(hash, subclasses.hashCode);
15532 return JenkinsSmiHash.finish(hash); 15532 return JenkinsSmiHash.finish(hash);
15533 } 15533 }
15534 } 15534 }
15535 /** 15535 /**
15536 * convertGetterToMethod feedback 15536 * convertGetterToMethod feedback
15537 * 15537 *
15538 * Clients may not extend, implement or mix-in this class. 15538 * Clients may not extend, implement or mix-in this class.
15539 */ 15539 */
15540 class ConvertGetterToMethodFeedback { 15540 class ConvertGetterToMethodFeedback extends RefactoringFeedback {
15541 @override 15541 @override
15542 bool operator==(other) { 15542 bool operator==(other) {
15543 if (other is ConvertGetterToMethodFeedback) { 15543 if (other is ConvertGetterToMethodFeedback) {
15544 return true; 15544 return true;
15545 } 15545 }
15546 return false; 15546 return false;
15547 } 15547 }
15548 15548
15549 @override 15549 @override
15550 int get hashCode { 15550 int get hashCode {
15551 return 616032599; 15551 return 616032599;
15552 } 15552 }
15553 } 15553 }
15554 /** 15554 /**
15555 * convertGetterToMethod options 15555 * convertGetterToMethod options
15556 * 15556 *
15557 * Clients may not extend, implement or mix-in this class. 15557 * Clients may not extend, implement or mix-in this class.
15558 */ 15558 */
15559 class ConvertGetterToMethodOptions { 15559 class ConvertGetterToMethodOptions extends RefactoringOptions {
15560 @override 15560 @override
15561 bool operator==(other) { 15561 bool operator==(other) {
15562 if (other is ConvertGetterToMethodOptions) { 15562 if (other is ConvertGetterToMethodOptions) {
15563 return true; 15563 return true;
15564 } 15564 }
15565 return false; 15565 return false;
15566 } 15566 }
15567 15567
15568 @override 15568 @override
15569 int get hashCode { 15569 int get hashCode {
15570 return 488848400; 15570 return 488848400;
15571 } 15571 }
15572 } 15572 }
15573 /** 15573 /**
15574 * convertMethodToGetter feedback 15574 * convertMethodToGetter feedback
15575 * 15575 *
15576 * Clients may not extend, implement or mix-in this class. 15576 * Clients may not extend, implement or mix-in this class.
15577 */ 15577 */
15578 class ConvertMethodToGetterFeedback { 15578 class ConvertMethodToGetterFeedback extends RefactoringFeedback {
15579 @override 15579 @override
15580 bool operator==(other) { 15580 bool operator==(other) {
15581 if (other is ConvertMethodToGetterFeedback) { 15581 if (other is ConvertMethodToGetterFeedback) {
15582 return true; 15582 return true;
15583 } 15583 }
15584 return false; 15584 return false;
15585 } 15585 }
15586 15586
15587 @override 15587 @override
15588 int get hashCode { 15588 int get hashCode {
15589 return 165291526; 15589 return 165291526;
15590 } 15590 }
15591 } 15591 }
15592 /** 15592 /**
15593 * convertMethodToGetter options 15593 * convertMethodToGetter options
15594 * 15594 *
15595 * Clients may not extend, implement or mix-in this class. 15595 * Clients may not extend, implement or mix-in this class.
15596 */ 15596 */
15597 class ConvertMethodToGetterOptions { 15597 class ConvertMethodToGetterOptions extends RefactoringOptions {
15598 @override 15598 @override
15599 bool operator==(other) { 15599 bool operator==(other) {
15600 if (other is ConvertMethodToGetterOptions) { 15600 if (other is ConvertMethodToGetterOptions) {
15601 return true; 15601 return true;
15602 } 15602 }
15603 return false; 15603 return false;
15604 } 15604 }
15605 15605
15606 @override 15606 @override
15607 int get hashCode { 15607 int get hashCode {
15608 return 27952290; 15608 return 27952290;
15609 } 15609 }
15610 } 15610 }
15611 15611
15612 /** 15612 /**
15613 * extractLocalVariable feedback 15613 * extractLocalVariable feedback
15614 * 15614 *
15615 * { 15615 * {
15616 * "coveringExpressionOffsets": optional List<int> 15616 * "coveringExpressionOffsets": optional List<int>
15617 * "coveringExpressionLengths": optional List<int> 15617 * "coveringExpressionLengths": optional List<int>
15618 * "names": List<String> 15618 * "names": List<String>
15619 * "offsets": List<int> 15619 * "offsets": List<int>
15620 * "lengths": List<int> 15620 * "lengths": List<int>
15621 * } 15621 * }
15622 * 15622 *
15623 * Clients may not extend, implement or mix-in this class. 15623 * Clients may not extend, implement or mix-in this class.
15624 */ 15624 */
15625 class ExtractLocalVariableFeedback extends RefactoringFeedback implements HasToJ son { 15625 class ExtractLocalVariableFeedback extends RefactoringFeedback {
15626 List<int> _coveringExpressionOffsets; 15626 List<int> _coveringExpressionOffsets;
15627 15627
15628 List<int> _coveringExpressionLengths; 15628 List<int> _coveringExpressionLengths;
15629 15629
15630 List<String> _names; 15630 List<String> _names;
15631 15631
15632 List<int> _offsets; 15632 List<int> _offsets;
15633 15633
15634 List<int> _lengths; 15634 List<int> _lengths;
15635 15635
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
15797 /** 15797 /**
15798 * extractLocalVariable options 15798 * extractLocalVariable options
15799 * 15799 *
15800 * { 15800 * {
15801 * "name": String 15801 * "name": String
15802 * "extractAll": bool 15802 * "extractAll": bool
15803 * } 15803 * }
15804 * 15804 *
15805 * Clients may not extend, implement or mix-in this class. 15805 * Clients may not extend, implement or mix-in this class.
15806 */ 15806 */
15807 class ExtractLocalVariableOptions extends RefactoringOptions implements HasToJso n { 15807 class ExtractLocalVariableOptions extends RefactoringOptions {
15808 String _name; 15808 String _name;
15809 15809
15810 bool _extractAll; 15810 bool _extractAll;
15811 15811
15812 /** 15812 /**
15813 * The name that the local variable should be given. 15813 * The name that the local variable should be given.
15814 */ 15814 */
15815 String get name => _name; 15815 String get name => _name;
15816 15816
15817 /** 15817 /**
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
15911 * "returnType": String 15911 * "returnType": String
15912 * "names": List<String> 15912 * "names": List<String>
15913 * "canCreateGetter": bool 15913 * "canCreateGetter": bool
15914 * "parameters": List<RefactoringMethodParameter> 15914 * "parameters": List<RefactoringMethodParameter>
15915 * "offsets": List<int> 15915 * "offsets": List<int>
15916 * "lengths": List<int> 15916 * "lengths": List<int>
15917 * } 15917 * }
15918 * 15918 *
15919 * Clients may not extend, implement or mix-in this class. 15919 * Clients may not extend, implement or mix-in this class.
15920 */ 15920 */
15921 class ExtractMethodFeedback extends RefactoringFeedback implements HasToJson { 15921 class ExtractMethodFeedback extends RefactoringFeedback {
15922 int _offset; 15922 int _offset;
15923 15923
15924 int _length; 15924 int _length;
15925 15925
15926 String _returnType; 15926 String _returnType;
15927 15927
15928 List<String> _names; 15928 List<String> _names;
15929 15929
15930 bool _canCreateGetter; 15930 bool _canCreateGetter;
15931 15931
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
16175 * { 16175 * {
16176 * "returnType": String 16176 * "returnType": String
16177 * "createGetter": bool 16177 * "createGetter": bool
16178 * "name": String 16178 * "name": String
16179 * "parameters": List<RefactoringMethodParameter> 16179 * "parameters": List<RefactoringMethodParameter>
16180 * "extractAll": bool 16180 * "extractAll": bool
16181 * } 16181 * }
16182 * 16182 *
16183 * Clients may not extend, implement or mix-in this class. 16183 * Clients may not extend, implement or mix-in this class.
16184 */ 16184 */
16185 class ExtractMethodOptions extends RefactoringOptions implements HasToJson { 16185 class ExtractMethodOptions extends RefactoringOptions {
16186 String _returnType; 16186 String _returnType;
16187 16187
16188 bool _createGetter; 16188 bool _createGetter;
16189 16189
16190 String _name; 16190 String _name;
16191 16191
16192 List<RefactoringMethodParameter> _parameters; 16192 List<RefactoringMethodParameter> _parameters;
16193 16193
16194 bool _extractAll; 16194 bool _extractAll;
16195 16195
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
16376 /** 16376 /**
16377 * inlineLocalVariable feedback 16377 * inlineLocalVariable feedback
16378 * 16378 *
16379 * { 16379 * {
16380 * "name": String 16380 * "name": String
16381 * "occurrences": int 16381 * "occurrences": int
16382 * } 16382 * }
16383 * 16383 *
16384 * Clients may not extend, implement or mix-in this class. 16384 * Clients may not extend, implement or mix-in this class.
16385 */ 16385 */
16386 class InlineLocalVariableFeedback extends RefactoringFeedback implements HasToJs on { 16386 class InlineLocalVariableFeedback extends RefactoringFeedback {
16387 String _name; 16387 String _name;
16388 16388
16389 int _occurrences; 16389 int _occurrences;
16390 16390
16391 /** 16391 /**
16392 * The name of the variable being inlined. 16392 * The name of the variable being inlined.
16393 */ 16393 */
16394 String get name => _name; 16394 String get name => _name;
16395 16395
16396 /** 16396 /**
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
16467 hash = JenkinsSmiHash.combine(hash, name.hashCode); 16467 hash = JenkinsSmiHash.combine(hash, name.hashCode);
16468 hash = JenkinsSmiHash.combine(hash, occurrences.hashCode); 16468 hash = JenkinsSmiHash.combine(hash, occurrences.hashCode);
16469 return JenkinsSmiHash.finish(hash); 16469 return JenkinsSmiHash.finish(hash);
16470 } 16470 }
16471 } 16471 }
16472 /** 16472 /**
16473 * inlineLocalVariable options 16473 * inlineLocalVariable options
16474 * 16474 *
16475 * Clients may not extend, implement or mix-in this class. 16475 * Clients may not extend, implement or mix-in this class.
16476 */ 16476 */
16477 class InlineLocalVariableOptions { 16477 class InlineLocalVariableOptions extends RefactoringOptions {
16478 @override 16478 @override
16479 bool operator==(other) { 16479 bool operator==(other) {
16480 if (other is InlineLocalVariableOptions) { 16480 if (other is InlineLocalVariableOptions) {
16481 return true; 16481 return true;
16482 } 16482 }
16483 return false; 16483 return false;
16484 } 16484 }
16485 16485
16486 @override 16486 @override
16487 int get hashCode { 16487 int get hashCode {
16488 return 540364977; 16488 return 540364977;
16489 } 16489 }
16490 } 16490 }
16491 16491
16492 /** 16492 /**
16493 * inlineMethod feedback 16493 * inlineMethod feedback
16494 * 16494 *
16495 * { 16495 * {
16496 * "className": optional String 16496 * "className": optional String
16497 * "methodName": String 16497 * "methodName": String
16498 * "isDeclaration": bool 16498 * "isDeclaration": bool
16499 * } 16499 * }
16500 * 16500 *
16501 * Clients may not extend, implement or mix-in this class. 16501 * Clients may not extend, implement or mix-in this class.
16502 */ 16502 */
16503 class InlineMethodFeedback extends RefactoringFeedback implements HasToJson { 16503 class InlineMethodFeedback extends RefactoringFeedback {
16504 String _className; 16504 String _className;
16505 16505
16506 String _methodName; 16506 String _methodName;
16507 16507
16508 bool _isDeclaration; 16508 bool _isDeclaration;
16509 16509
16510 /** 16510 /**
16511 * The name of the class enclosing the method being inlined. If not a class 16511 * The name of the class enclosing the method being inlined. If not a class
16512 * member is being inlined, this field will be absent. 16512 * member is being inlined, this field will be absent.
16513 */ 16513 */
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
16618 /** 16618 /**
16619 * inlineMethod options 16619 * inlineMethod options
16620 * 16620 *
16621 * { 16621 * {
16622 * "deleteSource": bool 16622 * "deleteSource": bool
16623 * "inlineAll": bool 16623 * "inlineAll": bool
16624 * } 16624 * }
16625 * 16625 *
16626 * Clients may not extend, implement or mix-in this class. 16626 * Clients may not extend, implement or mix-in this class.
16627 */ 16627 */
16628 class InlineMethodOptions extends RefactoringOptions implements HasToJson { 16628 class InlineMethodOptions extends RefactoringOptions {
16629 bool _deleteSource; 16629 bool _deleteSource;
16630 16630
16631 bool _inlineAll; 16631 bool _inlineAll;
16632 16632
16633 /** 16633 /**
16634 * True if the method being inlined should be removed. It is an error if this 16634 * True if the method being inlined should be removed. It is an error if this
16635 * field is true and inlineAll is false. 16635 * field is true and inlineAll is false.
16636 */ 16636 */
16637 bool get deleteSource => _deleteSource; 16637 bool get deleteSource => _deleteSource;
16638 16638
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
16718 hash = JenkinsSmiHash.combine(hash, deleteSource.hashCode); 16718 hash = JenkinsSmiHash.combine(hash, deleteSource.hashCode);
16719 hash = JenkinsSmiHash.combine(hash, inlineAll.hashCode); 16719 hash = JenkinsSmiHash.combine(hash, inlineAll.hashCode);
16720 return JenkinsSmiHash.finish(hash); 16720 return JenkinsSmiHash.finish(hash);
16721 } 16721 }
16722 } 16722 }
16723 /** 16723 /**
16724 * moveFile feedback 16724 * moveFile feedback
16725 * 16725 *
16726 * Clients may not extend, implement or mix-in this class. 16726 * Clients may not extend, implement or mix-in this class.
16727 */ 16727 */
16728 class MoveFileFeedback { 16728 class MoveFileFeedback extends RefactoringFeedback {
16729 @override 16729 @override
16730 bool operator==(other) { 16730 bool operator==(other) {
16731 if (other is MoveFileFeedback) { 16731 if (other is MoveFileFeedback) {
16732 return true; 16732 return true;
16733 } 16733 }
16734 return false; 16734 return false;
16735 } 16735 }
16736 16736
16737 @override 16737 @override
16738 int get hashCode { 16738 int get hashCode {
16739 return 438975893; 16739 return 438975893;
16740 } 16740 }
16741 } 16741 }
16742 16742
16743 /** 16743 /**
16744 * moveFile options 16744 * moveFile options
16745 * 16745 *
16746 * { 16746 * {
16747 * "newFile": FilePath 16747 * "newFile": FilePath
16748 * } 16748 * }
16749 * 16749 *
16750 * Clients may not extend, implement or mix-in this class. 16750 * Clients may not extend, implement or mix-in this class.
16751 */ 16751 */
16752 class MoveFileOptions extends RefactoringOptions implements HasToJson { 16752 class MoveFileOptions extends RefactoringOptions {
16753 String _newFile; 16753 String _newFile;
16754 16754
16755 /** 16755 /**
16756 * The new file path to which the given file is being moved. 16756 * The new file path to which the given file is being moved.
16757 */ 16757 */
16758 String get newFile => _newFile; 16758 String get newFile => _newFile;
16759 16759
16760 /** 16760 /**
16761 * The new file path to which the given file is being moved. 16761 * The new file path to which the given file is being moved.
16762 */ 16762 */
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
16821 * 16821 *
16822 * { 16822 * {
16823 * "offset": int 16823 * "offset": int
16824 * "length": int 16824 * "length": int
16825 * "elementKindName": String 16825 * "elementKindName": String
16826 * "oldName": String 16826 * "oldName": String
16827 * } 16827 * }
16828 * 16828 *
16829 * Clients may not extend, implement or mix-in this class. 16829 * Clients may not extend, implement or mix-in this class.
16830 */ 16830 */
16831 class RenameFeedback extends RefactoringFeedback implements HasToJson { 16831 class RenameFeedback extends RefactoringFeedback {
16832 int _offset; 16832 int _offset;
16833 16833
16834 int _length; 16834 int _length;
16835 16835
16836 String _elementKindName; 16836 String _elementKindName;
16837 16837
16838 String _oldName; 16838 String _oldName;
16839 16839
16840 /** 16840 /**
16841 * The offset to the beginning of the name selected to be renamed. 16841 * The offset to the beginning of the name selected to be renamed.
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
16969 16969
16970 /** 16970 /**
16971 * rename options 16971 * rename options
16972 * 16972 *
16973 * { 16973 * {
16974 * "newName": String 16974 * "newName": String
16975 * } 16975 * }
16976 * 16976 *
16977 * Clients may not extend, implement or mix-in this class. 16977 * Clients may not extend, implement or mix-in this class.
16978 */ 16978 */
16979 class RenameOptions extends RefactoringOptions implements HasToJson { 16979 class RenameOptions extends RefactoringOptions {
16980 String _newName; 16980 String _newName;
16981 16981
16982 /** 16982 /**
16983 * The name that the element should have after the refactoring. 16983 * The name that the element should have after the refactoring.
16984 */ 16984 */
16985 String get newName => _newName; 16985 String get newName => _newName;
16986 16986
16987 /** 16987 /**
16988 * The name that the element should have after the refactoring. 16988 * The name that the element should have after the refactoring.
16989 */ 16989 */
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
17035 return false; 17035 return false;
17036 } 17036 }
17037 17037
17038 @override 17038 @override
17039 int get hashCode { 17039 int get hashCode {
17040 int hash = 0; 17040 int hash = 0;
17041 hash = JenkinsSmiHash.combine(hash, newName.hashCode); 17041 hash = JenkinsSmiHash.combine(hash, newName.hashCode);
17042 return JenkinsSmiHash.finish(hash); 17042 return JenkinsSmiHash.finish(hash);
17043 } 17043 }
17044 } 17044 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/tool/spec/codegen_dart_protocol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698