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

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

Issue 1528083002: Reserve element 0 in the references table for `dynamic`. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 /** 634 /**
635 * Unlinked summary information about a compilation unit ("part file"). 635 * Unlinked summary information about a compilation unit ("part file").
636 */ 636 */
637 class UnlinkedUnit { 637 class UnlinkedUnit {
638 /** 638 /**
639 * Name of the library (from a "library" declaration, if present). 639 * Name of the library (from a "library" declaration, if present).
640 */ 640 */
641 String libraryName; 641 String libraryName;
642 642
643 /** 643 /**
644 * Top level and prefixed names referred to by this compilation unit. 644 * Top level and prefixed names referred to by this compilation unit. The
645 * zeroth element of this array is always populated and always represents a
646 * reference to the pseudo-type "dynamic".
645 */ 647 */
646 List<UnlinkedReference> references; 648 List<UnlinkedReference> references;
647 649
648 /** 650 /**
649 * Classes declared in the compilation unit. 651 * Classes declared in the compilation unit.
650 */ 652 */
651 List<UnlinkedClass> classes; 653 List<UnlinkedClass> classes;
652 654
653 /** 655 /**
654 * Enums declared in the compilation unit. 656 * Enums declared in the compilation unit.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 /** 722 /**
721 * Indicates whether the variable is declared using the `const` keyword. 723 * Indicates whether the variable is declared using the `const` keyword.
722 */ 724 */
723 bool isConst; 725 bool isConst;
724 726
725 /** 727 /**
726 * Indicates whether this variable lacks an explicit type declaration. 728 * Indicates whether this variable lacks an explicit type declaration.
727 */ 729 */
728 bool hasImplicitType; 730 bool hasImplicitType;
729 } 731 }
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