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

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

Issue 2428413003: Mark some other instances of visibleLength/visibleOffset as informative. (Closed)
Patch Set: Created 4 years, 2 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.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 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 2319 matching lines...) Expand 10 before | Expand all | Expand 10 after
2330 * If [isFunctionTyped] is `true`, the declared return type. If 2330 * If [isFunctionTyped] is `true`, the declared return type. If
2331 * [isFunctionTyped] is `false`, the declared type. Absent if the type is 2331 * [isFunctionTyped] is `false`, the declared type. Absent if the type is
2332 * implicit. 2332 * implicit.
2333 */ 2333 */
2334 @Id(3) 2334 @Id(3)
2335 EntityRef get type; 2335 EntityRef get type;
2336 2336
2337 /** 2337 /**
2338 * The length of the visible range. 2338 * The length of the visible range.
2339 */ 2339 */
2340 @informative
2340 @Id(10) 2341 @Id(10)
2341 int get visibleLength; 2342 int get visibleLength;
2342 2343
2343 /** 2344 /**
2344 * The beginning of the visible range. 2345 * The beginning of the visible range.
2345 */ 2346 */
2347 @informative
2346 @Id(11) 2348 @Id(11)
2347 int get visibleOffset; 2349 int get visibleOffset;
2348 } 2350 }
2349 2351
2350 /** 2352 /**
2351 * Enum used to indicate the kind of a parameter. 2353 * Enum used to indicate the kind of a parameter.
2352 */ 2354 */
2353 enum UnlinkedParamKind { 2355 enum UnlinkedParamKind {
2354 /** 2356 /**
2355 * Parameter is required. 2357 * Parameter is required.
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
2811 2813
2812 /** 2814 /**
2813 * Declared type of the variable. Absent if the type is implicit. 2815 * Declared type of the variable. Absent if the type is implicit.
2814 */ 2816 */
2815 @Id(3) 2817 @Id(3)
2816 EntityRef get type; 2818 EntityRef get type;
2817 2819
2818 /** 2820 /**
2819 * If a local variable, the length of the visible range; zero otherwise. 2821 * If a local variable, the length of the visible range; zero otherwise.
2820 */ 2822 */
2823 @informative
2821 @Id(11) 2824 @Id(11)
2822 int get visibleLength; 2825 int get visibleLength;
2823 2826
2824 /** 2827 /**
2825 * If a local variable, the beginning of the visible range; zero otherwise. 2828 * If a local variable, the beginning of the visible range; zero otherwise.
2826 */ 2829 */
2830 @informative
2827 @Id(12) 2831 @Id(12)
2828 int get visibleOffset; 2832 int get visibleOffset;
2829 } 2833 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698