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

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

Issue 1932873002: Remove "@informative" annotation on initializers and local functions. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 1695 matching lines...) Expand 10 before | Expand all | Expand 10 after
1706 /** 1706 /**
1707 * The kind of the executable (function/method, getter, setter, or 1707 * The kind of the executable (function/method, getter, setter, or
1708 * constructor). 1708 * constructor).
1709 */ 1709 */
1710 @Id(4) 1710 @Id(4)
1711 UnlinkedExecutableKind get kind; 1711 UnlinkedExecutableKind get kind;
1712 1712
1713 /** 1713 /**
1714 * The list of local functions. 1714 * The list of local functions.
1715 */ 1715 */
1716 @informative
1717 @Id(18) 1716 @Id(18)
1718 List<UnlinkedExecutable> get localFunctions; 1717 List<UnlinkedExecutable> get localFunctions;
1719 1718
1720 /** 1719 /**
1721 * The list of local labels. 1720 * The list of local labels.
1722 */ 1721 */
1723 @informative 1722 @informative
1724 @Id(22) 1723 @Id(22)
1725 List<UnlinkedLabel> get localLabels; 1724 List<UnlinkedLabel> get localLabels;
1726 1725
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
2617 * there is no matching entry in [LinkedLibrary.types], then no type was 2616 * there is no matching entry in [LinkedLibrary.types], then no type was
2618 * inferred for this variable, so its static type is `dynamic`. 2617 * inferred for this variable, so its static type is `dynamic`.
2619 */ 2618 */
2620 @Id(9) 2619 @Id(9)
2621 int get inferredTypeSlot; 2620 int get inferredTypeSlot;
2622 2621
2623 /** 2622 /**
2624 * The synthetic initializer function of the variable. Absent if the variable 2623 * The synthetic initializer function of the variable. Absent if the variable
2625 * does not have an initializer. 2624 * does not have an initializer.
2626 */ 2625 */
2627 @informative
2628 @Id(13) 2626 @Id(13)
2629 UnlinkedExecutable get initializer; 2627 UnlinkedExecutable get initializer;
2630 2628
2631 /** 2629 /**
2632 * Indicates whether the variable is declared using the `const` keyword. 2630 * Indicates whether the variable is declared using the `const` keyword.
2633 */ 2631 */
2634 @Id(6) 2632 @Id(6)
2635 bool get isConst; 2633 bool get isConst;
2636 2634
2637 /** 2635 /**
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2685 */ 2683 */
2686 @Id(11) 2684 @Id(11)
2687 int get visibleLength; 2685 int get visibleLength;
2688 2686
2689 /** 2687 /**
2690 * If a local variable, the beginning of the visible range; zero otherwise. 2688 * If a local variable, the beginning of the visible range; zero otherwise.
2691 */ 2689 */
2692 @Id(12) 2690 @Id(12)
2693 int get visibleOffset; 2691 int get visibleOffset;
2694 } 2692 }
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