Class FunctionToken
- java.lang.Object
-
- com.singularsys.jep.configurableparser.tokens.Token
-
- com.singularsys.jep.configurableparser.tokens.FunctionToken
-
- All Implemented Interfaces:
java.io.Serializable
public class FunctionToken extends Token
A token representing a function name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FunctionToken(java.lang.String s, PostfixMathCommandI pfmc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostfixMathCommandI
getPfmc()
boolean
isFunction()
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, isIdentifier, isNumber, isOperator, isPrefix, isString, isSuffix, isSymbol, isTerminal, isTernary, isWhiteSpace, setPosition, toString
-
-
-
-
Constructor Detail
-
FunctionToken
public FunctionToken(java.lang.String s, PostfixMathCommandI pfmc)
-
-
Method Detail
-
getPfmc
public PostfixMathCommandI getPfmc()
-
isFunction
public boolean isFunction()
- Overrides:
isFunction
in classToken
-
isImplicitMulRhs
public boolean isImplicitMulRhs()
Whether identifies can appear on the rhs of implicit multiplication '2 x'.- Overrides:
isImplicitMulRhs
in classToken
- Returns:
- true
-
-