Index: pkg/front_end/lib/src/fasta/builder/ast_factory.dart |
diff --git a/pkg/front_end/lib/src/fasta/builder/ast_factory.dart b/pkg/front_end/lib/src/fasta/builder/ast_factory.dart |
index 4a14a4bce02b1de583b78e71dd2efbf2df3f4212..d6ba3266fef99542c4e17a4d769ec3607976d845 100644 |
--- a/pkg/front_end/lib/src/fasta/builder/ast_factory.dart |
+++ b/pkg/front_end/lib/src/fasta/builder/ast_factory.dart |
@@ -107,12 +107,25 @@ abstract class AstFactory<V> { |
{DartType keyType: const DynamicType(), |
DartType valueType: const DynamicType()}); |
+ /// Creates a method invocation of form `x.foo(y)`. |
+ MethodInvocation methodInvocation( |
+ Expression receiver, Name name, Arguments arguments, |
+ [Procedure interfaceTarget]); |
+ |
/// Create an expression of form `!x`. |
Not not(Token token, Expression operand); |
/// Creates a null literal expression. |
NullLiteral nullLiteral(Token token); |
+ /// Creates a read of a property. |
+ PropertyGet propertyGet(Expression receiver, Name name, |
+ [Member interfaceTarget]); |
+ |
+ /// Creates a write of a property. |
+ PropertySet propertySet(Expression receiver, Name name, Expression value, |
+ [Member interfaceTarget]); |
+ |
/// Create a `rethrow` expression. |
Rethrow rethrowExpression(Token keyword); |