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

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

Issue 1687513003: Fix summarization of generic redirecting constructors. (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 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 /** 1071 /**
1072 * Parameters of the executable, if any. Note that getters have no 1072 * Parameters of the executable, if any. Note that getters have no
1073 * parameters (hence this will be the empty list), and setters have a single 1073 * parameters (hence this will be the empty list), and setters have a single
1074 * parameter. 1074 * parameter.
1075 */ 1075 */
1076 List<UnlinkedParam> get parameters; 1076 List<UnlinkedParam> get parameters;
1077 1077
1078 /** 1078 /**
1079 * If [isRedirectedConstructor] and [isFactory] are both `true`, the 1079 * If [isRedirectedConstructor] and [isFactory] are both `true`, the
1080 * constructor to which this constructor redirects; otherwise empty. 1080 * constructor to which this constructor redirects; otherwise empty.
1081 *
1082 * Note: type arguments are ignored.
1081 */ 1083 */
1082 EntityRef get redirectedConstructor; 1084 EntityRef get redirectedConstructor;
1083 1085
1084 /** 1086 /**
1085 * If [isRedirectedConstructor] is `true` and [isFactory] is `false`, the 1087 * If [isRedirectedConstructor] is `true` and [isFactory] is `false`, the
1086 * name of the constructor that this constructor redirects to; otherwise 1088 * name of the constructor that this constructor redirects to; otherwise
1087 * empty. 1089 * empty.
1088 */ 1090 */
1089 String get redirectedConstructorName; 1091 String get redirectedConstructorName;
1090 1092
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
1675 * 1677 *
1676 * Non-propagable variables have a [propagatedTypeSlot] of zero. 1678 * Non-propagable variables have a [propagatedTypeSlot] of zero.
1677 */ 1679 */
1678 int get propagatedTypeSlot; 1680 int get propagatedTypeSlot;
1679 1681
1680 /** 1682 /**
1681 * Declared type of the variable. Absent if the type is implicit. 1683 * Declared type of the variable. Absent if the type is implicit.
1682 */ 1684 */
1683 EntityRef get type; 1685 EntityRef get type;
1684 } 1686 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | pkg/analyzer/lib/src/summary/summarize_elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698