Class IdentifierBaseToken
- java.lang.Object
-
- com.tangosol.coherence.dsltools.base.BaseToken
-
- com.tangosol.coherence.dsltools.base.LeafBaseToken
-
- com.tangosol.coherence.dsltools.base.IdentifierBaseToken
-
public class IdentifierBaseToken extends LeafBaseToken
IdentifierBaseToken is a token that represents an identifier- Author:
- djl 2009.03.14
-
-
Constructor Summary
Constructors Constructor Description IdentifierBaseToken(String s)
Construct a new IdentifierBaseToken with the given value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
Return the string representation of this LeafBaseToken.boolean
isIdentifier()
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 Detail
-
IdentifierBaseToken
public IdentifierBaseToken(String s)
Construct a new IdentifierBaseToken with the given value.- Parameters:
s
- the string that represents an identifier
-
-
Method Detail
-
getValue
public String 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?"
-
-