[parser] Remove @deprecated methods

Change-Id: Ib8b5e6b95067acc2bed8586088ee55222cb9d80b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/145800
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
Jens Johansen 2020-05-05 09:42:23 +00:00 committed by commit-bot@chromium.org
parent 3788a59c6c
commit 2ac2433a31

View file

@ -426,27 +426,11 @@ class Keyword extends TokenType {
bool get isReservedWord => !isBuiltInOrPseudo;
/**
* A flag indicating whether the keyword is "built-in" identifier.
* This method exists for backward compatibility and will be removed.
* Use [isBuiltIn] instead.
*/
@deprecated
bool get isPseudoKeyword => isBuiltIn; // TODO (danrubel): remove this
/**
* The name of the keyword type.
*/
String get name => lexeme.toUpperCase();
/**
* The lexeme for the keyword.
*
* Deprecated - use [lexeme] instead.
*/
@deprecated
String get syntax => lexeme;
@override
String toString() => name;
@ -1786,10 +1770,4 @@ class TokenType {
@override
String toString() => name;
/**
* Use [lexeme] instead of this method
*/
@deprecated
String get value => lexeme;
}