Chromium Code Reviews| 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 9d8ddcba7ce3d3c5a265389a2dab28a458110f60..694bf88705f7accb20274a14140e210ff975c419 100644 |
| --- a/pkg/analyzer/lib/src/generated/ast.dart |
| +++ b/pkg/analyzer/lib/src/generated/ast.dart |
| @@ -8088,6 +8088,21 @@ class MethodInvocation extends Expression { |
| ArgumentList _argumentList; |
| /** |
| + * 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; |
|
Brian Wilkerson
2016/01/06 21:57:34
Do we need the same fields added to FunctionExpres
Jennifer Messerly
2016/01/06 22:25:51
Yeah I think so. Was going to talk to Leaf and see
|
| + |
| + /** |
| + * Like [staticInvokeType], but reflects propagated type information. |
| + */ |
| + DartType propagatedInvokeType; |
| + |
| + /** |
| * Initialize a newly created method invocation. The [target] and [operator] |
| * can be `null` if there is no target. |
| */ |