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

Unified Diff: pkg/front_end/lib/src/fasta/scanner/error_token.dart

Issue 2872453004: cleanup TokenType var names (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/scanner/error_token.dart
diff --git a/pkg/front_end/lib/src/fasta/scanner/error_token.dart b/pkg/front_end/lib/src/fasta/scanner/error_token.dart
index 2f188d581d016f05312f67311741fd2fbd8fa87c..0e45916ef5325df5289cdd19d3ca64ec1a51a076 100644
--- a/pkg/front_end/lib/src/fasta/scanner/error_token.dart
+++ b/pkg/front_end/lib/src/fasta/scanner/error_token.dart
@@ -69,7 +69,7 @@ ErrorToken buildUnexpectedCharacterToken(int character, int charOffset) {
abstract class ErrorToken extends Token {
ErrorToken(int charOffset) : super(charOffset);
- TokenType get info => TokenType.BAD_INPUT;
+ TokenType get type => TokenType.BAD_INPUT;
String get lexeme => throw assertionMessage;
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/array_based_scanner.dart ('k') | pkg/front_end/lib/src/fasta/scanner/recover.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698