This commit is contained in:
XudongXie 2024-08-20 22:43:47 +08:00
parent f49954ec42
commit 9187a6e135
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ public class Token {
public static Token createIdentifierToken(String value) {
return new Token(TokenType.IDENTIFIER, value);
}
public static Token createKeywordToken(String value) {
return new Token(TokenType.KEYWORD, value);
}