public class COSARExprFunc extends COSARExpr
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CALLBACK_KEY
This constant represents the key used to store Callback
implementors in the HashMap passed in for expression
evaluation.
|
protected COSARExpr[] |
m_args
This member represents the argument expressions.
|
protected java.lang.String |
m_funcName
This members represents the function name.
|
protected COSARAttr[] |
m_values
This member represents the argument values.
|
static java.lang.String |
OSAR_KEY
This constant represents the key used to store an OSAR
in the HashMap passed in for expression
evaluation.
|
m_bIsConstant
Constructor and Description |
---|
COSARExprFunc(java.lang.String funcName,
java.util.ArrayList args) |
Modifier and Type | Method and Description |
---|---|
COSARAttr |
eval(java.util.HashMap symbols)
This function is used to evaluate the expression.
|
java.lang.String |
toString() |
isConstant
public static final java.lang.String CALLBACK_KEY
public static final java.lang.String OSAR_KEY
protected java.lang.String m_funcName
protected COSARExpr[] m_args
protected COSARAttr[] m_values
public COSARExprFunc(java.lang.String funcName, java.util.ArrayList args) throws java.lang.Exception
java.lang.Exception
public COSARAttr eval(java.util.HashMap symbols) throws java.lang.Exception
COSARExpr
public java.lang.String toString()
toString
in class java.lang.Object