public abstract class AbstractEval extends java.lang.Object implements ParserVisitor, JepComponent
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<PostfixMathCommandI> |
customFunctionCommands |
protected java.util.Map<java.lang.String,java.lang.Short> |
functionHash
HashMap for function name lookup
|
protected Jep |
jep |
protected static java.lang.String |
ls |
protected OperatorTableI |
opSet |
| Constructor and Description |
|---|
AbstractEval(Jep jep) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.Object |
getConstantValue(short ref) |
java.lang.String |
getFunction(int ref)
Returns the name of the function with a given reference number.
|
JepComponent |
getLightWeightInstance()
Return null
|
protected short |
getUserFunction(java.lang.String name,
PostfixMathCommandI pfmc) |
void |
init(Jep j)
Initialize the component.
|
static java.lang.String |
staticGetFunction(int ref) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisit, visit, visit, visitprotected OperatorTableI opSet
protected Jep jep
protected final java.util.Map<java.lang.String,java.lang.Short> functionHash
protected java.util.List<PostfixMathCommandI> customFunctionCommands
protected static final java.lang.String ls
public AbstractEval(Jep jep)
protected short getUserFunction(java.lang.String name,
PostfixMathCommandI pfmc)
public java.lang.String getFunction(int ref)
ref - public static java.lang.String staticGetFunction(int ref)
protected abstract java.lang.Object getConstantValue(short ref)
public void init(Jep j)
JepComponentinit in interface JepComponentj - the current Jep instancepublic JepComponent getLightWeightInstance()
getLightWeightInstance in interface JepComponentCopyright © 2018 Singular Systems http://www.singularsys.com/jep