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

Side by Side Diff: pkg/analyzer/lib/src/summary/format.dart

Issue 1932873002: Remove "@informative" annotation on initializers and local functions. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/idl.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 "pkg/analyzer/tool/generate_files". 6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files".
7 7
8 library analyzer.src.summary.format; 8 library analyzer.src.summary.format;
9 9
10 import 'flat_buffers.dart' as fb; 10 import 'flat_buffers.dart' as fb;
(...skipping 4585 matching lines...) Expand 10 before | Expand all | Expand 10 after
4596 _visibleOffset = visibleOffset; 4596 _visibleOffset = visibleOffset;
4597 4597
4598 /** 4598 /**
4599 * Flush [informative] data recursively. 4599 * Flush [informative] data recursively.
4600 */ 4600 */
4601 void flushInformative() { 4601 void flushInformative() {
4602 _annotations?.forEach((b) => b.flushInformative()); 4602 _annotations?.forEach((b) => b.flushInformative());
4603 _codeRange = null; 4603 _codeRange = null;
4604 _constantInitializers?.forEach((b) => b.flushInformative()); 4604 _constantInitializers?.forEach((b) => b.flushInformative());
4605 _documentationComment = null; 4605 _documentationComment = null;
4606 _localFunctions = null; 4606 _localFunctions?.forEach((b) => b.flushInformative());
4607 _localLabels = null; 4607 _localLabels = null;
4608 _localVariables = null; 4608 _localVariables = null;
4609 _nameEnd = null; 4609 _nameEnd = null;
4610 _nameOffset = null; 4610 _nameOffset = null;
4611 _parameters?.forEach((b) => b.flushInformative()); 4611 _parameters?.forEach((b) => b.flushInformative());
4612 _periodOffset = null; 4612 _periodOffset = null;
4613 _redirectedConstructor?.flushInformative(); 4613 _redirectedConstructor?.flushInformative();
4614 _returnType?.flushInformative(); 4614 _returnType?.flushInformative();
4615 _typeParameters?.forEach((b) => b.flushInformative()); 4615 _typeParameters?.forEach((b) => b.flushInformative());
4616 } 4616 }
(...skipping 3490 matching lines...) Expand 10 before | Expand all | Expand 10 after
8107 _visibleOffset = visibleOffset; 8107 _visibleOffset = visibleOffset;
8108 8108
8109 /** 8109 /**
8110 * Flush [informative] data recursively. 8110 * Flush [informative] data recursively.
8111 */ 8111 */
8112 void flushInformative() { 8112 void flushInformative() {
8113 _annotations?.forEach((b) => b.flushInformative()); 8113 _annotations?.forEach((b) => b.flushInformative());
8114 _codeRange = null; 8114 _codeRange = null;
8115 _constExpr?.flushInformative(); 8115 _constExpr?.flushInformative();
8116 _documentationComment = null; 8116 _documentationComment = null;
8117 _initializer = null; 8117 _initializer?.flushInformative();
8118 _nameOffset = null; 8118 _nameOffset = null;
8119 _type?.flushInformative(); 8119 _type?.flushInformative();
8120 } 8120 }
8121 8121
8122 fb.Offset finish(fb.Builder fbBuilder) { 8122 fb.Offset finish(fb.Builder fbBuilder) {
8123 assert(!_finished); 8123 assert(!_finished);
8124 _finished = true; 8124 _finished = true;
8125 fb.Offset offset_annotations; 8125 fb.Offset offset_annotations;
8126 fb.Offset offset_codeRange; 8126 fb.Offset offset_codeRange;
8127 fb.Offset offset_constExpr; 8127 fb.Offset offset_constExpr;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
8357 "propagatedTypeSlot": propagatedTypeSlot, 8357 "propagatedTypeSlot": propagatedTypeSlot,
8358 "type": type, 8358 "type": type,
8359 "visibleLength": visibleLength, 8359 "visibleLength": visibleLength,
8360 "visibleOffset": visibleOffset, 8360 "visibleOffset": visibleOffset,
8361 }; 8361 };
8362 8362
8363 @override 8363 @override
8364 String toString() => convert.JSON.encode(toJson()); 8364 String toString() => convert.JSON.encode(toJson());
8365 } 8365 }
8366 8366
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/idl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698