Index: pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart |
index d878af8372685c5ccad37cfa24ca4794d0ddb2b7..6982553f7b23b4c6997cb7abad3df77eb0012a6d 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart |
@@ -13,6 +13,12 @@ import 'kernel_shadow_ast.dart'; |
/// Concrete implementation of [builder.AstFactory] for building a kernel AST. |
class KernelAstFactory implements AstFactory<VariableDeclaration> { |
@override |
+ Arguments arguments(List<Expression> positional, |
+ {List<DartType> types, List<NamedExpression> named}) { |
+ return new KernelArguments(positional, types: types, named: named); |
+ } |
+ |
+ @override |
AsExpression asExpression(Expression operand, Token operator, DartType type) { |
return new KernelAsExpression(operand, type) |
..fileOffset = offsetForToken(operator); |
@@ -168,6 +174,11 @@ class KernelAstFactory implements AstFactory<VariableDeclaration> { |
} |
@override |
+ void setExplicitArgumentTypes(Arguments arguments, List<DartType> types) { |
+ KernelArguments.setExplicitArgumentTypes(arguments, types); |
+ } |
+ |
+ @override |
StaticGet staticGet(Member readTarget, Token token) { |
return new KernelStaticGet(readTarget)..fileOffset = offsetForToken(token); |
} |