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

Unified Diff: pkg/compiler/lib/src/resolution/enum_creator.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
« no previous file with comments | « pkg/analyzer/lib/src/fasta/token_utils.dart ('k') | pkg/compiler/lib/src/serialization/serialization.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolution/enum_creator.dart
diff --git a/pkg/compiler/lib/src/resolution/enum_creator.dart b/pkg/compiler/lib/src/resolution/enum_creator.dart
index 6a2bcfa4d7fa3623f283f2deb8ea9f59032905c6..95f6c32eea7052e49bd85481036a62cb9ea1932a 100644
--- a/pkg/compiler/lib/src/resolution/enum_creator.dart
+++ b/pkg/compiler/lib/src/resolution/enum_creator.dart
@@ -10,8 +10,8 @@ import '../elements/resolution_types.dart';
import '../elements/elements.dart';
import '../elements/modelx.dart';
import 'package:front_end/src/fasta/scanner.dart';
-import 'package:front_end/src/fasta/scanner/precedence.dart';
import 'package:front_end/src/fasta/scanner/precedence.dart' as Precedence;
+import 'package:front_end/src/scanner/token.dart' show TokenType;
import '../tree/tree.dart';
import '../util/util.dart';
@@ -50,7 +50,7 @@ class AstBuilder {
Precedence.IDENTIFIER_INFO, text, charOffset);
}
- Token symbolToken(PrecedenceInfo info) {
+ Token symbolToken(TokenType info) {
scheglov 2017/04/21 18:08:38 Should these parameters and variables be renamed?
danrubel 2017/04/21 18:48:50 Yes, I think that makes sense... in a separate CL.
return new SymbolToken(info, charOffset);
}
« no previous file with comments | « pkg/analyzer/lib/src/fasta/token_utils.dart ('k') | pkg/compiler/lib/src/serialization/serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698