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

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

Issue 1713083002: Fix inconsistency with LinkedReference.numTypeParameters (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 /** 304 /**
305 * If this [LinkedReference] doesn't have an associated [UnlinkedReference], 305 * If this [LinkedReference] doesn't have an associated [UnlinkedReference],
306 * name of the entity being referred to. For the pseudo-type `dynamic`, the 306 * name of the entity being referred to. For the pseudo-type `dynamic`, the
307 * string is "dynamic". For the pseudo-type `void`, the string is "void". 307 * string is "dynamic". For the pseudo-type `void`, the string is "void".
308 */ 308 */
309 @Id(3) 309 @Id(3)
310 String get name; 310 String get name;
311 311
312 /** 312 /**
313 * If the entity being referred to is generic, the number of type parameters 313 * If the entity being referred to is generic, the number of type parameters
314 * it accepts. Otherwise zero. 314 * it declares (does not include type parameters of enclosing entities).
315 * Otherwise zero.
315 */ 316 */
316 @Id(4) 317 @Id(4)
317 int get numTypeParameters; 318 int get numTypeParameters;
318 319
319 /** 320 /**
320 * Integer index indicating which unit in the imported library contains the 321 * Integer index indicating which unit in the imported library contains the
321 * definition of the entity. As with indices into [LinkedLibrary.units], 322 * definition of the entity. As with indices into [LinkedLibrary.units],
322 * zero represents the defining compilation unit, and nonzero values 323 * zero represents the defining compilation unit, and nonzero values
323 * represent parts in the order of the corresponding `part` declarations. 324 * represent parts in the order of the corresponding `part` declarations.
324 * 325 *
(...skipping 1618 matching lines...) Expand 10 before | Expand all | Expand 10 after
1943 */ 1944 */
1944 @Id(11) 1945 @Id(11)
1945 int get visibleLength; 1946 int get visibleLength;
1946 1947
1947 /** 1948 /**
1948 * If a local variable, the beginning of the visible range; zero otherwise. 1949 * If a local variable, the beginning of the visible range; zero otherwise.
1949 */ 1950 */
1950 @Id(12) 1951 @Id(12)
1951 int get visibleOffset; 1952 int get visibleOffset;
1952 } 1953 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | pkg/analyzer/lib/src/summary/resynthesize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698