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

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

Issue 1774253002: Sort strings in the index. (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
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/index_unit.dart » ('j') | 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 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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 559
560 /** 560 /**
561 * Each item of this list corresponds to a unique referenced element. It is 561 * Each item of this list corresponds to a unique referenced element. It is
562 * the index into [unitLibraryUris] and [unitUnitUris] for the library 562 * the index into [unitLibraryUris] and [unitUnitUris] for the library
563 * specific unit where the element is declared. 563 * specific unit where the element is declared.
564 */ 564 */
565 @Id(0) 565 @Id(0)
566 List<int> get elementUnits; 566 List<int> get elementUnits;
567 567
568 /** 568 /**
569 * List of unique element strings used in this [PackageIndex]. 569 * List of unique element strings used in this [PackageIndex]. The list is
570 * sorted in ascending order, so that the client can quickly check the
571 * presence of a string in this [PackageIndex].
570 */ 572 */
571 @Id(6) 573 @Id(6)
572 List<String> get strings; 574 List<String> get strings;
573 575
574 /** 576 /**
575 * Each item of this list corresponds to the library URI of a unique library 577 * Each item of this list corresponds to the library URI of a unique library
576 * specific unit referenced in the [PackageIndex]. It is an index into 578 * specific unit referenced in the [PackageIndex]. It is an index into
577 * [strings] list. 579 * [strings] list.
578 */ 580 */
579 @Id(2) 581 @Id(2)
(...skipping 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after
2340 */ 2342 */
2341 @Id(11) 2343 @Id(11)
2342 int get visibleLength; 2344 int get visibleLength;
2343 2345
2344 /** 2346 /**
2345 * If a local variable, the beginning of the visible range; zero otherwise. 2347 * If a local variable, the beginning of the visible range; zero otherwise.
2346 */ 2348 */
2347 @Id(12) 2349 @Id(12)
2348 int get visibleOffset; 2350 int get visibleOffset;
2349 } 2351 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/index_unit.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698