public class CastNode extends AbstractBinaryOperationNode
| Constructor and Description |
|---|
CastNode(AbstractNode operand,
IDNode type) |
| Modifier and Type | Method and Description |
|---|---|
private AbstractReturnValue |
castStringToBoolean(AbstractReturnValue value,
CommunicationManager mgr,
java.lang.String errString) |
private AbstractReturnValue |
castStringToNumeric(AbstractReturnValue value,
CommunicationManager mgr,
java.lang.String errString) |
AbstractReturnValue |
interpret(CommunicationManager mgr)
This method is responsible for casting the operand1 into type.
|
equals, getOperand1, getOperand2, hashCode, toStringisIDNode, isIdSetArrayNode, isIDSetNode, toIDNode, toIdSetArrayNode, toIDSetNodeprivate final IDNode type
public CastNode(AbstractNode operand, IDNode type)
public AbstractReturnValue interpret(CommunicationManager mgr) throws CheckScriptException
interpret in class AbstractNodemgr - The CommunicationManager to use.CheckScriptException - PruefscriptExceptionprivate AbstractReturnValue castStringToBoolean(AbstractReturnValue value, CommunicationManager mgr, java.lang.String errString) throws CheckScriptException
CheckScriptExceptionprivate AbstractReturnValue castStringToNumeric(AbstractReturnValue value, CommunicationManager mgr, java.lang.String errString) throws CheckScriptException
CheckScriptException