Class OperatorBaseToken
- java.lang.Object
 - 
- com.tangosol.coherence.dsltools.base.BaseToken
 - 
- com.tangosol.coherence.dsltools.base.LeafBaseToken
 - 
- com.tangosol.coherence.dsltools.base.OperatorBaseToken
 
 
 
 
- 
public class OperatorBaseToken extends LeafBaseToken
OperatorBaseToken is a token that represents a known operator.- Author:
 - djl 2009.03.14
 
 
- 
- 
Constructor Summary
Constructors Constructor Description OperatorBaseToken(String s)Construct a new OperatorBaseToken with the given operator value. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()Return the string representation of this LeafBaseToken.booleanisOperator()Answer whether this token represents a know operator.- 
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, isIdentifier, isLiteral, isNest, isPunctuation, match 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
OperatorBaseToken
public OperatorBaseToken(String s)
Construct a new OperatorBaseToken with the given operator value.- Parameters:
 s- the string that represents an operator
 
 - 
 
- 
Method Detail
- 
getValue
public String getValue()
Return the string representation of this LeafBaseToken.- Specified by:
 getValuein classLeafBaseToken- Returns:
 - the string that represents the reciever
 
 
- 
isOperator
public boolean isOperator()
Answer whether this token represents a know operator.- Overrides:
 isOperatorin classBaseToken- Returns:
 - the answer to the question "is this token an operator?"
 
 
 - 
 
 -