public interface Token
Syntax with identified meaning.| Modifier and Type | Method and Description |
|---|---|
default boolean |
equals(@Nullable Token token) |
default 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
|
default boolean |
hasName()
Check if the token has custom name
|
String getValue()
TokenType getType()
TokenTypedefault Optional<String> getName()
default boolean hasName()
default boolean equals(@Nullable
@Nullable Token token)
Copyright © 2020. All rights reserved.