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

Unified Diff: pkg/analyzer/lib/src/generated/ast.dart

Issue 1561233003: support generic methods in FunctionExpressionInvocation node (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | pkg/analyzer/lib/src/generated/element_resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/element_resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698