public class COSARExprPos extends COSARExpr
| Modifier and Type | Field and Description |
|---|---|
protected COSARExpr |
m_occurence |
protected COSARExpr |
m_string
These members represent the operands.
|
protected COSARExpr |
m_substring |
protected COSARAttrInt |
m_value |
m_bIsConstant| Constructor and Description |
|---|
COSARExprPos(COSARExpr string,
COSARExpr substring,
COSARExpr occurence) |
| 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 COSARAttrInt m_value
protected COSARExpr m_string
protected COSARExpr m_substring
protected COSARExpr m_occurence
public COSARAttr eval(java.util.HashMap symbols) throws java.lang.Exception
COSARExprpublic java.lang.String toString()
toString in class java.lang.Object