public class COSARExprSubstr extends COSARExpr
Modifier and Type | Field and Description |
---|---|
protected COSARExpr |
m_endIndex |
protected COSARExpr |
m_startIndex |
protected COSARExpr |
m_string
These members represent the operands.
|
protected COSARAttrString |
m_value |
m_bIsConstant
Constructor and Description |
---|
COSARExprSubstr(COSARExpr op1,
COSARExpr op2) |
COSARExprSubstr(COSARExpr op1,
COSARExpr op2,
COSARExpr op3) |
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
protected COSARAttrString m_value
protected COSARExpr m_string
protected COSARExpr m_startIndex
protected COSARExpr m_endIndex
public COSARExprSubstr(COSARExpr op1, COSARExpr op2, COSARExpr op3) 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