| Index: lib/compiler/implementation/scanner/token.dart
|
| diff --git a/lib/compiler/implementation/scanner/token.dart b/lib/compiler/implementation/scanner/token.dart
|
| index 02102c62c072186a47f1cbe510ce2098f74cdd6d..86ef6d8cc4c934000910398f15f32eab037ecebf 100644
|
| --- a/lib/compiler/implementation/scanner/token.dart
|
| +++ b/lib/compiler/implementation/scanner/token.dart
|
| @@ -124,6 +124,12 @@ class Token {
|
| */
|
| int get precedence => info.precedence;
|
|
|
| + bool isIdentifier() {
|
| + if (kind === IDENTIFIER_TOKEN) return true;
|
| + if (kind === KEYWORD_TOKEN) return value.isPseudo;
|
| + return false;
|
| + }
|
| +
|
| /**
|
| * Returns a textual representation of this token to be used for debugging
|
| * purposes. The resulting string might contain information about the
|
|
|