public final class Keyword extends EqualableToken
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getName()
Get custom name of the token
|
TokenType |
getType()
Get type of the token represented by
TokenType |
String |
getValue()
Get value of the token
|
equals, hashCode, toStringpublic Keyword(String keyword)
public String getValue()
TokengetValue in interface TokengetValue in class EqualableTokenpublic Optional<String> getName()
TokenCopyright © 2020. All rights reserved.