| OLD | NEW |
| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 int get dependency; | 285 int get dependency; |
| 286 | 286 |
| 287 /** | 287 /** |
| 288 * The kind of the entity being referred to. For the pseudo-types `dynamic` | 288 * The kind of the entity being referred to. For the pseudo-types `dynamic` |
| 289 * and `void`, the kind is [ReferenceKind.classOrEnum]. | 289 * and `void`, the kind is [ReferenceKind.classOrEnum]. |
| 290 */ | 290 */ |
| 291 @Id(2) | 291 @Id(2) |
| 292 ReferenceKind get kind; | 292 ReferenceKind get kind; |
| 293 | 293 |
| 294 /** | 294 /** |
| 295 * If [kind] is [ReferenceKind.function] (that is, the entity being referred |
| 296 * to is a local function), the index of the function within |
| 297 * [UnlinkedExecutable.localFunctions]. If [kind] is |
| 298 * [ReferenceKind.variable], the index of the variable within |
| 299 * [UnlinkedExecutable.localVariables]. Otherwise zero. |
| 300 */ |
| 301 @Id(6) |
| 302 int get localIndex; |
| 303 |
| 304 /** |
| 295 * If this [LinkedReference] doesn't have an associated [UnlinkedReference], | 305 * If this [LinkedReference] doesn't have an associated [UnlinkedReference], |
| 296 * 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 |
| 297 * 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". |
| 298 */ | 308 */ |
| 299 @Id(3) | 309 @Id(3) |
| 300 String get name; | 310 String get name; |
| 301 | 311 |
| 302 /** | 312 /** |
| 303 * 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 |
| 304 * it accepts. Otherwise zero. | 314 * it accepts. Otherwise zero. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 * The entity is a typedef. | 388 * The entity is a typedef. |
| 379 */ | 389 */ |
| 380 typedef, | 390 typedef, |
| 381 | 391 |
| 382 /** | 392 /** |
| 383 * The entity is a local function. | 393 * The entity is a local function. |
| 384 */ | 394 */ |
| 385 function, | 395 function, |
| 386 | 396 |
| 387 /** | 397 /** |
| 398 * The entity is a local variable. |
| 399 */ |
| 400 variable, |
| 401 |
| 402 /** |
| 388 * The entity is a top level function. | 403 * The entity is a top level function. |
| 389 */ | 404 */ |
| 390 topLevelFunction, | 405 topLevelFunction, |
| 391 | 406 |
| 392 /** | 407 /** |
| 393 * The entity is a top level getter or setter. | 408 * The entity is a top level getter or setter. |
| 394 */ | 409 */ |
| 395 topLevelPropertyAccessor, | 410 topLevelPropertyAccessor, |
| 396 | 411 |
| 397 /** | 412 /** |
| (...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1891 */ | 1906 */ |
| 1892 @Id(11) | 1907 @Id(11) |
| 1893 int get visibleLength; | 1908 int get visibleLength; |
| 1894 | 1909 |
| 1895 /** | 1910 /** |
| 1896 * If a local variable, the beginning of the visible range; zero otherwise. | 1911 * If a local variable, the beginning of the visible range; zero otherwise. |
| 1897 */ | 1912 */ |
| 1898 @Id(12) | 1913 @Id(12) |
| 1899 int get visibleOffset; | 1914 int get visibleOffset; |
| 1900 } | 1915 } |
| OLD | NEW |