| 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 @Id(9) | 542 @Id(9) |
| 543 List<UnlinkedTypeParam> get typeParameters; | 543 List<UnlinkedTypeParam> get typeParameters; |
| 544 } | 544 } |
| 545 | 545 |
| 546 /** | 546 /** |
| 547 * Unlinked summary information about a `show` or `hide` combinator in an | 547 * Unlinked summary information about a `show` or `hide` combinator in an |
| 548 * import or export declaration. | 548 * import or export declaration. |
| 549 */ | 549 */ |
| 550 abstract class UnlinkedCombinator extends base.SummaryClass { | 550 abstract class UnlinkedCombinator extends base.SummaryClass { |
| 551 /** | 551 /** |
| 552 * If this is a `show` combinator, offset of the end of the list of shown |
| 553 * names. Otherwise zero. |
| 554 */ |
| 555 @informative |
| 556 @Id(3) |
| 557 int get end; |
| 558 |
| 559 /** |
| 552 * List of names which are hidden. Empty if this is a `show` combinator. | 560 * List of names which are hidden. Empty if this is a `show` combinator. |
| 553 */ | 561 */ |
| 554 @Id(1) | 562 @Id(1) |
| 555 List<String> get hides; | 563 List<String> get hides; |
| 556 | 564 |
| 557 /** | 565 /** |
| 566 * If this is a `show` combinator, offset of the `show` keyword. Otherwise |
| 567 * zero. |
| 568 */ |
| 569 @informative |
| 570 @Id(2) |
| 571 int get offset; |
| 572 |
| 573 /** |
| 558 * List of names which are shown. Empty if this is a `hide` combinator. | 574 * List of names which are shown. Empty if this is a `hide` combinator. |
| 559 */ | 575 */ |
| 560 @Id(0) | 576 @Id(0) |
| 561 List<String> get shows; | 577 List<String> get shows; |
| 562 } | 578 } |
| 563 | 579 |
| 564 /** | 580 /** |
| 565 * Unlinked summary information about a compile-time constant expression, or a | 581 * Unlinked summary information about a compile-time constant expression, or a |
| 566 * potentially constant expression. | 582 * potentially constant expression. |
| 567 * | 583 * |
| (...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1968 */ | 1984 */ |
| 1969 @Id(11) | 1985 @Id(11) |
| 1970 int get visibleLength; | 1986 int get visibleLength; |
| 1971 | 1987 |
| 1972 /** | 1988 /** |
| 1973 * If a local variable, the beginning of the visible range; zero otherwise. | 1989 * If a local variable, the beginning of the visible range; zero otherwise. |
| 1974 */ | 1990 */ |
| 1975 @Id(12) | 1991 @Id(12) |
| 1976 int get visibleOffset; | 1992 int get visibleOffset; |
| 1977 } | 1993 } |
| OLD | NEW |