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

Side by Side Diff: pkg/analyzer/tool/summary/idl.dart

Issue 1558353003: Add a count of type parameters to UnlinkedPublicName. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « pkg/analyzer/test/src/summary/summary_test.dart ('k') | no next file » | 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 /** 5 /**
6 * This file is an "idl" style description of the summary format. It is not 6 * This file is an "idl" style description of the summary format. It is not
7 * executed directly; instead it is parsed and transformed into code that 7 * executed directly; instead it is parsed and transformed into code that
8 * implements the summary format. 8 * implements the summary format.
9 * 9 *
10 * The code generation process introduces the following non-typical semantics: 10 * The code generation process introduces the following non-typical semantics:
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 class UnlinkedPublicName { 553 class UnlinkedPublicName {
554 /** 554 /**
555 * The name itself. 555 * The name itself.
556 */ 556 */
557 String name; 557 String name;
558 558
559 /** 559 /**
560 * The kind of object referred to by the name. 560 * The kind of object referred to by the name.
561 */ 561 */
562 PrelinkedReferenceKind kind; 562 PrelinkedReferenceKind kind;
563
564 /**
565 * If the entity being referred to is generic, the number of type parameters
566 * it accepts. Otherwise zero.
567 */
568 int numTypeParameters;
563 } 569 }
564 570
565 /** 571 /**
566 * Unlinked summary information about what a compilation unit contributes to a 572 * Unlinked summary information about what a compilation unit contributes to a
567 * library's public namespace. This is the subset of [UnlinkedUnit] that is 573 * library's public namespace. This is the subset of [UnlinkedUnit] that is
568 * required from dependent libraries in order to perform prelinking. 574 * required from dependent libraries in order to perform prelinking.
569 */ 575 */
570 @topLevel 576 @topLevel
571 class UnlinkedPublicNamespace { 577 class UnlinkedPublicNamespace {
572 /** 578 /**
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 /** 784 /**
779 * Indicates whether the variable is declared using the `const` keyword. 785 * Indicates whether the variable is declared using the `const` keyword.
780 */ 786 */
781 bool isConst; 787 bool isConst;
782 788
783 /** 789 /**
784 * Indicates whether this variable lacks an explicit type declaration. 790 * Indicates whether this variable lacks an explicit type declaration.
785 */ 791 */
786 bool hasImplicitType; 792 bool hasImplicitType;
787 } 793 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/summary/summary_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698