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

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

Issue 580273002: Push add*Edit helpers into SourceChange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/protocol.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8681 matching lines...) Expand 10 before | Expand all | Expand 10 after
8692 return result; 8692 return result;
8693 } 8693 }
8694 8694
8695 /** 8695 /**
8696 * Adds [edit] to the [FileEdit] for the given [file]. 8696 * Adds [edit] to the [FileEdit] for the given [file].
8697 */ 8697 */
8698 void addEdit(String file, int fileStamp, SourceEdit edit) => 8698 void addEdit(String file, int fileStamp, SourceEdit edit) =>
8699 _addEditToSourceChange(this, file, fileStamp, edit); 8699 _addEditToSourceChange(this, file, fileStamp, edit);
8700 8700
8701 /** 8701 /**
8702 * Adds [edit] to the [FileEdit] for the given [source].
8703 */
8704 void addSourceEdit(engine.AnalysisContext context,
8705 engine.Source source, SourceEdit edit) =>
8706 _addSourceEditToSourceChange(this, context, source, edit);
8707
8708 /**
8709 * Adds [edit] to the [FileEdit] for the given [element].
8710 */
8711 void addElementEdit(engine.Element element, SourceEdit edit) =>
8712 _addElementEditToSourceChange(this, element, edit);
8713
8714 /**
8702 * Adds the given [FileEdit]. 8715 * Adds the given [FileEdit].
8703 */ 8716 */
8704 void addFileEdit(SourceFileEdit edit) { 8717 void addFileEdit(SourceFileEdit edit) {
8705 edits.add(edit); 8718 edits.add(edit);
8706 } 8719 }
8707 8720
8708 /** 8721 /**
8709 * Adds the given [LinkedEditGroup]. 8722 * Adds the given [LinkedEditGroup].
8710 */ 8723 */
8711 void addLinkedEditGroup(LinkedEditGroup linkedEditGroup) { 8724 void addLinkedEditGroup(LinkedEditGroup linkedEditGroup) {
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
10104 return false; 10117 return false;
10105 } 10118 }
10106 10119
10107 @override 10120 @override
10108 int get hashCode { 10121 int get hashCode {
10109 int hash = 0; 10122 int hash = 0;
10110 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); 10123 hash = _JenkinsSmiHash.combine(hash, newName.hashCode);
10111 return _JenkinsSmiHash.finish(hash); 10124 return _JenkinsSmiHash.finish(hash);
10112 } 10125 }
10113 } 10126 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/protocol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698