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

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

Issue 2223113002: Add line starts into unlinked units. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: tweaks Created 4 years, 4 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 2642 matching lines...) Expand 10 before | Expand all | Expand 10 after
2653 2653
2654 /** 2654 /**
2655 * Offset of the library name relative to the beginning of the file (or 0 if 2655 * Offset of the library name relative to the beginning of the file (or 0 if
2656 * the library has no name). 2656 * the library has no name).
2657 */ 2657 */
2658 @informative 2658 @informative
2659 @Id(8) 2659 @Id(8)
2660 int get libraryNameOffset; 2660 int get libraryNameOffset;
2661 2661
2662 /** 2662 /**
2663 * Offsets of the first character of each line in the source code.
2664 */
2665 @informative
2666 @Id(17)
2667 List<int> get lineStarts;
2668
2669 /**
2663 * Part declarations in the compilation unit. 2670 * Part declarations in the compilation unit.
2664 */ 2671 */
2665 @Id(11) 2672 @Id(11)
2666 List<UnlinkedPart> get parts; 2673 List<UnlinkedPart> get parts;
2667 2674
2668 /** 2675 /**
2669 * Unlinked public namespace of this compilation unit. 2676 * Unlinked public namespace of this compilation unit.
2670 */ 2677 */
2671 @Id(0) 2678 @Id(0)
2672 UnlinkedPublicNamespace get publicNamespace; 2679 UnlinkedPublicNamespace get publicNamespace;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
2793 */ 2800 */
2794 @Id(11) 2801 @Id(11)
2795 int get visibleLength; 2802 int get visibleLength;
2796 2803
2797 /** 2804 /**
2798 * If a local variable, the beginning of the visible range; zero otherwise. 2805 * If a local variable, the beginning of the visible range; zero otherwise.
2799 */ 2806 */
2800 @Id(12) 2807 @Id(12)
2801 int get visibleOffset; 2808 int get visibleOffset;
2802 } 2809 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698