Uses of Interface
net.christopherschultz.evaluator.EvaluationContext

Packages that use EvaluationContext
net.christopherschultz.evaluator   
net.christopherschultz.evaluator.function   
net.christopherschultz.evaluator.util   
 

Uses of EvaluationContext in net.christopherschultz.evaluator
 

Methods in net.christopherschultz.evaluator with parameters of type EvaluationContext
 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.
 

Uses of EvaluationContext in net.christopherschultz.evaluator.function
 

Methods in net.christopherschultz.evaluator.function with parameters of type EvaluationContext
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)
           
 

Uses of EvaluationContext in net.christopherschultz.evaluator.util
 

Classes in net.christopherschultz.evaluator.util that implement EvaluationContext
 class ChainedEvaluationContext
           Provides a wrapper around another EvaluationContext.
 class DefaultEvaluationContext
           Contains important information about the current expression evaluation.
 

Methods in net.christopherschultz.evaluator.util that return EvaluationContext
 EvaluationContext DefaultEvaluationContext.loadStandard()
           
 

Methods in net.christopherschultz.evaluator.util with parameters of type EvaluationContext
static void ContextUtil.load(Map props, EvaluationContext ec)
          Loads constants, properties, and functions from the specified Map into the specified EvaluationContext.
static void ContextUtil.load(ResourceBundle bundle, EvaluationContext ec)
          Loads constants, properties, and functions from the specified ResourceBundle into the specified EvaluationContext.
 

Constructors in net.christopherschultz.evaluator.util with parameters of type EvaluationContext
ChainedEvaluationContext(EvaluationContext parent)
          Creates a new ChainedEvaluationContext.