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

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

Issue 2167263002: fix #26141, add support for type arguments to constants (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after
1712 CodeRange get codeRange; 1712 CodeRange get codeRange;
1713 1713
1714 /** 1714 /**
1715 * If a constant [UnlinkedExecutableKind.constructor], the constructor 1715 * If a constant [UnlinkedExecutableKind.constructor], the constructor
1716 * initializers. Otherwise empty. 1716 * initializers. Otherwise empty.
1717 */ 1717 */
1718 @Id(14) 1718 @Id(14)
1719 List<UnlinkedConstructorInitializer> get constantInitializers; 1719 List<UnlinkedConstructorInitializer> get constantInitializers;
1720 1720
1721 /** 1721 /**
1722 * If a constant [UnlinkedExecutableKind.constructor], the field
Paul Berry 2016/07/21 20:42:14 It should not be necessary to change the summary f
Jennifer Messerly 2016/07/28 22:28:05 :D ... moar reverts
1723 * initializers. Otherwise empty.
1724 */
1725 @Id(30)
1726 List<UnlinkedVariableDeclaration> get fieldInitializers;
1727
1728 /**
1729 * If a constant [UnlinkedExecutableKind.constructor], the default parameter
1730 * initializers. Otherwise empty.
1731 */
1732 @Id(31)
1733 List<UnlinkedDefaultFormalParameter> get parameterInitializers;
1734
1735 /**
1722 * If [kind] is [UnlinkedExecutableKind.constructor] and [isConst] is `true`, 1736 * If [kind] is [UnlinkedExecutableKind.constructor] and [isConst] is `true`,
1723 * a nonzero slot id which is unique within this compilation unit. If this id 1737 * a nonzero slot id which is unique within this compilation unit. If this id
1724 * is found in [LinkedUnit.constCycles], then this constructor is part of a 1738 * is found in [LinkedUnit.constCycles], then this constructor is part of a
1725 * cycle. 1739 * cycle.
1726 * 1740 *
1727 * Otherwise, zero. 1741 * Otherwise, zero.
1728 */ 1742 */
1729 @Id(25) 1743 @Id(25)
1730 int get constCycleSlot; 1744 int get constCycleSlot;
1731 1745
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
2765 */ 2779 */
2766 @Id(11) 2780 @Id(11)
2767 int get visibleLength; 2781 int get visibleLength;
2768 2782
2769 /** 2783 /**
2770 * If a local variable, the beginning of the visible range; zero otherwise. 2784 * If a local variable, the beginning of the visible range; zero otherwise.
2771 */ 2785 */
2772 @Id(12) 2786 @Id(12)
2773 int get visibleOffset; 2787 int get visibleOffset;
2774 } 2788 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698