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

Unified Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 1685713002: Rework UnlinkedPublicName.constMembers. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | pkg/analyzer/lib/src/summary/prelink.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/idl.dart
diff --git a/pkg/analyzer/lib/src/summary/idl.dart b/pkg/analyzer/lib/src/summary/idl.dart
index 6ec0dedb8bc4b1a0d1b6eac4a0a34f29209bc063..f2a42e480905d801fa9f1cfe5bc0acf63b52a986 100644
--- a/pkg/analyzer/lib/src/summary/idl.dart
+++ b/pkg/analyzer/lib/src/summary/idl.dart
@@ -1344,16 +1344,19 @@ abstract class UnlinkedPart extends base.SummaryClass {
*/
abstract class UnlinkedPublicName extends base.SummaryClass {
/**
- * If this [UnlinkedPublicName] is a class, the list of members which can be
- * referenced from constants - static constant fields, static methods, and
- * constructors. Otherwise empty.
+ * The kind of object referred to by the name.
*/
- List<UnlinkedPublicName> get constMembers;
+ ReferenceKind get kind;
/**
- * The kind of object referred to by the name.
+ * If this [UnlinkedPublicName] is a class, the list of members which can be
+ * referenced from constants or factory redirects - static constant fields,
+ * static methods, and constructors. Otherwise empty.
+ *
+ * Unnamed constructors are not included since they do not constitute a
+ * separate name added to any namespace.
*/
- ReferenceKind get kind;
+ List<UnlinkedPublicName> get members;
/**
* The name itself.
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | pkg/analyzer/lib/src/summary/prelink.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698