public abstract class Expression extends Object implements Serializable
| Constructor and Description |
|---|
Expression() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
static List<Operator> |
getAppliableOperators(DataType type) |
static List<Class<? extends Expression>> |
getExpressionsByCategory(Class<? extends ExpressionCategory> category) |
abstract List<Expression> |
getLeavesByType(Class<? extends LeafExpression> type) |
abstract DataType |
getReturnedDataType()
Validates the returned data type of the Expression.
|
abstract void |
validate()
Validates correctness of the Expression
|
public abstract void validate()
throws MalformedExpressionException
MalformedExpressionExceptionpublic abstract DataType getReturnedDataType() throws NotEvaluableDataTypeException
MalformedExpressionExceptionNotEvaluableDataTypeExceptionpublic static final List<Operator> getAppliableOperators(DataType type) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
public abstract List<Expression> getLeavesByType(Class<? extends LeafExpression> type)
public static final List<Class<? extends Expression>> getExpressionsByCategory(Class<? extends ExpressionCategory> category)
Copyright © 2015. All Rights Reserved.