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

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

Issue 1954203002: Keep all type arguments in summaries - dynamic or not. (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
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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 void set syntheticReturnType(EntityRefBuilder _value) { 541 void set syntheticReturnType(EntityRefBuilder _value) {
542 assert(!_finished); 542 assert(!_finished);
543 _syntheticReturnType = _value; 543 _syntheticReturnType = _value;
544 } 544 }
545 545
546 @override 546 @override
547 List<EntityRefBuilder> get typeArguments => _typeArguments ??= <EntityRefBuild er>[]; 547 List<EntityRefBuilder> get typeArguments => _typeArguments ??= <EntityRefBuild er>[];
548 548
549 /** 549 /**
550 * If this is an instantiation of a generic type or generic executable, the 550 * If this is an instantiation of a generic type or generic executable, the
551 * type arguments used to instantiate it. Trailing type arguments of type 551 * type arguments used to instantiate it. If AST is used to create the
552 * `dynamic` are omitted. 552 * summary, and the AST does not specify any type arguments, this list is
553 * empty. If element model is used, this list is not empty.
553 */ 554 */
554 void set typeArguments(List<EntityRefBuilder> _value) { 555 void set typeArguments(List<EntityRefBuilder> _value) {
555 assert(!_finished); 556 assert(!_finished);
556 _typeArguments = _value; 557 _typeArguments = _value;
557 } 558 }
558 559
559 EntityRefBuilder({List<int> implicitFunctionTypeIndices, int paramReference, i nt reference, int slot, List<UnlinkedParamBuilder> syntheticParams, EntityRefBui lder syntheticReturnType, List<EntityRefBuilder> typeArguments}) 560 EntityRefBuilder({List<int> implicitFunctionTypeIndices, int paramReference, i nt reference, int slot, List<UnlinkedParamBuilder> syntheticParams, EntityRefBui lder syntheticReturnType, List<EntityRefBuilder> typeArguments})
560 : _implicitFunctionTypeIndices = implicitFunctionTypeIndices, 561 : _implicitFunctionTypeIndices = implicitFunctionTypeIndices,
561 _paramReference = paramReference, 562 _paramReference = paramReference,
562 _reference = reference, 563 _reference = reference,
(...skipping 7875 matching lines...) Expand 10 before | Expand all | Expand 10 after
8438 "propagatedTypeSlot": propagatedTypeSlot, 8439 "propagatedTypeSlot": propagatedTypeSlot,
8439 "type": type, 8440 "type": type,
8440 "visibleLength": visibleLength, 8441 "visibleLength": visibleLength,
8441 "visibleOffset": visibleOffset, 8442 "visibleOffset": visibleOffset,
8442 }; 8443 };
8443 8444
8444 @override 8445 @override
8445 String toString() => convert.JSON.encode(toJson()); 8446 String toString() => convert.JSON.encode(toJson());
8446 } 8447 }
8447 8448
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/format.fbs » ('j') | pkg/analyzer/lib/src/summary/idl.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698