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

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

Issue 1544213002: Introduce code to generate UnlinkedPublicNamespace directly from an AST. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 12 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/tool/summary/generate.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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 * The kind of object referred to by the name. 565 * The kind of object referred to by the name.
566 */ 566 */
567 PrelinkedReferenceKind kind; 567 PrelinkedReferenceKind kind;
568 } 568 }
569 569
570 /** 570 /**
571 * Unlinked summary information about what a compilation unit contributes to a 571 * Unlinked summary information about what a compilation unit contributes to a
572 * library's public namespace. This is the subset of [UnlinkedUnit] that is 572 * library's public namespace. This is the subset of [UnlinkedUnit] that is
573 * required from dependent libraries in order to perform prelinking. 573 * required from dependent libraries in order to perform prelinking.
574 */ 574 */
575 @topLevel
575 class UnlinkedPublicNamespace { 576 class UnlinkedPublicNamespace {
576 /** 577 /**
577 * Public names defined in the compilation unit. 578 * Public names defined in the compilation unit.
578 * 579 *
579 * TODO(paulberry): consider sorting these names to reduce unnecessary 580 * TODO(paulberry): consider sorting these names to reduce unnecessary
580 * relinking. 581 * relinking.
581 */ 582 */
582 List<UnlinkedPublicName> names; 583 List<UnlinkedPublicName> names;
583 584
584 /** 585 /**
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 /** 783 /**
783 * Indicates whether the variable is declared using the `const` keyword. 784 * Indicates whether the variable is declared using the `const` keyword.
784 */ 785 */
785 bool isConst; 786 bool isConst;
786 787
787 /** 788 /**
788 * Indicates whether this variable lacks an explicit type declaration. 789 * Indicates whether this variable lacks an explicit type declaration.
789 */ 790 */
790 bool hasImplicitType; 791 bool hasImplicitType;
791 } 792 }
OLDNEW
« no previous file with comments | « pkg/analyzer/tool/summary/generate.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698