| Modifier | Constructor and Description |
|---|---|
protected |
UnaryExpression() |
protected |
UnaryExpression(Expression argument) |
| Modifier and Type | Method and Description |
|---|---|
List<Class<? extends DataType>> |
allowedDataTypes() |
boolean |
equals(Object obj) |
Expression |
getArgument() |
List<Expression> |
getLeavesByType(Class<? extends LeafExpression> type) |
int |
hashCode() |
void |
setArgument(Expression argument) |
String |
toString() |
void |
validate()
Validates correctness of the Expression
|
getOperatorclone, getAppliableOperators, getExpressionsByCategory, getReturnedDataTypeprotected UnaryExpression()
protected UnaryExpression(Expression argument)
public Expression getArgument()
public void setArgument(Expression argument)
public void validate()
throws MalformedExpressionException
Expressionvalidate in class ExpressionMalformedExpressionExceptionpublic List<Expression> getLeavesByType(Class<? extends LeafExpression> type)
getLeavesByType in class ExpressionCopyright © 2017. All Rights Reserved.