public final class ExpressionUtility extends Object
| Modifier and Type | Method and Description |
|---|---|
static RightValue |
callBasicFunction(ExtendedInterpreter interpreter,
RightValue[] argumentValues,
CommandSub commandSub,
String functionName) |
static String |
convertToString(Expression expression)
Convert an expression of the form 'a.b.c.d' into a String.
|
static List<RightValue> |
evaluateExpressionList(ExtendedInterpreter extendedInterpreter,
ExpressionList expressionList) |
static Object[] |
getObjectArray(List<RightValue> args,
Method method,
ExtendedInterpreter extendedInterpreter) |
public static RightValue callBasicFunction(ExtendedInterpreter interpreter, RightValue[] argumentValues, CommandSub commandSub, String functionName) throws ExecutionException
ExecutionExceptionpublic static Object[] getObjectArray(List<RightValue> args, Method method, ExtendedInterpreter extendedInterpreter) throws ExecutionException
ExecutionExceptionpublic static List<RightValue> evaluateExpressionList(ExtendedInterpreter extendedInterpreter, ExpressionList expressionList) throws ExecutionException
ExecutionExceptionpublic static String convertToString(Expression expression) throws AnalysisException
expression - AnalysisException - when the expression does not match the formatCopyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.