Index: pkg/analyzer/lib/src/generated/ast.dart |
diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart |
index 694bf88705f7accb20274a14140e210ff975c419..3daca7591cec6ef2e60c754868757ea946d7b216 100644 |
--- a/pkg/analyzer/lib/src/generated/ast.dart |
+++ b/pkg/analyzer/lib/src/generated/ast.dart |
@@ -5875,6 +5875,16 @@ class FunctionExpressionInvocation extends Expression { |
ExecutableElement staticElement; |
/** |
+ * The function type of the method invocation, or `null` if the AST |
+ * structure has not been resolved, or if the invoke could not be resolved. |
+ * |
+ * This will usually be a [FunctionType], but it can also be an |
+ * [InterfaceType] with a `call` method, `dynamic`, `Function`, or a `@proxy` |
+ * interface type that implements `Function`. |
+ */ |
+ DartType staticInvokeType; |
+ |
+ /** |
* The element associated with the function being invoked based on propagated |
* type information, or `null` if the AST structure has not been resolved or |
* the function could not be resolved. |
@@ -5882,6 +5892,11 @@ class FunctionExpressionInvocation extends Expression { |
ExecutableElement propagatedElement; |
/** |
+ * Like [staticInvokeType], but reflects propagated type information. |
+ */ |
+ DartType propagatedInvokeType; |
+ |
+ /** |
* Initialize a newly created function expression invocation. |
*/ |
FunctionExpressionInvocation(Expression function, |