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

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

Issue 1713593002: Store return types of variable initializers in summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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) 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 2653 matching lines...) Expand 10 before | Expand all | Expand 10 after
2664 void set redirectedConstructorName(String _value) { 2664 void set redirectedConstructorName(String _value) {
2665 assert(!_finished); 2665 assert(!_finished);
2666 _redirectedConstructorName = _value; 2666 _redirectedConstructorName = _value;
2667 } 2667 }
2668 2668
2669 @override 2669 @override
2670 EntityRefBuilder get returnType => _returnType; 2670 EntityRefBuilder get returnType => _returnType;
2671 2671
2672 /** 2672 /**
2673 * Declared return type of the executable. Absent if the executable is a 2673 * Declared return type of the executable. Absent if the executable is a
2674 * constructor or the return type is implicit. 2674 * constructor or the return type is implicit. Absent for executables
2675 * associated with variable initializers and closures, since these
2676 * executables may have return types that are not accessible via direct
2677 * imports.
2675 */ 2678 */
2676 void set returnType(EntityRefBuilder _value) { 2679 void set returnType(EntityRefBuilder _value) {
2677 assert(!_finished); 2680 assert(!_finished);
2678 _returnType = _value; 2681 _returnType = _value;
2679 } 2682 }
2680 2683
2681 @override 2684 @override
2682 List<UnlinkedTypeParamBuilder> get typeParameters => _typeParameters ??= <Unli nkedTypeParamBuilder>[]; 2685 List<UnlinkedTypeParamBuilder> get typeParameters => _typeParameters ??= <Unli nkedTypeParamBuilder>[];
2683 2686
2684 /** 2687 /**
(...skipping 1677 matching lines...) Expand 10 before | Expand all | Expand 10 after
4362 4365
4363 String _name; 4366 String _name;
4364 int _prefixReference; 4367 int _prefixReference;
4365 4368
4366 @override 4369 @override
4367 String get name => _name ??= ''; 4370 String get name => _name ??= '';
4368 4371
4369 /** 4372 /**
4370 * Name of the entity being referred to. For the pseudo-type `dynamic`, the 4373 * Name of the entity being referred to. For the pseudo-type `dynamic`, the
4371 * string is "dynamic". For the pseudo-type `void`, the string is "void". 4374 * string is "dynamic". For the pseudo-type `void`, the string is "void".
4375 * For the pseudo-type `bottom`, the string is "*bottom*".
4372 */ 4376 */
4373 void set name(String _value) { 4377 void set name(String _value) {
4374 assert(!_finished); 4378 assert(!_finished);
4375 _name = _value; 4379 _name = _value;
4376 } 4380 }
4377 4381
4378 @override 4382 @override
4379 int get prefixReference => _prefixReference ??= 0; 4383 int get prefixReference => _prefixReference ??= 0;
4380 4384
4381 /** 4385 /**
(...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after
5697 "isStatic": isStatic, 5701 "isStatic": isStatic,
5698 "name": name, 5702 "name": name,
5699 "nameOffset": nameOffset, 5703 "nameOffset": nameOffset,
5700 "propagatedTypeSlot": propagatedTypeSlot, 5704 "propagatedTypeSlot": propagatedTypeSlot,
5701 "type": type, 5705 "type": type,
5702 "visibleLength": visibleLength, 5706 "visibleLength": visibleLength,
5703 "visibleOffset": visibleOffset, 5707 "visibleOffset": visibleOffset,
5704 }; 5708 };
5705 } 5709 }
5706 5710
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/idl.dart » ('j') | pkg/analyzer/lib/src/summary/summarize_elements.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698