Class PunctuationBaseToken
java.lang.Object
com.tangosol.coherence.dsltools.base.BaseToken
com.tangosol.coherence.dsltools.base.LeafBaseToken
com.tangosol.coherence.dsltools.base.PunctuationBaseToken
PunctuationBaseToken is a token that represents a known punctuation.
- Author:
- djl 2009.03.14
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct a new PunctuationBaseToken with the given punctuation value.
- 
Method SummaryMethods inherited from class com.tangosol.coherence.dsltools.base.LeafBaseTokenisCompound, isLeaf, matchMethods inherited from class com.tangosol.coherence.dsltools.base.BaseTokengetSimpleName, isIdentifier, isLiteral, isNest, isOperator, match
- 
Constructor Details- 
PunctuationBaseTokenConstruct a new PunctuationBaseToken with the given punctuation value.- Parameters:
- s- the string that represents a punctuation
 
 
- 
- 
Method Details- 
getValueReturn the string representation of this LeafBaseToken.- Specified by:
- getValuein class- LeafBaseToken
- Returns:
- the string that represents the reciever
 
- 
isPunctuationpublic boolean isPunctuation()Description copied from class:BaseTokenAnswer whether this token represents a punctuation character.- Overrides:
- isPunctuationin class- BaseToken
- Returns:
- the answer to the question "is this token a punctuation character?"
 
- 
toStringReturn a human-readable description for this token.- Overrides:
- toStringin class- LeafBaseToken
- Returns:
- a String description of the token
 
 
-