|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EvaluationException | |
---|---|
net.christopherschultz.evaluator | |
net.christopherschultz.evaluator.function |
Uses of EvaluationException in net.christopherschultz.evaluator |
---|
Subclasses of EvaluationException in net.christopherschultz.evaluator | |
---|---|
class |
UnexpectedArgumentException
An exception type denoting an unexpected argument. |
Methods in net.christopherschultz.evaluator that throw EvaluationException | |
---|---|
Object |
StandardFunction.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
Invokes the function with the specified argument expressions in the specified evaluation context. |
Object |
Function.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
Invokes the function with the specified argument expressions in the specified evaluation context. |
abstract Object |
StandardFunction.call(EvaluationContext ec,
String functionName,
Object[] arguments)
Calls this function with standard argument evaluation semantics. |
Object |
ArrayReferenceExpression.evaluate(EvaluationContext ec)
Evaluates this Expression by evaluating the expression used for the array index, and then returning the element of the array at that location. |
Object |
BinaryOperatorExpression.evaluate(EvaluationContext ec)
Evaluates this Expression by returning the appropriate combination of the left and right-hand sub expressions with the operator. |
Object |
UnaryMinusExpression.evaluate(EvaluationContext ec)
Evaluates this Expression by returning the logical negation of the sub-expression. |
Object |
NegatedExpression.evaluate(EvaluationContext ec)
Evaluates this Expression by returning the logical negation of the sub-expression. |
Object |
IdentifierExpression.evaluate(EvaluationContext ec)
|
Object |
FunctionCallExpression.evaluate(EvaluationContext ec)
Evaluates this Expression by evaluating all of the arguments' expressions, and then passing their resulting values to the function bound to this FunctionCallExpression's name. |
abstract Object |
Expression.evaluate(EvaluationContext ec)
Evaluates this expression and returns the result. |
Object |
ConstantExpression.evaluate(EvaluationContext ec)
Evaluates this Expression by returning its constant value. |
static Object |
StandardFunction.getExpressionValue(EvaluationContext ec,
Object expression)
Gets the value of an expression. |
static Object[] |
StandardFunction.getExpressionValueArray(EvaluationContext ec,
List expressions)
Evaluates the specified list of expressions and returns the results in an array. |
protected void |
Expression.setParent(Expression parent)
|
Constructors in net.christopherschultz.evaluator that throw EvaluationException | |
---|---|
BinaryOperatorExpression(Expression left,
String operator,
Expression right)
Creates a new BinaryOperatorExpression with the specified sub expressions and operator. |
|
FunctionCallExpression(Expression functionExp,
List arguments)
Creates a new FunctionCallExpression where the function to call is determined at evaluation time. |
|
NegatedExpression(Expression subExpression)
Creates a new NegatedExpression with the given sub-expression. |
|
UnaryMinusExpression(Expression subExpression)
Creates a new UnaryMinusExpression with the given sub-expression. |
Uses of EvaluationException in net.christopherschultz.evaluator.function |
---|
Subclasses of EvaluationException in net.christopherschultz.evaluator.function | |
---|---|
static class |
BinaryOperator.IncompatibleArgumentsException
|
Methods in net.christopherschultz.evaluator.function that throw EvaluationException | |
---|---|
protected abstract Object |
BinaryOperator.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.Add.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.Subtract.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.Multiply.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.Divide.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.Modulus.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.And.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.Or.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.Greater.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.Less.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.GreaterEqual.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.LessEqual.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
BinaryOperator.Equal.call(EvaluationContext ec,
Object lvalue,
Object rvalue)
|
Object |
IfFunction.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
UnsetVariableFunction.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
NullFunction.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
LambdaFunction.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
NonShortCircuitAnd.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
ListFunction.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
QuoteFunction.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
ShortCircuitOr.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
SetVariableFunction.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
ShortCircuitAnd.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
GetVariableFunction.call(EvaluationContext ec,
String functionName,
List argumentExpressions)
|
Object |
MemoryFunction.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
VariablesFunction.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
CountMatchesFunction.call(EvaluationContext ec,
String functionName,
Object[] args)
|
Object |
ContainsAnyFunction.call(EvaluationContext ec,
String functionName,
Object[] args)
|
Object |
Difference.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
BinaryOperator.call(EvaluationContext ec,
String functionName,
Object[] args)
Checks for exactly two arguments and calls the subclass's 2-argument call function. |
Object |
BinaryOperator.NotEqual.call(EvaluationContext ec,
String functionName,
Object[] args)
|
Object |
LengthFunction.call(EvaluationContext ec,
String functionName,
Object[] args)
|
Object |
IsNullFunction.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
DistributeFunction.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
ContainsAllFunction.call(EvaluationContext ec,
String functionName,
Object[] args)
|
Object |
Summation.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
NewObjectFunction.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
MathFunction.DoubleFunction.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
MathFunction.random.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
MathFunction.max.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
MathFunction.min.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
MathFunction.pow.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
MathFunction.heaviside.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
IJWInvocation.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
Object |
CallFunction.call(EvaluationContext ec,
String functionName,
Object[] arguments)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |