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

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

Issue 1683813005: Fix summarization of generic redirecting constructors (again). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 /** 1058 /**
1059 * Parameters of the executable, if any. Note that getters have no 1059 * Parameters of the executable, if any. Note that getters have no
1060 * parameters (hence this will be the empty list), and setters have a single 1060 * parameters (hence this will be the empty list), and setters have a single
1061 * parameter. 1061 * parameter.
1062 */ 1062 */
1063 List<UnlinkedParam> get parameters; 1063 List<UnlinkedParam> get parameters;
1064 1064
1065 /** 1065 /**
1066 * If [isRedirectedConstructor] and [isFactory] are both `true`, the 1066 * If [isRedirectedConstructor] and [isFactory] are both `true`, the
1067 * constructor to which this constructor redirects; otherwise empty. 1067 * constructor to which this constructor redirects; otherwise empty.
1068 *
1069 * Note: type arguments are ignored.
1070 */ 1068 */
1071 EntityRef get redirectedConstructor; 1069 EntityRef get redirectedConstructor;
1072 1070
1073 /** 1071 /**
1074 * If [isRedirectedConstructor] is `true` and [isFactory] is `false`, the 1072 * If [isRedirectedConstructor] is `true` and [isFactory] is `false`, the
1075 * name of the constructor that this constructor redirects to; otherwise 1073 * name of the constructor that this constructor redirects to; otherwise
1076 * empty. 1074 * empty.
1077 */ 1075 */
1078 String get redirectedConstructorName; 1076 String get redirectedConstructorName;
1079 1077
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
1664 * 1662 *
1665 * Non-propagable variables have a [propagatedTypeSlot] of zero. 1663 * Non-propagable variables have a [propagatedTypeSlot] of zero.
1666 */ 1664 */
1667 int get propagatedTypeSlot; 1665 int get propagatedTypeSlot;
1668 1666
1669 /** 1667 /**
1670 * Declared type of the variable. Absent if the type is implicit. 1668 * Declared type of the variable. Absent if the type is implicit.
1671 */ 1669 */
1672 EntityRef get type; 1670 EntityRef get type;
1673 } 1671 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698