Class IdentifierBaseToken
java.lang.Object
com.tangosol.coherence.dsltools.base.BaseToken
com.tangosol.coherence.dsltools.base.LeafBaseToken
com.tangosol.coherence.dsltools.base.IdentifierBaseToken
IdentifierBaseToken is a token that represents an identifier
- Author:
- djl 2009.03.14
-
Constructor Summary
ConstructorDescriptionConstruct a new IdentifierBaseToken with the given value. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Return the string representation of this LeafBaseToken.boolean
Answer whether this token represents an identifier.Methods inherited from class com.tangosol.coherence.dsltools.base.LeafBaseToken
isCompound, isLeaf, match, toString
Methods inherited from class com.tangosol.coherence.dsltools.base.BaseToken
getSimpleName, isLiteral, isNest, isOperator, isPunctuation, match
-
Constructor Details
-
IdentifierBaseToken
Construct a new IdentifierBaseToken with the given value.- Parameters:
s
- the string that represents an identifier
-
-
Method Details
-
getValue
Return the string representation of this LeafBaseToken.- Specified by:
getValue
in classLeafBaseToken
- Returns:
- the string that represents the reciever
-
isIdentifier
public boolean isIdentifier()Answer whether this token represents an identifier.- Overrides:
isIdentifier
in classBaseToken
- Returns:
- the answer to the question "is this token an identifier?"
-