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

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

Issue 1788673004: Index unqualified unresolved used names. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 /** 5 /**
6 * This file is an "idl" style description of the summary format. It 6 * This file is an "idl" style description of the summary format. It
7 * contains abstract classes which declare the interface for reading data from 7 * contains abstract classes which declare the interface for reading data from
8 * summaries. It is parsed and transformed into code that implements the 8 * summaries. It is parsed and transformed into code that implements the
9 * summary format. 9 * summary format.
10 * 10 *
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 @Id(9) 775 @Id(9)
776 List<int> get usedNameOffsets; 776 List<int> get usedNameOffsets;
777 777
778 /** 778 /**
779 * Each item of this list is the index into [PackageIndex.strings] for a 779 * Each item of this list is the index into [PackageIndex.strings] for a
780 * used name. The list is sorted in ascending order, so that the client can 780 * used name. The list is sorted in ascending order, so that the client can
781 * quickly find name uses in this [UnitIndex]. 781 * quickly find name uses in this [UnitIndex].
782 */ 782 */
783 @Id(8) 783 @Id(8)
784 List<int> get usedNames; 784 List<int> get usedNames;
785
786 /**
787 * Each item of this list is the `true` if the corresponding name usage
788 * is qualified with some prefix.
789 */
790 @Id(12)
791 List<bool> get usedNameIsQualifiedFlags;
785 } 792 }
786 793
787 /** 794 /**
788 * Unlinked summary information about a class declaration. 795 * Unlinked summary information about a class declaration.
789 */ 796 */
790 abstract class UnlinkedClass extends base.SummaryClass { 797 abstract class UnlinkedClass extends base.SummaryClass {
791 /** 798 /**
792 * Annotations for this class. 799 * Annotations for this class.
793 */ 800 */
794 @Id(5) 801 @Id(5)
(...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 */ 2380 */
2374 @Id(11) 2381 @Id(11)
2375 int get visibleLength; 2382 int get visibleLength;
2376 2383
2377 /** 2384 /**
2378 * If a local variable, the beginning of the visible range; zero otherwise. 2385 * If a local variable, the beginning of the visible range; zero otherwise.
2379 */ 2386 */
2380 @Id(12) 2387 @Id(12)
2381 int get visibleOffset; 2388 int get visibleOffset;
2382 } 2389 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698