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

Unified Diff: pkg/front_end/lib/src/fasta/source/source_library_builder.dart

Issue 2899043006: cleanup fasta token classes (Closed)
Patch Set: Created 3 years, 7 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/source/source_library_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
index ed7f26b85d0d9ca0add68be9e15a7eb47d022f45..9e4ecdfad6783f27d93f8e89271e7eda7151c575 100644
--- a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
+++ b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
@@ -6,8 +6,6 @@ library fasta.source_library_builder;
import 'package:front_end/src/scanner/token.dart' show Token;
-import 'package:front_end/src/fasta/scanner/token.dart' show SymbolToken;
-
import 'package:kernel/ast.dart' show ProcedureKind;
import '../combinator.dart' show Combinator;
@@ -200,7 +198,7 @@ abstract class SourceLibraryBuilder<T extends TypeBuilder, R>
// TODO(paulberry): figure out a way to do this without using
// Token.previous.
afterInitializer?.previous
- ?.setNext(new SymbolToken.eof(afterInitializer.offset));
+ ?.setNext(new Token.eof(afterInitializer.offset));
}
addField(metadata, modifiers, type, name, charOffset, initializer);
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/diet_parser.dart ('k') | pkg/front_end/lib/src/fasta/source/stack_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698