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

Unified Diff: pkg/compiler/lib/src/serialization/serialization.dart

Issue 2837473002: merge fasta.PrecedenceInfo into analyzer.TokenType (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/compiler/lib/src/serialization/serialization.dart
diff --git a/pkg/compiler/lib/src/serialization/serialization.dart b/pkg/compiler/lib/src/serialization/serialization.dart
index e127bbce2a878e5010d90c07b306e8c04e31f395..07c1ff10a19ead67d7a6b6b073ea2b189ee788dc 100644
--- a/pkg/compiler/lib/src/serialization/serialization.dart
+++ b/pkg/compiler/lib/src/serialization/serialization.dart
@@ -4,8 +4,7 @@
library dart2js.serialization;
-import 'package:front_end/src/fasta/scanner/precedence.dart'
- show PrecedenceInfo;
+import 'package:front_end/src/scanner/token.dart' show TokenType;
import '../common.dart';
import '../common/resolution.dart';
@@ -27,7 +26,7 @@ final Map<String, String> canonicalNames = computeCanonicalNames();
Map<String, String> computeCanonicalNames() {
Map<String, String> result = <String, String>{};
- for (PrecedenceInfo info in PrecedenceInfo.all) {
+ for (TokenType info in TokenType.all) {
result[info.value] = info.value;
}
return result;

Powered by Google App Engine
This is Rietveld 408576698