mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 15:01:30 +00:00
[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:
parent
3788a59c6c
commit
2ac2433a31
1 changed files with 0 additions and 22 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue