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

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

Issue 2757113002: fasta.Token implement analyzer.Token (Closed)
Patch Set: rebase Created 3 years, 9 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 6aa9a5f6d386823c9a5a6f4892f5088ea2b46b0e..882d35b5cc6a937363578d93659231eb74c449ed 100644
--- a/pkg/front_end/lib/src/fasta/scanner/error_token.dart
+++ b/pkg/front_end/lib/src/fasta/scanner/error_token.dart
@@ -79,6 +79,11 @@ abstract class ErrorToken extends Token {
int get endOffset => null;
BeginGroupToken get begin => null;
+
+ @override
+ Token copyWithoutComments() {
+ throw 'unsupported operation';
ahe 2017/03/20 12:32:48 import '../errors.dart'; internalError("Unsupport
+ }
}
/// Represents an encoding error.
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/scanner/token.dart » ('j') | pkg/front_end/lib/src/fasta/scanner/token.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698