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 f2a42e480905d801fa9f1cfe5bc0acf63b52a986..16f9e24212a8787712bd43c3ed5f69dbfaf4956c 100644 |
--- a/pkg/analyzer/lib/src/summary/idl.dart |
+++ b/pkg/analyzer/lib/src/summary/idl.dart |
@@ -1033,6 +1033,11 @@ abstract class UnlinkedExecutable extends base.SummaryClass { |
bool get isFactory; |
/** |
+ * Indicates whether the executable is a redirected constructor. |
+ */ |
+ bool get isRedirectedConstructor; |
+ |
+ /** |
* Indicates whether the executable is declared using the `static` keyword. |
* |
* Note that for top level executables, this flag is false, since they are |
@@ -1071,6 +1076,19 @@ abstract class UnlinkedExecutable extends base.SummaryClass { |
List<UnlinkedParam> get parameters; |
/** |
+ * If [isRedirectedConstructor] and [isFactory] are both `true`, the |
+ * constructor to which this constructor redirects; otherwise empty. |
+ */ |
+ EntityRef get redirectedConstructor; |
+ |
+ /** |
+ * If [isRedirectedConstructor] is `true` and [isFactory] is `false`, the |
+ * name of the constructor that this constructor redirects to; otherwise |
+ * empty. |
+ */ |
+ String get redirectedConstructorName; |
+ |
+ /** |
* Declared return type of the executable. Absent if the executable is a |
* constructor or the return type is implicit. |
*/ |