public class IdentifierBaseToken extends LeafBaseToken
Constructor and Description |
---|
IdentifierBaseToken(String s)
Construct a new IdentifierBaseToken with the given value.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Return the string representation of this LeafBaseToken.
|
boolean |
isIdentifier()
Answer whether this token represents an identifier.
|
isCompound, isLeaf, match, toString
getSimpleName, isLiteral, isNest, isOperator, isPunctuation, match
public IdentifierBaseToken(String s)
s
- the string that represents an identifierpublic String getValue()
getValue
in class LeafBaseToken
public boolean isIdentifier()
isIdentifier
in class BaseToken