Class FunctionValue.ExternalFunctionValue
- java.lang.Object
-
- org.intocps.maestro.interpreter.values.Value
-
- org.intocps.maestro.interpreter.values.FunctionValue
-
- org.intocps.maestro.interpreter.values.FunctionValue.ExternalFunctionValue
-
- Enclosing class:
- FunctionValue
public static class FunctionValue.ExternalFunctionValue extends FunctionValue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.intocps.maestro.interpreter.values.FunctionValue
FunctionValue.ExternalFunctionValue
-
-
Constructor Summary
Constructors Constructor Description ExternalFunctionValue(Function<List<Value>,Value> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Valueevaluate(List<Value> args)-
Methods inherited from class org.intocps.maestro.interpreter.values.FunctionValue
evaluate
-
Methods inherited from class org.intocps.maestro.interpreter.values.Value
checkArgLength, compareTo, deref
-
-
-
-
Constructor Detail
-
ExternalFunctionValue
public ExternalFunctionValue(Function<List<Value>,Value> function) throws InterpreterException
- Throws:
InterpreterException
-
-
Method Detail
-
evaluate
public Value evaluate(List<Value> args) throws InterpreterException
- Specified by:
evaluatein classFunctionValue- Throws:
InterpreterException
-
-