public class PandaToken extends EqualableToken
| Constructor and Description |
|---|
PandaToken(TokenType type,
String value) |
PandaToken(TokenType type,
@Nullable String name,
String value) |
| 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 Optional<String> getName()
Tokenpublic String getValue()
TokengetValue in interface TokengetValue in class EqualableTokenCopyright © 2020. All rights reserved.