| 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 2492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2503 */ | 2503 */ |
| 2504 pushThis, | 2504 pushThis, |
| 2505 | 2505 |
| 2506 /** | 2506 /** |
| 2507 * Push `super` expression onto the stack. | 2507 * Push `super` expression onto the stack. |
| 2508 */ | 2508 */ |
| 2509 pushSuper, | 2509 pushSuper, |
| 2510 } | 2510 } |
| 2511 | 2511 |
| 2512 /** | 2512 /** |
| 2513 * Unlinked summary information about a generic function type. |
| 2514 */ |
| 2515 abstract class UnlinkedGenericFunctionType extends base.SummaryClass { |
| 2516 /** |
| 2517 * The offset of the return type. |
| 2518 */ |
| 2519 @informative |
| 2520 @Id(0) |
| 2521 int get offset; |
| 2522 |
| 2523 /** |
| 2524 * Parameters of the function type, if any. |
| 2525 */ |
| 2526 @Id(3) |
| 2527 List<UnlinkedParam> get parameters; |
| 2528 |
| 2529 /** |
| 2530 * Declared return type of the function type. Absent if the return type is |
| 2531 * implicit. |
| 2532 */ |
| 2533 @Id(1) |
| 2534 EntityRef get returnType; |
| 2535 |
| 2536 /** |
| 2537 * Type parameters of the function type, if any. |
| 2538 */ |
| 2539 @Id(2) |
| 2540 List<UnlinkedTypeParam> get typeParameters; |
| 2541 } |
| 2542 |
| 2543 /** |
| 2513 * Unlinked summary information about an import declaration. | 2544 * Unlinked summary information about an import declaration. |
| 2514 */ | 2545 */ |
| 2515 abstract class UnlinkedImport extends base.SummaryClass { | 2546 abstract class UnlinkedImport extends base.SummaryClass { |
| 2516 /** | 2547 /** |
| 2517 * Annotations for this import declaration. | 2548 * Annotations for this import declaration. |
| 2518 */ | 2549 */ |
| 2519 @Id(8) | 2550 @Id(8) |
| 2520 List<UnlinkedExpr> get annotations; | 2551 List<UnlinkedExpr> get annotations; |
| 2521 | 2552 |
| 2522 /** | 2553 /** |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3265 @Id(11) | 3296 @Id(11) |
| 3266 int get visibleLength; | 3297 int get visibleLength; |
| 3267 | 3298 |
| 3268 /** | 3299 /** |
| 3269 * If a local variable, the beginning of the visible range; zero otherwise. | 3300 * If a local variable, the beginning of the visible range; zero otherwise. |
| 3270 */ | 3301 */ |
| 3271 @informative | 3302 @informative |
| 3272 @Id(12) | 3303 @Id(12) |
| 3273 int get visibleOffset; | 3304 int get visibleOffset; |
| 3274 } | 3305 } |
| OLD | NEW |