public final class Separator extends EqualableToken
| Constructor and Description |
|---|
Separator(char separator,
Separator opposite) |
Separator(String separator,
Separator opposite) |
| Modifier and Type | Method and Description |
|---|---|
Separator |
getOpposite() |
TokenType |
getType()
Get type of the token represented by
TokenType |
String |
getValue()
Get value of the token
|
boolean |
hasOpposite() |
equals, hashCode, toStringpublic Separator(char separator,
Separator opposite)
public boolean hasOpposite()
public Separator getOpposite()
public String getValue()
TokengetValue in interface TokengetValue in class EqualableTokenCopyright © 2020. All rights reserved.