| 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 ec853d80e39dd0db99b2bea4a147d49cb99ebb4f..453281083a1c205fd5432163516d1eaa42f16b75 100644
|
| --- a/pkg/front_end/lib/src/fasta/builder/ast_factory.dart
|
| +++ b/pkg/front_end/lib/src/fasta/builder/ast_factory.dart
|
| @@ -35,6 +35,10 @@ import 'package:kernel/ast.dart';
|
| /// shadow-ify [DartType], since analyzer ASTs need to be able to record the
|
| /// exact tokens that were used to specify a type.
|
| abstract class AstFactory<V> {
|
| + /// Creates an [Arguments] data structure.
|
| + Arguments arguments(List<Expression> positional,
|
| + {List<DartType> types, List<NamedExpression> named});
|
| +
|
| /// Creates an `as` expression.
|
| AsExpression asExpression(Expression operand, Token operator, DartType type);
|
|
|
| @@ -132,6 +136,10 @@ abstract class AstFactory<V> {
|
| /// Creates a return statement.
|
| Statement returnStatement(Expression expression, Token token);
|
|
|
| + /// Updates an [Arguments] data structure with the given generic [types].
|
| + /// Should only be used when [types] were specified explicitly.
|
| + void setExplicitArgumentTypes(Arguments arguments, List<DartType> types);
|
| +
|
| /// Creates a read of a static variable.
|
| StaticGet staticGet(Member readTarget, Token token);
|
|
|
|
|