public class COSARExprUnaryMinus extends COSARExpr
| Modifier and Type | Field and Description |
|---|---|
protected COSARExpr |
m_operand |
protected COSARAttrDouble |
m_value
This value is updated during the eval operation and returned.
|
m_bIsConstant| Constructor and Description |
|---|
COSARExprUnaryMinus(COSARExpr operand) |
| Modifier and Type | Method and Description |
|---|---|
COSARAttr |
eval(java.util.HashMap symbols)
This function is used to evaluate the expression.
|
java.lang.String |
toString() |
isConstantprotected COSARAttrDouble m_value
protected COSARExpr m_operand
public COSARExprUnaryMinus(COSARExpr operand) throws java.lang.Exception
java.lang.Exceptionpublic COSARAttr eval(java.util.HashMap symbols) throws java.lang.Exception
COSARExprpublic java.lang.String toString()
toString in class java.lang.Object