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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_ast_factory.dart

Issue 2842273002: Remove AstFactory.field() (Closed)
Patch Set: Created 3 years, 8 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
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 e1b97fd8a72a5716e468126e66f20ff3f6373e8a..555f799eff019772132cafdcf6d1bd7eb2cc41a9 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
@@ -23,11 +23,6 @@ class KernelAstFactory implements AstFactory<VariableDeclaration> {
}
@override
- Field field(Name name, int charOffset, {String fileUri}) {
- return new KernelField(name, fileUri: fileUri)..fileOffset = charOffset;
- }
-
- @override
FunctionExpression functionExpression(FunctionNode function, Token token) {
return new KernelFunctionExpression(function)
..fileOffset = offsetForToken(token);

Powered by Google App Engine
This is Rietveld 408576698