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, match
public abstract String getValue()
public boolean isLeaf()
public boolean isCompound()
isCompound
in class BaseToken
public boolean match(String s, boolean fIgnoreCase)