Class IdentifierToken
- java.lang.Object
-
- com.singularsys.jep.configurableparser.tokens.Token
-
- com.singularsys.jep.configurableparser.tokens.IdentifierToken
-
- All Implemented Interfaces:
java.io.Serializable
public class IdentifierToken extends Token
Token representing variables or function.- Author:
- Richard Morris
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdentifierToken(java.lang.String source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isIdentifier()
boolean
isImplicitMulRhs()
Whether identifies can appear on the rhs of implicit multiplication '2 x'.-
Methods inherited from class com.singularsys.jep.configurableparser.tokens.Token
equals, getColumnNumber, getLength, getLineNumber, getSource, hashCode, isBinary, isComment, isFunction, isNumber, isOperator, isPrefix, isString, isSuffix, isSymbol, isTerminal, isTernary, isWhiteSpace, setPosition, toString
-
-
-
-
Method Detail
-
isIdentifier
public boolean isIdentifier()
- Overrides:
isIdentifier
in classToken
-
isImplicitMulRhs
public boolean isImplicitMulRhs()
Whether identifies can appear on the rhs of implicit multiplication '2 x'.- Overrides:
isImplicitMulRhs
in classToken
- Returns:
- true
-
-