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

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

Issue 2432183003: Make visibleLength/visibleOffset 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 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after
1919 /** 1919 /**
1920 * Type parameters of the executable, if any. Empty if support for generic 1920 * Type parameters of the executable, if any. Empty if support for generic
1921 * method syntax is disabled. 1921 * method syntax is disabled.
1922 */ 1922 */
1923 @Id(16) 1923 @Id(16)
1924 List<UnlinkedTypeParam> get typeParameters; 1924 List<UnlinkedTypeParam> get typeParameters;
1925 1925
1926 /** 1926 /**
1927 * If a local function, the length of the visible range; zero otherwise. 1927 * If a local function, the length of the visible range; zero otherwise.
1928 */ 1928 */
1929 @informative
1929 @Id(20) 1930 @Id(20)
1930 int get visibleLength; 1931 int get visibleLength;
1931 1932
1932 /** 1933 /**
1933 * If a local function, the beginning of the visible range; zero otherwise. 1934 * If a local function, the beginning of the visible range; zero otherwise.
1934 */ 1935 */
1936 @informative
1935 @Id(21) 1937 @Id(21)
1936 int get visibleOffset; 1938 int get visibleOffset;
1937 } 1939 }
1938 1940
1939 /** 1941 /**
1940 * Enum used to indicate the kind of an executable. 1942 * Enum used to indicate the kind of an executable.
1941 */ 1943 */
1942 enum UnlinkedExecutableKind { 1944 enum UnlinkedExecutableKind {
1943 /** 1945 /**
1944 * Executable is a function or method. 1946 * Executable is a function or method.
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
2818 */ 2820 */
2819 @Id(11) 2821 @Id(11)
2820 int get visibleLength; 2822 int get visibleLength;
2821 2823
2822 /** 2824 /**
2823 * If a local variable, the beginning of the visible range; zero otherwise. 2825 * If a local variable, the beginning of the visible range; zero otherwise.
2824 */ 2826 */
2825 @Id(12) 2827 @Id(12)
2826 int get visibleOffset; 2828 int get visibleOffset;
2827 } 2829 }
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