public abstract class LeafBaseToken extends BaseToken
| Constructor and Description |
|---|
LeafBaseToken() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getValue()
Return the string representation of this LeafBaseToken.
|
boolean |
isCompound()
Answer whether this token is a compound token.
|
boolean |
isLeaf()
Answer whether this token is a leaf token.
|
boolean |
match(String s,
boolean fIgnoreCase)
Answer whether this token matches the given string.
|
String |
toString()
Return a human-readable description for this token.
|
getSimpleName, isIdentifier, isLiteral, isNest, isOperator, isPunctuation, matchpublic abstract String getValue()
public boolean isLeaf()
public boolean isCompound()
isCompound in class BaseTokenpublic boolean match(String s, boolean fIgnoreCase)