public final class Sequence extends EqualableToken
| Constructor and Description |
|---|
Sequence(@Nullable String name,
char sequence) |
Sequence(@Nullable String name,
String sequence) |
Sequence(@Nullable String name,
String sequenceStart,
String sequenceEnd) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getName()
Get custom name of the token
|
String |
getSequenceEnd() |
String |
getSequenceStart() |
TokenType |
getType()
Get type of the token represented by
TokenType |
String |
getValue()
Get value of the token
|
equals, hashCode, toStringpublic Sequence(@Nullable
@Nullable String name,
char sequence)
public String getSequenceStart()
public String getSequenceEnd()
public String getValue()
TokengetValue in interface TokengetValue in class EqualableTokenpublic Optional<String> getName()
TokenCopyright © 2020. All rights reserved.